Phase Quantization: 1-bit, 2-bit, Continuous

Continuous Phases Are a Fiction

Chapter 1 optimized the received SNR over phases θn[0,2π)\theta_n \in [0, 2\pi), a continuous set. Real RIS hardware supports only a finite set of phase states: a varactor driven by a 4-bit DAC realizes 24=162^4 = 16 phase levels; a PIN-diode element might realize just 2. How much SNR is lost by rounding the "ideal" θn\theta_n^\star to the nearest available quantized level? The answer — surprisingly favorable — is derived here.

Definition:

BB-Bit Phase Quantization

A BB-bit RIS element can realize L=2BL = 2^B distinct phase values, typically evenly spaced:

ΘB={0, 2πL, 4πL, , 2π(L1)L}.\Theta_B = \left\{\, 0,\ \frac{2\pi}{L},\ \frac{4\pi}{L},\ \ldots,\ \frac{2\pi (L-1)}{L}\,\right\}.

The quantized phase is the nearest element of ΘB\Theta_B:

θn(B)=argminϑΘBϑθnmod 2π.\theta_n^{(B)} = \arg\min_{\vartheta \in \Theta_B} |\vartheta - \theta_n^\star|_{\text{mod } 2\pi}.

The step size is Δθ=2π/L=2π/2B\Delta\theta = 2\pi / L = 2\pi / 2^B.

Theorem: SNR Loss from BB-bit Phase Quantization

Under uniform-quantization with step Δθ=2π/2B\Delta\theta = 2\pi/2^B and assuming the unquantized phase errors are uniform on [Δθ/2,Δθ/2][-\Delta\theta/2, \Delta\theta/2], the expected received signal power degrades by the factor

ηB=(sin(π/2B)π/2B)2=sinc2 ⁣(π2B).\eta_B = \left(\frac{\sin(\pi/2^B)}{\pi/2^B}\right)^2 = \text{sinc}^2\!\left(\frac{\pi}{2^B}\right).

The corresponding power penalty in dB is 10log10ηB-10 \log_{10} \eta_B. In particular:

Bits BB Levels 2B2^B etaB\\eta_B dB loss
1 2 4/π20.4054/\pi^2 \approx 0.405 3.92 dB3.92\text{ dB}
2 4 0.8110.811 0.91 dB0.91\text{ dB}
3 8 0.9490.949 0.22 dB0.22\text{ dB}
4 16 0.9870.987 0.056 dB0.056\text{ dB}
\infty \infty 11 0 dB0\text{ dB}

Quantization introduces a zero-mean phase error uniformly distributed in [Δθ/2,Δθ/2][-\Delta\theta/2, \Delta\theta/2]. The coherent sum nejϵnrn\sum_n e^{j\epsilon_n}\,r_n (where rnr_n is the aligned-phase amplitude and ϵn\epsilon_n the phase error) has expected value E[ejϵ]nrn=sinc(Δθ/2)nrn\mathbb{E}[e^{j\epsilon}]\sum_n r_n = \text{sinc}(\Delta\theta/2) \sum_n r_n. Thus the received amplitude is scaled by sinc(Δθ/2)\text{sinc}(\Delta\theta/2), and the power by sinc2(Δθ/2)\text{sinc}^2(\Delta\theta/2).

Key Takeaway

Three bits of phase resolution lose only 0.22 dB0.22\text{ dB} of coherent SNR. This is the practical argument for the industry standard of 3-bit RIS panels: the marginal gain from 3 → 4 bits (0.16 dB\sim 0.16\text{ dB}) rarely justifies doubling the number of PIN diodes or control lines. Going down to 1 bit costs 3.92 dB3.92\text{ dB} — an uncomfortable but survivable penalty for a cheap prototype.

Quantization Loss vs. Bits per Element

Vary the bit resolution BB and compare the quantized-phase sum against the continuous-phase ideal. The blue curve shows the theoretical sinc2(π/2B)\text{sinc}^2(\pi / 2^B) prediction; the orange markers show a Monte-Carlo empirical loss for a random set of optimal phases.

Parameters
256
6

Rounding Continuous Phases onto a Discrete Grid

Continuous optimal phases (blue dots on the unit circle) are projected onto the nearest BB-bit level (red). As BB increases, the rounding residual shrinks and the coherent-sum amplitude approaches its continuous-phase ideal.

Example: A 1-bit RIS Prototype

Tang et al. (2021) built a 1-bit RIS with N=256N = 256 elements at 5.8 GHz. Compute the coherent-sum loss relative to a continuous-phase ideal. If the coherent-phase ideal gives 40 dB40\text{ dB} received SNR, what is the 1-bit SNR?

Nearest-Level Projection for BB-bit RIS

Complexity: O(1)O(1) per element, O(N)O(N) for the full RIS
Input: continuous optimal phase θ[0,2π)\theta^\star \in [0, 2\pi); bit depth BB
Output: quantized phase θ(B)ΘB={0,2π/2B,}\theta^{(B)} \in \Theta_B = \{0, 2\pi/2^B, \ldots\}
1. L2BL \leftarrow 2^B
2. Δθ2π/L\Delta\theta \leftarrow 2\pi / L
3. kround(θ/Δθ)modLk \leftarrow \text{round}(\theta^\star / \Delta\theta) \bmod L
4. return θ(B)=kΔθ\theta^{(B)} = k \Delta\theta

Nearest-level projection is the universal starting point, but it is not always optimal when the elements interact (e.g., if the objective is not a simple coherent sum). Chapter 8 revisits quantization as an integer program and compares direct discrete optimization with projection-from-continuous.

Common Mistake: Quantization Loss Is Not Additive

Mistake:

"Each element loses sinc2(π/2B)\text{sinc}^2(\pi/2^B) of its power, so the total loss is NηBN\,\eta_B."

Correction:

The quantization loss factor ηB\eta_B applies to the coherent sum, not to individual elements' power. Individual elements' reflected signal strength is unaffected — only the phase alignment is imperfect. The coherent-sum amplitude is reduced by sinc(Δθ/2)\text{sinc}(\Delta\theta/2), and the coherent-sum power by ηB=sinc2(Δθ/2)\eta_B = \text{sinc}^2(\Delta\theta/2), uniformly for all NN. So the total coherent SNR becomes ηBN2α2β2\eta_B \cdot N^2 \alpha^2 \beta^2, not NηBα2β2N \cdot \eta_B \cdot \alpha^2 \beta^2.

Quick Check

A 4-bit RIS loses approximately how much coherent SNR compared to a continuous-phase RIS?

4 dB\sim 4\text{ dB}

1 dB\sim 1\text{ dB}

0.06 dB\sim 0.06\text{ dB}

0 dB\sim 0\text{ dB} (indistinguishable from continuous)

⚠️Engineering Note

How Many Bits Should a Real RIS Have?

The bit-depth choice is not about asymptotic SNR — it is about hardware complexity vs. calibration burden:

  • 1-bit: two PIN diodes per element. Cheapest. 4 dB\sim 4\text{ dB} loss. Good for prototypes, rapid beam steering, secrecy applications.
  • 2-bit: four phase levels. Requires two diodes with carefully matched asymmetric loading. 1 dB\sim 1\text{ dB} loss. Common in first-generation products.
  • 3-bit: eight phase levels. Three diodes per element, or one varactor with a 3-bit DAC. 0.2 dB\sim 0.2\text{ dB} loss. Industry default for mmWave RIS.
  • Continuous (varactor with 6\geq 6-bit DAC): no bit- quantization loss but significant calibration overhead (the voltage-phase curve is nonlinear and varies with temperature).

The sweet spot depends on the application: for high-rate communication, 3-bit is enough; for radar / ISAC where phase precision is paramount, prefer continuous; for deep-pocket IoT deployments, 1-bit remains the cost optimum.

Practical Constraints
  • 3-bit elements typically have 3 PIN diodes and 3 control lines per unit cell.

  • Continuous (varactor) requires per-element DAC calibration for temperature stability.

  • Control overhead scales as BNB \cdot N bits per configuration update.