RIS components
This is a python project for RIS(reconfigurable intelligent surface) simulations.
related works
- My first paper Link to my paper / Pdf to my paper:
[1] X. Guo, Y. Chen and Y. Wang, “Learning-based Robust and Secure Transmission for Reconfigurable Intelligent Surface Aided Millimeter Wave UAV Communications,” in IEEE Wireless Communications Letters, doi: 10.1109/LWC.2021.3081464.
- DDPG structure
Refer to the following code on github:
\qquad a. tf-agent this is the easiest way the use the official RL(reinforcement learning) api.
\qquad b. open source RL api using tensorflow: (coming soon)
\qquad c. DDPG structure refters to [3](pdf). There has already been some works on the combination of the DDPG and the RIS [4](pdf)
- RIS simulation
Refer to the paper Link to this paper / Pdf to this paper. This paper provide a simulation code in matlab, we refer to this project to provide a python version.
[2] E. Basar and I. Yildirim, “SimRIS Channel Simulator for Reconfigurable Intelligent Surface-Empowered Communication Systems,” 2020 IEEE Latin-American Conference on Communications (LATINCOM), 2020, pp. 1-6, doi: 10.1109/LATINCOM50620.2020.9282349.
What this project aims ?
This project aims to redo the simulations shown in the paper below Link to this paper:
[3] Zhang, Zijian, et al. “Active RIS vs. Passive RIS: Which Will Prevail in 6G?.” arXiv preprint arXiv:2103.15154 (2021).
Specifically, in this project we will simulate the active RIS. And to maximum the universality, this project will provide modular simulation tool for RIS-aided system.
File structure
./cite
The cited paper for this project
./learning
The code to initialize the agents
\qquad ./learning/official
\qquad The offical RL agents api (tf-agent)
\qquad ./learning/custom
\qquad The third party open source RL agent api
RIS theory
this section mainly refers to [2] (SimRIS1.0) and [2.2] (SimRIS2.0).
RIS-Assisted LOS channels(SISO)
According to the plate scattering theory[2,(1)], the transmitted signal is captured by each RIS element, then rescattered to the medium in all directions. Focusing on he n n n-th RIS element, the captured power on it can be readily obtained as
P n R I S = P t G t G e T x λ 2 ( 4 π ) 2 a n 2 (1) P_{n}^{RIS}=\frac{P_tG_tG_e^{Tx}\lambda^2}{(4\pi)^2a_n^2} \tag{1} PnRIS=(4π)2an2PtGtGeTxλ2(1)
where P t P_t Pt is the transmit power, G t G_t Gt is the transmit antenna gain in the direction of the n n n-th RIS element (or the RIS in general), G e T x G_e^{Tx} GeTx is the gain of the corresponding RIS element in the direction of the transmitter (Tx), λ \lambda λ is the wavelength, and a n a_n an is the distance between the transmitter and this element. The effective aperture of the n n n-th RIS element is G e T x λ 2 / ( 4 π ) G_{e}^{\mathrm{Tx}} \lambda^{2} /(4 \pi) GeTxλ2/(4π), and the power flux density incident on it given by P t G t / ( 4 π a n 2 ) P_{t} G_{t} /\left(4 \pi a_{n}^{2}\right) PtGt/(4πan2). Then the captured power is re-radiated to the medium with an efficiency factor ϵ \epsilon ϵ, which in [2] is assumed to be unity.
The captured power at the receiver (Rx) is obtained as
P n R x = P n R I S G e R x G r λ 2 ( 4 π ) 2 b n 2 = P t G t G r G e T x G e R x λ 4 ( 4 π ) 4 a n 2 b n 2 (2) P_{n}^{\mathrm{Rx}}=\frac{P_{n}^{\mathrm{RIS}} G_{e}^{\mathrm{Rx}} G_{r} \lambda^{2}}{(4 \pi)^{2} b_{n}^{2}}=\frac{P_{t} G_{t} G_{r} G_{e}^{\mathrm{Tx}} G_{e}^{\mathrm{Rx}} \lambda^{4}}{(4 \pi)^{4} a_{n}^{2} b_{n}^{2}}\tag{2} Pn