Circuit-Based Modeling Approach for Channel Estimation in RIS-Assisted Communications Daniel C. Alcantara, Daniel V. C. de Oliveira, Gilderlan T. de Araújo Paulo R. B. Gomes, André L. F. de Almeida Abstract RIS (RIS) has been explored as a supportive technology for wireless communication since around 2019. While the literature highlights the potential of RIS in different modern applications, two key issues have gained significant attention from the research community: channel estimation and phase shift optimization. The performance gains of RIS-assisted systems rely heavily on optimal phase shifts, which, in turn, depend on accurate channel estimation. Several studies have addressed these challenges under different assumptions. Some works consider a range of continuous phase shifts, while others propose a limited number of discrete phase values for the RIS elements. Many studies present an idealized perspective, whereas others aim to approximate more practical aspects by considering circuit system responses and employing phase shifts derived from a Discrete Fourier Transform (DFT) or other lookup tables. However, to our knowledge, no study has examined the influence of circuit system parameters on channel estimation and subsequent phase shift optimization. This paper models each RIS element as an equivalent resonant circuit composed of resistance, capacitance, and inductance. We propose that resistance and capacitance parameters can be dynamically and independently configured, leading to the formulation of an impedance matrix. Furthermore, we construct a circuit-based RIS phase shift matrix that accounts for the response of the resonant circuit, which changes with variations in the physical parameters of resistance and capacitance. We investigate the impact of this circuit-based RIS phase shift within a tensor-based channel estimation approach. Our results indicate a performance loss compared to ideal scenarios, such as those using the DFT design. However, we found that increasing the training time can mitigate this performance degradation. IRS Intelligent reflecting surface RIS Reconfigurable intelligent surface RIs reconfigurable intelligent surface irs intelligent reflecting surface PARAFAC parallel factor TALS trilinear alternating least squares BALS bilinear alternating least squares ALS alternating least squares DF decode-and-forward AF amplify-and-forward CE channel estimation RF radio-frequency THz Terahertz communication EVD eigenvalue decomposition CRB Cramér-Rao lower bound CSI channel state information BS base station MIMO multiple-input multiple-output NMSE normalized mean square error 2G Second Generation 3G 3 {}^{\text{rd}} Generation 3GPP 3 {}^{\text{rd}} Generation Partnership Project 4G 4 {}^{\text{th}} Generation 5G 5 {}^{\text{th}} Generation 6G 6 {}^{\text{th}} generation E-TALS enhanced TALS UT user terminal UTs users terminal LS least squares KRF Khatri-Rao factorization KF Kronecker factorization MU-MIMO multi-user multiple-input multiple-output MU-MISO multi-user multiple-input single-output MU multi-user SER symbol error rate SNR signal-to-noise ratio SVD singular value decomposition DFT Discrete Fourier Transform keywords Reconfigurable intelligent surface, varactor circuit model, channel estimation. 1 Introduction The concept of RIS ( RIS ) for wireless communication emerged around 2019 [ 1 ] . The potential of RIS technology lies in its ability to reduce randomness in the wireless propagation environment by controlling in real-time the wave propagation characteristics, such as amplitude and phase [ 2 ] . Since its conception, different modern applications utilizing RIS as support technology have been developed. Among the main challenges facing RIS-assisted wireless communications, channel estimation is one of the most critical issues to be tackled due to the passive nature of the RIS. Accurate channel state information (CSI) is essential for optimizing both the passive (phase shift) and active beamformers to maximize the system’s spectral efficiency during the data transmission phase. Many works have studied the channel estimation problem from different perspectives, such as different propagation scenarios and signal processing methods [ 3 , 4 ] . The work [ 5 ] introduced an early method for estimating the cascaded channel (element by element) between the user terminal-RIS-base station by toggling the individual RIS elements between ON and OFF states. In [ 6 ] , the RIS elements were subdivided into groups, and a graph transformer-based method was proposed. This approach exploited the spatial correlation of groups in the channel estimation solution. Additionally, [ 7 ] presented a machine learning method for estimating the uplink cascaded time-varying channel in a multi-RIS scenario. Focusing on a structured channel model, [ 8 ] exploited the low-rank tensor structure of the received signal to estimate the channel parameters in a decoupled manner across two spatial dimensions. In contrast, [ 9 ] introduced the PARAFAC tensor decomposition to estimate the unstructured channels through closed-form and iterative solutions separately. While the works mentioned above assume RIS operates perfectly, it is reasonable to analyze the impact of hardware/environmental impairments in the RIS elements on the channel estimation accuracy. In this way, [ 10 ] proposed tensor-based solutions for RIS operating under different imperfections. In contrast to previous works, to improve spectral efficiency, [ 11 ] and [ 12 ] derived semi-blind receivers. Channel estimation is crucial to the phase shift optimization (commonly called passive beamforming optimization in the literature). Therefore, many works propose different solutions for this task. For instance, [ 13 ] has demonstrated that the optimal phase shifts can be modeled as a Discrete Fourier Transform (DFT) matrix. Additionally, [ 14 ] developed a tensor-based framework for phase shift optimization that accounts for imperfect channel estimation. In both works, continuous phase shifts are assumed. In contrast, some works present optimization processes based on discrete phase shifts to address more practical applicability. Notable works in this area include [ 4 , 15 , 16 ] . Particularly, in [ 4 ] , individual RIS elements are designed as an equivalent resonant circuit. In [ 16 ] , a set of discrete phases is approximated by DFT points, whereas [ 4 ] proposes an analytical expression for designing phases, where amplitude and phase are coupled. It is essential to mention that no previous work has addressed a phase shift design purely based on the actual circuit model. In contrast, in this paper, we propose a novel phase shift design approach that leverages the effects of variations in resistance and capacitance parameters for each RIS element. The contributions of this work are outlined as follows: • We propose a circuit-based phase shift matrix that considers the effects of resistance and capacitance variations. First, we select two vectors representing the resistance and capacitance. We calculate an impedance matrix from these vectors, which is then mapped to a phase shift matrix. The variation range for resistance and capacitance values is chosen to minimize the dissipation loss while maximizing the available phase range for configuring the RIS elements. • We examine how the proposed circuit-based phase shift design affects the channel estimation accuracy. Specifically, we use a tensor-based channel estimation method that employs a PARAFAC-based receiver. Notation : The font types a , \mathbf{a} , \mathbf{A} and \mathcal{A} denote scalar, vector, matrix, and tensor, respectively. Transpose, pseudo-inverse and Frobenius norm of \mathbf{A}\in\mathbb{C}^{I\times J} are represented by \mathbf{A}^{\text{T}} , \mathbf{A}^{\dagger} and \|\cdot\|_{\text{F}} , respectively. The operator \text{diag}(\mathbf{a}) forms a diagonal matrix out of its vector argument. The symbol \diamond represents the Khatri-Rao product. \mathbf{A}_{ij} , \mathbf{A}_{i\cdot} and \mathbf{A}_{\cdot j} stand for the (i,j) -th element, i -th row and the j -th column of \mathbf{A} , respectively. \mathcal{I}_{3,R} is the third-order identity tensor of size R\times R\times R , while \times_{n} is the n -mode product between a tensor and a matrix. 2 System Model Let us consider the uplink of a narrowband RIS-assisted MIMO system with M_{t} transmitter antennas, M_{r} receiver antennas, and N RIS elements. The link between the user terminal (UT) and base station (BS) is considered to be either unavailable or negligible.The transmission protocol follows [ 9 ] . Specifically, we assume a block transmission where the total channel estimation time T_{E} is divided into K blocks, each consisting of T time slots ( T_{E}=KT ).By assuming a RIS with varying phase shifts from block to block, the received signal during block k at time slot t is expressed as \mathbf{y}_{k,t}=\mathbf{H}\mathbf{S}_{k}\mathbf{G}^{\text{T}}\mathbf{x}_{t}+\mathbf{z}_{k,t}, (1) such that after T pilot transmissions the received signal at block k is given as \mathbf{Y}_{k}=\mathbf{H}\text{diag}(\mathbf{s}_{k})\mathbf{G}^{\text{T}}\mathbf{X}+\mathbf{Z}_{k}, (2) where \mathbf{H}\in\mathbb{C}^{M_{r}\times N} represents the channel between the BS and the RIS , and \mathbf{G}\in\mathbb{C}^{M_{t}\times N} denotes the channel between the UT and the RIS , respectively. The matrix \mathbf{X}=[\mathbf{x}_{1}\;\mathbf{x}_{2}\;\dots\;\mathbf{x}_{T}]\in\mathbb{C}^{M_{t}\times T} collects the transmitted pilots. Additionally, the phase shift vector applied at the RIS during block k is represented as \mathbf{s}_{k}=[s_{1}e^{j\theta_{1}},\ldots,s_{N}e^{j\theta_{N}}]^{\mathrm{T}}\in\mathbb{C}^{N\times 1} . The phase shift matrix which contains all the K phase shift patterns used during the channel estimation task is represented by \mathbf{S}=[\mathbf{s}_{1}\;\dots\;\mathbf{s}_{K}]^{\text{T}}\in\mathbb{C}^{K\times N} . The matrix \mathbf{Z}_{k} represents the additive white Gaussian noise (AWGN). Given that the pilot matrix \mathbf{X} is semi-unitary, we can filter the received signal at block k as follows \overline{\mathbf{Y}}_{k}=\mathbf{H}\text{diag}(\mathbf{s}_{k})\mathbf{G}^{\text{T}}\ +\mathbf{Z}_{k}\mathbf{X}^{\text{T}}, (3) where \mathbf{Z}_{k}\mathbf{X}^{\text{T}} denotes the filtered noise term 1 1 1 From this point, we will disregard the noise term for clarity. However, it is important to note that we use the noisy version of the received signal in our computer simulations. . According to [ 17 ] , the Equation (3) represents the k -th frontal slice 2 2 2 In this paper, the definitions and operations involving tensors follows [ 17 ] . of the received signal tensor \overline{\mathcal{Y}}\in\mathbb{C}^{M_{r}\times M_{t}\times K} , which follows a rank- N third-order PARAFAC model, i.e., \overline{\mathcal{Y}}=\mathcal{I}_{3,N}\times_{1}\mathbf{H}\times_{2}\mathbf{G}\times_{3}\mathbf{S}\in\mathbb{C}^{M_{r}\times M_{t}\times K}. (4) 3 RIS Phase Shift Matrix Design Most channel estimation methods for RIS-assisted wireless communications assume an ideal design for the phase shift matrix. According to [ 13 ] , the DFT matrix is an optimal design for channel estimation (for more details, access the reference). In a less restricted way, other works restrict only the amplitude response, considering unitary amplitude (i.e., perfect full signal reflection by each RIS element). However, achieving both DFT design and unitary amplitude responses is challenging in practice due to limitations in real-world circuit components in which the amplitude variation is phase-dependent. Aiming for a more realistic approach, [ 18 ] proposes a physical modeling where each RIS element is designed as an equivalent parallel resonant circuit (illustrated in Figure 1 ) with the following impedance characteristics Figure 1: Varactor diode equivalent circuit model. Z_{n}(C_{n},R_{n})=\frac{j\omega L_{1}\left(j\omega L_{2}+\frac{1}{j\omega C_{n}}+R_{n}\right)}{j\omega L_{1}+\left(j\omega L_{2}+\frac{1}{j\omega C_{n}}+R_{n}\right)}\;, (5) where L_{1} and L_{2} represent the inductances, while C_{n} and R_{n} denote the effective capacitance and resistance of the n -th RIS element, respectively, and \omega denotes the angular frequency of the incident electromagnetic wave. From ( 5 ), we can note that full reflection is practically impossible due to dissipation losses in the circuit components (which cannot be zero in practice). Being Z_{0} the free-space impedance, the reflection coefficient of the n -th RIS element can be expressed as follows v_{n}=\frac{Z_{n}(C_{n},R_{n})-Z_{0}}{Z_{n}(C_{n},R_{n})+Z_{0}}\;. (6) Thus, the amplitude and phase shift response of the n -th RIS element are obtained as |v_{n}| and \arg(v_{n}) , respectively. Looking at ( 6 ), it is possible to observe that the phase and amplitude responses are interconnected and depend on the choices of R_{n} and C_{n} , which both can be controlled independently and dynamically [ 19 ] . To illustrate the implications of this practical phase shift design, let us consider the following example parameters from [ 18 ] : L_{1}=2.5\,\text{nH} , L_{2}=0.7\,\text{nH} , Z_{0}=377\,\Omega , and f=2.4\times 10^{9}\,\text{Hz} . The considered capacitance range is between 0.47\,\text{pF} and 2.35\,\text{pF} , while the resistance range varies from 0.5\,\Omega to 2.5\,\Omega . Figure 2: Amplitude Heatmap - Resistance versus Capacitance Figure 3: Phase Heatmap - Resistance versus Capacitance The heatmaps illustrated in Figures 2 and 3 enable us to analyze jointly the amplitude and phase responses of the RIS elements based on their component measurements. Figure 2 illustrates a region of significant dissipation, which characterizes a strong attenuation zone. To demonstrate this, we consider N=16 RIS elements (black points) in which the values of R_{n} and C_{n} were randomly generated within the considered ranges. In this figure, we identify a point located in the attenuation zone and another nearby. By comparing Figures 2 and 3 , we can see that lower values of C_{n} correspond to a region where the amplitude response is close to 1. However, in this same region, the phase range is quite restricted. This practical limitation could pose a challenge for the RIS operation, since its fundamental purpose is manipulating phases to perform passive beamforming effectively. 3.1 Proposed Phase Shift Design Based on the previous discussion, we can identify an optimal operating region for the RIS by analyzing the heatmap results. Our goal is to select an RIS work region that jointly maximizes the phase range while minimizing attenuation. This represents an inherent trade-off to consider in the practical model. In our study, we have selected the highlighted area (black box) in Figure 2 to bypass the zone of significant dissipation, specifically when R_{n} falls within the [0.5\,\Omega,1\,\Omega] range and C_{n} is in the range of [1\,\text{pF},2\,\text{pF}] . Within this interval, we define the phase vector \mathbf{c_{n}}\in\mathbb{C}^{1\times N} and the resistance vector \mathbf{r_{n}}\in\mathbb{C}^{1\times N} , where N points are uniformly distributed. By applying a circular shift, we can construct the resistance matrix \mathbf{R}\in\mathbb{C}^{K\times N} and the capacitance matrix \mathbf{C}\in\mathbb{C}^{K\times N} as follows \mathbf{R}_{k.}=\text{circshift}(\mathbf{r_{n}},N)\quad\text{and}\quad\mathbf{C}_{k.}=\text{circshift}(\mathbf{c_{n}},N). (7) From \mathbf{R} and \mathbf{C} , we can obtain the impedance matrix \mathbf{Z}\in\mathbb{C}^{K\times N} using ( 5 ). The (k,n) -th element of \mathbf{Z} is given by \mathbf{Z}_{kn}(\mathbf{C},\mathbf{R})=\frac{j\omega L_{1}\left(j\omega L_{2}+\frac{1}{j\omega\mathbf{C}_{kn}}+\mathbf{R}_{kn}\right)}{j\omega L_{1}+\left(j\omega L_{2}+\frac{1}{j\omega\mathbf{C}_{kn}}+\mathbf{R}_{kn}\right)}\;. (8) Let us define the proposed phase shift matrix \mathbf{S}\in\mathbb{C}^{K\times N} whose its (k,n) -th element is given by \mathbf{S}_{kn}=A_{kn}\cdot e^{j\phi_{kn}}, (9) where A_{kn}=|v_{kn}| , \phi=\arg(v_{kn}) and v_{kn}=\frac{\mathbf{Z}_{kn}(\mathbf{C},\mathbf{R})-Z_{0}}{\mathbf{Z}_{kn}(\mathbf{C},\mathbf{R})+Z_{0}}\;. (10) Note that our proposed phase shift design is derived from the response of the practical hardware model without any reliance on analytical methods or DFT approximations. This raises an important question: How does this practical design impact channel estimation accuracy? In the next section, we briefly present the PARAFAC-based channel estimator that will use our phase shift design. In Section 5 , the channel estimation accuracy is evaluated through computational experiments by considering practical phase shift responses. 4 Channel Estimation Approach The proposed phase shift design, discussed in Section 3.1 , can be applied to any RIS channel estimation approach. Here, we capitalize on the tensor structure of the received signal in ( 3 ) 3 3 3 Tensor signal processing has successfully been applied to solve different problems in the wireless communication area such as cooperative relay systems [ 20 ] , tensor coding [ 21 ] and multiuser equalization [ 22 ] , to mention a few. . With this strategy, we will evaluate the impact of our proposed phase shift design on channel estimation accuracy using the pilot-assisted PARAFAC-based receiver formulated by [ 23 , 9 ] , which is summarized below. The estimation of the involved channels is obtained by minimizing the following objective function: (\hat{\mathbf{H}}\;,\hat{\mathbf{G}})=\underset{\mathbf{H},\mathbf{G}}{\arg\min}\,\,\left\|\overline{\mathbf{Y}}_{k}-\mathbf{H}\text{diag}(\mathbf{s}_{k})\mathbf{G}^{\textrm{T}}\right\|_{\text{F}}^{2}, (11) which represents a nonlinear problem. To solve ( 11 ), we exploit the unfolding representations of \overline{\mathcal{Y}} . Specifically, the 1 -mode and 2 -mode unfoldings that are given by [\overline{\mathcal{Y}}]_{(1)}=\mathbf{H}\left(\mathbf{S}\diamond\mathbf{G}\right)^{\text{T}}\quad\text{and}\quad[\overline{\mathcal{Y}}]_{(2)}=\mathbf{G}\left(\mathbf{S}\diamond\mathbf{H}\right)^{\text{T}}. (12) From ( 12 ), the estimates \hat{\mathbf{H}} and \hat{\mathbf{G}} can be obtained using the well known ALS ( ALS ) algorithm [ 24 ] ). It consists of solving the following sub-optimal LS problems in an iterative and alternating manner \displaystyle\hat{\mathbf{H}}=\underset{\mathbf{G}}{\arg\min}\,\,\left\|[\overline{\mathcal{Y}}]_{(1)}-\mathbf{H}(\mathbf{S}\diamond\mathbf{G})^{\text{T}}\right\|_{\text{F}}^{2}, (13) \displaystyle\hat{\mathbf{G}}=\underset{\mathbf{H}}{\arg\min}\,\,\left\|[\overline{\mathcal{Y}}]_{(2)}-\mathbf{G}(\mathbf{S}\diamond\mathbf{H})^{\text{T}}\right\|_{\text{F}}^{2}. (14) The solutions of ( 13 ) and ( 14 ) are given by \hat{\mathbf{H}}=[\overline{\mathcal{Y}}]_{(1)}[(\mathbf{S}\diamond\mathbf{G})^{\text{T}}]^{\dagger}\quad\text{and}\quad\hat{\mathbf{G}}=[\overline{\mathcal{Y}}]_{(2)}[(\mathbf{S}\diamond\mathbf{H})^{\text{T}}]^{\dagger}, (15) respectively. To better understand, we present in Algorithm 1 the pseudo-code of the PARAFAC-based channel estimation procedure. Input: i=0 ; initialize \widehat{\mathbf{G}} Output: Estimated matrices \widehat{\mathbf{H}},\widehat{\mathbf{G}} for i=1 to iter do \widehat{\mathbf{H}}^{(i)}\leftarrow[\overline{\mathcal{Y}}]_{(1)}\left(\left(\mathbf{S}\diamond\widehat{\mathbf{G}}^{(i)}\right)^{\text{T}}\right)^{\dagger} \widehat{\mathbf{G}}^{(i)}\leftarrow[\overline{\mathcal{Y}}]_{(2)}\left(\left(\mathbf{S}\diamond\widehat{\mathbf{H}}^{(i-1)}\right)^{\text{T}}\right)^{\dagger} Compute the relative reconstruction error: e(i)=\frac{\|[\overline{\mathcal{Y}}]_{(1)}-\widehat{\mathbf{H}}^{(i)}(\mathbf{S}\diamond\widehat{\mathbf{G}}^{(i)})^{\text{T}}\|_{\text{F}}^{2}}{\|[\overline{\mathcal{Y}}]_{(1)}\|_{\text{F}}^{2}} if i>1 and |e(i)-e(i-1)|\leq\varepsilon then break end if end for Algorithm 1 PARAFAC-based channel estimator The complexity and uniqueness issues of this tensor-based channel estimator are detailed in [ 9 ] . In the next section, we present simulation results to evaluate the channel estimation performance considering the proposed phase shift design in Section 3.1 and Algorithm 1 . (a) Amplitude distribution (b) Phases distribution Figure 4: Example of amplitude and phase distributions considering uniform choice. (a) NMSE of \hat{\mathbf{H}} vs. SNR (dB). (b) NMSE of \hat{\mathbf{G}} vs. SNR (dB). Figure 5: System performance considering the circuit-based phase shift design. 5 Simulation Results This section discusses the impact of the circuit-based phase shift design using the PARAFAC-based channel estimator in [ 9 ] . The performance is evaluated through the normalized mean square error (NMSE) of the estimated channels \hat{\mathbf{H}} and \hat{\mathbf{G}} . The simulation setup consists of M_{t}=M_{r}=N=T=10 and K\in\{10,20\} and Rayleigh channels are assumed. The capacitance and resistance values are uniformly distributed within the ranges [1\text{ pF},2\text{ pF}] and [0.5\,\Omega,1\,\Omega] , as illustrated in Figure 4 . These range values are chosen to avoid deep energy dissipation (i.e., the amplitude response is close to 1, which implies stronger reflection) and to maximize the available phase for RIS elements configuration during the channel estimation task. Figures 5a and 5b show the channel estimation accuracy for the involved channels obtained from Algorithm 1 . It is observed that, in both results, the estimation performance decreases when the practical circuit-based phase shift model (represented by blue and red curves) is considered compared to RIS elements configured by DFT matrix (black curves) during the K blocks. This result is expected since for DFT design, each reflecting element has zero energy dissipation, and the correlation properties of the additive noise are not affected by filtering at the receiver performed in Equation ( 3 ). However, in practice, this is an idealized assumption because semiconductor devices, dielectrics, and metals used in manufacturing the RIS elements dissipate some energy level. On the other hand, the performance gap between practical circuit-based and DFT phase shift designs decreases when the training time increases, showing that the circuit-based phase shift design can perform very close to the DFT one. Therefore, a trade-off can be observed, revealing that increasing the training time can help mitigate the losses in the channel estimation performance in practical scenarios. 6 Conclusion We proposed a new design for a phase shift matrix that incorporates a circuit-based model, considering each RIS element’s circuit response. We examine how the proposed phase shift design affects the channel estimation accuracy of a tensor-based receiver. Our results indicate a performance loss of the practical circuit model compared to the idealized DFT design. However, we observed that this loss can be minimized by increasing the duration of the training. This presents a trade-off, as achieving the highest channel estimation accuracy requires optimal phase shift settings in the practical RIS. Looking ahead, we plan to investigate the best operational region for this design, explore how to select the resistance and capacitance vectors effectively, and assess the impact of this design on other types of receivers, including semi-blind receivers that enhance spectral efficiency.