RIS Nearfield Position and Velocity Estimation Using a Validated Propagation Model Thomas Zemen 1 , Musa Furkan Keskin 2 , Moustafa Rahal 3 , Thomas Wilding 1 , Hamed Radpour 1 , Markus Hofer 1 , Benoit Denis 4 , and Henk Wymeersch 2 Abstract We investigate reconfigurable intelligent surfaces (RISs) for the task of position and velocity estimation in non-LOS (NLOS) indoor scenarios, using a snapshot based multi-step estimation algorithm. We evaluate a compound RIS structure prototype composed of four RIS tiles with 1 1 -bit phase control per RIS unit cell. Numerical simulation results taking the antenna patterns into account are presented for an 3 ​ m × 3 ​ m 3\,\text{m}\times 3\,\text{m} area of interest. We demonstrate that the initial grid search step using the far field assumption is not robust enough for small distances to the RIS center and propose a more robust algorithm. Furthermore, we show that the effect of the antenna pattern causes an increased position and velocity error. Our modified three-step algorithm achieves a position error of 7 7\, mm and a velocity error of 0.12 0.12\, m/s at a distance of 2 2\, m to the RIS center under a realistic numerical propagation model. I Introduction Reconfigurable intelligent surfaces (RISs) are used to improve the reliability of millimetre wave (mmWave) wireless communication links in non line-of-sight (NLOS) scenarios by establishing a bypass of the blocking object through an adjustable reflection of the base station (BS) signal to the user equipment (UE). This is especially effective in indoor scenarios such as industrial automation and control. Similarly, a single RIS can also enable the position and velocity estimation of an UE in NLOS of a BS. Numerical simulation results and theoretical performance bounds for RIS-based near-field (NF) localization have been presented in [ 1 ] . A localization method for the NF of a large compound RIS structure in the form of a band has been shown in [ 2 ] . A snapshot based multi-step position and velocity estimation algorithm in NLOS of the BS has been proposed by [ 3 ] , exploiting the NF properties of the wave field caused by the RIS reflection using a simplified generative model. Corrections for [ 3 ] have been provided in [ 4 ] . The use of RIS in NLOS scenarios for establishing reliable wireless communication links between BS and UE has been successfully demonstrated by empirical experiments [ 5 ] . In [ 6 ] , an active RIS for the mmWave frequency band is presented. Numerical simulations and measurements for the received power show a good match for the radiation pattern [ 6 ] in an automation and control scenario. In [ 7 ] a tracking algorithm for a mobile UE is presented that iteratively updates the reflection coefficient of the RIS unit cells. In this paper we will utilise a numerical propagation model [ 8 ] , that has been validated by empirical measurements in [ 6 , 7 ] , to explore the downlink RIS-aided NLoS localization use case for indoor scenarios by means of a realistic numerical simulation model. Scientific contributions • We analyse the NF three-step localization algorithm from [ 4 ] for a practical compound RIS structure consisting of multiple tiles. • We show that the initial grid search (GS) that uses a far-field (FF) assumption for the azimuth and elevation estimation followed by a line search for the range, is not robust for short distances to the RIS center. A robust NF GS step is proposed and analysed. • We present position and velocity estimation results for a two-dimensional (2D) area of interest (AOI) using a realistic and empirically validated RIS propagation model [ 8 , 6 , 7 ] that includes the antenna patterns of the BS, RIS unit cells and UE. II System and signal model We consider a scenario encompassing a single mobile UE, one BS and one RIS. The BS is located at {\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}_{\text{BS}}\in\mathbb{R}^{3} and the UE at {\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}\in\mathbb{R}^{3} in NLOS with respect to the BS. Both the BS and the UE have direct LOS to a passive reflective RIS with M elements. The center point of a RIS unit cell m is at {\mathchoice{\mbox{\boldmath$\displaystyle q$}}{\mbox{\boldmath$\textstyle q$}}{\mbox{\boldmath$\scriptstyle q$}}{\mbox{\boldmath$\scriptscriptstyle q$}}}_{m}\in\mathbb{R}^{3} with m\in\{1,\ldots,M\} , see Fig. 1 . Fig. 1: RIS coordinate system for a hexagonal RIS placement in the yz-plane. The BS horn antenna radiates from position {\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}_{\text{BS}} towards the center of the RIS at {\mathchoice{\mbox{\boldmath$\displaystyle q$}}{\mbox{\boldmath$\textstyle q$}}{\mbox{\boldmath$\scriptstyle q$}}{\mbox{\boldmath$\scriptscriptstyle q$}}}_{\text{r}}={\mathchoice{\mbox{\boldmath$\displaystyle 0$}}{\mbox{\boldmath$\textstyle 0$}}{\mbox{\boldmath$\scriptstyle 0$}}{\mbox{\boldmath$\scriptscriptstyle 0$}}}=[0,0,0]^{\text{T}} over a distance of |{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}_{\text{BS}}| , similarly the omni-directional UE antenna at position \textstyle p is within a distance of |{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}| . The LOS link between BS and UE is blocked by an object. The center of the square RIS unit cells are at {\mathchoice{\mbox{\boldmath$\displaystyle q$}}{\mbox{\boldmath$\textstyle q$}}{\mbox{\boldmath$\scriptstyle q$}}{\mbox{\boldmath$\scriptscriptstyle q$}}}_{m} . The RIS is shown enlarged to improve clarity. The UE is moving linearly with constant velocity {\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}}\in\mathbb{R}^{3} along positions {\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}_{\ell}\in\mathbb{R}^{3} given by {\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}_{\ell}={\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}+{\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}}\ell T_{\text{S}} where \ell denotes the discrete time index, T_{\text{S}} the sampling time and {\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}\in\mathbb{R}^{3} the initial position. The linear motion is assumed for a time interval of length LT_{\text{S}} . Assuming a flat-fading scenario, dominated by the LOS from the BS to the RIS and from the RIS to the UE, the received signal sequence y_{\ell}=h_{\ell}^{\prime}\sqrt{P_{\text{BS}}}s_{\ell}+n_{\ell}\,, (1) for \ell\in\{0,\ldots,L-1\} , where L denotes the sequence length, s_{\ell} the transmitted unit-energy downlink (DL) pilot symbols, P_{\text{BS}} the transmit power of the BS, h_{\ell}^{\prime} the frequency-flat channel coefficient, and n_{\ell}\sim\mathcal{CN}(0,P_{n}) additive complex Gaussian noise, respectively. The noise power P_{n}=k_{\text{B}}TBn_{\text{f}} , with the Boltzmann constant k_{\text{B}} , temperature T in Kelvin, bandwidth B and the noise figure n_{\text{f}} . The channel coefficient h^{\prime}_{\ell} is defined as h^{\prime}_{\ell}=\frac{\sqrt{G_{\text{BS}}G_{\text{UE}}}d_{\text{y}}d_{\text{z}}}{4\pi}\\ \times\sum_{m=1}^{M}\gamma_{m,\ell}\frac{\sqrt{F_{m}^{\text{c}}({\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}_{\ell})}e^{\frac{-j2\pi(\|{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}_{\text{BS}}-{\mathchoice{\mbox{\boldmath$\displaystyle q$}}{\mbox{\boldmath$\textstyle q$}}{\mbox{\boldmath$\scriptstyle q$}}{\mbox{\boldmath$\scriptscriptstyle q$}}}_{m}\|+\|{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}_{\ell}-{\mathchoice{\mbox{\boldmath$\displaystyle q$}}{\mbox{\boldmath$\textstyle q$}}{\mbox{\boldmath$\scriptstyle q$}}{\mbox{\boldmath$\scriptscriptstyle q$}}}_{m}\|)}{\lambda}}}{\|{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}_{\text{BS}}-{\mathchoice{\mbox{\boldmath$\displaystyle q$}}{\mbox{\boldmath$\textstyle q$}}{\mbox{\boldmath$\scriptstyle q$}}{\mbox{\boldmath$\scriptscriptstyle q$}}}_{m}\|\|{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}_{\ell}-{\mathchoice{\mbox{\boldmath$\displaystyle q$}}{\mbox{\boldmath$\textstyle q$}}{\mbox{\boldmath$\scriptstyle q$}}{\mbox{\boldmath$\scriptscriptstyle q$}}}_{m}\|} (2) where G_{\text{BS}} , G_{\text{UE}} , d_{\text{y}} , and d_{\text{z}} are the BS and UE antenna gains and the effective RIS unit cell dimensions in the y and z directions, respectively (see [ 8 , (9)] ). The complex reflection coefficient of each RIS unit cell m at time index \ell is denoted by \gamma_{m,\ell}\in\mathcal{A} , where \mathcal{A} denotes the set of possible phase shifts. We assume randomly chosen and known reflection coefficients \gamma_{m,\ell}\in\mathcal{A} for each RIS unit cell m and time index \ell . The wavelength \lambda=c_{0}/f , where f denotes the center frequency, and c_{0} the speed of light. The combined antenna pattern F_{m}^{\text{c}}({\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}_{\ell}) of the BS antenna, the RIS unit cell m for receive and transmit operation as well as the UE antenna at position {\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}_{\ell} is defined as F^{\text{c}}_{m}({\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}})=F^{\text{BS}}(\alpha^{\text{BS}}_{m})F(\alpha^{\text{r}}_{m})F(\alpha^{\text{t}}_{m})F^{\text{UE}}(\alpha^{\text{UE}}_{m})= =\cos(\alpha^{\text{BS}}_{m})^{\frac{G_{\text{BS}}}{2}-1}\cos(\alpha^{\text{r}}_{m})\cos(\alpha^{\text{t}}_{m})\cos(\alpha^{\text{UE}}_{m})^{\frac{G_{\text{UE}}}{2}-1}= =\left(\frac{\|{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}_{\text{BS}}\|^{2}+\|{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}_{\text{BS}}-{\mathchoice{\mbox{\boldmath$\displaystyle q$}}{\mbox{\boldmath$\textstyle q$}}{\mbox{\boldmath$\scriptstyle q$}}{\mbox{\boldmath$\scriptscriptstyle q$}}}_{m}\|^{2}-\|{\mathchoice{\mbox{\boldmath$\displaystyle q$}}{\mbox{\boldmath$\textstyle q$}}{\mbox{\boldmath$\scriptstyle q$}}{\mbox{\boldmath$\scriptscriptstyle q$}}}_{m}\|^{2}}{2\|{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}_{\text{BS}}\|\|{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}_{\text{BS}}-{\mathchoice{\mbox{\boldmath$\displaystyle q$}}{\mbox{\boldmath$\textstyle q$}}{\mbox{\boldmath$\scriptstyle q$}}{\mbox{\boldmath$\scriptscriptstyle q$}}}_{m}\|}\right)^{\frac{G_{\text{BS}}}{2}-1} \times\left(\frac{[{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}_{\text{BS}}]_{\text{x}}}{\|{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}_{\text{BS}}-{\mathchoice{\mbox{\boldmath$\displaystyle q$}}{\mbox{\boldmath$\textstyle q$}}{\mbox{\boldmath$\scriptstyle q$}}{\mbox{\boldmath$\scriptscriptstyle q$}}}_{m}\|}\right)\left(\frac{[{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}]_{\text{x}}}{\|{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}-{\mathchoice{\mbox{\boldmath$\displaystyle q$}}{\mbox{\boldmath$\textstyle q$}}{\mbox{\boldmath$\scriptstyle q$}}{\mbox{\boldmath$\scriptscriptstyle q$}}}_{m}\|}\right) \times\left(\frac{\|{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}\|^{2}+\|{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}-{\mathchoice{\mbox{\boldmath$\displaystyle q$}}{\mbox{\boldmath$\textstyle q$}}{\mbox{\boldmath$\scriptstyle q$}}{\mbox{\boldmath$\scriptscriptstyle q$}}}_{m}\|^{2}-\|{\mathchoice{\mbox{\boldmath$\displaystyle q$}}{\mbox{\boldmath$\textstyle q$}}{\mbox{\boldmath$\scriptstyle q$}}{\mbox{\boldmath$\scriptscriptstyle q$}}}_{m}\|^{2}}{2\|{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}\|\|{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}-{\mathchoice{\mbox{\boldmath$\displaystyle q$}}{\mbox{\boldmath$\textstyle q$}}{\mbox{\boldmath$\scriptstyle q$}}{\mbox{\boldmath$\scriptscriptstyle q$}}}_{m}\|}\right)^{\frac{G_{\text{UE}}}{2}-1} following [ 8 , (7)] and the geometric configuration in Fig. 1 . Here, F^{\text{BS}}(\cdot) , F^{\text{UE}}(\cdot) , and F(\cdot) denote the rotation symmetric antenna pattern with respect to the main propagation direction for BS, UE, and RIS unit cell, respectively. The angle with respect to the main wave propagation direction of each antenna is measured by \alpha^{\text{BS}}_{m} , \alpha^{\text{UE}}_{m} , \alpha^{\text{r}}_{m} and \alpha^{\text{t}}_{m} for the BS horn antenna, the UE antenna, the RIS unit cell in reception and the RIS unit cell in transmit direction, respectively. The numerical model in ( 2 ) will be used throughout this paper to generate the channel coefficients h_{\ell} . We define the signal to noise ratio (SNR) at the UE as \text{SNR}_{\ell}=\nicefrac{{|h_{\ell}^{\prime}|^{2}P_{\text{BS}}}}{{P_{n}}} . III Near-field position and velocity estimation We are interested to utilise the sequence of received signal samples y_{\ell} , \ell\in\{0,\ldots,L-1\} to estimate the unknown position \textstyle p and velocity \textstyle v of the UE. III-A Signal model simplification for position and velocity estimation To this end we can simplify ( 2 ) for the position and velocity estimation algorithm with respect to terms that are only affecting the amplitude of y_{\ell} as follows: 1. The overall displacement {\mathchoice{\mbox{\boldmath$\displaystyle\Delta$}}{\mbox{\boldmath$\textstyle\Delta$}}{\mbox{\boldmath$\scriptstyle\Delta$}}{\mbox{\boldmath$\scriptscriptstyle\Delta$}}}_{\ell}={\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}}\ell T_{\text{S}} is small compared the distance from the UE to the RIS center at {\mathchoice{\mbox{\boldmath$\displaystyle q$}}{\mbox{\boldmath$\textstyle q$}}{\mbox{\boldmath$\scriptstyle q$}}{\mbox{\boldmath$\scriptscriptstyle q$}}}_{\text{r}}=[0,0,0]^{\text{T}} , i.e., \|{\mathchoice{\mbox{\boldmath$\displaystyle\Delta$}}{\mbox{\boldmath$\textstyle\Delta$}}{\mbox{\boldmath$\scriptstyle\Delta$}}{\mbox{\boldmath$\scriptscriptstyle\Delta$}}}_{\ell}\|\ll d_{\text{r}} with d_{\text{r}}({\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}})=\|{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}-{\mathchoice{\mbox{\boldmath$\displaystyle q$}}{\mbox{\boldmath$\textstyle q$}}{\mbox{\boldmath$\scriptstyle q$}}{\mbox{\boldmath$\scriptscriptstyle q$}}}_{\text{r}}\| . 2. We assume the aperture of the RIS D=\max\|{\mathchoice{\mbox{\boldmath$\displaystyle q$}}{\mbox{\boldmath$\textstyle q$}}{\mbox{\boldmath$\scriptstyle q$}}{\mbox{\boldmath$\scriptscriptstyle q$}}}_{m}-{\mathchoice{\mbox{\boldmath$\displaystyle q$}}{\mbox{\boldmath$\textstyle q$}}{\mbox{\boldmath$\scriptstyle q$}}{\mbox{\boldmath$\scriptscriptstyle q$}}}_{i}\| to be much smaller than d_{\text{r}}({\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}) , i.e., D\ll d_{\text{r}}({\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}) . 3. We assume that the UE’s small-scale mobility during the time interval \Delta t=LT_{\text{S}} mostly induces extra phase changes in the received signal at the UE, while its amplitude remains approximately constant. Under this assumption we can simplify ( 2 ) by combining the distance terms in the denominator of the sum into a common term in front of the sum (see ( 3 )). 4. We assume constant transmitted symbols s_{\ell}=1 for conciseness, and 5. set the antenna pattern F_{m}^{\text{c}}({\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}_{\ell})=1 . With these assumptions we can simplify ( 2 ) as follows; y_{\ell}\approx\underbrace{\frac{\sqrt{P_{\text{BS}}G_{\text{BS}}G_{\text{UE}}}d_{\text{y}}d_{\text{z}}}{4\pi\|{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}_{\text{BS}}-{\mathchoice{\mbox{\boldmath$\displaystyle q$}}{\mbox{\boldmath$\textstyle q$}}{\mbox{\boldmath$\scriptstyle q$}}{\mbox{\boldmath$\scriptscriptstyle q$}}}_{\text{r}}\|\|{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}-{\mathchoice{\mbox{\boldmath$\displaystyle q$}}{\mbox{\boldmath$\textstyle q$}}{\mbox{\boldmath$\scriptstyle q$}}{\mbox{\boldmath$\scriptscriptstyle q$}}}_{\text{r}}\|}e^{\frac{-j2\pi d_{\text{r}}({\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}})}{\lambda}}}_{\alpha}\\ \times\hskip-1.42262pt\hskip-1.42262pt\sum_{m=1}^{M}\underbrace{\gamma_{m,\ell}e^{\frac{-j2\pi\|{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}_{\text{BS}}-{\mathchoice{\mbox{\boldmath$\displaystyle q$}}{\mbox{\boldmath$\textstyle q$}}{\mbox{\boldmath$\scriptstyle q$}}{\mbox{\boldmath$\scriptscriptstyle q$}}}_{m}\|}{\lambda}}}_{w_{m,\ell}}\underbrace{e^{\frac{-j2\pi}{\lambda}\left[\|{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}+{\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}}\ell T_{\text{S}}-{\mathchoice{\mbox{\boldmath$\displaystyle q$}}{\mbox{\boldmath$\textstyle q$}}{\mbox{\boldmath$\scriptstyle q$}}{\mbox{\boldmath$\scriptscriptstyle q$}}}_{m}\|-d_{\text{r}}({\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}})\right]}}_{a_{m,\ell}({\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}},{\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}})}+n_{\ell}\\ =\alpha\underbrace{{\mathchoice{\mbox{\boldmath$\displaystyle w$}}{\mbox{\boldmath$\textstyle w$}}{\mbox{\boldmath$\scriptstyle w$}}{\mbox{\boldmath$\scriptscriptstyle w$}}}_{\ell}^{\text{T}}{\mathchoice{\mbox{\boldmath$\displaystyle a$}}{\mbox{\boldmath$\textstyle a$}}{\mbox{\boldmath$\scriptstyle a$}}{\mbox{\boldmath$\scriptscriptstyle a$}}}_{\ell}({\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}},{\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}})}_{h_{\ell}({\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}},{\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}})}+n_{\ell}=\alpha h_{\ell}({\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}},{\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}})+n_{\ell} (3) where {\mathchoice{\mbox{\boldmath$\displaystyle w$}}{\mbox{\boldmath$\textstyle w$}}{\mbox{\boldmath$\scriptstyle w$}}{\mbox{\boldmath$\scriptscriptstyle w$}}}_{\ell}=[w_{1,\ell},\ldots,w_{M,\ell}]^{\text{T}}\in\mathbb{C}^{M} and {\mathchoice{\mbox{\boldmath$\displaystyle a$}}{\mbox{\boldmath$\textstyle a$}}{\mbox{\boldmath$\scriptstyle a$}}{\mbox{\boldmath$\scriptscriptstyle a$}}}_{\ell}=[a_{1,\ell}({\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}},{\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}}),\ldots,a_{M,\ell}({\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}},{\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}})]^{\text{T}}\in\mathbb{C}^{M} . The position and velocity estimation algorithm from [ 4 ] , employs several additional approximation steps including the small angle approximation (SAA) of the exponential term, e^{jx}\approx 1+jx for x\ll 1 . Hence, on the right hand side of ( 3 ) we subtract the common propagation distance d_{\text{r}}({\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}) from the center of the RIS to the position of the UE in the exponential term, while a common phase term e^{\nicefrac{{-j2\pi d_{\text{r}}({\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}})}}{{\lambda}}} is added before the sum to keep the propagation equation physically correct. Combining L time samples we can vectorise ( 3 ) as {\mathchoice{\mbox{\boldmath$\displaystyle y$}}{\mbox{\boldmath$\textstyle y$}}{\mbox{\boldmath$\scriptstyle y$}}{\mbox{\boldmath$\scriptscriptstyle y$}}}=\alpha{\mathchoice{\mbox{\boldmath$\displaystyle h$}}{\mbox{\boldmath$\textstyle h$}}{\mbox{\boldmath$\scriptstyle h$}}{\mbox{\boldmath$\scriptscriptstyle h$}}}({\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}},{\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}})+{\mathchoice{\mbox{\boldmath$\displaystyle n$}}{\mbox{\boldmath$\textstyle n$}}{\mbox{\boldmath$\scriptstyle n$}}{\mbox{\boldmath$\scriptscriptstyle n$}}}\in\mathbb{C}^{L}\,. (4) Conditional on the knowledge of \textstyle p and \textstyle v , we can obtain a conditional maximum likelihood (ML) estimate of \alpha as \hat{\alpha}=\frac{{\mathchoice{\mbox{\boldmath$\displaystyle h$}}{\mbox{\boldmath$\textstyle h$}}{\mbox{\boldmath$\scriptstyle h$}}{\mbox{\boldmath$\scriptscriptstyle h$}}}({\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}},{\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}})^{\text{H}}}{\|{\mathchoice{\mbox{\boldmath$\displaystyle h$}}{\mbox{\boldmath$\textstyle h$}}{\mbox{\boldmath$\scriptstyle h$}}{\mbox{\boldmath$\scriptscriptstyle h$}}}({\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}},{\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}})\|^{2}}{\mathchoice{\mbox{\boldmath$\displaystyle y$}}{\mbox{\boldmath$\textstyle y$}}{\mbox{\boldmath$\scriptstyle y$}}{\mbox{\boldmath$\scriptscriptstyle y$}}}\,. (5) Finally, by inserting ( 5 ) into ( 4 ) the ML estimator can be expressed as \displaystyle(\hat{{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}},\hat{{\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}}}) \displaystyle=\mathop{\text{argmin}}_{{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}},{\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}}}\left\|\left({\mathchoice{\mbox{\boldmath$\displaystyle I$}}{\mbox{\boldmath$\textstyle I$}}{\mbox{\boldmath$\scriptstyle I$}}{\mbox{\boldmath$\scriptscriptstyle I$}}}-\frac{{\mathchoice{\mbox{\boldmath$\displaystyle h$}}{\mbox{\boldmath$\textstyle h$}}{\mbox{\boldmath$\scriptstyle h$}}{\mbox{\boldmath$\scriptscriptstyle h$}}}({\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}},{\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}}){\mathchoice{\mbox{\boldmath$\displaystyle h$}}{\mbox{\boldmath$\textstyle h$}}{\mbox{\boldmath$\scriptstyle h$}}{\mbox{\boldmath$\scriptscriptstyle h$}}}({\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}},{\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}})^{\text{H}}}{\|{\mathchoice{\mbox{\boldmath$\displaystyle h$}}{\mbox{\boldmath$\textstyle h$}}{\mbox{\boldmath$\scriptstyle h$}}{\mbox{\boldmath$\scriptscriptstyle h$}}}({\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}},{\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}})\|^{2}}\right){\mathchoice{\mbox{\boldmath$\displaystyle y$}}{\mbox{\boldmath$\textstyle y$}}{\mbox{\boldmath$\scriptstyle y$}}{\mbox{\boldmath$\scriptscriptstyle y$}}}\right\|^{2} \displaystyle=\mathop{\text{argmin}}_{{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}},{\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}}}\left\|{{\mathchoice{\mbox{\boldmath$\displaystyle\Pi$}}{\mbox{\boldmath$\textstyle\Pi$}}{\mbox{\boldmath$\scriptstyle\Pi$}}{\mbox{\boldmath$\scriptscriptstyle\Pi$}}}^{\bot}_{{\mathchoice{\mbox{\boldmath$\displaystyle h$}}{\mbox{\boldmath$\textstyle h$}}{\mbox{\boldmath$\scriptstyle h$}}{\mbox{\boldmath$\scriptscriptstyle h$}}}({\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}},{\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}})}}{\mathchoice{\mbox{\boldmath$\displaystyle y$}}{\mbox{\boldmath$\textstyle y$}}{\mbox{\boldmath$\scriptstyle y$}}{\mbox{\boldmath$\scriptscriptstyle y$}}}\right\|^{2}\,, (6) where {\mathchoice{\mbox{\boldmath$\displaystyle\Pi$}}{\mbox{\boldmath$\textstyle\Pi$}}{\mbox{\boldmath$\scriptstyle\Pi$}}{\mbox{\boldmath$\scriptscriptstyle\Pi$}}}^{\bot}_{{\mathchoice{\mbox{\boldmath$\displaystyle x$}}{\mbox{\boldmath$\textstyle x$}}{\mbox{\boldmath$\scriptstyle x$}}{\mbox{\boldmath$\scriptscriptstyle x$}}}}={\mathchoice{\mbox{\boldmath$\displaystyle I$}}{\mbox{\boldmath$\textstyle I$}}{\mbox{\boldmath$\scriptstyle I$}}{\mbox{\boldmath$\scriptscriptstyle I$}}}-\frac{{\mathchoice{\mbox{\boldmath$\displaystyle x$}}{\mbox{\boldmath$\textstyle x$}}{\mbox{\boldmath$\scriptstyle x$}}{\mbox{\boldmath$\scriptscriptstyle x$}}}{\mathchoice{\mbox{\boldmath$\displaystyle x$}}{\mbox{\boldmath$\textstyle x$}}{\mbox{\boldmath$\scriptstyle x$}}{\mbox{\boldmath$\scriptscriptstyle x$}}}^{\text{H}}}{\|{\mathchoice{\mbox{\boldmath$\displaystyle x$}}{\mbox{\boldmath$\textstyle x$}}{\mbox{\boldmath$\scriptstyle x$}}{\mbox{\boldmath$\scriptscriptstyle x$}}}\|^{2}} denotes the projection on the null space of \textstyle x . III-B Reduced-complexity algorithm To reduce the complexity of the 6D ML search required in ( 6 ), the authors of [ 4 ] propose an algorithm composed of three-steps, which are summarised below with our modifications. III-B 1 Initial position estimation using a grid search For the initial GS we represent the position vector {\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}(\varphi,\theta,r) of the UE in spherical coordinates with \varphi , \theta and r denoting azimuth, elevation and range. In [ 4 , Alg. 2] an initial 2D GS with respect to azimuth and elevation, using the FF approximation of the RIS phase response {\mathchoice{\mbox{\boldmath$\displaystyle a$}}{\mbox{\boldmath$\textstyle a$}}{\mbox{\boldmath$\scriptstyle a$}}{\mbox{\boldmath$\scriptscriptstyle a$}}}_{\ell}({\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}},{\mathchoice{\mbox{\boldmath$\displaystyle v)$}}{\mbox{\boldmath$\textstyle v)$}}{\mbox{\boldmath$\scriptstyle v)$}}{\mbox{\boldmath$\scriptscriptstyle v)$}}} and assuming {\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}}_{0}={\mathchoice{\mbox{\boldmath$\displaystyle 0$}}{\mbox{\boldmath$\textstyle 0$}}{\mbox{\boldmath$\scriptstyle 0$}}{\mbox{\boldmath$\scriptscriptstyle 0$}}} is described. This step is followed by a line search to obtain the range estimate. For the RIS structure used in our experimental setup, this approach leads to a large error for the range estimate. Hence, we replace the initial position estimation step by a 3D GS in azimuth, elevation and range using the NF expression in ( 3 ). A coarse grid can be used initially, due to the subsequent refinement steps explained below. Overall, our modification provides a smaller initial position error compared to the first algorithm step in [ 4 ] , while the complexity increases only moderately. Assuming {\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}}^{(0)}={\mathchoice{\mbox{\boldmath$\displaystyle 0$}}{\mbox{\boldmath$\textstyle 0$}}{\mbox{\boldmath$\scriptstyle 0$}}{\mbox{\boldmath$\scriptscriptstyle 0$}}} we perform a coarse GS using, (\hat{\varphi},\hat{\theta},\hat{r})=\mathop{\text{argmin}}_{\varphi,\theta,r}\left\|{{\mathchoice{\mbox{\boldmath$\displaystyle\Pi$}}{\mbox{\boldmath$\textstyle\Pi$}}{\mbox{\boldmath$\scriptstyle\Pi$}}{\mbox{\boldmath$\scriptscriptstyle\Pi$}}}^{\bot}_{{\mathchoice{\mbox{\boldmath$\displaystyle h$}}{\mbox{\boldmath$\textstyle h$}}{\mbox{\boldmath$\scriptstyle h$}}{\mbox{\boldmath$\scriptscriptstyle h$}}}({\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}(\varphi,\theta,r),{\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}}^{(0)}}}{\mathchoice{\mbox{\boldmath$\displaystyle y$}}{\mbox{\boldmath$\textstyle y$}}{\mbox{\boldmath$\scriptstyle y$}}{\mbox{\boldmath$\scriptscriptstyle y$}}}\right\|^{2} , providing an initial position estimate {{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}}^{(0)}={\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}(\hat{\varphi},\hat{\theta},\hat{r}) . III-B 2 Closed-form position and velocity refinement In [ 4 ] , a linearisation of the RIS phase response a_{m,\ell}({\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}},{\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}}) is derived assuming an available position estimate {\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}^{(i)} and velocity estimate {\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}}^{(i)} . In [ 4 , Alg. 3] the initial position estimate {\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}^{(i)} is refined by adding a position displacement {\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}_{\delta}({\mathchoice{\mbox{\boldmath$\displaystyle y$}}{\mbox{\boldmath$\textstyle y$}}{\mbox{\boldmath$\scriptstyle y$}}{\mbox{\boldmath$\scriptscriptstyle y$}}},\hat{{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}}^{(i)},\hat{{\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}}}^{(i)}) obtained from a closed-form (CF) expression taking the received signal vector \textstyle y as input in addition to the current position \hat{{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}}^{(i)} and velocity estimate \hat{{\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}}}^{(i)} at iteration (i) , which yields the updated position estimate as \hat{{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}}^{(i+1)}=\hat{{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}}^{(i)}+{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}_{\delta}({\mathchoice{\mbox{\boldmath$\displaystyle y$}}{\mbox{\boldmath$\textstyle y$}}{\mbox{\boldmath$\scriptstyle y$}}{\mbox{\boldmath$\scriptscriptstyle y$}}},\hat{{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}}^{(i)},\hat{{\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}}}^{(i)})\,. (7) Similarly in [ 4 , Alg. 4] the initial velocity estimate is refined by adding a velocity offset {\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}}_{\delta}({\mathchoice{\mbox{\boldmath$\displaystyle y$}}{\mbox{\boldmath$\textstyle y$}}{\mbox{\boldmath$\scriptstyle y$}}{\mbox{\boldmath$\scriptscriptstyle y$}}},\hat{{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}}^{(i)},\hat{{\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}}}^{(i)}) obtained from a CF expression leading to \hat{{\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}}}^{(i+1)}=\hat{{\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}}}^{(i)}+{\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}}_{\delta}({\mathchoice{\mbox{\boldmath$\displaystyle y$}}{\mbox{\boldmath$\textstyle y$}}{\mbox{\boldmath$\scriptstyle y$}}{\mbox{\boldmath$\scriptscriptstyle y$}}},\hat{{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}}^{(i)},\hat{{\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}}}^{(i)})\,. (8) The position and velocity refinements are iterated until ( 6 ) converges at iteration i^{\prime} . III-B 3 6D gradient descent search Finally, a 6D gradient descent search starting from (\hat{{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}}^{(i^{\prime})},\hat{{\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}}}^{(i^{\prime})}) is performed to solve ( 6 ) and obtain (\hat{{\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}},\hat{{\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}}}) as described in [ 4 ] . IV Numerical simulation setup and results IV-A Parameter configuration and implementation details In [ 6 , 7 ] a mmWave RIS testbed is described that consists of a RIS with M=127 elements. The position and velocity estimation algorithm in Sec. III exploits the NF properties that are observable for distances below the Fraunhofer distance defined by d_{\text{F}}=\nicefrac{{2D^{2}}}{{\lambda}} where D is the aperture of the RIS. To increase the aperture D , we combine four RIS tiles with 127 elements each, into a larger composite RIS with a total number of M=508 RIS unit cells, see Fig. 2 . Fig. 2: RIS composed of four RIS tiles with each 127 elements, resulting in a total number of M=508 elements. The composite RIS for the center frequency f=23.8\, GHz has a Fraunhofer distance d_{\text{F}}=16.3 m, which is sufficient for indoor position and velocity estimation applications in industrial automation and control scenarios. Each RIS unit cell can be controlled by one bit to have a reflection coefficient \gamma\in\mathcal{A}=\{\text{e}^{j2\pi\frac{-15^{\circ}}{360^{\circ}}},\text{e}^{j2\pi\frac{165^{\circ}}{360^{\circ}}}\} . The detailed parameters can be found in Table I . TABLE I: RIS parameters and simulation setup. Parameter Definition f=23.8 GHz center frequency M=4\times 127=508 number of RIS unit cells d_{z}=d_{y}=6.6 mm effective RIS unit cell size d=8.7\,\text{mm}\approx 0.7\lambda smallest RIS unit cell distance \mathcal{A}=\{\text{e}^{\text{j}2\pi\frac{-15^{\circ}}{360^{\circ}}},\text{e}^{\text{j}2\pi\frac{165^{\circ}}{360^{\circ}}}\} RIS reflection coefficient set P_{\text{BS}}=20 dBm BS transmit power G_{\text{BS}}=19 dB BS antenna gain G_{\text{UE}}=3.2 dB UE monopole antenna gain n_{\text{f}}=8 dB noise figure T=293 K temperature B=1 MHz bandwidth {\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}_{\text{BS}}=[1,-3,3]^{\text{T}} m BS position {\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}}=[1,-1,2]^{\text{T}}/\sqrt{6} m UE velocity {\mathchoice{\mbox{\boldmath$\displaystyle q$}}{\mbox{\boldmath$\textstyle q$}}{\mbox{\boldmath$\scriptstyle q$}}{\mbox{\boldmath$\scriptscriptstyle q$}}}_{\text{r}}=[0,0,0]^{\text{T}} m reference position in center of RIS T_{\text{S}}=0.1 ms sampling time L=40 number of samples F=250 number of simulation runs The geometrical configuration of the RIS experiment is depicted in Fig. 3 . Fig. 3: Geometrical configuration of RIS, BS and AOI for the UE. The translucent blue cube blocks the LOS between BS and UE. The numerical simulation evaluates a 2D area of interest (AOI) with a size of 3\,\text{m}\times 3\, m using a grid spacing of 10\, cm in x and y direction at height z=-0.5 m. The grid points serve as initial position \textstyle p and the UE velocity is set to {\mathchoice{\mbox{\boldmath$\displaystyle v$}}{\mbox{\boldmath$\textstyle v$}}{\mbox{\boldmath$\scriptstyle v$}}{\mbox{\boldmath$\scriptscriptstyle v$}}}=[1,-1,2]^{\text{T}}/\sqrt{6} m. For the initial coarse GS we define the search space as a 3D discrete set defined by \phi\in\{-70:1:70\}\,^{\circ} , \theta\in\{-70:1:70\}\,^{\circ} , and r\in\{0.1:0.2:4\}\,\text{m} using Matlab notation. The limited range in azimuth and elevations is chosen since the RIS prototype, that we model in the simulation environment, uses an element spacing of 0.7\lambda>\lambda/2 . To further improve the coarse GS position estimate we perform a finer GS step using a 3D set defined as \phi\in\{\hat{\phi}-1:0.1:\hat{\phi}+1\}^{\circ} , \theta\in\{\hat{\theta}-1:0.1:\hat{\theta}+1\}^{\circ} , and r\in\{\hat{r}-0.2:0.005:\hat{r}+0.2\}\,\text{m} . We perform Monte Carlo simulations with F=250 runs to obtain the root mean square (RMS) position error (RMSPE) and RMS velocity error (RMSVE). The reflection coefficients \gamma_{m,\ell} , m\in\{1,\ldots,M\} , \ell\in\{0,\ldots,L-1\} are randomly chosen for each run. IV-B Simulation results and dicussion The RMSVE and the RMSPE as well as the average SNR for the 2D AOI are shown in Fig. 4 . Clearly the RMSVE and the RMSPE increase with distance from the RIS. 1 1 1 The obtained RMSVE is smaller than the simulation results shown in [ 4 ] although the number of RIS unit cells is smaller in our setup. This is due to the mistake in [ 3 , (4)] , that was corrected in [ 4 ] but the simulation results have not been updated in [ 4 ] . This can be attributed to two effects: (i) the NF effect, i.e., the wavefront curvature, decays and (ii) the signal strength decreases with distance. Fig. 4: RMSVE, RMSPE, and average SNR in the 2D AOI. The RMS errors are obtained after the 6D gradient descent search averaged over F=250 runs. We want to point out, that the RMSVE and RMSPE show similar distribution but differ from the SNR distribution in the 2D AOI. Hence, the geometric properties of the measurement setup have a strong influence on the RMSVE and RMSPE, see also [ 4 , App. E] . In Fig. 5 , we present the RMS errors after the individual steps of the estimation algorithm (i) GS, (ii) CF refinement, and (iii) 6D gradient descent. Here we plot the RMS error versus d_{r}({\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}) . We evaluate a line parallel to the x -axis in the middle of the AOI with y=0 m and z=-0.5 m Fig. 5: RMSVe and RMSPE versus the distance to the center of the RIS. We evaluate the three algorithm steps (i) grid search (GS), (ii) closed-form refinement (CF), and (iii) 6D gradient decent search (6D). We compare the GS using the FF assumption (GS FF) with the more robust GS using the NF assumption (GS NF). Furthermore we show the GS in the NF followed by a finer GS step (GS NF fine). Finally, we also depict the result without antenna pattern (6D (GS NF fine), noAP). First, we analyse the initial GS step using [ 4 , Alg. 2] where a GS using the FF assumption (GS FF) estimates azimuth \phi and elevation \theta followed by a line search to estimated the range r . The numerical result in Fig. 5 show that this approach leads to error propagation for shorter distances where the FF assumption is clearly violated. Hence, the proposed robust NF GS (GS NF) shows a smaller error for distances below 2 m. A following refinement step with a finer grid can further reduce the RMSPE, see label ‘GS NF fine’ in Fig. 5 . Second, the CF refinement step provides a further reduction of the position and velocity error. Here the clear dependence on the distance to the RIS is visible, see label ‘CF (GS NF)’. Third, the 6D gradient descent search provides the final estimate, achieving a position error of 7\, mm and a velocity error of 0.12\, m/s in a distance of 2\, m to the RIS. It turns out that CF and 6D steps lead to the same RMSVE and RMSPE for both initial GS algorithm steps, ‘GS NF’ and ‘GS NF fine’. Hence, the additional effort for the fine GS step is not necessary and can be omitted. Finally we depict the RMSVE and RMSPE for F_{m}^{\text{c}}({\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}}_{\ell})=1 in ( 2 ), i.e. no antenna pattern (noAP) is considered. The result shows, that the antenna pattern increases the estimation error, since it is not included in the position and velocity estimation algorithm and causes an attenuation of the received signal. However, this small increase does not hinder the application for practical use cases such as industrial automation and control. In Fig. 5 we can see that the RMSVE increases for distances shorter than 1.2\, m and similarly the RMSPE flattens for this distance range. This is due to the closed-form refinement expressions derived in [ 4 ] for ( 7 ) and ( 8 ), which allows the application of the proposed algorithm for d_{\text{r}}({\mathchoice{\mbox{\boldmath$\displaystyle p$}}{\mbox{\boldmath$\textstyle p$}}{\mbox{\boldmath$\scriptstyle p$}}{\mbox{\boldmath$\scriptscriptstyle p$}}})\gg\|\Delta_{\ell}\| . V Conclusion We analysed and improved a position and velocity estimation algorithm for a RIS in NLOS that uses a single snapshot sequence of DL pilot symbols. The multi-step algorithm from [ 4 ] is numerically evaluated using a realistic propagation model that incorporates the antenna pattern and a practical placement of RIS unit cells. A compound RIS consisting of four RIS tiles is used with a Fraunhofer distance of 16 m. We modify the initial algorithm step in [ 4 ] to perform a 3D NF GS that is followed by a CF refinement and finally a 6D gradient descent search, achieving a position error of 7\, mm and a velocity error of 0.12\, m/s in a distance of 2\, m to the RIS. A detailed analysis of the modified algorithm steps is provided as well as a 2D RMSVE and RMSPE evaluation.