Electromagnetically Consistent Optimization Algorithms for the Global Design of RIS

M. W. Shabir, M. Di Renzo, , A. Zappone, , and M. Debbah Manuscript received Sep. 25, 2024. M. W. Shabir, M. Di Renzo are with Université Paris-Saclay, CNRS, CentraleSupélec, Laboratoire des Signaux et Systèmes, Gif-sur-Yvette, France. ([email protected]). A. Zappone is with University of Cassino, Cassino, Italy. M. Debbah is with Khalifa University, Abu Dhabi, UAE. This work was supported by the European Commission under grant H2020 MetaWireless (956256). The work of M. Di Renzo was supported in part under grants HE COVER (101086228), HE UNITE (101129618), HE INSTINCT (101139161); France 2030 ANR-PEPR Networks of the Future (NF-YACARI 22-PEFT-0005); CHIST-ERA PASSIONATE (CHIST-ERA-22-WAI-04, ANR-23-CHR4-0003-01).
Abstract

The reconfigurable intelligent surface is an emerging technology for wireless communications. We model it as an inhomogeneous boundary of surface impedance, and consider various optimization problems that offer different tradeoffs in terms of performance and implementation complexity. The considered non-convex optimization problems are reformulated as a sequence of approximating linear quadratically constrained or semidefinite programs, which are proved to have a polynomial complexity and to converge monotonically in the objective value.

Index Terms:
Reconfigurable intelligent surface, optimization.

I Introduction

The reconfigurable intelligent surface (RIS) is a physical layer technology that allows information and communication providers to optimize the propagation of electromagnetic waves, hence sculpting favorable communication channels for the efficient transmission and processing of information. Several optimization algorithms for RIS-aided systems are available, but most of them rely on simple (often simplistic) communication models [1]. The development of electromagnetically consistent and tractable communication models for evaluating the performance and optimizing RIS-aided wireless networks, from a signal-level and system-level perspective, is, on the other hand, an important subject open to research [2].

In communication engineering, in addition, current optimization criteria for RIS-aided channels are usually based on the so-called local design, i.e., a specified constraint is imposed to each reconfigurable element of the RIS [3]. In the electromagnetic community, however, the local design criterion is known to be sub-optimal in terms of scattered power [4], and to possibly result in scattered electromagnetic waves towards directions different from the intended one [1], [5], [6]. To overcome these limitations, an RIS needs to be optimized based on the so-called global design [1], [4], which ensures that the total power reflected towards the direction of interest is as close as possible (ideally equal) to the total incident power. This is ensured by imposing a single reflection constraint that encompasses all the reconfigurable elements of the RIS simultaneously. Existing optimization algorithms for the global design of an RIS are, however, based on communication models that are either not electromagnetically consistent [3] or rely on general-purpose optimization functions with no performance guarantee in terms of computational complexity, convergence properties, and optimality of the solution [1], [7].

In this context, we embrace the electromagnetically consistent communication model introduced in [1], which models an RIS as an inhomogeneous boundary of surface impedance. Accordingly, we formulate several optimization problems with the following distinguishing features: (i) electromagnetic consistency of the solution; (ii) specified power efficiency towards the intended direction of reflection; (iii) specified maximum power towards unwanted directions of reflection; and (iv) specified physical implementation constraints, which are all imposed by design in the problem formulation. The considered optimization problems are shown not to be convex. To tackle them efficiently, we reformulate them as a sequence of approximating linear quadratically constrained or semidefinite programs, which are proved to have a polynomial complexity and to converge monotonically in the objective value [8].

The significance of the proposed optimization algorithms is that the global design solution for anomalous reflectors is known only under ideal assumptions, i.e., unitary power efficiency, no parasitic scattering, and no physical constraints on the surface impedance, whose real part needs to be positive and negative [4]. To the best of our knowledge, there exist no optimization algorithms to the design of RISs for which the power efficiency, undesired reradiations, and implementation constrains (e.g., the real part of the surface impedance shall not be negative) are specified as optimization constraints.

Notation: Matrices and column vectors are denoted by bold uppercase and lowercase fonts. |||\cdot|| ⋅ |, ()superscript{(\cdot)}^{*}( ⋅ ) start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT, Re()Re\operatorname{Re}(\cdot)roman_Re ( ⋅ ) denote the absolute value, conjugate, real part. ()Hsuperscript𝐻{(\cdot)}^{H}( ⋅ ) start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT, ()Tsuperscript𝑇{(\cdot)}^{T}( ⋅ ) start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT, tr()tr\operatorname{tr}(\cdot)roman_tr ( ⋅ ) denote the hermitian, transpose, trace operators. delimited-∥∥\lVert\cdot\rVert∥ ⋅ ∥, subscriptdelimited-∥∥\lVert\cdot\rVert_{*}∥ ⋅ ∥ start_POSTSUBSCRIPT ∗ end_POSTSUBSCRIPT, Fsubscriptdelimited-∥∥F\lVert\cdot\rVert_{\rm{F}}∥ ⋅ ∥ start_POSTSUBSCRIPT roman_F end_POSTSUBSCRIPT denote the spectral, nuclear, Frobenius norms. succeeds-or-equals\succeq denotes positive semidefinite. O()𝑂{O}(\cdot)italic_O ( ⋅ ) stands for the big-O notation. j𝑗jitalic_j is the imaginary unit. 𝟏1{\bf{1}}bold_1 is the all ones vector. (f(𝐱))𝑓𝐱\nabla\left({f\left({\bf{x}}\right)}\right)∇ ( italic_f ( bold_x ) ) denotes the gradient of f(𝐱)𝑓𝐱{f\left({\bf{x}}\right)}italic_f ( bold_x ) with respect to 𝐱superscript𝐱{{{\bf{x}}^{*}}}bold_x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT. n(f(𝐱))subscript𝑛𝑓𝐱\nabla_{n}\left({f\left({\bf{x}}\right)}\right)∇ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ( italic_f ( bold_x ) ) is the n𝑛nitalic_nth entry of (f(𝐱))𝑓𝐱\nabla\left({f\left({\bf{x}}\right)}\right)∇ ( italic_f ( bold_x ) ). f(𝐱)f(𝐱¯)+2Re(T(f(𝐱¯))(𝐱𝐱¯))f\left({\bf{x}}\right)\approx f\left({{\bar{\bf{x}}}}\right)+2\operatorname{Re% }\left(\nabla^{T}\left({f\left(\bar{\bf{x}}\right)}\right)\left({{\bf{x}}-{% \bar{\bf{x}}}}\right)^{*}\right)italic_f ( bold_x ) ≈ italic_f ( over¯ start_ARG bold_x end_ARG ) + 2 roman_Re ( ∇ start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT ( italic_f ( over¯ start_ARG bold_x end_ARG ) ) ( bold_x - over¯ start_ARG bold_x end_ARG ) start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT ) is the first-order Taylor approximation of f(𝐱)𝑓𝐱f\left({\bf{x}}\right)italic_f ( bold_x ) at the point 𝐱¯¯𝐱\bar{\bf{x}}over¯ start_ARG bold_x end_ARG.

II Electromagnetic Model

II-A RIS Model

We consider the same system model as in [1, Sec. III-A], which encompasses a single-antenna transmitter, a single-antenna receiver, and an RIS (a flat surface 𝒮𝒮\mathcal{S}caligraphic_S) that is modeled as an inhomogeneous boundary of surface impedance with negligible thickness with respect to the considered wavelength. The RIS is modeled as a rectangle that lies in the xy𝑥𝑦xyitalic_x italic_y-plane (i.e., z=0𝑧0z=0italic_z = 0) with its center located at the origin. Specifically, 𝒮𝒮\mathcal{S}caligraphic_S is defined as 𝒮={(x,y):|x|Lx,|y|Ly}𝒮conditional-set𝑥𝑦formulae-sequence𝑥subscript𝐿𝑥𝑦subscript𝐿𝑦\mathcal{S}=\left\{(x,y):|x|\leq L_{x},|y|\leq L_{y}\right\}caligraphic_S = { ( italic_x , italic_y ) : | italic_x | ≤ italic_L start_POSTSUBSCRIPT italic_x end_POSTSUBSCRIPT , | italic_y | ≤ italic_L start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT }, with 2Lx2subscript𝐿𝑥2L_{x}2 italic_L start_POSTSUBSCRIPT italic_x end_POSTSUBSCRIPT and 2Ly2subscript𝐿𝑦2L_{y}2 italic_L start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT being the lengths of 𝒮𝒮\mathcal{S}caligraphic_S along the x𝑥xitalic_x-axis and y𝑦yitalic_y-axis, respectively. We consider a reflecting RIS, i.e., the transmitter and receiver are located on the same side of 𝒮𝒮\mathcal{S}caligraphic_S.

The transmitter and receiver are located in the Fraunhofer far-field region of each other and of the RIS. Thus, the incident and reflected signals are modeled as plane waves, whose angles of incidence and reflection, with respect to the normal (i.e., the z𝑧zitalic_z-axis) to 𝒮𝒮\mathcal{S}caligraphic_S, are denoted by θisubscript𝜃𝑖\theta_{i}italic_θ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT and θrsubscript𝜃𝑟\theta_{r}italic_θ start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT, respectively. As in [1], the incident and reflected signals propagate in the yz𝑦𝑧yzitalic_y italic_z-plane, so that the dependence on the azimuth angle is ignored. We consider only the signal reflected by the RIS and ignore the transmitter-receiver direct link due to the presence of blocking objects. A free space propagation environment is considered.

Since the RIS is modeled as an inhomogeneous boundary of surface impedance, it is characterized by a surface impedance Z(x,y)𝑍𝑥𝑦Z(x,y)italic_Z ( italic_x , italic_y ) or, equivalently, by a surface reflection coefficient Γ(x,y)Γ𝑥𝑦\Gamma(x,y)roman_Γ ( italic_x , italic_y ) for (x,y)𝒮𝑥𝑦𝒮(x,y)\in\mathcal{S}( italic_x , italic_y ) ∈ caligraphic_S, according to the definitions in [1, Eq. (37)]. Because of the independence from the azimuth angle, Z(x,y)𝑍𝑥𝑦Z(x,y)italic_Z ( italic_x , italic_y ) and Γ(x,y)Γ𝑥𝑦\Gamma(x,y)roman_Γ ( italic_x , italic_y ) are constant functions along the x𝑥xitalic_x-axis. For system optimization, we can hence consider Z(x,y)=Z(y)𝑍𝑥𝑦𝑍𝑦Z(x,y)=Z(y)italic_Z ( italic_x , italic_y ) = italic_Z ( italic_y ) and Γ(x,y)=Γ(y)Γ𝑥𝑦Γ𝑦\Gamma(x,y)=\Gamma(y)roman_Γ ( italic_x , italic_y ) = roman_Γ ( italic_y ). For ease of writing and numerical implementation when solving the optimization problems, the surface impedance and reflection coefficient are discretized with spatial sampling ΔxsubscriptΔ𝑥\Delta_{x}roman_Δ start_POSTSUBSCRIPT italic_x end_POSTSUBSCRIPT and ΔysubscriptΔ𝑦\Delta_{y}roman_Δ start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT along the x𝑥xitalic_x-axis and y𝑦yitalic_y-axis, respectively, as detailed in [1, Sec. III-C]. Accordingly, Z(y)𝑍𝑦Z(y)italic_Z ( italic_y ) and Γ(y)Γ𝑦\Gamma(y)roman_Γ ( italic_y ) are represented by two column vectors 𝐳=[z1,z2,,zN]T𝐳superscriptsubscript𝑧1subscript𝑧2subscript𝑧𝑁𝑇\mathbf{z}=[z_{1},z_{2},\dots,z_{N}]^{T}bold_z = [ italic_z start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_z start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , … , italic_z start_POSTSUBSCRIPT italic_N end_POSTSUBSCRIPT ] start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT and 𝜸=[γ1,γ2,,γN]T𝜸superscriptsubscript𝛾1subscript𝛾2subscript𝛾𝑁𝑇\boldsymbol{\gamma}=[\gamma_{1},\gamma_{2},\dots,\gamma_{N}]^{T}bold_italic_γ = [ italic_γ start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_γ start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , … , italic_γ start_POSTSUBSCRIPT italic_N end_POSTSUBSCRIPT ] start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT, respectively. Specifically, zn=Z(yn)subscript𝑧𝑛𝑍subscript𝑦𝑛z_{n}=Z(y_{n})italic_z start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT = italic_Z ( italic_y start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) with yn=LyΔy/2+nΔysubscript𝑦𝑛subscript𝐿𝑦subscriptΔ𝑦2𝑛subscriptΔ𝑦y_{n}=-L_{y}-\Delta_{y}/2+n\Delta_{y}italic_y start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT = - italic_L start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT - roman_Δ start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT / 2 + italic_n roman_Δ start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT, n=1,2,,N𝑛12𝑁n=1,2,\ldots,Nitalic_n = 1 , 2 , … , italic_N, and N=2Ly/Δy𝑁2subscript𝐿𝑦subscriptΔ𝑦N=2L_{y}/\Delta_{y}italic_N = 2 italic_L start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT / roman_Δ start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT. The same applies to 𝜸𝜸\boldsymbol{\gamma}bold_italic_γ.

The entries of 𝐳𝐳\mathbf{z}bold_z and 𝜸𝜸\boldsymbol{\gamma}bold_italic_γ are related to one another as follows:

zn=η01+γncosθiγncosθr,γn=zncosθiη0zncosθr+η0formulae-sequencesubscript𝑧𝑛subscript𝜂01subscript𝛾𝑛subscript𝜃𝑖subscript𝛾𝑛subscript𝜃𝑟subscript𝛾𝑛subscript𝑧𝑛subscript𝜃𝑖subscript𝜂0subscript𝑧𝑛subscript𝜃𝑟subscript𝜂0z_{n}=\eta_{0}\frac{1+{\gamma_{n}}}{\cos\theta_{i}-{\gamma_{n}}\cos\theta_{r}}% ,\quad\gamma_{n}=\frac{{z_{n}}\cos\theta_{i}-\eta_{0}}{{z_{n}}\cos\theta_{r}+% \eta_{0}}\vspace{-0.1cm}italic_z start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT = italic_η start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT divide start_ARG 1 + italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT end_ARG start_ARG roman_cos italic_θ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT roman_cos italic_θ start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT end_ARG , italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT = divide start_ARG italic_z start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT roman_cos italic_θ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - italic_η start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT end_ARG start_ARG italic_z start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT roman_cos italic_θ start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT + italic_η start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT end_ARG (1)

where η0subscript𝜂0\eta_{0}italic_η start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT is the free space impedance and n=1,2,,N𝑛12𝑁n=1,2,\ldots,Nitalic_n = 1 , 2 , … , italic_N.

II-B Electromagnetic Consistency

The entries of 𝐳𝐳\mathbf{z}bold_z and 𝜸𝜸\boldsymbol{\gamma}bold_italic_γ are arbitrary complex values, with the only requirement that they need to produce reflected electric and magnetic fields, given the incident electric and magnetic fields, that are electromagnetically consistent, i.e., that fulfill Maxwell’s equations [1, p. 1183]. This implies that the entries of 𝜸𝜸\boldsymbol{\gamma}bold_italic_γ need to satisfy the constraint [1, Eq. (44), Table 5]

Hn(𝜸)=|fn′′2jκfnsinθr|κ2|γn|=0,n=1,,N2formulae-sequencesubscript𝐻𝑛𝜸superscriptsubscript𝑓𝑛′′2𝑗𝜅superscriptsubscript𝑓𝑛subscript𝜃𝑟superscript𝜅2subscript𝛾𝑛0𝑛1𝑁2H_{n}\left(\boldsymbol{\gamma}\right)=\frac{\left|f_{n}^{\prime\prime}-2j% \kappa f_{n}^{\prime}\sin\theta_{r}\right|}{\kappa^{2}\left|\gamma_{n}\right|}% =0,\quad n=1,\ldots,N-2\vspace{-0.1cm}italic_H start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ( bold_italic_γ ) = divide start_ARG | italic_f start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ′ ′ end_POSTSUPERSCRIPT - 2 italic_j italic_κ italic_f start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT roman_sin italic_θ start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT | end_ARG start_ARG italic_κ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT | italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT | end_ARG = 0 , italic_n = 1 , … , italic_N - 2 (2)

where fn=γnejκ(sinθrsinθi)ynsubscript𝑓𝑛subscript𝛾𝑛superscript𝑒𝑗𝜅subscript𝜃𝑟subscript𝜃𝑖subscript𝑦𝑛f_{n}=\gamma_{n}e^{j\kappa\left(\sin\theta_{r}-\sin\theta_{i}\right)y_{n}}italic_f start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT = italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT italic_e start_POSTSUPERSCRIPT italic_j italic_κ ( roman_sin italic_θ start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT - roman_sin italic_θ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) italic_y start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT end_POSTSUPERSCRIPT, fn=(fn+1fn)/Δysuperscriptsubscript𝑓𝑛subscript𝑓𝑛1subscript𝑓𝑛subscriptΔ𝑦f_{n}^{\prime}=({f_{n+1}-f_{n}})/{\Delta_{y}}italic_f start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT = ( italic_f start_POSTSUBSCRIPT italic_n + 1 end_POSTSUBSCRIPT - italic_f start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) / roman_Δ start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT, fn′′=(fn+1fn)/Δysuperscriptsubscript𝑓𝑛′′superscriptsubscript𝑓𝑛1superscriptsubscript𝑓𝑛subscriptΔ𝑦f_{n}^{\prime\prime}=({f_{n+1}^{\prime}-f_{n}^{\prime}})/{\Delta_{y}}italic_f start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ′ ′ end_POSTSUPERSCRIPT = ( italic_f start_POSTSUBSCRIPT italic_n + 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT - italic_f start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) / roman_Δ start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT, κ=2π/λ𝜅2𝜋𝜆\kappa=2\pi/\lambdaitalic_κ = 2 italic_π / italic_λ, and λ𝜆\lambdaitalic_λ is the considered wavelength. The corresponding constraint that the entries of 𝐳𝐳\mathbf{z}bold_z need to fulfill can be found by inserting γnsubscript𝛾𝑛\gamma_{n}italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT in (1) into (2).

As detailed in [1], the condition Hn=0subscript𝐻𝑛0H_{n}=0italic_H start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT = 0 results in the optimal solution, at the highest implementation complexity, as the surface impedance is characterized by large variations, and by positive and negative values of its real part, which make it difficult to implement the resulting RIS in practice [4], [7]. For this reason, the constraint Hn=0subscript𝐻𝑛0H_{n}=0italic_H start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT = 0 that ensures the electromagnetic consistency of the solution is usually relaxed, by replacing it with the constraint εLHnεUsubscript𝜀Lsubscript𝐻𝑛subscript𝜀U\varepsilon_{\rm L}\leq H_{n}\leq\varepsilon_{\rm U}italic_ε start_POSTSUBSCRIPT roman_L end_POSTSUBSCRIPT ≤ italic_H start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ≤ italic_ε start_POSTSUBSCRIPT roman_U end_POSTSUBSCRIPT, where 0εLεU0subscript𝜀Lsubscript𝜀U0\leq\varepsilon_{\rm L}\leq\varepsilon_{\rm U}0 ≤ italic_ε start_POSTSUBSCRIPT roman_L end_POSTSUBSCRIPT ≤ italic_ε start_POSTSUBSCRIPT roman_U end_POSTSUBSCRIPT are small positive constants that control the tradeoff between the optimality and electromagnetically consistency (i.e., εU0subscript𝜀U0\varepsilon_{\rm U}\to 0italic_ε start_POSTSUBSCRIPT roman_U end_POSTSUBSCRIPT → 0) of the obtained design against the implementation complexity (i.e., εL>0subscript𝜀L0\varepsilon_{\rm L}>0italic_ε start_POSTSUBSCRIPT roman_L end_POSTSUBSCRIPT > 0) of the RIS.

II-C Performance Metrics

As detailed in [1, Sec. III-B], the performance of an RIS is completely characterized by two performance metrics.

Surface Net Power Flow – The surface net power flow is defined as the difference between the power reradiated by the whole RIS towards the intended direction of reflection and the total incident power. If the power reradiated towards the intended direction of reflection is hence equal to the total incident power, the surface net power flow is zero. An RIS for which the surface net power flow is equal to zero is defined as globally optimum. To optimize an RIS according to the global design criterion, the surface net power flow needs then to be zero. Considering typical performance versus implementation tradeoffs, the global design criterion is hence tantamount to either minimizing the surface net power flow or ensuring that it is as close as possible to zero within a specified tolerance.

Based on the considered electromagnetic model, the surface net power flow can be formulated, in terms of 𝜸𝜸\boldsymbol{\gamma}bold_italic_γ, as follows:

P𝒮(𝜸)=aXΔy(ci+αr𝜸H𝜸+0.5αir(𝟏T𝜸+𝜸H𝟏))subscript𝑃𝒮𝜸subscript𝑎𝑋subscriptΔ𝑦subscript𝑐𝑖subscript𝛼𝑟superscript𝜸𝐻𝜸0.5subscript𝛼𝑖𝑟superscript1𝑇𝜸superscript𝜸𝐻1\displaystyle P_{\mathcal{S}}(\boldsymbol{\gamma})={a_{X}}{\Delta_{y}}\left({{% c_{i}}+{\alpha_{r}}{{\boldsymbol{\gamma}}^{H}}{\boldsymbol{\gamma}}+0.5{\alpha% _{ir}}\left({{{\bf{1}}^{T}}{\boldsymbol{\gamma}}+{{\boldsymbol{\gamma}}^{H}}{% \bf{1}}}\right)}\right)\vspace{-0.1cm}italic_P start_POSTSUBSCRIPT caligraphic_S end_POSTSUBSCRIPT ( bold_italic_γ ) = italic_a start_POSTSUBSCRIPT italic_X end_POSTSUBSCRIPT roman_Δ start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT ( italic_c start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT + italic_α start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT bold_italic_γ start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT bold_italic_γ + 0.5 italic_α start_POSTSUBSCRIPT italic_i italic_r end_POSTSUBSCRIPT ( bold_1 start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT bold_italic_γ + bold_italic_γ start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT bold_1 ) ) (3)

where aX=|E0|2Lx/η00subscript𝑎𝑋superscriptsubscript𝐸02subscript𝐿𝑥subscript𝜂00a_{X}={\left|E_{0}\right|^{2}L_{x}}/{\eta_{0}}\geq 0italic_a start_POSTSUBSCRIPT italic_X end_POSTSUBSCRIPT = | italic_E start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_L start_POSTSUBSCRIPT italic_x end_POSTSUBSCRIPT / italic_η start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT ≥ 0, αi=cosθi0subscript𝛼𝑖subscript𝜃𝑖0\alpha_{i}=\cos\theta_{i}\geq 0italic_α start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = roman_cos italic_θ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ≥ 0, αr=cosθr0subscript𝛼𝑟subscript𝜃𝑟0\alpha_{r}=\cos\theta_{r}\geq 0italic_α start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT = roman_cos italic_θ start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT ≥ 0, ci=2Lyαi/Δy0subscript𝑐𝑖2subscript𝐿𝑦subscript𝛼𝑖subscriptΔ𝑦0c_{i}=-2L_{y}\alpha_{i}/{\Delta_{y}}\leq 0italic_c start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = - 2 italic_L start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT / roman_Δ start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT ≤ 0, αir=αrαi[1,+1]subscript𝛼𝑖𝑟subscript𝛼𝑟subscript𝛼𝑖11\alpha_{ir}=\alpha_{r}-\alpha_{i}\in[-1,+1]italic_α start_POSTSUBSCRIPT italic_i italic_r end_POSTSUBSCRIPT = italic_α start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT - italic_α start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ∈ [ - 1 , + 1 ], E0subscript𝐸0E_{0}italic_E start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT is the amplitude of the incident electric field (a plane wave).

Power Flux – The power flux characterizes the amount of power reradiated by an RIS at a specified point of observation. We focus on observation points located in the far-field region of the RIS. The power flux provides information on the angular response of the RIS, i.e., how the total incident power is reradiated towards different directions. In the far-field, the power flux is proportional to the radiation pattern of the RIS. The power flux is an essential performance indicator in wireless communications since it determines the amount of received power and hence the signal-to-interference ratio.

Based on the considered electromagnetic model, the power flux evaluated towards a generic direction of reradiation θksubscript𝜃𝑘\theta_{k}italic_θ start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT can be formulated, as a function of 𝜸𝜸\boldsymbol{\gamma}bold_italic_γ, as follows:

Pθk(𝜸)=akΔy2χik|𝜸T𝐮ik|2subscript𝑃subscript𝜃𝑘𝜸subscript𝑎𝑘superscriptsubscriptΔ𝑦2subscript𝜒𝑖𝑘superscriptsuperscript𝜸𝑇subscript𝐮𝑖𝑘2{P_{{\theta_{k}}}}\left({\boldsymbol{\gamma}}\right)={a_{k}}\Delta_{y}^{2}{% \chi_{ik}}{\left|{{{\boldsymbol{\gamma}}^{T}}{\bf{u}}_{ik}}\right|^{2}}\vspace% {-0.1cm}italic_P start_POSTSUBSCRIPT italic_θ start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT end_POSTSUBSCRIPT ( bold_italic_γ ) = italic_a start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT roman_Δ start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_χ start_POSTSUBSCRIPT italic_i italic_k end_POSTSUBSCRIPT | bold_italic_γ start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT bold_u start_POSTSUBSCRIPT italic_i italic_k end_POSTSUBSCRIPT | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT (4)

where the n𝑛nitalic_nth entry of vector 𝐮iksubscript𝐮𝑖𝑘{\bf{u}}_{ik}bold_u start_POSTSUBSCRIPT italic_i italic_k end_POSTSUBSCRIPT is uik,n=ejκ(sinθksinθi)ynsubscript𝑢𝑖𝑘𝑛superscript𝑒𝑗𝜅subscript𝜃𝑘subscript𝜃𝑖subscript𝑦𝑛u_{ik,n}=e^{j\kappa\left(\sin\theta_{k}-\sin\theta_{i}\right)y_{n}}italic_u start_POSTSUBSCRIPT italic_i italic_k , italic_n end_POSTSUBSCRIPT = italic_e start_POSTSUPERSCRIPT italic_j italic_κ ( roman_sin italic_θ start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT - roman_sin italic_θ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) italic_y start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT end_POSTSUPERSCRIPT for n=1,2,,N𝑛12𝑁n=1,2,\ldots,Nitalic_n = 1 , 2 , … , italic_N, ak=κ2η0|E0|2Lx28π2Rk2subscript𝑎𝑘superscript𝜅2subscript𝜂0superscriptsubscript𝐸02superscriptsubscript𝐿𝑥28superscript𝜋2superscriptsubscript𝑅𝑘2{a}_{k}=\frac{\kappa^{2}}{\eta_{0}}\frac{\left|E_{0}\right|^{2}L_{x}^{2}}{8\pi% ^{2}R_{k}^{2}}italic_a start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT = divide start_ARG italic_κ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG italic_η start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT end_ARG divide start_ARG | italic_E start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_L start_POSTSUBSCRIPT italic_x end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 8 italic_π start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_R start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG, Rksubscript𝑅𝑘R_{k}italic_R start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT is the distance from the RIS towards the direction θksubscript𝜃𝑘\theta_{k}italic_θ start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT, and χik=cos2θr+cos2θk+2cosθrcosθk0subscript𝜒𝑖𝑘superscript2subscript𝜃𝑟superscript2subscript𝜃𝑘2subscript𝜃𝑟subscript𝜃𝑘0{\chi}_{ik}=\cos^{2}\theta_{r}+\cos^{2}{\theta}_{k}+2\cos\theta_{r}\cos{\theta% }_{k}\geq 0italic_χ start_POSTSUBSCRIPT italic_i italic_k end_POSTSUBSCRIPT = roman_cos start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_θ start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT + roman_cos start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_θ start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT + 2 roman_cos italic_θ start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT roman_cos italic_θ start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ≥ 0. If the direction of observation coincides with the intended direction of reflection, i.e., θk=θrsubscript𝜃𝑘subscript𝜃𝑟{\theta}_{k}={\theta}_{r}italic_θ start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT = italic_θ start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT, then Rk=Rrsubscript𝑅𝑘subscript𝑅𝑟R_{k}=R_{r}italic_R start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT = italic_R start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT, χik=χir=4cos2θrsubscript𝜒𝑖𝑘subscript𝜒𝑖𝑟4superscript2subscript𝜃𝑟{\chi}_{ik}={\chi}_{ir}=4\cos^{2}\theta_{r}italic_χ start_POSTSUBSCRIPT italic_i italic_k end_POSTSUBSCRIPT = italic_χ start_POSTSUBSCRIPT italic_i italic_r end_POSTSUBSCRIPT = 4 roman_cos start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_θ start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT, and Pθk(𝜸)=Pθr(𝜸)subscript𝑃subscript𝜃𝑘𝜸subscript𝑃subscript𝜃𝑟𝜸P_{{\theta}_{k}}\left(\boldsymbol{\gamma}\right)=P_{{\theta}_{r}}\left(% \boldsymbol{\gamma}\right)italic_P start_POSTSUBSCRIPT italic_θ start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT end_POSTSUBSCRIPT ( bold_italic_γ ) = italic_P start_POSTSUBSCRIPT italic_θ start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT end_POSTSUBSCRIPT ( bold_italic_γ ).

Next, we formulate and solve optimization problems that aim to minimize P𝒮(𝜸)subscript𝑃𝒮𝜸P_{\mathcal{S}}(\boldsymbol{\gamma})italic_P start_POSTSUBSCRIPT caligraphic_S end_POSTSUBSCRIPT ( bold_italic_γ ) in (3) (Sec. III) and to maximize Pθr(𝜸)subscript𝑃subscript𝜃𝑟𝜸P_{{\theta}_{r}}\left(\boldsymbol{\gamma}\right)italic_P start_POSTSUBSCRIPT italic_θ start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT end_POSTSUBSCRIPT ( bold_italic_γ ) in (4) (Sec. IV) subject to specified design constraints.

III Optimization: Surface Net Power Flow

In [4], it is shown that minimizing P𝒮(𝜸)subscript𝑃𝒮𝜸P_{\mathcal{S}}(\boldsymbol{\gamma})italic_P start_POSTSUBSCRIPT caligraphic_S end_POSTSUBSCRIPT ( bold_italic_γ ) in (3) results in an optimal anomalous reflector that steers the total incident power towards the intended direction of reflection with no undesired scattering towards other directions. The optimal surface impedance 𝐳𝐳\bf{z}bold_z is known in a closed-form expression only if the constraint in (2) is strictly fulfilled, leading to a high implementation complexity [4], [7]. To the best of our knowledge, there exists no general and efficient optimization framework that aims to minimize P𝒮(𝜸)subscript𝑃𝒮𝜸P_{\mathcal{S}}(\boldsymbol{\gamma})italic_P start_POSTSUBSCRIPT caligraphic_S end_POSTSUBSCRIPT ( bold_italic_γ ) in (3) by imposing specified design constraints. This is tackled in this section.

III-A Global Design – Helmholtz Constraint

We commence generalizing [4], by relaxing the constraint in (2) within the specified tolerances εHCL0subscript𝜀subscriptHCL0\varepsilon_{\rm{HC_{L}}}\geq 0italic_ε start_POSTSUBSCRIPT roman_HC start_POSTSUBSCRIPT roman_L end_POSTSUBSCRIPT end_POSTSUBSCRIPT ≥ 0 and εHCU0subscript𝜀subscriptHCU0\varepsilon_{\rm{HC_{U}}}\geq 0italic_ε start_POSTSUBSCRIPT roman_HC start_POSTSUBSCRIPT roman_U end_POSTSUBSCRIPT end_POSTSUBSCRIPT ≥ 0. This keeps under control the variations of the surface impedance 𝐳𝐳\bf{z}bold_z along 𝒮𝒮\mathcal{S}caligraphic_S, facilitating the implementation of the resulting RIS, while ensuring a quasi-Maxwellian solution [1].

The considered problem can be stated as follows:

(S-HC)S-HC\displaystyle(\textbf{S-HC})\quad( S-HC ) min𝜸|P𝒮(𝜸)|𝜸subscript𝑃𝒮𝜸\displaystyle\underset{\boldsymbol{\gamma}}{\min}\quad\left|P_{\mathcal{S}}(% \boldsymbol{\gamma})\right|underbold_italic_γ start_ARG roman_min end_ARG | italic_P start_POSTSUBSCRIPT caligraphic_S end_POSTSUBSCRIPT ( bold_italic_γ ) | (5)
s.t. n(𝜸)εHCU,n=1,2,,N2(a)formulae-sequencesubscript𝑛𝜸subscript𝜀subscriptHCU𝑛12𝑁2(a)\displaystyle\mathcal{H}_{n}(\boldsymbol{\gamma})\leq\varepsilon_{\rm{HC_{U}}}% ,\quad n=1,2,\ldots,N-2\hskip 36.98866pt\text{(a)}caligraphic_H start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ( bold_italic_γ ) ≤ italic_ε start_POSTSUBSCRIPT roman_HC start_POSTSUBSCRIPT roman_U end_POSTSUBSCRIPT end_POSTSUBSCRIPT , italic_n = 1 , 2 , … , italic_N - 2 (a)
n(𝜸)εHCL,n=1,2,,N2(b)formulae-sequencesubscript𝑛𝜸subscript𝜀subscriptHCL𝑛12𝑁2(b)\displaystyle\mathcal{H}_{n}(\boldsymbol{\gamma})\geq\varepsilon_{\rm{HC_{L}}}% ,\quad n=1,2,\ldots,N-2\hskip 36.98866pt\text{(b)}\vspace{-0.15cm}caligraphic_H start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ( bold_italic_γ ) ≥ italic_ε start_POSTSUBSCRIPT roman_HC start_POSTSUBSCRIPT roman_L end_POSTSUBSCRIPT end_POSTSUBSCRIPT , italic_n = 1 , 2 , … , italic_N - 2 (b)

The problem S-HC is not convex. To tackle it efficiently, the objective function in (5) is rewritten in epigraph form [9, Eq. (4.11)]. Also, the function n(𝜸)subscript𝑛𝜸\mathcal{H}_{n}(\boldsymbol{\gamma})caligraphic_H start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ( bold_italic_γ ) in (5) is formulated explicitly in terms of the optimization variable 𝜸𝜸\boldsymbol{\gamma}bold_italic_γ, as follows:

n(𝜸)=|gn(γn,γn+1,γn+2)|κ2Δy2|γn|=|gn(𝜸n)|κ2Δy2|γn|subscript𝑛𝜸subscript𝑔𝑛subscript𝛾𝑛subscript𝛾𝑛1subscript𝛾𝑛2superscript𝜅2superscriptsubscriptΔ𝑦2subscript𝛾𝑛subscript𝑔𝑛subscript𝜸𝑛superscript𝜅2superscriptsubscriptΔ𝑦2subscript𝛾𝑛\mathcal{H}_{n}(\boldsymbol{\gamma})=\frac{{\left|{g_{n}}\left({{\gamma_{n}},{% \gamma_{n+1}},{\gamma_{n+2}}}\right)\right|}}{{{\kappa^{2}}\Delta_{y}^{2}\left% |{{\gamma_{n}}}\right|}}=\frac{{\left|{{g_{n}}\left({\boldsymbol{\gamma}}_{n}% \right)}\right|}}{{{\kappa^{2}}\Delta_{y}^{2}\left|{{\gamma_{n}}}\right|}}% \vspace{-0.15cm}caligraphic_H start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ( bold_italic_γ ) = divide start_ARG | italic_g start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ( italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT , italic_γ start_POSTSUBSCRIPT italic_n + 1 end_POSTSUBSCRIPT , italic_γ start_POSTSUBSCRIPT italic_n + 2 end_POSTSUBSCRIPT ) | end_ARG start_ARG italic_κ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT roman_Δ start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT | italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT | end_ARG = divide start_ARG | italic_g start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ( bold_italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) | end_ARG start_ARG italic_κ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT roman_Δ start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT | italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT | end_ARG (6)

where β1=1+2jκsinθrΔysubscript𝛽112𝑗𝜅subscript𝜃𝑟subscriptΔ𝑦\beta_{1}=1+2j\kappa\sin\theta_{r}\Delta_{y}italic_β start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT = 1 + 2 italic_j italic_κ roman_sin italic_θ start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT roman_Δ start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT, β2=(2+2jκsinθrΔy)subscript𝛽222𝑗𝜅subscript𝜃𝑟subscriptΔ𝑦\beta_{2}=-\left(2+2j\kappa\sin\theta_{r}\Delta_{y}\right)italic_β start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT = - ( 2 + 2 italic_j italic_κ roman_sin italic_θ start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT roman_Δ start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT ), and gn(𝜸n)=gn(γn,γn+1,γn+2)=un+2γn+2+β2un+1γn+1+β1unγnsubscript𝑔𝑛subscript𝜸𝑛subscript𝑔𝑛subscript𝛾𝑛subscript𝛾𝑛1subscript𝛾𝑛2subscript𝑢𝑛2subscript𝛾𝑛2subscript𝛽2subscript𝑢𝑛1subscript𝛾𝑛1subscript𝛽1subscript𝑢𝑛subscript𝛾𝑛{{g_{n}}\left({\boldsymbol{\gamma}}_{n}\right)}={g_{n}}\left({{\gamma_{n}},{% \gamma_{n+1}},{\gamma_{n+2}}}\right)={u_{n+2}}{\gamma_{n+2}}+{\beta_{2}}{u_{n+% 1}}{\gamma_{n+1}}+{\beta_{1}}{u_{n}}{\gamma_{n}}italic_g start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ( bold_italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) = italic_g start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ( italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT , italic_γ start_POSTSUBSCRIPT italic_n + 1 end_POSTSUBSCRIPT , italic_γ start_POSTSUBSCRIPT italic_n + 2 end_POSTSUBSCRIPT ) = italic_u start_POSTSUBSCRIPT italic_n + 2 end_POSTSUBSCRIPT italic_γ start_POSTSUBSCRIPT italic_n + 2 end_POSTSUBSCRIPT + italic_β start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT italic_u start_POSTSUBSCRIPT italic_n + 1 end_POSTSUBSCRIPT italic_γ start_POSTSUBSCRIPT italic_n + 1 end_POSTSUBSCRIPT + italic_β start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_u start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT with 𝜸n=(γn,γn+1,γn+2)Tsubscript𝜸𝑛superscriptsubscript𝛾𝑛subscript𝛾𝑛1subscript𝛾𝑛2𝑇{{\boldsymbol{\gamma}}_{n}}={\left({{\gamma_{n}},{\gamma_{n+1}},{\gamma_{n+2}}% }\right)^{T}}bold_italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT = ( italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT , italic_γ start_POSTSUBSCRIPT italic_n + 1 end_POSTSUBSCRIPT , italic_γ start_POSTSUBSCRIPT italic_n + 2 end_POSTSUBSCRIPT ) start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT.

The problem S-HC can then be rewritten as follows:

(S-HC-a)min𝜸,tts.t.t0(a)S-HC-a𝜸𝑡𝑡s.t.𝑡0(a)\displaystyle(\textbf{S-HC-a})\quad\underset{\mathbf{\boldsymbol{\gamma}},t}{% \min}\quad t\quad\text{s.t.}\quad-t\leq 0\;\text{(a)}( S-HC-a ) start_UNDERACCENT bold_italic_γ , italic_t end_UNDERACCENT start_ARG roman_min end_ARG italic_t s.t. - italic_t ≤ 0 (a) (7)
P𝒮(𝜸)t0(b),|gn(𝜸n)|ε~HCU|γn|0(c)formulae-sequencesubscript𝑃𝒮𝜸𝑡0(b)subscript𝑔𝑛subscript𝜸𝑛subscript~𝜀subscriptHCUsubscript𝛾𝑛0(c)\displaystyle P_{\mathcal{S}}(\boldsymbol{\gamma})-t\leq 0\;\text{(b)},\quad% \left|{{g_{n}}\left({\boldsymbol{\gamma}}_{n}\right)}\right|-{{\tilde{% \varepsilon}}_{{\mathop{\rm{HC_{U}}}\nolimits}}}\left|{{\gamma_{n}}}\right|% \leq 0\;\text{(c)}italic_P start_POSTSUBSCRIPT caligraphic_S end_POSTSUBSCRIPT ( bold_italic_γ ) - italic_t ≤ 0 (b) , | italic_g start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ( bold_italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) | - over~ start_ARG italic_ε end_ARG start_POSTSUBSCRIPT roman_HC start_POSTSUBSCRIPT roman_U end_POSTSUBSCRIPT end_POSTSUBSCRIPT | italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT | ≤ 0 (c)
P𝒮(𝜸)t0(d),|gn(𝜸n)|+ε~HCL|γn|0(e)formulae-sequencesubscript𝑃𝒮𝜸𝑡0(d)subscript𝑔𝑛subscript𝜸𝑛subscript~𝜀subscriptHCLsubscript𝛾𝑛0(e)\displaystyle-P_{\mathcal{S}}(\boldsymbol{\gamma})-t\leq 0\;\text{(d)},\quad-% \left|{{g_{n}}\left({\boldsymbol{\gamma}}_{n}\right)}\right|+{{\tilde{% \varepsilon}}_{{\mathop{\rm{HC_{L}}}\nolimits}}}\left|{{\gamma_{n}}}\right|% \leq 0\;\text{(e)}\vspace{-0.15cm}- italic_P start_POSTSUBSCRIPT caligraphic_S end_POSTSUBSCRIPT ( bold_italic_γ ) - italic_t ≤ 0 (d) , - | italic_g start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ( bold_italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) | + over~ start_ARG italic_ε end_ARG start_POSTSUBSCRIPT roman_HC start_POSTSUBSCRIPT roman_L end_POSTSUBSCRIPT end_POSTSUBSCRIPT | italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT | ≤ 0 (e)

where ε~HCL,U=εHCL,Uκ2Δy2subscript~𝜀subscriptHCLUsubscript𝜀subscriptHCLUsuperscript𝜅2superscriptsubscriptΔ𝑦2{{\tilde{\varepsilon}}_{{\mathop{\rm{HC_{L,U}}}\nolimits}}}={\varepsilon_{{% \mathop{\rm{HC_{L,U}}}\nolimits}}}{\kappa^{2}}\Delta_{y}^{2}over~ start_ARG italic_ε end_ARG start_POSTSUBSCRIPT roman_HC start_POSTSUBSCRIPT roman_L , roman_U end_POSTSUBSCRIPT end_POSTSUBSCRIPT = italic_ε start_POSTSUBSCRIPT roman_HC start_POSTSUBSCRIPT roman_L , roman_U end_POSTSUBSCRIPT end_POSTSUBSCRIPT italic_κ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT roman_Δ start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT and n=1,2,,N2𝑛12𝑁2n=1,2,\ldots,N-2italic_n = 1 , 2 , … , italic_N - 2.

Problem S-HC-a is still not convex due to the constraints (7c)-(7e). To tackle it, we embrace the iterative inner approximation framework [8]. Specifically, we consider convex upper bounds for the concave functions in (7c)-(7e), replacing them with their first-order Taylor approximation. As for the function 𝜸H𝜸superscript𝜸𝐻𝜸{{{\boldsymbol{\gamma}}^{H}}{\boldsymbol{\gamma}}}bold_italic_γ start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT bold_italic_γ, we note that (𝜸H𝜸)=𝜸superscript𝜸𝐻𝜸𝜸\nabla\left({{{\boldsymbol{\gamma}}^{H}}{\boldsymbol{\gamma}}}\right)={% \boldsymbol{\gamma}}∇ ( bold_italic_γ start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT bold_italic_γ ) = bold_italic_γ and introduce the following lower bound aXΔyαr𝜸H𝜸p𝒮(𝜸,𝜸¯)subscript𝑎𝑋subscriptΔ𝑦subscript𝛼𝑟superscript𝜸𝐻𝜸subscript𝑝𝒮𝜸¯𝜸{a_{X}}{\Delta_{y}}{\alpha_{r}}{{{{\boldsymbol{\gamma}}}}^{H}}{{\boldsymbol{% \gamma}}}\geq{p_{\mathcal{S}}}\left({\boldsymbol{\gamma}},\bar{\boldsymbol{% \gamma}}\right)italic_a start_POSTSUBSCRIPT italic_X end_POSTSUBSCRIPT roman_Δ start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT bold_italic_γ start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT bold_italic_γ ≥ italic_p start_POSTSUBSCRIPT caligraphic_S end_POSTSUBSCRIPT ( bold_italic_γ , over¯ start_ARG bold_italic_γ end_ARG ) at the point 𝜸¯¯𝜸{\bar{\boldsymbol{\gamma}}}over¯ start_ARG bold_italic_γ end_ARG:

p𝒮(𝜸,𝜸¯)=aXΔyαr(𝜸¯H𝜸¯+2Re(T(𝜸¯H𝜸¯)(𝜸𝜸¯))){p_{\mathcal{S}}}\left({\boldsymbol{\gamma}},\bar{\boldsymbol{\gamma}}\right)=% {a_{X}}{\Delta_{y}}{\alpha_{r}}\left({{{\bar{\boldsymbol{\gamma}}}}^{H}}{\bar{% \boldsymbol{\gamma}}}+2\operatorname{Re}\left({\nabla^{T}}\left({{\bar{% \boldsymbol{\gamma}}^{H}}{\bar{\boldsymbol{\gamma}}}}\right)\left({{% \boldsymbol{\gamma}}-{\bar{\boldsymbol{\gamma}}}}\right)^{*}\right)\right)% \vspace{-0.15cm}italic_p start_POSTSUBSCRIPT caligraphic_S end_POSTSUBSCRIPT ( bold_italic_γ , over¯ start_ARG bold_italic_γ end_ARG ) = italic_a start_POSTSUBSCRIPT italic_X end_POSTSUBSCRIPT roman_Δ start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT ( over¯ start_ARG bold_italic_γ end_ARG start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT over¯ start_ARG bold_italic_γ end_ARG + 2 roman_Re ( ∇ start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT ( over¯ start_ARG bold_italic_γ end_ARG start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT over¯ start_ARG bold_italic_γ end_ARG ) ( bold_italic_γ - over¯ start_ARG bold_italic_γ end_ARG ) start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT ) )

As for the function |gn(𝜸n)|subscript𝑔𝑛subscript𝜸𝑛\left|{{g_{n}}\left({\boldsymbol{\gamma}}_{n}\right)}\right|| italic_g start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ( bold_italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) |, we note that n(|gn(𝜸n)|)=0.5β1ungn(𝜸n)/|gn(𝜸n)|subscript𝑛subscript𝑔𝑛subscript𝜸𝑛0.5superscriptsubscript𝛽1superscriptsubscript𝑢𝑛subscript𝑔𝑛subscript𝜸𝑛/subscript𝑔𝑛subscript𝜸𝑛{\nabla_{n}}\left({\left|{{g_{n}}\left({{{\boldsymbol{\gamma}}_{n}}}\right)}% \right|}\right)={{0.5\beta_{1}^{*}u_{n}^{*}{g_{n}}\left({{{\boldsymbol{\gamma}% }_{n}}}\right)}\mathord{\left/{\vphantom{{0.5\beta_{1}^{*}u_{n}^{*}{g_{n}}% \left({{{\boldsymbol{\gamma}}_{n}}}\right)}{\left|{{g_{n}}\left({{{\boldsymbol% {\gamma}}_{n}}}\right)}\right|}}}\right.\kern-1.2pt}{\left|{{g_{n}}\left({{{% \boldsymbol{\gamma}}_{n}}}\right)}\right|}}∇ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ( | italic_g start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ( bold_italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) | ) = 0.5 italic_β start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT italic_u start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT italic_g start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ( bold_italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) start_ID / end_ID | italic_g start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ( bold_italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) | and introduce the following lower bound |gn(𝜸n)||gnL(𝜸n)|subscript𝑔𝑛subscript𝜸𝑛superscriptsubscript𝑔𝑛Lsubscript𝜸𝑛\left|{{g_{n}}\left({{{\boldsymbol{\gamma}}_{n}}}\right)}\right|\geq\left|{g_{% n}^{\rm{L}}\left({{{\boldsymbol{\gamma}}_{n}}}\right)}\right|| italic_g start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ( bold_italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) | ≥ | italic_g start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_L end_POSTSUPERSCRIPT ( bold_italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) | evaluated at the point 𝜸¯nsubscriptbold-¯𝜸𝑛{{{{\boldsymbol{\bar{\gamma}}}}_{n}}}overbold_¯ start_ARG bold_italic_γ end_ARG start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT:

|gnL(𝜸n)|=|gn(𝜸¯n)|+2Re(n(|gn(𝜸¯n)|)(γnγ¯n))\left|{g_{n}^{\rm{L}}\left({{{\boldsymbol{\gamma}}_{n}}}\right)}\right|=\left|% {{g_{n}}\left({{{{\bar{\boldsymbol{\gamma}}}}_{n}}}\right)}\right|+2{\mathop{% \rm Re}\nolimits}\left({{\nabla_{n}}\left({\left|{{g_{n}}\left({{{{\bar{% \boldsymbol{\gamma}}}}_{n}}}\right)}\right|}\right){{\left({{\gamma_{n}}-{{% \bar{\gamma}}_{n}}}\right)}^{*}}}\right)\vspace{-0.15cm}| italic_g start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_L end_POSTSUPERSCRIPT ( bold_italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) | = | italic_g start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ( over¯ start_ARG bold_italic_γ end_ARG start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) | + 2 roman_Re ( ∇ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ( | italic_g start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ( over¯ start_ARG bold_italic_γ end_ARG start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) | ) ( italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT - over¯ start_ARG italic_γ end_ARG start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT )

Therefore, the following reformulation for S-HC-a is obtained at the generic iteration of the inner algorithm:

(S-HC-b)min𝜸,tts.t.(7a),(7b)S-HC-b𝜸𝑡𝑡s.t.7a7b\displaystyle(\textbf{S-HC-b})\quad\underset{\mathbf{\boldsymbol{\gamma}},t}{% \min}\quad t\quad\text{s.t.}\quad(\ref{Eq:S-HC-a}\text{a}),\;(\ref{Eq:S-HC-a}% \text{b})( S-HC-b ) start_UNDERACCENT bold_italic_γ , italic_t end_UNDERACCENT start_ARG roman_min end_ARG italic_t s.t. ( roman_a ) , ( roman_b ) (8)
aXΔy(ci+0.5αir(𝟏T𝜸+𝜸H𝟏))p𝒮(𝜸,𝜸¯)t0(a)subscript𝑎𝑋subscriptΔ𝑦subscript𝑐𝑖0.5subscript𝛼𝑖𝑟superscript1𝑇𝜸superscript𝜸𝐻1subscript𝑝𝒮𝜸¯𝜸𝑡0(a)\displaystyle-{a_{X}}{\Delta_{y}}\left({{c_{i}}+0.5{\alpha_{ir}}\left({{{\bf{1% }}^{T}}{\boldsymbol{\gamma}}+{{\boldsymbol{\gamma}}^{H}}{\bf{1}}}\right)}% \right)-{p_{\mathcal{S}}}\left({\boldsymbol{\gamma}},\bar{\boldsymbol{\gamma}}% \right)-t\leq 0\hskip 3.69899pt\text{(a)}- italic_a start_POSTSUBSCRIPT italic_X end_POSTSUBSCRIPT roman_Δ start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT ( italic_c start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT + 0.5 italic_α start_POSTSUBSCRIPT italic_i italic_r end_POSTSUBSCRIPT ( bold_1 start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT bold_italic_γ + bold_italic_γ start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT bold_1 ) ) - italic_p start_POSTSUBSCRIPT caligraphic_S end_POSTSUBSCRIPT ( bold_italic_γ , over¯ start_ARG bold_italic_γ end_ARG ) - italic_t ≤ 0 (a)
|gn(𝜸n)|ε~HCU(|γ¯n|+2Re(n(|γ¯n|)(γnγ¯n)))0(b)\displaystyle\left|{g_{n}}\left({{{{\boldsymbol{\gamma}}}_{n}}}\right)\right|-% {{\tilde{\varepsilon}}_{{\mathop{\rm{HC_{U}}}\nolimits}}}\left(\left|{{{\bar{% \gamma}}_{n}}}\right|+2\operatorname{Re}\left(\nabla_{n}\left({\left|{{{\bar{% \gamma}}_{n}}}\right|}\right)\left({{\gamma_{n}}-{{\bar{\gamma}}_{n}}}\right)^% {*}\right)\right)\leq 0\;\text{(b)}| italic_g start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ( bold_italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) | - over~ start_ARG italic_ε end_ARG start_POSTSUBSCRIPT roman_HC start_POSTSUBSCRIPT roman_U end_POSTSUBSCRIPT end_POSTSUBSCRIPT ( | over¯ start_ARG italic_γ end_ARG start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT | + 2 roman_Re ( ∇ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ( | over¯ start_ARG italic_γ end_ARG start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT | ) ( italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT - over¯ start_ARG italic_γ end_ARG start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT ) ) ≤ 0 (b)
|gnL(𝜸n)|+ε~HCL|γn|0(c),𝜸𝜸¯εTR(d)formulae-sequencesuperscriptsubscript𝑔𝑛Lsubscript𝜸𝑛subscript~𝜀subscriptHCLsubscript𝛾𝑛0(c)norm𝜸¯𝜸subscript𝜀TR(d)\displaystyle-\left|{{g_{n}^{\rm L}}\left({\boldsymbol{\gamma}}_{n}\right)}% \right|+{{\tilde{\varepsilon}}_{{\mathop{\rm{HC_{L}}}\nolimits}}}\left|{{% \gamma_{n}}}\right|\leq 0\;\text{(c)},\quad\left\|{{\boldsymbol{\gamma}}-{\bar% {\boldsymbol{\gamma}}}}\right\|\leq{\varepsilon_{{\rm{TR}}}}\;\text{(d)}% \vspace{-0.15cm}- | italic_g start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_L end_POSTSUPERSCRIPT ( bold_italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) | + over~ start_ARG italic_ε end_ARG start_POSTSUBSCRIPT roman_HC start_POSTSUBSCRIPT roman_L end_POSTSUBSCRIPT end_POSTSUBSCRIPT | italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT | ≤ 0 (c) , ∥ bold_italic_γ - over¯ start_ARG bold_italic_γ end_ARG ∥ ≤ italic_ε start_POSTSUBSCRIPT roman_TR end_POSTSUBSCRIPT (d)

where 𝜸¯¯𝜸{\bar{\boldsymbol{\gamma}}}over¯ start_ARG bold_italic_γ end_ARG is the point at which Taylor’s approximation is made (the solution of the preceding iteration of the inner algorithm), 𝜸¯n=(γ¯n,γ¯n+1,γ¯n+2)Tsubscript¯𝜸𝑛superscriptsubscript¯𝛾𝑛subscript¯𝛾𝑛1subscript¯𝛾𝑛2𝑇{\bar{\boldsymbol{\gamma}}_{n}}={\left({{{\bar{\gamma}}_{n}},{{\bar{\gamma}}_{% n+1}},{{\bar{\gamma}}_{n+2}}}\right)^{T}}over¯ start_ARG bold_italic_γ end_ARG start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT = ( over¯ start_ARG italic_γ end_ARG start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT , over¯ start_ARG italic_γ end_ARG start_POSTSUBSCRIPT italic_n + 1 end_POSTSUBSCRIPT , over¯ start_ARG italic_γ end_ARG start_POSTSUBSCRIPT italic_n + 2 end_POSTSUBSCRIPT ) start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT, and n(|γn|)=0.5γn/|γn|subscript𝑛subscript𝛾𝑛0.5subscript𝛾𝑛/subscript𝛾𝑛{\nabla_{n}}\left({\left|{{\gamma_{n}}}\right|}\right)=0.5{{{\gamma_{n}}}% \mathord{\left/{\vphantom{{{\gamma_{n}}}{\left|{{\gamma_{n}}}\right|}}}\right.% \kern-1.2pt}{\left|{{\gamma_{n}}}\right|}}∇ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ( | italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT | ) = 0.5 italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT start_ID / end_ID | italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT |. Eq. (8d) is the trust region, which ensures that, at each iteration, the set of feasible solutions is limited to the points for which the approximation is sufficiently accurate [10]. The radius of the trust region is controlled via the small positive constant εTRsubscript𝜀TR{\varepsilon_{{\rm{TR}}}}italic_ε start_POSTSUBSCRIPT roman_TR end_POSTSUBSCRIPT, which is updated at each iteration as detailed in Sec. V.

S-HC-b is convex and is solved as detailed in Sec. III-D.

III-B Global Design – Reradiation Mask

Fulfilling the constraint in (2) ensures the electromagnetic consistency of the obtained solution. The optimization problem has, however, a number of constraints that is equal to the number of optimization variables N𝑁Nitalic_N. Motivated by recent results [1], [5], [6], [7], we show that the constraint in (2) can be replaced by keeping the power scattered towards specified (undesired) directions of reradiation below a given maximum level. The advantage of this formulation is that the unwanted directions of reradiation may be known apriori [5], [11], and their number may be much less than the number of optimization variables N𝑁Nitalic_N. The resulting optimization constraint is referred to as reradiation mask constraint [1], [6].

The considered problem can be stated as follows:

(S-RM)S-RM\displaystyle(\textbf{S-RM})\quad( S-RM ) min𝜸|P𝒮(𝜸)|𝜸subscript𝑃𝒮𝜸\displaystyle\underset{\boldsymbol{\gamma}}{\min}\quad\left|P_{\mathcal{S}}(% \boldsymbol{\gamma})\right|underbold_italic_γ start_ARG roman_min end_ARG | italic_P start_POSTSUBSCRIPT caligraphic_S end_POSTSUBSCRIPT ( bold_italic_γ ) | (9)
s.t. Pθk(𝜸)εRM,θk𝒦formulae-sequencesubscript𝑃subscript𝜃𝑘𝜸subscript𝜀RMsubscript𝜃𝑘𝒦\displaystyle{P_{{\theta_{k}}}}\left({\boldsymbol{\gamma}}\right)\leq{% \varepsilon_{{\rm{RM}}}},\quad{\theta_{k}}\in\mathcal{K}\vspace{-0.1cm}italic_P start_POSTSUBSCRIPT italic_θ start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT end_POSTSUBSCRIPT ( bold_italic_γ ) ≤ italic_ε start_POSTSUBSCRIPT roman_RM end_POSTSUBSCRIPT , italic_θ start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ∈ caligraphic_K

where 𝒦𝒦\mathcal{K}caligraphic_K is the set of undesired directions of radiation and εRMsubscript𝜀RM{\varepsilon_{{\rm{RM}}}}italic_ε start_POSTSUBSCRIPT roman_RM end_POSTSUBSCRIPT is the maximum amount of radiated power towards them.

The problem S-RM can be tackled efficiently by rewriting the objective function in epigraph form [9, Eq. (4.11)], and by making explicit the constraint in (9) by using (4), as follows:

(S-RM-a)S-RM-a\displaystyle(\textbf{S-RM-a})\quad( S-RM-a ) min𝜸,tts.t.(7a),(7b),(8a),(8d)𝜸𝑡𝑡s.t.7a7b8a8d\displaystyle\underset{\mathbf{\boldsymbol{\gamma}},t}{\min}\quad t\quad\text{% s.t.}\quad(\ref{Eq:S-HC-a}\text{a}),\;(\ref{Eq:S-HC-a}\text{b}),\;(\ref{Eq:S-% HC-b}\text{a}),\;(\ref{Eq:S-HC-b}\text{d})start_UNDERACCENT bold_italic_γ , italic_t end_UNDERACCENT start_ARG roman_min end_ARG italic_t s.t. ( roman_a ) , ( roman_b ) , ( roman_a ) , ( roman_d ) (10)
|𝜸T𝐮ik|ε~RM0,θk𝒦(a)formulae-sequencesuperscript𝜸𝑇subscript𝐮𝑖𝑘subscript~𝜀RM0subscript𝜃𝑘𝒦a\displaystyle\left|{{\boldsymbol{\gamma}}^{T}}{{\bf{u}}_{ik}}\right|-\sqrt{{{% \tilde{\varepsilon}}_{{\rm{RM}}}}}\leq 0,\quad{\theta_{k}}\in\mathcal{K}\hskip 4% 8.36958pt(\text{a})\vspace{-0.1cm}| bold_italic_γ start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT bold_u start_POSTSUBSCRIPT italic_i italic_k end_POSTSUBSCRIPT | - square-root start_ARG over~ start_ARG italic_ε end_ARG start_POSTSUBSCRIPT roman_RM end_POSTSUBSCRIPT end_ARG ≤ 0 , italic_θ start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ∈ caligraphic_K ( a )

where ε~RM=εRMakΔy2χiksubscript~𝜀RMsubscript𝜀RMsubscript𝑎𝑘superscriptsubscriptΔ𝑦2subscript𝜒𝑖𝑘{{\tilde{\varepsilon}}_{{\rm{RM}}}}=\frac{{{\varepsilon_{{\rm{RM}}}}}}{{{a_{k}% }\Delta_{y}^{2}{\chi_{ik}}}}over~ start_ARG italic_ε end_ARG start_POSTSUBSCRIPT roman_RM end_POSTSUBSCRIPT = divide start_ARG italic_ε start_POSTSUBSCRIPT roman_RM end_POSTSUBSCRIPT end_ARG start_ARG italic_a start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT roman_Δ start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_χ start_POSTSUBSCRIPT italic_i italic_k end_POSTSUBSCRIPT end_ARG. S-RM-a is convex and can be solved efficiently as detailed in Sec. III-D.

III-C Approximated Global Design – Reactive Impedance

The optimization problems S-HC and S-RM aim to maximize the radiation efficiency of the RIS, by simultaneously maximizing and minimizing the power reradiated towards the intended and undesired directions of reradiation, respectively. S-HC and S-RM impose, however, mild or no implementation constraint to the feasible set of solutions, respectively. As illustrated in [1], [4], the surface impedance 𝐳𝐳\bf{z}bold_z obtained by solving P-HC and P-RM has a negative real part, which makes the obtained design difficult to be implemented [4]. Thus, we consider an optimization problem that imposes specified implementation constraints by design. A sought after implementation requirement is that the real part of 𝐳𝐳\bf{z}bold_z is not negative and as small as possible, ideally equal to zero, in order to minimize the power losses. Since the real part of 𝐳𝐳\bf{z}bold_z cannot take negative values, the obtained design cannot be deemed globally optimum but only approximately globally optimum.

The considered problem can be stated as follows:

(S-RI)S-RI\displaystyle(\textbf{S-RI})\quad( S-RI ) min𝜸|P𝒮(𝜸)|𝜸subscript𝑃𝒮𝜸\displaystyle\underset{\boldsymbol{\gamma}}{\min}\quad\left|P_{\mathcal{S}}(% \boldsymbol{\gamma})\right|underbold_italic_γ start_ARG roman_min end_ARG | italic_P start_POSTSUBSCRIPT caligraphic_S end_POSTSUBSCRIPT ( bold_italic_γ ) | (11)
s.t. Pθk(𝜸)εRM,θk𝒦(a)formulae-sequencesubscript𝑃subscript𝜃𝑘𝜸subscript𝜀RMsubscript𝜃𝑘𝒦(a)\displaystyle{P_{{\theta_{k}}}}\left({\boldsymbol{\gamma}}\right)\leq{% \varepsilon_{{\rm{RM}}}},\quad{\theta_{k}}\in\mathcal{K}\hskip 83.93553pt\text% {(a)}italic_P start_POSTSUBSCRIPT italic_θ start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT end_POSTSUBSCRIPT ( bold_italic_γ ) ≤ italic_ε start_POSTSUBSCRIPT roman_RM end_POSTSUBSCRIPT , italic_θ start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ∈ caligraphic_K (a)
Re(zn)0,n=1,2,,N(b)formulae-sequenceResubscript𝑧𝑛0𝑛12𝑁(b)\displaystyle\operatorname{Re}\left({{z}}_{n}\right)\geq 0,\quad\;\;\;n=1,2,% \ldots,N\hskip 51.21504pt\text{(b)}roman_Re ( italic_z start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) ≥ 0 , italic_n = 1 , 2 , … , italic_N (b)
Re(zn)εRI,n=1,2,,N(c)formulae-sequenceResubscript𝑧𝑛subscript𝜀RI𝑛12𝑁(c)\displaystyle\operatorname{Re}\left({{z}}_{n}\right)\leq{\varepsilon_{{\rm{RI}% }}},\quad n=1,2,\ldots,N\hskip 50.64586pt\text{(c)}\vspace{-0.1cm}roman_Re ( italic_z start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) ≤ italic_ε start_POSTSUBSCRIPT roman_RI end_POSTSUBSCRIPT , italic_n = 1 , 2 , … , italic_N (c)

where εRI0subscript𝜀RI0{\varepsilon_{{\rm{RI}}}}\geq 0italic_ε start_POSTSUBSCRIPT roman_RI end_POSTSUBSCRIPT ≥ 0 is used to adjust the tradeoff between the power losses and implementation complexity. If εRI=0subscript𝜀RI0{\varepsilon_{{\rm{RI}}}}=0italic_ε start_POSTSUBSCRIPT roman_RI end_POSTSUBSCRIPT = 0, the losses are zero but the implementation complexity is the highest.

The objective function in (11) and the constraint in (11a) can be tackled as in S-RM-a. The constraints in (11b) and (11c) can be reformulated in terms of 𝜸𝜸{\boldsymbol{\gamma}}bold_italic_γ from (1). For each pair (zn,γn)subscript𝑧𝑛subscript𝛾𝑛(z_{n},\gamma_{n})( italic_z start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT , italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ), (11b) and (11c) are equivalent to the following:

(11b):αr|γn|2(αiαr)Re(γn)αi0\displaystyle\text{(\ref{Eq:S-RI}\text{b})}:\quad{\alpha_{r}}{\left|{{\gamma_{% n}}}\right|^{2}}-\left({{\alpha_{i}}-{\alpha_{r}}}\right)\operatorname{Re}% \left({{\gamma_{n}}}\right)-{\alpha_{i}}\leq 0( roman_b ) : italic_α start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT | italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT - ( italic_α start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - italic_α start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT ) roman_Re ( italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) - italic_α start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ≤ 0 (12)
(11c):(1+ε~RIαr)αr|γn|2+αi(1ε~RIαi)\displaystyle\text{(\ref{Eq:S-RI}\text{c})}:\quad-\left({1+{{\tilde{% \varepsilon}}_{{\rm{RI}}}}{\alpha_{r}}}\right){\alpha_{r}}{\left|{{\gamma_{n}}% }\right|^{2}}+{\alpha_{i}}\left({1-{{\tilde{\varepsilon}}_{{\rm{RI}}}}{\alpha_% {i}}}\right)\vspace{-0.1cm}( roman_c ) : - ( 1 + over~ start_ARG italic_ε end_ARG start_POSTSUBSCRIPT roman_RI end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT ) italic_α start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT | italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + italic_α start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( 1 - over~ start_ARG italic_ε end_ARG start_POSTSUBSCRIPT roman_RI end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT )
+(αiαr+2ε~RIαiαr)Re(γn)0subscript𝛼𝑖subscript𝛼𝑟2subscript~𝜀RIsubscript𝛼𝑖subscript𝛼𝑟Resubscript𝛾𝑛0\displaystyle\hskip 42.67912pt+\left({{\alpha_{i}}-{\alpha_{r}}+2{{\tilde{% \varepsilon}}_{{\rm{RI}}}}{\alpha_{i}}{\alpha_{r}}}\right){\mathop{\rm Re}% \nolimits}\left({{\gamma_{n}}}\right)\leq 0\vspace{-0.1cm}+ ( italic_α start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - italic_α start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT + 2 over~ start_ARG italic_ε end_ARG start_POSTSUBSCRIPT roman_RI end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT ) roman_Re ( italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) ≤ 0 (13)

where ε~RI=εRI/η0subscript~𝜀RIsubscript𝜀RI/subscript𝜂0{{\tilde{\varepsilon}}_{{\rm{RI}}}}={{{\varepsilon_{{\rm{RI}}}}}\mathord{\left% /{\vphantom{{{\varepsilon_{{\rm{RI}}}}}{{\eta_{0}}}}}\right.\kern-1.2pt}{{\eta% _{0}}}}over~ start_ARG italic_ε end_ARG start_POSTSUBSCRIPT roman_RI end_POSTSUBSCRIPT = italic_ε start_POSTSUBSCRIPT roman_RI end_POSTSUBSCRIPT start_ID / end_ID italic_η start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT. The constraint in (12) is convex. The constraint in (13) is concave, and it is tackled through an upper bound obtained from Taylor’s approximation applied to |γn|2superscriptsubscript𝛾𝑛2{\left|{{\gamma_{n}}}\right|^{2}}| italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT.

By introducing the function ψ(γn)=αi(1ε~RIαi)+(αiαr+2ε~RIαiαr)Re(γn)𝜓subscript𝛾𝑛subscript𝛼𝑖1subscript~𝜀RIsubscript𝛼𝑖subscript𝛼𝑖subscript𝛼𝑟2subscript~𝜀RIsubscript𝛼𝑖subscript𝛼𝑟Resubscript𝛾𝑛\psi\left({{\gamma_{n}}}\right)={\alpha_{i}}\left({1-{{\tilde{\varepsilon}}_{{% \rm{RI}}}}{\alpha_{i}}}\right)+\left({{\alpha_{i}}-{\alpha_{r}}+2{{\tilde{% \varepsilon}}_{{\rm{RI}}}}{\alpha_{i}}{\alpha_{r}}}\right){\mathop{\rm Re}% \nolimits}\left({{\gamma_{n}}}\right)italic_ψ ( italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) = italic_α start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( 1 - over~ start_ARG italic_ε end_ARG start_POSTSUBSCRIPT roman_RI end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) + ( italic_α start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - italic_α start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT + 2 over~ start_ARG italic_ε end_ARG start_POSTSUBSCRIPT roman_RI end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT ) roman_Re ( italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) and considering n(𝜸H𝜸)=γnsubscript𝑛superscript𝜸𝐻𝜸subscript𝛾𝑛\nabla_{n}\left({{{\boldsymbol{\gamma}}^{H}}{\boldsymbol{\gamma}}}\right)={{% \gamma}_{n}}∇ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ( bold_italic_γ start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT bold_italic_γ ) = italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT, S-RI can be reformulated as follows (for n=1,2,,N𝑛12𝑁n=1,2,\ldots,Nitalic_n = 1 , 2 , … , italic_N):

(S-RI-a)min𝜸,tts.t.(7a),(7b),(8a),(8d),(10a),(12)S-RI-a𝜸𝑡𝑡s.t.7a7b8a8d10aitalic-(12italic-)\displaystyle(\textbf{S-RI-a})\quad\underset{\mathbf{\boldsymbol{\gamma}},t}{% \min}\quad t\quad\text{s.t.}\;(\ref{Eq:S-HC-a}\text{a}),\;(\ref{Eq:S-HC-a}% \text{b}),\;(\ref{Eq:S-HC-b}\text{a}),\;(\ref{Eq:S-HC-b}\text{d}),\;(\ref{Eq:S% -RM-a}\text{a}),\;\eqref{Eq:ReZ_1}( S-RI-a ) start_UNDERACCENT bold_italic_γ , italic_t end_UNDERACCENT start_ARG roman_min end_ARG italic_t s.t. ( roman_a ) , ( roman_b ) , ( roman_a ) , ( roman_d ) , ( roman_a ) , italic_( italic_)
ψ(γn)α~r(|γ¯n|2+2Re(n(𝜸¯H𝜸¯)(γnγ¯n)))0\displaystyle\psi\left({{\gamma_{n}}}\right)-{\tilde{\alpha}_{r}}\left({\left|% {{{\bar{\gamma}}_{n}}}\right|^{2}}+2\operatorname{Re}\left(\nabla_{n}\left({{% \bar{\boldsymbol{\gamma}}^{H}}{\bar{\boldsymbol{\gamma}}}}\right)\left({{% \gamma_{n}}-{{\bar{\gamma}}_{n}}}\right)^{*}\right)\right)\leq 0\vspace{-0.1cm}italic_ψ ( italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) - over~ start_ARG italic_α end_ARG start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT ( | over¯ start_ARG italic_γ end_ARG start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + 2 roman_Re ( ∇ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ( over¯ start_ARG bold_italic_γ end_ARG start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT over¯ start_ARG bold_italic_γ end_ARG ) ( italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT - over¯ start_ARG italic_γ end_ARG start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT ) ) ≤ 0

where α~r=(1+ε~RIαr)αrsubscript~𝛼𝑟1subscript~𝜀RIsubscript𝛼𝑟subscript𝛼𝑟{\tilde{\alpha}_{r}}={\left({1+{{\tilde{\varepsilon}}_{{\rm{RI}}}}{\alpha_{r}}% }\right){\alpha_{r}}}over~ start_ARG italic_α end_ARG start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT = ( 1 + over~ start_ARG italic_ε end_ARG start_POSTSUBSCRIPT roman_RI end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT ) italic_α start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT. The problem S-RI-a is convex and can be solved efficiently as detailed in Sec. III-D.

III-D Convergence and Complexity

The complete algorithm to solve S-HC-b, S-RM-a, and S-RI-a is an instance of sequential programming. The trust region is, in fact, applied in the neighborhood of 𝜸¯¯𝜸\bar{\boldsymbol{\gamma}}over¯ start_ARG bold_italic_γ end_ARG, which is, by design, a feasible point at any iteration. Thus, the proposed algorithm generates a monotonically decreasing sequence of objective values that converges in the objective [8]. The convex problem solved at each iteration has a linear objective and quadratic constraints, which can be tackled using the interior-point method. Thus, the total arithmetic cost per iteration is 𝒪(c1/2(cv2+v3))𝒪superscript𝑐12𝑐superscript𝑣2superscript𝑣3{\mathcal{O}}\left({c^{1/2}}\left({c{v^{2}}+{v^{3}}}\right)\right)caligraphic_O ( italic_c start_POSTSUPERSCRIPT 1 / 2 end_POSTSUPERSCRIPT ( italic_c italic_v start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + italic_v start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT ) ) [12, p. 232], with v𝑣vitalic_v and c𝑐citalic_c being the numbers of optimization variables and constraints, respectively.

IV Optimization: Power Flux

In electromagnetic theory, the surface net power flow is the optimality criterion usually used to design perfect anomalous reflectors [4]. In communication theory, the optimization problem is usually formulated by maximizing the power scattered towards the intended direction of reflection (known as the power flux), while imposing specified constraints to the power efficiency of the RIS [3]. The two problem formulations are naturally related to one another, but the corresponding solutions and algorithms are different. Often, the problem formulation considered in communication theory is more general, as (i) it can be extended to different objective functions, besides the reflected power, and scenarios, and (ii) it can account for the surface net power flow as an optimization constraint, resulting in specified performance versus implementation complexity tradeoffs by design [3]. However, the computational complexity and memory requirements of the power flux optimization problem are usually higher.

In this section, therefore, we analyze the globally optimum design of an RIS under the lenses of communication theory, by considering alternative formulations for S-RM and S-RI. S-HC is not considered for brevity and because it is de facto equivalent to S-RM from a communication perspective.

IV-A Global Design – Reradiation Mask

By considering the power scattered towards the intended direction of reflection as the objective function and the surface net power flow as an optimization constraint, a problem de facto equivalent to S-RM can be formulated as follows:

(P-RM)max𝜸Pθr(𝜸)P-RM𝜸subscript𝑃subscript𝜃𝑟𝜸\displaystyle(\textbf{P-RM})\quad\underset{\boldsymbol{\gamma}}{\max}\quad{P_{% {\theta_{r}}}}\left({\boldsymbol{\gamma}}\right)( P-RM ) underbold_italic_γ start_ARG roman_max end_ARG italic_P start_POSTSUBSCRIPT italic_θ start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT end_POSTSUBSCRIPT ( bold_italic_γ ) (14)
s.t.Pθk(𝜸)εRM,θk𝒦(a),|P𝒮(𝜸)|εSP(b)formulae-sequences.t.subscript𝑃subscript𝜃𝑘𝜸subscript𝜀RMformulae-sequencesubscript𝜃𝑘𝒦(a)subscript𝑃𝒮𝜸subscript𝜀SP(b)\displaystyle\text{s.t.}\quad{P_{{\theta_{k}}}}\left({\boldsymbol{\gamma}}% \right)\leq{\varepsilon_{{\rm{RM}}}},\;{\theta_{k}}\in\mathcal{K}\;\text{(a)},% \quad\left|P_{\mathcal{S}}(\boldsymbol{\gamma})\right|\leq\varepsilon_{\rm{SP}% }\;\text{(b)}\vspace{-0.1cm}s.t. italic_P start_POSTSUBSCRIPT italic_θ start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT end_POSTSUBSCRIPT ( bold_italic_γ ) ≤ italic_ε start_POSTSUBSCRIPT roman_RM end_POSTSUBSCRIPT , italic_θ start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ∈ caligraphic_K (a) , | italic_P start_POSTSUBSCRIPT caligraphic_S end_POSTSUBSCRIPT ( bold_italic_γ ) | ≤ italic_ε start_POSTSUBSCRIPT roman_SP end_POSTSUBSCRIPT (b)

where εSP0subscript𝜀SP0\varepsilon_{\rm{SP}}\geq 0italic_ε start_POSTSUBSCRIPT roman_SP end_POSTSUBSCRIPT ≥ 0 is used to adjust the tradeoff between the amount of power scattered towards the intended direction of reflection and the implementation complexity of the RIS.

P-RM is not convex. To tackle it, we introduce 𝚪=𝜸𝜸H𝚪𝜸superscript𝜸𝐻{\boldsymbol{\Gamma}}={\boldsymbol{\gamma}}{{\boldsymbol{\gamma}}^{H}}bold_Γ = bold_italic_γ bold_italic_γ start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT, 𝐔ik=𝐮ik𝐮ikHsubscript𝐔𝑖𝑘subscript𝐮𝑖𝑘superscriptsubscript𝐮𝑖𝑘𝐻{\bf{U}}_{ik}={\bf{u}}_{ik}{{\bf{u}}_{ik}^{H}}bold_U start_POSTSUBSCRIPT italic_i italic_k end_POSTSUBSCRIPT = bold_u start_POSTSUBSCRIPT italic_i italic_k end_POSTSUBSCRIPT bold_u start_POSTSUBSCRIPT italic_i italic_k end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT. Since 𝜸H𝜸=tr(𝚪)superscript𝜸𝐻𝜸tr𝚪{{{\boldsymbol{\gamma}}^{H}}{\boldsymbol{\gamma}}}=\operatorname{tr}\left({% \boldsymbol{\Gamma}}\right)bold_italic_γ start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT bold_italic_γ = roman_tr ( bold_Γ ) in (3), we define

P^𝒮(𝚪,𝜸)=aXΔy(ci+αrtr(𝚪)+0.5αir(𝟏T𝜸+𝜸H𝟏))subscript^𝑃𝒮𝚪𝜸subscript𝑎𝑋subscriptΔ𝑦subscript𝑐𝑖subscript𝛼𝑟tr𝚪0.5subscript𝛼𝑖𝑟superscript1𝑇𝜸superscript𝜸𝐻1{{\hat{P}}_{\mathcal{S}}}\left({{\boldsymbol{\Gamma}},{\boldsymbol{\gamma}}}% \right)={a_{X}}{\Delta_{y}}\left({{c_{i}}+{\alpha_{r}}\operatorname{tr}\left({% \boldsymbol{\Gamma}}\right)+0.5{\alpha_{ir}}\left({{{\bf{1}}^{T}}{\boldsymbol{% \gamma}}+{{\boldsymbol{\gamma}}^{H}}{\bf{1}}}\right)}\right)\vspace{-0.1cm}over^ start_ARG italic_P end_ARG start_POSTSUBSCRIPT caligraphic_S end_POSTSUBSCRIPT ( bold_Γ , bold_italic_γ ) = italic_a start_POSTSUBSCRIPT italic_X end_POSTSUBSCRIPT roman_Δ start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT ( italic_c start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT + italic_α start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT roman_tr ( bold_Γ ) + 0.5 italic_α start_POSTSUBSCRIPT italic_i italic_r end_POSTSUBSCRIPT ( bold_1 start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT bold_italic_γ + bold_italic_γ start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT bold_1 ) )

Then, P-RM can be equivalently formulated as follows:

(P-RM-a)max𝚪,𝜸arΔy2χirtr(𝚪𝐔ir)P-RM-a𝚪𝜸subscript𝑎𝑟superscriptsubscriptΔ𝑦2subscript𝜒𝑖𝑟tr𝚪superscriptsubscript𝐔𝑖𝑟\displaystyle(\textbf{P-RM-a})\quad\underset{\boldsymbol{\Gamma},\boldsymbol{% \gamma}}{\max}\quad{a_{r}}\Delta_{y}^{2}{\chi_{ir}}\operatorname{tr}\left({{% \boldsymbol{\Gamma}}{\bf{U}}_{ir}^{*}}\right)( P-RM-a ) start_UNDERACCENT bold_Γ , bold_italic_γ end_UNDERACCENT start_ARG roman_max end_ARG italic_a start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT roman_Δ start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_χ start_POSTSUBSCRIPT italic_i italic_r end_POSTSUBSCRIPT roman_tr ( bold_Γ bold_U start_POSTSUBSCRIPT italic_i italic_r end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT ) (15)
s.t.akΔy2χiktr(𝚪𝐔ik)εRM0,θk𝒦(a)formulae-sequences.t.subscript𝑎𝑘superscriptsubscriptΔ𝑦2subscript𝜒𝑖𝑘tr𝚪superscriptsubscript𝐔𝑖𝑘subscript𝜀RM0subscript𝜃𝑘𝒦(a)\displaystyle\text{s.t.}\quad{a_{k}}\Delta_{y}^{2}{\chi_{ik}}\operatorname{tr}% \left({{\boldsymbol{\Gamma}}{\bf{U}}_{ik}^{*}}\right)-{\varepsilon_{{\rm{RM}}}% }\leq 0,\quad{\theta_{k}}\in\mathcal{K}\hskip 12.80365pt\text{(a)}s.t. italic_a start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT roman_Δ start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_χ start_POSTSUBSCRIPT italic_i italic_k end_POSTSUBSCRIPT roman_tr ( bold_Γ bold_U start_POSTSUBSCRIPT italic_i italic_k end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT ) - italic_ε start_POSTSUBSCRIPT roman_RM end_POSTSUBSCRIPT ≤ 0 , italic_θ start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ∈ caligraphic_K (a)
|P^𝒮(𝚪,𝜸)|εSP0(b),𝚪=𝜸𝜸H(c)formulae-sequencesubscript^𝑃𝒮𝚪𝜸subscript𝜀SP0(b)𝚪𝜸superscript𝜸𝐻(c)\displaystyle\left|{\hat{P}}_{\mathcal{S}}(\boldsymbol{\Gamma},\boldsymbol{% \gamma})\right|-\varepsilon_{\rm{SP}}\leq 0\quad\text{(b)},\quad{\boldsymbol{% \Gamma}}={\boldsymbol{\gamma}}{{\boldsymbol{\gamma}}^{H}}\quad\text{(c)}% \vspace{-0.15cm}| over^ start_ARG italic_P end_ARG start_POSTSUBSCRIPT caligraphic_S end_POSTSUBSCRIPT ( bold_Γ , bold_italic_γ ) | - italic_ε start_POSTSUBSCRIPT roman_SP end_POSTSUBSCRIPT ≤ 0 (b) , bold_Γ = bold_italic_γ bold_italic_γ start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT (c)

The only non-convex constraint in P-RM-a is (15c). To tackle it, we reformulate it equivalently as follows:

(15c):𝚪𝚪F0(a):(15c)subscriptnorm𝚪subscriptnorm𝚪F0(a)\displaystyle\text{(\ref{Eq:P-RM-a}\text{c})}:\;{\left\|{\boldsymbol{\Gamma}}% \right\|_{*}}-{\left\|{\boldsymbol{\Gamma}}\right\|_{\rm{F}}}\leq 0\;\text{(a)}( roman_c ) : ∥ bold_Γ ∥ start_POSTSUBSCRIPT ∗ end_POSTSUBSCRIPT - ∥ bold_Γ ∥ start_POSTSUBSCRIPT roman_F end_POSTSUBSCRIPT ≤ 0 (a) (16)
(15c):[𝚪𝜸𝜸H1]0(b),𝚪𝜸20(c):(15c)formulae-sequencesucceeds-or-equalsdelimited-[]𝚪𝜸missing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressionsuperscript𝜸𝐻1missing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpressionmissing-subexpression0(b)norm𝚪superscriptnorm𝜸20(c)\displaystyle\text{(\ref{Eq:P-RM-a}\text{c})}:\;\left[{\begin{array}[]{*{20}{c% }}{\boldsymbol{\Gamma}}&{\boldsymbol{\gamma}}\\ {{{\boldsymbol{\gamma}}^{H}}}&1\end{array}}\right]\succeq 0\;\text{(b)},\quad{% \left\|{\boldsymbol{\Gamma}}\right\|}-{\left\|{\boldsymbol{\gamma}}\right\|^{2% }}\leq 0\;\text{(c)}\vspace{-0.1cm}( roman_c ) : [ start_ARRAY start_ROW start_CELL bold_Γ end_CELL start_CELL bold_italic_γ end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL bold_italic_γ start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT end_CELL start_CELL 1 end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL start_CELL end_CELL end_ROW end_ARRAY ] ⪰ 0 (b) , ∥ bold_Γ ∥ - ∥ bold_italic_γ ∥ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ≤ 0 (c) (19)

where (16a) ensures that 𝚪𝚪{\boldsymbol{\Gamma}}bold_Γ has rank one and (16b) ensures that 𝚪𝚪{\boldsymbol{\Gamma}}bold_Γ is positive semidefinite. Also, (16b) and (16c) ensure that 𝚪𝜸2=0norm𝚪superscriptnorm𝜸20{\left\|{\boldsymbol{\Gamma}}\right\|}-{\left\|{\boldsymbol{\gamma}}\right\|^{% 2}}=0∥ bold_Γ ∥ - ∥ bold_italic_γ ∥ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT = 0, i.e., the only singular value of 𝚪norm𝚪{\left\|{\boldsymbol{\Gamma}}\right\|}∥ bold_Γ ∥ is equal to 𝜸2superscriptnorm𝜸2{\left\|{\boldsymbol{\gamma}}\right\|^{2}}∥ bold_italic_γ ∥ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT. This is because the spectral norm is monotone, i.e., 𝚪𝜸𝜸Hsucceeds-or-equals𝚪𝜸superscript𝜸𝐻{\boldsymbol{\Gamma}}\succeq{\boldsymbol{\gamma}}{{\boldsymbol{\gamma}}^{H}}bold_Γ ⪰ bold_italic_γ bold_italic_γ start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT in (16b) implies 𝚪𝜸𝜸H=𝜸2norm𝚪norm𝜸superscript𝜸𝐻superscriptnorm𝜸2\left\|{\boldsymbol{\Gamma}}\right\|\geq\left\|{{\boldsymbol{\gamma}}{{% \boldsymbol{\gamma}}^{H}}}\right\|={\left\|{\boldsymbol{\gamma}}\right\|^{2}}∥ bold_Γ ∥ ≥ ∥ bold_italic_γ bold_italic_γ start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT ∥ = ∥ bold_italic_γ ∥ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT.

The constraints in (16a) and (16d) are not convex, since they are given by the difference of two convex functions. We tackle them by applying the iterative inner approximation framework [8]. Specifically, we consider the following convex lower bounds for the functions 𝜸2superscriptnorm𝜸2{\left\|{\boldsymbol{\gamma}}\right\|^{2}}∥ bold_italic_γ ∥ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT and 𝚪Fsubscriptnorm𝚪F{\left\|{\boldsymbol{\Gamma}}\right\|_{\rm{F}}}∥ bold_Γ ∥ start_POSTSUBSCRIPT roman_F end_POSTSUBSCRIPT:

fV(𝜸,𝜸¯)=𝜸¯2+2Re(T(𝜸¯2)(𝜸𝜸¯))\displaystyle{f_{\rm{V}}}\left({\boldsymbol{\gamma}},\bar{\boldsymbol{\gamma}}% \right)={\left\|{{\bar{\boldsymbol{\gamma}}}}\right\|^{2}}+2{\mathop{\rm Re}% \nolimits}\left({{\nabla^{T}}\left({{{\left\|\bar{\boldsymbol{\gamma}}\right\|% }^{2}}}\right)\left({{\boldsymbol{\gamma}}-{\bar{\boldsymbol{\gamma}}}}\right)% ^{*}}\right)italic_f start_POSTSUBSCRIPT roman_V end_POSTSUBSCRIPT ( bold_italic_γ , over¯ start_ARG bold_italic_γ end_ARG ) = ∥ over¯ start_ARG bold_italic_γ end_ARG ∥ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + 2 roman_Re ( ∇ start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT ( ∥ over¯ start_ARG bold_italic_γ end_ARG ∥ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ) ( bold_italic_γ - over¯ start_ARG bold_italic_γ end_ARG ) start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT ) (20)
fF(𝚪,𝚪¯)=𝚪¯F+2Re(n,mδn,m(𝚪¯)(Γn,mΓ¯n,m))subscript𝑓F𝚪¯𝚪subscriptnorm¯𝚪F2Resubscript𝑛𝑚subscript𝛿𝑛𝑚¯𝚪superscriptsubscriptΓ𝑛𝑚subscript¯Γ𝑛𝑚\displaystyle{f_{\rm{F}}}\left({\boldsymbol{\Gamma}},\bar{\boldsymbol{\Gamma}}% \right)={\left\|{{\bar{\boldsymbol{\Gamma}}}}\right\|_{\rm{F}}}+2{\mathop{\rm Re% }\nolimits}\left({\sum\nolimits_{n,m}{{\delta_{n,m}}\left(\bar{\boldsymbol{% \Gamma}}\right){{\left({{\Gamma_{n,m}}-{{\bar{\Gamma}}_{n,m}}}\right)}^{*}}}}% \right)\vspace{-0.1cm}italic_f start_POSTSUBSCRIPT roman_F end_POSTSUBSCRIPT ( bold_Γ , over¯ start_ARG bold_Γ end_ARG ) = ∥ over¯ start_ARG bold_Γ end_ARG ∥ start_POSTSUBSCRIPT roman_F end_POSTSUBSCRIPT + 2 roman_Re ( ∑ start_POSTSUBSCRIPT italic_n , italic_m end_POSTSUBSCRIPT italic_δ start_POSTSUBSCRIPT italic_n , italic_m end_POSTSUBSCRIPT ( over¯ start_ARG bold_Γ end_ARG ) ( roman_Γ start_POSTSUBSCRIPT italic_n , italic_m end_POSTSUBSCRIPT - over¯ start_ARG roman_Γ end_ARG start_POSTSUBSCRIPT italic_n , italic_m end_POSTSUBSCRIPT ) start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT )

with 𝜸2fV(𝜸,𝜸¯)superscriptnorm𝜸2subscript𝑓V𝜸¯𝜸{\left\|{\boldsymbol{\gamma}}\right\|^{2}}\geq{f_{\rm{V}}}\left({\boldsymbol{% \gamma}},\bar{\boldsymbol{\gamma}}\right)∥ bold_italic_γ ∥ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ≥ italic_f start_POSTSUBSCRIPT roman_V end_POSTSUBSCRIPT ( bold_italic_γ , over¯ start_ARG bold_italic_γ end_ARG ), 𝚪FfF(𝚪,𝚪¯)subscriptnorm𝚪Fsubscript𝑓F𝚪¯𝚪{\left\|{\boldsymbol{\Gamma}}\right\|_{\rm{F}}}\geq{f_{\rm{F}}}\left({% \boldsymbol{\Gamma}},\bar{\boldsymbol{\Gamma}}\right)∥ bold_Γ ∥ start_POSTSUBSCRIPT roman_F end_POSTSUBSCRIPT ≥ italic_f start_POSTSUBSCRIPT roman_F end_POSTSUBSCRIPT ( bold_Γ , over¯ start_ARG bold_Γ end_ARG ), Γn,msubscriptΓ𝑛𝑚{{\Gamma_{n,m}}}roman_Γ start_POSTSUBSCRIPT italic_n , italic_m end_POSTSUBSCRIPT is the (n,m)𝑛𝑚(n,m)( italic_n , italic_m )th entry of 𝚪𝚪{\boldsymbol{\Gamma}}bold_Γ, (𝜸2)=𝜸superscriptnorm𝜸2𝜸\nabla\left({{{\left\|{\boldsymbol{\gamma}}\right\|}^{2}}}\right)={\boldsymbol% {\gamma}}∇ ( ∥ bold_italic_γ ∥ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ) = bold_italic_γ, δn,m(𝚪)=0.5Γn,m/𝚪Fsubscript𝛿𝑛𝑚𝚪0.5subscriptΓ𝑛𝑚/subscriptnorm𝚪F{\delta_{n,m}}\left({\boldsymbol{\Gamma}}\right)=0.5{{{\Gamma_{n,m}}}\mathord{% \left/{\vphantom{{{\Gamma_{n,m}}}{{{\left\|{\boldsymbol{\Gamma}}\right\|}_{\rm% {F}}}}}}\right.\kern-1.2pt}{{{\left\|{\boldsymbol{\Gamma}}\right\|}_{\rm{F}}}}}italic_δ start_POSTSUBSCRIPT italic_n , italic_m end_POSTSUBSCRIPT ( bold_Γ ) = 0.5 roman_Γ start_POSTSUBSCRIPT italic_n , italic_m end_POSTSUBSCRIPT start_ID / end_ID ∥ bold_Γ ∥ start_POSTSUBSCRIPT roman_F end_POSTSUBSCRIPT, and 𝚪¯¯𝚪{\bar{\boldsymbol{\Gamma}}}over¯ start_ARG bold_Γ end_ARG and 𝜸¯¯𝜸{\bar{\boldsymbol{\gamma}}}over¯ start_ARG bold_italic_γ end_ARG are the points at which Taylor’s approximation is made (the solution of the preceding iteration).

At the generic iteration of the inner algorithm, therefore, P-RM-a is tackled by solving the following problem:

(P-RM-b)max𝚪,𝜸arΔy2χirtr(𝚪𝐔ir)P-RM-b𝚪𝜸subscript𝑎𝑟superscriptsubscriptΔ𝑦2subscript𝜒𝑖𝑟tr𝚪superscriptsubscript𝐔𝑖𝑟\displaystyle(\textbf{P-RM-b})\quad\underset{\boldsymbol{\Gamma},\boldsymbol{% \gamma}}{\max}\quad{a_{r}}\Delta_{y}^{2}{\chi_{ir}}\operatorname{tr}\left({{% \boldsymbol{\Gamma}}{\bf{U}}_{ir}^{*}}\right)( P-RM-b ) start_UNDERACCENT bold_Γ , bold_italic_γ end_UNDERACCENT start_ARG roman_max end_ARG italic_a start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT roman_Δ start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_χ start_POSTSUBSCRIPT italic_i italic_r end_POSTSUBSCRIPT roman_tr ( bold_Γ bold_U start_POSTSUBSCRIPT italic_i italic_r end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT ) (21)
s.t.(15a),(15b),(16b)(a)s.t.15a15b16b(a)\displaystyle\text{s.t.}\quad(\ref{Eq:P-RM-a}\text{a}),\;(\ref{Eq:P-RM-a}\text% {b}),(\ref{Eq:SDP_Rank1Constraint}\text{b})\quad\text{(a)}s.t. ( roman_a ) , ( roman_b ) , ( roman_b ) (a)
𝚪fF(𝚪,𝚪¯)0(b),𝚪fV(𝜸,𝜸¯)0(c)formulae-sequencesubscriptnorm𝚪subscript𝑓F𝚪¯𝚪0(b)norm𝚪subscript𝑓V𝜸¯𝜸0(c)\displaystyle{\left\|{\boldsymbol{\Gamma}}\right\|_{*}}-{f_{\rm{F}}}\left({{% \boldsymbol{\Gamma}},{\bar{\boldsymbol{\Gamma}}}}\right)\leq 0\quad\text{(b)},% \quad{\left\|{\boldsymbol{\Gamma}}\right\|}-{f_{\rm{V}}}\left({{\boldsymbol{% \gamma}},{\bar{\boldsymbol{\gamma}}}}\right)\leq 0\quad\text{(c)}∥ bold_Γ ∥ start_POSTSUBSCRIPT ∗ end_POSTSUBSCRIPT - italic_f start_POSTSUBSCRIPT roman_F end_POSTSUBSCRIPT ( bold_Γ , over¯ start_ARG bold_Γ end_ARG ) ≤ 0 (b) , ∥ bold_Γ ∥ - italic_f start_POSTSUBSCRIPT roman_V end_POSTSUBSCRIPT ( bold_italic_γ , over¯ start_ARG bold_italic_γ end_ARG ) ≤ 0 (c)
𝜸𝜸¯εTR,𝜸(d),𝚪𝚪¯εTR,𝚪(e)formulae-sequencenorm𝜸¯𝜸subscript𝜀TR𝜸(d)norm𝚪¯𝚪subscript𝜀TR𝚪(e)\displaystyle\left\|{{\boldsymbol{\gamma}}-{\bar{\boldsymbol{\gamma}}}}\right% \|\leq{\varepsilon_{{\rm{TR,}}{\boldsymbol{\gamma}}}}\quad\text{(d)},\quad% \left\|{{\boldsymbol{\Gamma}}-{\bar{\boldsymbol{\Gamma}}}}\right\|\leq{% \varepsilon_{{\rm{TR,}}{\boldsymbol{\Gamma}}}}\quad\text{(e)}\vspace{-0.1cm}∥ bold_italic_γ - over¯ start_ARG bold_italic_γ end_ARG ∥ ≤ italic_ε start_POSTSUBSCRIPT roman_TR , bold_italic_γ end_POSTSUBSCRIPT (d) , ∥ bold_Γ - over¯ start_ARG bold_Γ end_ARG ∥ ≤ italic_ε start_POSTSUBSCRIPT roman_TR , bold_Γ end_POSTSUBSCRIPT (e)

where εTR,𝜸0subscript𝜀TR𝜸0{\varepsilon_{{\rm{TR,}}{\boldsymbol{\gamma}}}}\geq 0italic_ε start_POSTSUBSCRIPT roman_TR , bold_italic_γ end_POSTSUBSCRIPT ≥ 0, εTR,𝚪0subscript𝜀TR𝚪0{\varepsilon_{{\rm{TR,}}{\boldsymbol{\Gamma}}}}\geq 0italic_ε start_POSTSUBSCRIPT roman_TR , bold_Γ end_POSTSUBSCRIPT ≥ 0, and (21e) and (21d) are trust region constraints, similar to the constraint in (8d).

P-RM-b is convex and is solved as detailed in Sec. IV-C.

IV-B Approximated Global Design – Reactive Impedance

By considering the power scattered towards the intended direction of reflection as the objective function and the surface net power flow as an optimization constraint, a problem de facto equivalent to S-RI can be formulated by adding the constraints in (11b) and (11c), or, equivalently, the constraints in (12) and (13), to the problem P-RM-b in (21).

By setting |γn|2=Γn,nsuperscriptsubscript𝛾𝑛2subscriptΓ𝑛𝑛{\left|{{\gamma_{n}}}\right|^{2}}={\Gamma_{n,n}}| italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT = roman_Γ start_POSTSUBSCRIPT italic_n , italic_n end_POSTSUBSCRIPT, we then obtain (n=1,2,,N𝑛12𝑁n=1,2,\ldots,Nitalic_n = 1 , 2 , … , italic_N):

(P-RI)P-RI\displaystyle(\textbf{P-RI})\quad( P-RI ) max𝚪,𝜸arΔy2χirtr(𝚪𝐔ir)𝚪𝜸subscript𝑎𝑟superscriptsubscriptΔ𝑦2subscript𝜒𝑖𝑟tr𝚪superscriptsubscript𝐔𝑖𝑟\displaystyle\underset{\boldsymbol{\Gamma},\boldsymbol{\gamma}}{\max}\quad{a_{% r}}\Delta_{y}^{2}{\chi_{ir}}\operatorname{tr}\left({{\boldsymbol{\Gamma}}{\bf{% U}}_{ir}^{*}}\right)start_UNDERACCENT bold_Γ , bold_italic_γ end_UNDERACCENT start_ARG roman_max end_ARG italic_a start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT roman_Δ start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_χ start_POSTSUBSCRIPT italic_i italic_r end_POSTSUBSCRIPT roman_tr ( bold_Γ bold_U start_POSTSUBSCRIPT italic_i italic_r end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT ) (22)
s.t.(15a),(15b),(16b),(21b)-(21e)s.t.15a15b16b21b-21e\displaystyle\text{s.t.}\quad(\ref{Eq:P-RM-a}\text{a}),\;(\ref{Eq:P-RM-a}\text% {b}),\;(\ref{Eq:SDP_Rank1Constraint}\text{b}),\;(\ref{Eq:P-RM-b}\text{b})\text% {-}(\ref{Eq:P-RM-b}\text{e})s.t. ( roman_a ) , ( roman_b ) , ( roman_b ) , ( roman_b ) - ( roman_e )
αrΓn,n(αiαr)Re(γn)αi0subscript𝛼𝑟subscriptΓ𝑛𝑛subscript𝛼𝑖subscript𝛼𝑟Resubscript𝛾𝑛subscript𝛼𝑖0\displaystyle{\alpha_{r}}{\Gamma_{n,n}}-\left({{\alpha_{i}}-{\alpha_{r}}}% \right){\mathop{\rm Re}\nolimits}\left({{\gamma_{n}}}\right)-{\alpha_{i}}\leq 0italic_α start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT roman_Γ start_POSTSUBSCRIPT italic_n , italic_n end_POSTSUBSCRIPT - ( italic_α start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - italic_α start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT ) roman_Re ( italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) - italic_α start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ≤ 0
(1+ε~RI)αrΓn,n+αi(1ε~RIαi)1subscript~𝜀RIsubscript𝛼𝑟subscriptΓ𝑛𝑛subscript𝛼𝑖1subscript~𝜀RIsubscript𝛼𝑖\displaystyle-\left({1+{{\tilde{\varepsilon}}_{{\rm{RI}}}}}\right){\alpha_{r}}% {\Gamma_{n,n}}+{\alpha_{i}}\left({1-{{\tilde{\varepsilon}}_{{\rm{RI}}}}{\alpha% _{i}}}\right)- ( 1 + over~ start_ARG italic_ε end_ARG start_POSTSUBSCRIPT roman_RI end_POSTSUBSCRIPT ) italic_α start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT roman_Γ start_POSTSUBSCRIPT italic_n , italic_n end_POSTSUBSCRIPT + italic_α start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( 1 - over~ start_ARG italic_ε end_ARG start_POSTSUBSCRIPT roman_RI end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT )
+(αiαr+2ε~RIαiαr)Re(γn)0subscript𝛼𝑖subscript𝛼𝑟2subscript~𝜀RIsubscript𝛼𝑖subscript𝛼𝑟Resubscript𝛾𝑛0\displaystyle\hskip 28.45274pt+\left({{\alpha_{i}}-{\alpha_{r}}+2{{\tilde{% \varepsilon}}_{{\rm{RI}}}}{\alpha_{i}}{\alpha_{r}}}\right){\mathop{\rm Re}% \nolimits}\left({{\gamma_{n}}}\right)\leq 0\vspace{-0.1cm}+ ( italic_α start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - italic_α start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT + 2 over~ start_ARG italic_ε end_ARG start_POSTSUBSCRIPT roman_RI end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT ) roman_Re ( italic_γ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) ≤ 0

P-RI is convex and is solved as detailed in Sec. IV-C.

IV-C Convergence and Complexity

Problems P-RM-b and P-RI fulfill the same convergence properties as the problems analyzed in Sec. III-C. The only difference is that the convex problem solved at each iteration is a semidefinite program [13], which can be tackled by using the interior-point method. By utilizing the same notation as that in Sec. III-C, the total arithmetic cost per iteration is 𝒪(c1/2(c3v+c2v2+v3))𝒪superscript𝑐12superscript𝑐3𝑣superscript𝑐2superscript𝑣2superscript𝑣3{\mathcal{O}}\left({c^{1/2}}\left({{c^{3}}v+{c^{2}}{v^{2}}+{v^{3}}}\right)\right)caligraphic_O ( italic_c start_POSTSUPERSCRIPT 1 / 2 end_POSTSUPERSCRIPT ( italic_c start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT italic_v + italic_c start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_v start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + italic_v start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT ) ) [12, p. 247].

V Numerical Results

In this section, we focus on the problems S-RI-a and P-RI, as they encompass all the others, are the most challenging to solve, and analytical solutions are not known. The algorithms are implemented in CVX. The simulation parameters are f=28𝑓28f=28italic_f = 28 GHz, θi=0subscript𝜃𝑖superscript0\theta_{i}=0^{\circ}italic_θ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = 0 start_POSTSUPERSCRIPT ∘ end_POSTSUPERSCRIPT, θr=60subscript𝜃𝑟superscript60\theta_{r}=60^{\circ}italic_θ start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT = 60 start_POSTSUPERSCRIPT ∘ end_POSTSUPERSCRIPT, Rr=Rk=100subscript𝑅𝑟subscript𝑅𝑘100R_{r}=R_{k}=100italic_R start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT = italic_R start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT = 100 m, η0=377subscript𝜂0377\eta_{0}=377italic_η start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = 377 ΩΩ\Omegaroman_Ω, E0=1subscript𝐸01E_{0}=1italic_E start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = 1 Watt/m2, Lx=0.5subscript𝐿𝑥0.5L_{x}=0.5italic_L start_POSTSUBSCRIPT italic_x end_POSTSUBSCRIPT = 0.5 m, Ly=4.9652λsubscript𝐿𝑦4.9652𝜆L_{y}=4.9652\lambdaitalic_L start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT = 4.9652 italic_λ m, Δy=λ/6.0420subscriptΔ𝑦𝜆6.0420\Delta_{y}=\lambda/6.0420roman_Δ start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT = italic_λ / 6.0420, N=60𝑁60N=60italic_N = 60. Also, εRM=2108subscript𝜀RM2superscript108\varepsilon_{\rm{RM}}=2\cdot 10^{-8}italic_ε start_POSTSUBSCRIPT roman_RM end_POSTSUBSCRIPT = 2 ⋅ 10 start_POSTSUPERSCRIPT - 8 end_POSTSUPERSCRIPT, εRI=102subscript𝜀RIsuperscript102\varepsilon_{\rm{RI}}=10^{-2}italic_ε start_POSTSUBSCRIPT roman_RI end_POSTSUBSCRIPT = 10 start_POSTSUPERSCRIPT - 2 end_POSTSUPERSCRIPT, εSP=109subscript𝜀SPsuperscript109\varepsilon_{\rm{SP}}=10^{-9}italic_ε start_POSTSUBSCRIPT roman_SP end_POSTSUBSCRIPT = 10 start_POSTSUPERSCRIPT - 9 end_POSTSUPERSCRIPT, and the reradiation mask comprises the set of angles [2,2]22[-2,2][ - 2 , 2 ] and [58,62]5862[-58,-62][ - 58 , - 62 ] with angular resolution 0.1.

As for the trust region, the radii in (8d), (21d), (21e) are set to large values at the first iteration and are progressively reduced at each iteration by 1.2 for S-RI-a and by 1.1 for P-RI. If the objective does not decrease due to numerical inaccuracies, the following approach is used: the algorithm steps back to the solution and setup attained three iterations earlier, while the radii of the trust region are reduced by 1.2 for S-RI-a and by 1.1 for P-RI. At convergence, we attained εTR=8.791013subscript𝜀TR8.79superscript1013{\varepsilon_{\rm{TR}}}=8.79\cdot 10^{-13}italic_ε start_POSTSUBSCRIPT roman_TR end_POSTSUBSCRIPT = 8.79 ⋅ 10 start_POSTSUPERSCRIPT - 13 end_POSTSUPERSCRIPT, εTR,𝜸=8.53106subscript𝜀TR𝜸8.53superscript106{\varepsilon_{{\rm{TR,}}{\boldsymbol{\gamma}}}}=8.53\cdot 10^{-6}italic_ε start_POSTSUBSCRIPT roman_TR , bold_italic_γ end_POSTSUBSCRIPT = 8.53 ⋅ 10 start_POSTSUPERSCRIPT - 6 end_POSTSUPERSCRIPT, εTR,𝚪=1.02104subscript𝜀TR𝚪1.02superscript104{\varepsilon_{{\rm{TR,}}{\boldsymbol{\Gamma}}}}=1.02\cdot 10^{-4}italic_ε start_POSTSUBSCRIPT roman_TR , bold_Γ end_POSTSUBSCRIPT = 1.02 ⋅ 10 start_POSTSUPERSCRIPT - 4 end_POSTSUPERSCRIPT.

To ease the convergence of P-RI, (21b) and (21c) are rewritten as 𝚪fF(𝚪,𝚪¯)εrk1bsubscriptnorm𝚪subscript𝑓F𝚪¯𝚪subscript𝜀rk1b{\left\|{\boldsymbol{\Gamma}}\right\|_{*}}-{f_{\rm{F}}}\left({{\boldsymbol{% \Gamma}},{\bar{\boldsymbol{\Gamma}}}}\right)\leq{\varepsilon_{{\rm{rk1-b}}}}∥ bold_Γ ∥ start_POSTSUBSCRIPT ∗ end_POSTSUBSCRIPT - italic_f start_POSTSUBSCRIPT roman_F end_POSTSUBSCRIPT ( bold_Γ , over¯ start_ARG bold_Γ end_ARG ) ≤ italic_ε start_POSTSUBSCRIPT rk1 - roman_b end_POSTSUBSCRIPT and 𝚪fV(𝜸,𝜸¯)εrk1cnorm𝚪subscript𝑓V𝜸¯𝜸subscript𝜀rk1c\left\|{\boldsymbol{\Gamma}}\right\|-{f_{\rm{V}}}\left({{\boldsymbol{\gamma}},% {\bar{\boldsymbol{\gamma}}}}\right)\leq{\varepsilon_{{\rm{rk1-c}}}}∥ bold_Γ ∥ - italic_f start_POSTSUBSCRIPT roman_V end_POSTSUBSCRIPT ( bold_italic_γ , over¯ start_ARG bold_italic_γ end_ARG ) ≤ italic_ε start_POSTSUBSCRIPT rk1 - roman_c end_POSTSUBSCRIPT, with εrk1b0subscript𝜀rk1b0{\varepsilon_{{\rm{rk1-b}}}}\geq 0italic_ε start_POSTSUBSCRIPT rk1 - roman_b end_POSTSUBSCRIPT ≥ 0 and εrk1c0subscript𝜀rk1c0{\varepsilon_{{\rm{rk1-c}}}}\geq 0italic_ε start_POSTSUBSCRIPT rk1 - roman_c end_POSTSUBSCRIPT ≥ 0 small positive values. The impact is minor, as it only implies that the difference of the single singular value of 𝚪norm𝚪{\left\|{\boldsymbol{\Gamma}}\right\|}∥ bold_Γ ∥ and 𝜸2superscriptnorm𝜸2{\left\|{\boldsymbol{\gamma}}\right\|^{2}}∥ bold_italic_γ ∥ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT is less than εrk1c0subscript𝜀rk1c0\varepsilon_{{\rm{rk1-c}}}\geq 0italic_ε start_POSTSUBSCRIPT rk1 - roman_c end_POSTSUBSCRIPT ≥ 0. Again, εrk1bsubscript𝜀rk1b{\varepsilon_{{\rm{rk1-b}}}}italic_ε start_POSTSUBSCRIPT rk1 - roman_b end_POSTSUBSCRIPT and εrk1csubscript𝜀rk1c{\varepsilon_{{\rm{rk1-c}}}}italic_ε start_POSTSUBSCRIPT rk1 - roman_c end_POSTSUBSCRIPT are set to large values and are progressively reduced by 5 at each iteration, attaining εrk1b=1.25109subscript𝜀rk1b1.25superscript109{\varepsilon_{{\rm{rk1-b}}}}=1.25\cdot 10^{-9}italic_ε start_POSTSUBSCRIPT rk1 - roman_b end_POSTSUBSCRIPT = 1.25 ⋅ 10 start_POSTSUPERSCRIPT - 9 end_POSTSUPERSCRIPT, εrk1c=1.27107subscript𝜀rk1c1.27superscript107{\varepsilon_{{\rm{rk1-c}}}}=1.27\cdot 10^{-7}italic_ε start_POSTSUBSCRIPT rk1 - roman_c end_POSTSUBSCRIPT = 1.27 ⋅ 10 start_POSTSUPERSCRIPT - 7 end_POSTSUPERSCRIPT at convergence.

As performance metric, we consider the reradiation pattern of the RIS, i.e., we plot the power flux Pθ(𝜸)subscript𝑃𝜃𝜸P_{{\theta}}\left(\boldsymbol{\gamma}\right)italic_P start_POSTSUBSCRIPT italic_θ end_POSTSUBSCRIPT ( bold_italic_γ ) in (4) as a function of the angle of observation θ𝜃\thetaitalic_θ, with 𝜸𝜸\boldsymbol{\gamma}bold_italic_γ obtained from the proposed optimization algorithms. Also, three benchmark schemes are considered: (i) GO is the geometric optics solution in [1, Eq. (102)], with non-negative values of the real part of the surface impedance in (1); (ii) GD is the global design solution in [1, Eq. (81)], with positive and negative values of the real part of the surface impedance in (1); and (iii) GO-RI is the GO solution in [1, Eq. (102)], by setting the real part of the surface impedance equal to zero. The initial values of the Taylor series approximations in S-RI-a and P-RI are set to GO-RI for ensuring the feasibility of the initial point.

Refer to caption
Figure 1: Fig. 1: Reradiation pattern of the RIS: (left) S-RI-a and (right) P-RI

The results are illustrated in Fig. 1. According to theory [1], GO and GD provide reradiation patterns with no beams towards undesired directions of radiation, with GD offering the best beamforming gain at the highest implementation complexity (local amplifications due to the negative values of Re(𝐳)Re𝐳\operatorname{Re}(\bf{z})roman_Re ( bold_z ) in (1)). It is worth nothing that the difference of beamforming gain (at θr=60subscript𝜃𝑟superscript60\theta_{r}=60^{\circ}italic_θ start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT = 60 start_POSTSUPERSCRIPT ∘ end_POSTSUPERSCRIPT) between GO and GD is 3 dB. GD-RI, which is often utilized as a simple solution [7], offers a good beamforming gain towards the direction of interest, but strong beams towards two undesired directions [5]. The proposed algorithms ensure a good, close to optimal, beamforming gain, no beams towards unwanted directions, and a real part of the surface impedance almost equal to zero, i.e., positive and less than εRIsubscript𝜀RI\varepsilon_{\rm{RI}}italic_ε start_POSTSUBSCRIPT roman_RI end_POSTSUBSCRIPT. The problem P-RI usually needs higher memory requirements due to the SDP formulation (in matrix form), but it is more stable than the problem S-RI-a from the numerical point of view. Therefore, the proposed algorithms provide an efficient approach for optimization, ensuring close to optimal performance while fulfilling specified design constraints.

VI Conclusion

We have introduced a suite of algorithms for optimizing reconfigurable anomalous reflectors based on the global design criterion. Several extensions of this work can be envisioned, including multi-beam anomalous reflecting and refracting surfaces, multiple antenna systems, near-field RIS-aided channels.

References

  • [1] M. Di Renzo et al., “Communication models for reconfigurable intelligent surfaces: From surface electromagnetics to wireless networks optimization,” Proc. of the IEEE, vol. 110, no. 9, pp. 1164–1209, 2022.
  • [2] M. Di Renzo and M. D. Migliore, “Electromagnetic signal and information theory,” IEEE BITS the Inform. Theory Mag., pp. 1–13, 2024.
  • [3] R. K. Fotock et al., “Energy efficiency optimization in ris-aided wireless networks: Active versus nearly-passive RIS with global reflection constraints,” IEEE Trans. Commun., vol. 72, no. 1, pp. 257–272, 2024.
  • [4] A. Diaz-Rubio et al., “From the generalized reflection law to the realization of perfect anomalous reflectors,” Sci. Adv., vol. 3, 2017.
  • [5] A. Diaz-Rubio and S. A. Tretyakov, “Macroscopic modeling of anomalously reflecting metasurfaces: Angular response and far-field scattering,” IEEE Trans. Ant. Propag., vol. 69, no. 10, pp. 6560–6571, 2021.
  • [6] M. Zucchi et al., “Current based automated design of realizable metasurface antennas with arbitrary pattern constraints,” IEEE Trans. Ant. Propag., vol. 71, no. 6, pp. 4888–4902, 2023.
  • [7] S. K. R. Vuyyuru et al., “Efficient synthesis of passively loaded finite arrays for tunable anomalous reflection,” arXiv:2312.04441, 2023.
  • [8] B. R. Marks et al., “A general inner approximation algorithm for nonconvex mathematical programs,” Oper. Res., vol. 26, no. 4, 1978.
  • [9] S. Boyd et al., Convex optimization.   Cambridge Univ. Press, 2004.
  • [10] Y.-X. Yuan, “A review of trust region algorithms for optimization,” in Proc. Int. Cong. Industrial & Applied Math.   Oxford Univ. Press, 2000.
  • [11] A. Abrardo et al., “Design of reconfigurable intelligent surfaces by using S𝑆Sitalic_S-parameter multiport network theory – Optimization and full-wave validation,” IEEE Trans. Wireless Commun., 2024 (early access).
  • [12] Y. E. Nesterov and A. Nemirovskii, Interior-point polynomial algorithms in convex programming.   SIAM, 1994, vol. 13.
  • [13] L. Vandenberghe and S. Boyd, “Semidefinite programming,” SIAM Review, vol. 38, no. 1, pp. 49–95, 1996.