This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Unified Near-field and Far-field Localization with Holographic MIMO

1st Mengyuan Cao School of EECS
Peking University
Beijing, China
[email protected]
   2nd Haobo Zhang School of Electronics
Peking University
Beijing, China
[email protected]
   3rd Hongliang Zhang School of Electronics
Peking University
Beijing, China
[email protected]
   4th Boya Di School of Electronics
Peking University
Beijing, China
[email protected]
   Mengyuan Cao1, Haobo Zhang2, Boya Di2, and Hongliang Zhang2 Email: {caomengyuan, haobo.zhang, diboya}@pku.edu.cn, [email protected] 1School of Electronics Engineering and Computer Science, Peking University, Beijing, China. 2School of Electronics, Peking University, Beijing, China.
Abstract

Localization which uses holographic multiple input multiple output surface such as reconfigurable intelligent surface (RIS) has gained increasing attention due to its ability to accurately localize users in non-line-of-sight conditions. However, existing RIS-enabled localization methods assume the users at either the near-field (NF) or the far-field (FF) region, which results in high complexity or low localization accuracy, respectively, when they are applied in the whole area. In this paper, a unified NF and FF localization method is proposed for the RIS-enabled localization system to overcome the above issue. Specifically, the NF and FF regions are both divided into grids. The RIS reflects the signals from the user to the base station (BS), and then the BS uses the received signals to determine the grid where the user is located. Compared with existing NF- or FF-only schemes, the design of the location estimation method and the RIS phase shift optimization algorithm is more challenging because they are based on a hybrid NF and FF model. To tackle these challenges, we formulate the optimization problems for location estimation and RIS phase shifts, and design two algorithms to effectively solve the formulated problems, respectively. The effectiveness of the proposed method is verified through simulations.

Index Terms:
Holographic MIMO, reconfigurable intelligent surface, near-field localization, far-field localization.

I Introduction

A large number of emerging location-based applications, such as navigation, user tracking, and autonomous driving, have brought an urgent demand for high-precision localization. Such a demand has sparked research interest in developing advanced localization methods. Among various emergent techniques, localization using holographic multiple input multiple output (HMIMO) has received widespread attention due to its ability to achieve high localization accuracy. The HMIMO is facilitated by extremely large and near spatial continuous surfaces, which are integrated with numerous antennas or reconfigurable metamaterials. Such surfaces are capable of manipulating electromagnetic (EM) fields with high precision, thus providing high localization gain with a small size[1][2].

The passive HMIMO, also known as reconfigurable intelligent surface (RIS) is very popular due to its low power consumption and hardware costs. Specifically, the RIS is a planar surface consisting of many low-cost reflecting elements. It can shape the EM waves by varying the phase shifts of the elements, thus creating a customized signal path from the base station (BS) to the user via reflection[3]. As the capability to customize the radio environment increases with the aperture of the RIS, a large RIS can be used to overcome the difficulty of lacking the line-of-sight (LOS) path and significantly enhance localization accuracy.

Due to the large size of the RIS, the near-field (NF) region of the RIS is expanded[4], where the spherical wave model is applied to characterize the signal propagation. In contrast, traditional localization methods primarily consider the localization in the far-field (FF) region and utilize the plane wave model, which suffers low accuracy in the NF region. Recently, there has been a growing interest in addressing the NF localization probelm, which is based on the spherical wave model. In [5], the authors examined a SISO scenario with an RIS, and resolved the localization problem using maximum likelihood. However, NF localization methods are not ideal for FF users, as the spherical wave model is more complex than the plane wave model, resulting in high complexity. Hence, a unified localization scheme is required to adapt to both the NF and FF regions.

In this paper, we propose a novel RIS-enabled unified NF and FF localization method to overcome the limitations of existing methods. In the considered scenario, a single-antenna user emits signals reflected by the RIS, and the single-antenna base station (BS) compares the received signals with the predicted signals at the sampled locations to locate the user. By optimizing the phase shifts of the RIS, the signals at different locations can be customized to improve the localization accuracy.

Several challenges need to be addressed for the proposed localization scheme. First, the design of the localization algorithm is complex because the signal models are different in the NF and FF regions. This complexity is further compounded by the uncertainty of whether the user is located in the NF or FF region. Second, optimizing the phase shifts of the RIS presents a challenge. This is primarily due to the enormous number of RIS elements and the non-convex nature of the optimization problem which stems from the constant modulus constraint of the RIS phase shifts.

Therefore, the main contributions of this paper can be summarized in the following:

1) We consider a RIS-enabled unified NF and FF localization scenario and introduce a localization protocol to coordinate the operations of the BS, the RIS, and the user during the localization process.

2) We formulate the location estimation problem that minimizes the localization loss and design a localization algorithm based on grid search to solve the formulated problem. We also formulate the RIS phase shift optimization problem to minimize the weighted Cramér-Rao bound (CRB) of the range and angles estimation errors. Then we propose a complex circle manifold-based method to obtain the suitable RIS phase shifts.

3) We compare the simulation results obtained by the proposed scheme and other RIS-enabled localization methods. It shows that our proposed method outperforms other methods in both the NF and FF regions given the same size of the RIS.

Refer to caption
Figure 1: RIS-enabled NF and FF localization model.

The rest of the paper is organized as follows. In Sec. II, we provide the localization scenario, the received signal model, and the localization protocol. The localization algorithm is proposed in Sec. III. In Sec. IV, a RIS phase shift optimization problem is formulated, and an optimization algorithm is designed to solve the problem. In Sec. V, we present the simulation results. Finally, conclusions are drawn in Sec. VI.

II System Model

In this section, we first introduce the scenario of the user localization, and then describe the signal model and the localization protocol for the proposed scenario.

II-A Localization Scenario

As shown in Fig. 1., we consider a localization scenario consisting of a user, an RIS, and a BS. The user/BS is equipped with a single antenna. The RIS containing N=L×MN=L\times M elements is placed on the Y-Z plane, where the center of the RIS is at the origin of the coordinate system. We assume the line-of-sight (LOS) path between the user and the BS is blocked, and there only exists the reflection path via the RIS between the user and the BS.

During the localization process, the user sends a single-tone signal over frequency fcf_{c} (wavelength λ\lambda) to the RIS, and the RIS reflects it to the BS. The BS then estimates the location of the user by using the received signals. We assume the locations of the RIS and the BS are known, and whether the user is located in the NF or the FF regions of the RIS is unknown.

II-B Signal Model

In the uplink transmission, the signal yy received by the BS can be given by

y=𝜷T𝒉(𝒑)s+ϵ,y=\bm{\beta}^{T}\bm{h}(\bm{p})s+\epsilon, (1)

where 𝜷=[β1,β2,,βN]TN×1\bm{\beta}=[\beta_{1},\beta_{2},...,\beta_{N}]^{T}\in\mathbb{C}^{N\times 1} is the phase shift vector of the RIS, with βn\beta_{n} representing the phase shift of the nn-th RIS elements, and we have |βn|=1|\beta_{n}|=1. ss represents the narrow band signal transmitted by the user, and ϵ𝒞𝒩(0,σ2)\epsilon\sim\mathcal{CN}(0,\sigma^{2}) represents the received Gaussian noise at the BS with σ2\sigma^{2} being the noise power. 𝒑=[R,θ,ϕ]T\bm{p}=[R,\theta,\phi]^{T} denotes the location of the user, with RR, θ\theta, ϕ\phi being the range, polar angle, and azimuth angle in the spherical coordinate system, respectively. The cascaded channel between the user and the BS 𝒉(𝒑)\bm{h}(\bm{p}) is equal to 𝒉A𝒉t(𝒑)\bm{h}^{A}\odot\bm{h}^{t}(\bm{p}), where 𝒉A\bm{h}^{A}, \odot, and 𝒉t(𝒑)\bm{h}^{t}(\bm{p}) denote the RIS-BS channel, Hadamard product and the user-RIS channel, respectively. Since the user could be in either NF or FF regions, the user-RIS channel models differ accordingly.

II-B1 Channel Model for the NF Region

When the user is located in the NF region, the transmitted signal should be described using spherical wave model and cannot be approximated as a plane wave for the RIS. Thus, the channel between the user and nn-th RIS element is given by[6]

hnt(𝒑)=Gtλ4πdntexp(j2πλdnt),𝒑𝑫NF,\displaystyle h_{n}^{t}(\bm{p})=\dfrac{\sqrt{G_{t}}\lambda}{4\pi d_{n}^{t}}\exp(-j\dfrac{2\pi}{\lambda}d_{n}^{t}),\ \bm{p}\in\bm{D}_{NF}, (2)

where GtG_{t} is the transmit antenna gain, dntd_{n}^{t} is the distance between the user and the nn-th RIS element, 𝑫NF\bm{D}_{NF} represents the NF region. Based on [4], the NF region is defined as the region where the maximum phase error between the phase shift calculated under plane wave approximation and the real phase shift is more than π/8\pi/8. Mathematically, the NF region is given by 𝑫NF={𝒑|Δφ(𝒑)>π/8}\bm{D}_{NF}=\{\bm{p}|\Delta\varphi(\bm{p})>{\pi}/{8}\}, where Δφ(𝒑)\Delta\varphi(\bm{p}) is the maximum phase error across all the RIS elements, given by

Δφ(𝒑)=maxn2πλ(dnt(Rynsinθsinϕzncosθ)),\displaystyle\Delta\varphi(\bm{p})=\mathop{\max}\limits_{n}\frac{2\pi}{\lambda}\big{(}d_{n}^{t}-(R-y_{n}\sin\theta\sin\phi-z_{n}\cos\theta)\big{)}, (3)

where (0,yn,zn)(0,y_{n},z_{n}) is the coordinate of the nn-th RIS element.

II-B2 Channel Model for the FF Region

When the user is located in the FF region, we can adopt plane wave approximation to model the transmitted signals. Specifically, the channel gain is assumed to be the same for all the RIS elements, and the phase shifts adopt first-order approximation. The channel between the nn-th RIS element and the user in the FF region is [6]

hnt(𝒑)=\displaystyle h_{n}^{t}(\bm{p})= Gtλ4πRexp(j2πλ(Rynsinθsinϕzncosθ)),𝒑𝑫FF,\displaystyle\dfrac{\sqrt{G_{t}}\lambda}{4\pi R}\exp(-j\dfrac{2\pi}{\lambda}(R-y_{n}\sin\theta\sin\phi-z_{n}\cos\theta)),\bm{p}\in\bm{D}_{FF}, (4)

where 𝑫FF\bm{D}_{FF} represents the FF region. Based on [4], the FF region is defined as the region where the maximum phase error is less than π/8\pi/8. Mathematically, the FF region is given by 𝑫FF={𝒑|Δφ(𝒑)<π/8}\bm{D}_{FF}=\{\bm{p}|\Delta\varphi(\bm{p})<\pi/8\}.

II-C Localization Protocol

In this subsection, we propose an RIS-enabled unified NF and FF source localization protocol, which improves localization accuracy by adaptively optimizing the RIS phase shifts based on the estimated location from the previous cycle. The localization process is divided into KK cycles with cycle duration δ\delta. Each cycle contains three steps: transmission, localization, and optimization. The process of the localization protocol is illustrated in Fig. 2.

II-C1 Transimission

In this step, the user sends a signal to the RIS for δT\delta_{T} seconds, which is reflected to the BS. Let g(k)g^{(k)} denote the signal received in the transmission step of the kk-th cycle. The RIS phase shifts are set randomly in the first cycle, while in the following K1K-1 cycles, the phase shifts are selected based on the optimization results in the previous cycle, which will be described in the optimization step.

II-C2 Localization

In the next δE\delta_{E} seconds, the BS estimates the user’s location using the received signals. Specifically, in the kk-th cycle, based on the received signals 𝒈=[g(1),,g(k)]T\bm{g}=[g^{(1)},...,g^{(k)}]^{T}, we determine whether the user is located in the NF or the FF region and estimate their location 𝒑^(k)\hat{\bm{p}}^{(k)}. The details of the localization algorithm are introduced in Sec. III.

II-C3 Optimization

In the rest time of the kk-th cycle, the optimal RIS phase shifts 𝜷(k+1)\bm{\beta}^{(k+1)} are selected according to the estimated location 𝒑^(k)\hat{\bm{p}}^{(k)}, which are used to adjust the phase shifts of the RIS. Note that this step is not executed in the last cycle. The details of optimization are introduced in Sec. IV.

Refer to caption
Figure 2: RIS-enabled mixed NF and FF source localization protocol.

III RIS-enabled Unified Near-field and Far-field Localization

In this section, we first formulate the localization problem and then propose a localization algorithm to solve the formulated problem.

III-A Localization Problem Formulation

We formulate the localization problem to minimize the localization loss, which is defined as the l2l_{2}-norm of the residual between the received signal 𝒈\bm{g} and the signal reconstructed by using the estimated location. Thus, we can formulate the localization problem as

P1:\displaystyle\text{P1}: min𝒑𝒈𝜷T𝒉A𝒉t(𝒑)s22,\displaystyle\mathop{\min}_{\bm{p}}\|\bm{g}-\bm{\beta}^{T}\bm{h}^{A}\odot\bm{h}^{t}(\bm{p})s\|_{2}^{2}, (5a)
s.t.𝒑DNFDFF.\displaystyle s.t.\ \ \bm{p}\in D_{NF}\cup D_{FF}. (5b)

The objective function (5a) in the above problem is non-convex, and thus the solution of (P1) easily falls into local minima by using conventional algorithms such as gradient descent. To solve it effectively, we propose a location estimation algorithm by modifying the grid search method in order to perform global search. Specifically, we sample the search domain and create a grid map of the sampled candidate locations. Note that for NF region, R,θ,ϕR,\theta,\phi are all sampled because the range and angles are coupled in the NF region. While for FF region, the range RR is not sampled because the range only affects the overall channel amplitude, which can be addressed by linear regression. Besides, unlike the NF case, the range cannot be estimated for the FF user because the angles of arrival at all RIS elements are approximately the same. In this way, we can decrease the number of candidate locations and then decrease the algorithm complexity. The localization loss is calculated for each candidate location, and the one with the minimum loss is selected as the estimated location.

Refer to caption
Figure 3: Space sampling method.

We define 𝑭=[𝑭near,𝑭far]\bm{F}=[\bm{F}_{near},\bm{F}_{far}] as the atom channels, which are the user-RIS channels between the RIS and every possible candidate locations of the user. 𝑭near\bm{F}_{near} and 𝑭far\bm{F}_{far} are the atom channels in the NF and FF regions, which will be explained in detail in the following. We also define 𝒖(𝒑)\bm{u}(\bm{p}) as the coefficient matrix of atom channels. Since we only consider single user localization, only 11 element in 𝒖\bm{u} should be non-zero. The cascaded channel is given by 𝒉(𝒑)=𝒉A𝒉t(𝒑)=𝒉A𝑭𝒖(𝒑)=diag{𝒉A}𝑭𝒖(𝒑)\bm{h}(\bm{p})=\bm{h}^{A}\odot\bm{h}^{t}(\bm{p})=\bm{h}^{A}\odot\bm{F}\bm{u}(\bm{p})=diag\{\bm{h}^{A}\}\bm{F}\bm{u}(\bm{p}). Hence, (P1) can be reformulated as

P1’:min𝒖\displaystyle\text{P1'}:\mathop{\min}_{\bm{u}} 𝒈𝜷Tdiag{𝒉A}𝑭𝒖s22,\displaystyle\|\bm{g}-\bm{\beta}^{T}diag\{\bm{h}^{A}\}\bm{F}\bm{u}s\|_{2}^{2}, (6a)
s.t.𝒖0=1.\displaystyle s.t.\|\bm{u}\|_{0}=1. (6b)

The atom channels in the NF region 𝑭near\bm{F}_{near} is given by[7]

𝑭near=[𝒉t(R1,θ1,ϕ1),,𝒉t(RS,θS,ϕS)]N×S,\bm{F}_{near}=[\bm{h}^{t}(R_{1},\theta_{1},\phi_{1}),...,\bm{h}^{t}(R_{S},\theta_{S},\phi_{S})]\in\mathbb{C}^{N\times S}, (7)

where 𝒉t(Rs,θs,ϕs)N×1\bm{h}^{t}(R_{s},\theta_{s},\phi_{s})\in\mathbb{C}^{N\times 1} is the user-RIS channel supposing that the user is located at [Rs,θs,ϕs]T𝑫NF[R_{s},\theta_{s},\phi_{s}]^{T}\in\bm{D}_{NF}. Here, SS is the number of sampled locations in the NF, which is determined by the sampling spacings ΔR,Δθ,Δϕ\Delta R,\Delta\theta,\Delta\phi. The range is uniformly sampled in the NF region with a constant spacing ΔR\Delta R. The polar and azimuth angles are uniformly sampled with the spacing Δθ=π/Nθ\Delta\theta=\pi/N_{\theta}, Δϕ=π/Nϕ\Delta\phi=\pi/N_{\phi}, where NθN_{\theta} and NϕN_{\phi} are predetermined parameters.

The atom channels of the FF region 𝑭far\bm{F}_{far} is given by [8]

𝑭far=[𝒉t(R0,θ1,ϕ1),,𝒉t(R0,θNθNϕ,ϕNθNϕ)]\displaystyle\bm{F}_{far}=[\bm{h}^{t}(R_{0},\theta_{1},\phi_{1}),...,\bm{h}^{t}(R_{0},\theta_{N_{\theta}N_{\phi}},\phi_{N_{\theta}N_{\phi}})] (8)

where 𝒉t(R0,θi,ϕi)\bm{h}^{t}(R_{0},\theta_{i},\phi_{i}) is the user-RIS channel assuming that user is at the [R0,θi,ϕi][R_{0},\theta_{i},\phi_{i}] in the FF. R0R_{0} is a reference FF range that satisfies the FF condition for all angles. The sampling methods of angles are the same as in the NF case.

For better illustration, the sampled locations at θ=π/2\theta=\pi/2 plane for both the NF and FF regions are shown in Fig. 3.

III-B Localization Algorithm

We propose an algorithm based on the exhaustive search of the possible candidate locations to solve (P1’). The basic idea is to calculate the loss of all the candidate locations and select the location with the smallest localization loss as the estimated location. Since the range is not sampled in the FF, the amplitudes of the atom channels are uncertain. However, in the NF, the amplitudes of the atom channels are known, indicating the loss calculation methods for the NF and the FF regions are different, which will be introduced separately.

III-B1 NF case

In the NF region, we can calculate the localization loss directly by substituting each coefficient ui(iS)u_{i}(i\leq S) with 11. The localization loss for the ii-th candidate location in the NF region is given by

Linear=𝒈𝜷Tdiag{𝒉A}𝑭is,(iS),\displaystyle L^{near}_{i}=\|\bm{g}-\bm{\beta}^{T}diag\{\bm{h}^{A}\}\bm{F}_{i}s\|,(i\leq S), (9)

where 𝑭i\bm{F}_{i} is the ii-th column of the matrix 𝑭\bm{F}, i.e. the ii-th atom channel in the NF region.

III-B2 FF case

Since the channel amplitude is unknown in the FF region, we need to first obtain the estimated amplitude by linear regression, and then calculate the localization loss. Mathematically, the estimated amplitude for the ii-th candidate location is given by

ai\displaystyle a_{i} =(𝑨iH𝑨i)1𝑨iH𝒈,\displaystyle=(\bm{A}^{H}_{i}\bm{A}_{i})^{-1}\bm{A}^{H}_{i}\bm{g}, (10)

where 𝑨=𝜷Tdiag{𝒉A}𝑭s\bm{A}=\bm{\beta}^{T}diag\{\bm{h}^{A}\}\bm{F}s, and 𝑨i\bm{A}_{i} is the ii-th column of the matrix 𝑨\bm{A}. Then, the localization loss of the ii-th candidate location can be expressed as

Lifar=𝒈aiAi,(i>S).\displaystyle L^{far}_{i}=\|\bm{g}-a_{i}A_{i}\|,(i>S). (11)

III-B3 Estimated location

We choose the location corresponding to the minimal localization loss as the estimated location, which is denoted by ii^{*}. i.e.

i=argmini{Linear,Lifar}.\displaystyle i^{*}=\mathop{\arg\min}_{i}\{L^{near}_{i},L^{far}_{i}\}. (12)

If iSi^{*}\leq S, the user is in the NF region, and otherwise, the user is estimated in the FF region, and the estimated location corresponds to uiu_{i^{*}}, i.e.,

𝒑^(k)={[Ri,θi,ϕi]T,iS(NF  region),[θiS,ϕiS]T,i>S(FF  region).\displaystyle\hat{\bm{p}}^{(k)}=\left\{\begin{aligned} &[R_{i},\theta_{i^{*}},\phi_{i^{*}}]^{T},&&{i^{*}}\leq S\ (\text{NF \ region}),\\ &[\theta_{{i^{*}}-S},\phi_{{i^{*}}-S}]^{T},&&{i^{*}}>S\ (\text{FF \ region}).\\ \end{aligned}\right.

IV RIS Phase Shift Optimization

In this section, we first formulate the RIS phase shift optimization problem. The optimization problems for the NF and FF cases are formulated separately. This is because in the localization step of the protocol, whether the user is located in the NF or the FF region has been determined and the location parameters for the NF and FF cases are different. Then, an optimization algorithm based on complex circle manifold (CCM) is proposed to solve the formulated problems.

IV-A Phase Shift Optimization Problem Formulation

IV-A1 Problem Formulation for the NF Case

If the estimated location 𝒑^(k)\hat{\bm{p}}^{(k)} is in the NF region in the kk-th cycle, we estimate range and angles in the (k+1)(k+1)-th cycle, and the estimated parameters are denoted by 𝒑=[R,θ,ϕ]T\bm{p}=[R,\theta,\phi]^{T}. Similar to the proof in [6], for the NF case, the CRBs of the unknown parameters 𝒑=[R,θ,ϕ]T\bm{p}=[R,\theta,\phi]^{T} can be given by

DR\displaystyle D_{R} =(𝑱NF1)1,1,\displaystyle=\left(\bm{J}_{NF}^{-1}\right)_{1,1}, (13)
Dθ\displaystyle D_{\theta} =(𝑱NF1)2,2,\displaystyle=\left(\bm{J}_{NF}^{-1}\right)_{2,2}, (14)
Dϕ\displaystyle D_{\phi} =(𝑱NF1)3,3,\displaystyle=\left(\bm{J}_{NF}^{-1}\right)_{3,3}, (15)

where 𝑱NF\bm{J}_{NF} is the 3×33\times 3 Fisher information matrix of 𝒑\bm{p} in the NF region, and the (i,j)(i,j)-th element in 𝑱NF\bm{J}_{NF} is given by

[𝑱NF]i,j=2σ2q=1k+1Re{(μ(q))Hpiμ(q)pj},[\bm{J}_{NF}]_{i,j}=\dfrac{2}{\sigma^{2}}\sum_{q=1}^{k+1}Re\left\{\dfrac{\partial(\mu^{(q)})^{H}}{\partial p_{i}}\dfrac{\partial\mu^{(q)}}{\partial p_{j}}\right\}, (16)

where μ(q)pi=(𝜷(q))T𝒉NFpis\frac{\partial\mu^{(q)}}{\partial p_{i}}=(\bm{\beta}^{(q)})^{T}\frac{\partial\bm{h}^{NF}}{\partial p_{i}}s. 𝒉NF\bm{h}^{NF} is the NF channel calculated by using 𝒑^(k)\hat{\bm{p}}^{(k)} and pip_{i} is the ii-th element in 𝒑\bm{p}. The nn-th entry of 𝒉NFpi\frac{\partial\bm{h}^{NF}}{\partial p_{i}} can be expressed as

[𝒉NFpi]n=hnAGtλ4πdntpi(exp(j2πλdnt))=hn(j2πλ)dntpi,\displaystyle\left[\dfrac{\partial\bm{h}^{NF}}{\partial p_{i}}\right]_{n}=h_{n}^{A}\dfrac{\sqrt{G_{t}}\lambda}{4\pi d_{n}^{t}}\dfrac{\partial}{\partial p_{i}}\left(\exp\left(-j\dfrac{2\pi}{\lambda}d_{n}^{t}\right)\right)=h_{n}\left(-j\dfrac{2\pi}{\lambda}\right)\dfrac{\partial d_{n}^{t}}{\partial p_{i}}, (17)

where

dntp1=dntR\displaystyle\frac{\partial d_{n}^{t}}{\partial p_{1}}=\frac{\partial d_{n}^{t}}{\partial R} =1dnt(Rynsinθsinϕzncosθ),\displaystyle=\frac{1}{d_{n}^{t}}(R-y_{n}\sin\theta\sin\phi-z_{n}\cos\theta), (18)
dntp2=dntθ\displaystyle\frac{\partial d_{n}^{t}}{\partial p_{2}}=\frac{\partial d_{n}^{t}}{\partial\theta} =1dnt(Ryncosθsinϕ+Rznsinθ),\displaystyle=\frac{1}{d_{n}^{t}}(-Ry_{n}\cos\theta\sin\phi+Rz_{n}\sin\theta), (19)
dntp3=dntϕ\displaystyle\frac{\partial d_{n}^{t}}{\partial p_{3}}=\frac{\partial d_{n}^{t}}{\partial\phi} =1dnt(Rynsinθcosϕ).\displaystyle=\frac{1}{d_{n}^{t}}(-Ry_{n}\sin\theta\cos\phi). (20)

Thus, the optimization problem in the NF region can be written as

P2:\displaystyle\text{P2}: min𝜷(k+1)g(𝒑,𝜷(k+1))=tr(𝑱NF1WNF)\displaystyle\mathop{\min}_{\bm{\beta}^{(k+1)}}g(\bm{p},\bm{\beta}^{(k+1)})=tr\left(\bm{J}_{NF}^{-1}W^{NF}\right) (21a)
s.t.|βn(k+1)|=1,n=1,2,N,\displaystyle s.t.\quad|\beta_{n}^{(k+1)}|=1,\forall n=1,2,...N, (21b)

where βn(k+1)\beta_{n}^{(k+1)} is the phase shift of the nn-th RIS element in the (k+1)(k+1)-th cycle, and WNF=diag{w1,w2,w3}W^{NF}=diag\{w_{1},w_{2},w_{3}\} is the weight matrix of the CRBs in the NF region. Here wiw_{i} is the predetermined weight of pip_{i}.

IV-A2 Problem Formulation for the FF Case

If the estimated location in the kk-th cycle 𝒑^(k)\hat{\bm{p}}^{(k)} is in the FF region, we only estimate the angles in the (k+1)(k+1)-th cycle, and the estimated parameters are denoted by 𝒑=[θ,ϕ]T\bm{p}=[\theta,\phi]^{T}. For the FF case, the CRBs of the unknown parameters 𝒑\bm{p} can be given by

Dθ\displaystyle D_{\theta} =(𝑱FF1)1,1,\displaystyle=\left(\bm{J}_{FF}^{-1}\right)_{1,1}, (22)
Dϕ\displaystyle D_{\phi} =(𝑱FF1)2,2,\displaystyle=\left(\bm{J}_{FF}^{-1}\right)_{2,2}, (23)

where 𝑱FF\bm{J}_{FF} is the 2×22\times 2 Fisher information matrix of 𝒑\bm{p} in the FF region, and the (i,j)(i,j)-th element is given by

[𝑱FF]i,j=2σ2q=1k+1Re{(μ(q))Hpiμ(q)pj},[\bm{J}_{FF}]_{i,j}=\dfrac{2}{\sigma^{2}}\sum_{q=1}^{k+1}Re\left\{\dfrac{\partial(\mu^{(q)})^{H}}{\partial p_{i}}\dfrac{\partial\mu^{(q)}}{\partial p_{j}}\right\}, (24)

where μ(q)pi=(𝜷(q))T𝒉FFpis\frac{\partial\mu^{(q)}}{\partial p_{i}}=(\bm{\beta}^{(q)})^{T}\frac{\partial\bm{h}^{FF}}{\partial p_{i}}s. and 𝒉FF\bm{h}^{FF} is the FF channel calculated using 𝒑^(k)\hat{\bm{p}}^{(k)}.

In the FF region, we have

[𝒉FFp1]n=hn(j2πλ)\displaystyle\left[\dfrac{\partial\bm{h}^{FF}}{\partial p_{1}}\right]_{n}=h_{n}\left(-j\dfrac{2\pi}{\lambda}\right) (yncosθsinϕ+znsinθ),\displaystyle(-y_{n}\cos\theta\sin\phi+z_{n}\sin\theta), (25)
[𝒉FFp2]n=hn(j2πλ)\displaystyle\left[\dfrac{\partial\bm{h}^{FF}}{\partial p_{2}}\right]_{n}=h_{n}\left(-j\dfrac{2\pi}{\lambda}\right) (yncosθcosϕ).\displaystyle(-y_{n}\cos\theta\cos\phi). (26)

Thus, the optimization problem in the FF region can be formulated as

P3:\displaystyle\text{P3}: min𝜷(k+1)g(𝒑,𝜷(k+1))=tr(𝑱FF1WFF)\displaystyle\mathop{\min}_{\bm{\beta}^{(k+1)}}g(\bm{p},\bm{\beta}^{(k+1)})=tr\left(\bm{J}_{FF}^{-1}W^{FF}\right) (27a)
s.t.|βn(k+1)|=1,n=1,2,N,\displaystyle s.t.\quad|\beta_{n}^{(k+1)}|=1,\forall n=1,2,...N, (27b)

where WFF=diag{w1,w2}W^{FF}=diag\{w_{1},w_{2}\} is the weight matrix of the CRBs in the FF region. Here wiw_{i} is the preset weight of pip_{i}.

IV-B RIS Phase Shift Optimization Algorithm

The objective function in (P2) contains the CRBs of range and angle, while that in (P3) only has the latter. Thus, (P3) can be viewed as a special case of (P2). In this subsection, we only introduce the algorithm for (P2) in the following and omit that for (P3) due to the page limit.

Specifically, we design an optimization algorithm base on CCM method to tackle (P2). Due to the constant modulus constraint (21b), the optimization problem (P2) is non-convex, which is numerically difficult to handle. Fortunately, the solution can be considered as lying on the CCM to satisfy the constant modulus, and the manifold can be represented as

N={𝜷(k+1)N:|β1(k+1)|==|βN(k+1)|=1}.\mathcal{M}^{N}=\left\{\bm{\beta}^{(k+1)}\in\mathbb{C}^{N}:|\beta_{1}^{(k+1)}|=...=|\beta_{N}^{(k+1)}|=1\right\}. (28)

The main idea of the CCM-based optimization method is to iteratively apply gradient descent in the manifold space. After several iterations, the algorithm terminates when the difference between two iterations of g(𝜷(k+1))g(\bm{\beta}^{(k+1)}) is less than a constant ζ\zeta. The CCM-based optimization method is composed of four main steps in each iteration:

IV-B1 Compute the gradient in Euclidean space

We use the Euclidean gradient as the search direction for the minimization problem in Euclidean space. In the NF region, the Euclidean gradient of f(𝜷(k+1))f(\bm{\beta}^{(k+1)}) is given by

g(𝜷(k+1))\displaystyle\nabla g(\bm{\beta}^{(k+1)}) =2[w1DR𝜷(k+1)+w2Dθ𝜷(k+1)+w3Dϕ𝜷(k+1)].\displaystyle=2\left[\dfrac{w_{1}\partial D_{R}}{\partial{\bm{\beta}^{(k+1)}}^{\ast}}+\dfrac{w_{2}\partial D_{\theta}}{\partial{\bm{\beta}^{(k+1)}}^{\ast}}+\dfrac{w_{3}\partial D_{\phi}}{\partial{\bm{\beta}^{(k+1)}}^{\ast}}\right]. (29)

Similar to the proof in [9], the derivatives of CRBs in the NF region with respect to 𝜷(k+1){\bm{\beta}^{(k+1)}}^{\ast} can be derived. 111 For FF case, the difference lies in the first step of the algorithm. Since the range of the FF user cannot be estimated, the first term in the Euclidean gradient is omitted.

IV-B2 Compute the Riemannian gradient

The Riemannian gradient is the projection of the gradient onto the tangent space of the complex circle manifold. The Riemannian gradient of the objective function g(𝜷(k+1))g(\bm{\beta}^{(k+1)}) at the point 𝜷j(k+1)\bm{\beta}^{(k+1)}_{j} on the complex circle manifold \mathcal{M} can be given as [9] [10]

g(𝜷j(k+1)\displaystyle\nabla_{\mathcal{M}}g(\bm{\beta}^{(k+1)}_{j} )=g(𝜷j(k+1))\displaystyle)=-\nabla g(\bm{\beta}^{(k+1)}_{j})
Re{(g(𝜷j(k+1)))𝜷j(k+1)}𝜷j(k+1).\displaystyle-Re\left\{\left(\nabla g(\bm{\beta}^{(k+1)}_{j})\right)^{*}\odot{\bm{\beta}^{(k+1)}_{j}}\right\}\odot\bm{\beta}^{(k+1)}_{j}. (30)

IV-B3 Update over the Tangent Space

We choose a step size to update the current point, which is mathematically given as

𝜷¯j(k+1)=𝜷j(k+1)+αjg(𝜷j(k+1)),\displaystyle\bar{\bm{\beta}}^{(k+1)}_{j}=\bm{\beta}^{(k+1)}_{j}+\alpha_{j}\nabla_{\mathcal{M}}g(\bm{\beta}^{(k+1)}_{j}), (31)

where αj\alpha_{j} is the step size in the jj-th iteration.

IV-B4 Retract onto the manifold

After the update, the new point 𝜷¯j(k+1)\bar{\bm{\beta}}^{(k+1)}_{j} generally does not lie on the manifold \mathcal{M}. By using the retraction operator, the new point is mapped into the manifold. The retraction operator is given as

𝜷j+1(k+1)=𝜷¯j(k+1)1|𝜷¯j(k+1)|.\displaystyle\bm{\beta}^{(k+1)}_{j+1}=\bar{\bm{\beta}}^{(k+1)}_{j}\odot\dfrac{1}{|\bar{\bm{\beta}}^{(k+1)}_{j}|}. (32)

The proposed algorithm is summarized in Algorithm 1.

Input: Estimated location 𝒑^(k)\hat{\bm{p}}^{(k)}, RIS phase shift for previous kk cycles 𝜷(q),q=1,2,k\bm{\beta}^{(q)},q=1,2,...k
Output: Optimal RIS phase shift 𝜷(k+1)\bm{\beta}^{(k+1)}
1 Initialize: j=0j=0, β0\beta_{0}\in\mathcal{M};
2 while |g(𝛃j+1(k+1))g(𝛃j(k+1))|<ζ|g(\bm{\beta}^{(k+1)}_{j+1})-g(\bm{\beta}^{(k+1)}_{j})|<\zeta do
3       if 𝐩^(k)DNF\hat{\bm{p}}^{(k)}\in D_{NF} then
4             Compute the Euclidean gradient g(𝜷j(k+1))\nabla g(\bm{\beta}^{(k+1)}_{j})
5            according to (29);
6      else
7             Compute the Euclidean gradient g(𝜷j(k+1))\nabla g(\bm{\beta}^{(k+1)}_{j})
8            according to (29) with the first term omitted;
9       end if
10      Calculate the Riemannian gradient g(𝜷j(k+1))\nabla_{\mathcal{M}}g(\bm{\beta}^{(k+1)}_{j}) according to (IV-B2);
11       Compute the RIS phase shift update on the tangent space𝜷¯j(k+1)\bar{\bm{\beta}}^{(k+1)}_{j} according to (31);
12       Update RIS phase shift 𝜷j+1(k+1)\bm{\beta}^{(k+1)}_{j+1} according to (32);
13       j=j+1j=j+1;
14 end while
Algorithm 1 CCM-based RIS Phase Shift Optimization Algorithm
Refer to caption
Figure 4: Angle estimation accuracy of the proposed algorithm compared with QML and AML when the user is located (a) in the NF region and (b) in the FF region. (c) Cputime of the proposed algorithm in unified NF and FF model and NF model.

V Simulation Results

This section presents the simulation results to demonstrate the performance of the proposed method. Simulations are conducted on a personal computer with a 1.80GHz Intel Core i7 processor. We use an RIS with 10×1010\times 10 elements. The element spacing is λ/2\lambda/2. The transmit frequency is 28GHz. The polar angle and the azimuth region are evenly divided into 1010 grids, and the range sampling spacing is 5λ5\lambda. We set the cycle number as K=15K=15 and conduct T=500T=500 independent trials.

Fig. 4(a) and (b) show the RMSEs of angle estimation versus the signal-to-noise ratio (SNR) when the user is in the NF and the FF regions, respectively. The SNR is defined as Ps/σ2P_{s}/\sigma^{2}[11], where Ps=((𝒉A)T𝑰𝒉t)2P_{s}=((\bm{h}^{A})^{T}\bm{I}\bm{h}^{t})^{2} is the signal power defined as the received signal power when the phase shifts of all the RIS elements are 1. For comparison, we also provided the results of an RIS-enabled NF localization method (AML in[12]) and an RIS-enabled FF localization method (QML in[13]). Besides, we combine the proposed algorithm with pure NF or FF models to show the gain brought by the proposed algorithm rather than the hybrid NF and FF models, which are labeled as Proposed (NF) and Proposed (FF), respectively. It can be seen that as SNR increases, the RSME first decreases and then remains fixed. The RMSE does not decrease when the SNR is sufficiently large because the estimated location is at one of the sampled grids, which may not be the actual location of the user. We can also observe from Fig. 4(a) and (b) that the proposed algorithm with the hybrid NF and FF model, labeled as Proposed (NF&FF), outperforms the AML and QML algorithms in both the NF and FF cases, which shows the superiority of the proposed method. Besides, it is shown in Fig. 4(a) that the RMSE obtained by the proposed algorithm applied in the NF model is slightly lower than the proposed algorithm with the NF&FF model, while in Fig. 4(b), the RMSE of the proposed algorithm applied in the FF model is a little bit higher. This is because the NF model has the highest accuracy when describing the wireless signals, while the accuracy of the FF model is the lowest.

Fig. 4(c) illustrates the CPU time versus RIS element number. It shows that the proposed algorithm applied in the NF model has much higher CPU time than that in the hybrid NF and FF model, indicating that the proposed algorithm applied in the NF model has higher complexity. This is because given the same space of interest, the number of sampling locations in the NF model is much larger than that in the hybrid model, which increases the overall complexity. In addition, we can observe that as the RIS element number increases, the CPU time also increases. This is because the complexity of the optimization algorithm is positively correlated with the RIS element number.

VI Conclusion

In this paper, we have developed a RIS-enabled unified NF and FF localization method. A unified NF and FF localization scenario has been considered and a localization protocol has been introduced to regulate the operations of the BS, the RIS, and the user. A localization algorithm based on grid search has been designed for location estimation. We have analyzed the CRBs of the estimated location parameters, and designed a CCM-based optimization algorithm, which has lowered the CRB to further improve the localization accuracy. Simulation results have shown that: 1) the proposed localization method provides better localization accuracy than the compared algorithms given the same size of the RIS; 2) the range estimation accuracy is not sensitive to the variation of the SNR, and a centimeter accuracy can still be achieved in low SNR conditions.

References

  • [1] R. Deng, B. Di, H. Zhang, H. V. Poor, and L. Song, “Holographic MIMO for LEO satellite communications aided by reconfigurable holographic surfaces,” IEEE J. Sel. Areas Commun., vol. 40, no. 10, pp. 3071–3085, Aug. 2022.
  • [2] S. Zeng, H. Zhang, B. Di, Z. Han, and L. Song, “Reconfigurable intelligent surface (RIS) assisted wireless coverage extension: RIS orientation and location optimization,” IEEE Communications Letters, vol. 25, no. 1, pp. 269–273, Jan. 2021.
  • [3] 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. Wirel. Commun., vol. 20, no. 12, pp. 7743–7757, Jun. 2021.
  • [4] H. Lu and Y. Zeng, “Communicating with extremely large-scale array/surface: Unified modeling and performance analysis,” IEEE Trans. Wireless Commun., vol. 21, no. 6, pp. 4039–4053, Jun. 2022.
  • [5] Z. Abu-Shaban, K. Keykhosravi, M. F. Keskin, G. C. Alexandropoulos, G. Seco-Granados, and H. Wymeersch, “Near-field localization with a reconfigurable intelligent surface acting as lens,” in Proc. IEEE Int. Conf. Commun. (ICC), Montreal, Canada, Jun. 2021.
  • [6] F. Zhang, M.-M. Zhao, M. Lei, and M. Zhao, “Joint power allocation and phase-shift design for RIS-aided cooperative near-field localization,” in Proc. Int. Symp. Wirel. Commun. Syst. (ISWCS), Hangzhou, China, Oct. 2022.
  • [7] X. Wei, L. Dai, Y. Zhao, G. Yu, and X. Duan, “Codebook design and beam training for extremely large-scale RIS: Far-field or near-field?” China Commun., vol. 19, no. 6, pp. 193–204, Jun. 2022.
  • [8] Y. Han, S. Jin, C.-K. Wen, and X. Ma, “Channel estimation for extremely large-scale massive MIMO systems,” IEEE Wirel. Commun. Lett., vol. 9, no. 5, pp. 633–637, May. 2020.
  • [9] H. Chen, Y. Bai, Q. Wang, H. Chen, L. Tang, and P. Han, “DOA estimation assisted by reconfigurable intelligent surfaces,” IEEE Sens. J., vol. 23, no. 12, pp. 13 433–13 442, May. 2023.
  • [10] 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. Sel. Top. Signal Process., vol. 16, no. 5, pp. 883–917, Aug. 2022.
  • [11] M. Luan, B. Wang, Y. Zhao, Z. Feng, and F. Hu, “Phase design and near-field target localization for RIS-assisted regional localization system,” IEEE Trans. Veh. Technol., vol. 71, no. 2, pp. 1766–1777, Feb. 2022.
  • [12] C. Ozturk, M. F. Keskin, H. Wymeersch, and S. Gezici, “RIS-aided near-field localization under phase-dependent amplitude variations,” IEEE Trans. Wirel. Commun., vol. 22, no. 8, pp. 5550 – 5566, Apr. 2023.
  • [13] Z. Ye, F. Junaid, R. Nilsson, and J. Van De Beek, “Single-antenna sensor localization with reconfigurable intelligent surfaces,” in Proc. IEEE Global Commun. Conf. (GLOBECOM), Rio de Janeiro, Brazil, Dec. 2022.