Algorithm Search⌘K

Techniqueadvanced

Codebook-based precoding

Also called limited feedback precoding, Grassmannian beamforming.

The receiver picks a precoder from a codebook known at both ends and feeds back its index, so the transmitter needs only a few bits of feedback in place of the full channel.

Codebook-based precoding is a way to give the transmitter of a MIMO link enough channel knowledge to beamform with only a few bits of feedback. The transmitter and the receiver share a fixed list of N=2BN = 2^B precoders, the codebook. The receiver estimates the channel, picks the codebook entry that gives the best link, and sends back its BB-bit index. The transmitter then uses that entry. With perfect channel knowledge at the transmitter, the best single-stream precoder is maximum ratio transmission for one receive antenna and the dominant right singular vector of SVD precoding for several; a codebook quantizes this vector. The quality of a codebook depends on how evenly its vectors cover the space of beam directions, which is a packing problem of lines in Cn\mathbb{C}^n. Hybrid beamforming also restricts the precoder, but by hardware, not by feedback.

In plain words

A transmitter with several antennas can aim its signal at a receiver, but only if it knows the channel. The receiver can measure the channel, but sending the whole measurement back takes too much capacity. So both sides agree in advance on a short list of possible aiming directions. The receiver tries every direction on the list in its head, picks the one that would give the strongest signal, and sends back only its number in the list. With 16 directions, that is 4 bits.

The list must spread its directions evenly, so that every possible channel has a direction on the list that is close to the best one. A bad list wastes entries on directions that are almost the same.

When it applies

  • The transmitter cannot learn the channel by itself. This is the usual case in frequency division duplex, where the uplink and the downlink use different frequencies and the channel is not reciprocal. In time division duplex the transmitter can estimate the channel from uplink pilots, and a codebook is not needed.
  • There is a feedback link from the receiver to the transmitter with a small, fixed number of bits per channel coherence interval.
  • The receiver knows its channel HH (CSIR), for example from pilots, and the transmitter knows the codebook.
  • The channel changes slowly enough that the index is still valid when the transmitter uses it.

The template

The link is y=Hfs+wy = H f s + w with H∈Cm×nH \in \mathbb{C}^{m \times n} for nn transmit and mm receive antennas, a unit-norm precoder ff, a symbol with E∣s∣2=P\mathbb{E}|s|^2 = P and w∼CN(0,N0I)w \sim \mathcal{CN}(0, N_0 I). With maximal ratio combining at the receiver, the SNR is ρ∥Hf∥2\rho \|H f\|^2 with ρ=P/N0\rho = P/N_0.

  1. Design the codebook once, offline. Choose F={f1,…,fN}\mathcal{F} = \{f_1, \ldots, f_N\} of unit vectors in Cn\mathbb{C}^n, N=2BN = 2^B. Store it at both ends.
  2. Select at the receiver. For each channel realization, compute i⋆=arg⁡max⁡i∥Hfi∥2i^\star = \arg\max_i \|H f_i\|^2. This costs O(Nmn)O(N m n) operations in the real-RAM model.
  3. Feed back the BB bits of i⋆i^\star.
  4. Transmit with x=fi⋆sx = f_{i^\star} s.

The phase of a beam vector does not matter, since ∥Hfejϕ∥=∥Hf∥\|H f e^{j\phi}\| = \|H f\|. So a codebook is a set of lines (one-dimensional subspaces), not of vectors. The distance between two lines is the chordal distance

d(fi,fj)=1−∣fiHfj∣2.d(f_i, f_j) = \sqrt{1 - |f_i^H f_j|^2}.

Design criterion. For i.i.d. Rayleigh fading, the best direction vv (the dominant right singular vector of HH) is uniform on the lines, and its quantization error drives the SNR loss. Love, Heath and Strohmer (2003) bound the average loss and derive the criterion: maximize the minimum chordal distance between the codebook lines. This is Grassmannian line packing. For NN lines in Cn\mathbb{C}^n, the Welch bound gives max⁡i≠j∣fiHfj∣2≥(N−n)/(n(N−1))\max_{i \ne j} |f_i^H f_j|^2 \ge (N - n)/(n (N - 1)) when N≥nN \ge n, so the minimum chordal distance is at most 1−(N−n)/(n(N−1))\sqrt{1 - (N - n)/(n(N - 1))}; packings that meet it with equality exist only for some NN and nn.

Full diversity (a proved condition). If the codebook vectors span Cn\mathbb{C}^n, then c=min⁡∥u∥=1max⁡i∣uHfi∣2>0c = \min_{\|u\| = 1} \max_i |u^H f_i|^2 > 0, because the minimum of a continuous function on the compact unit sphere is attained, and a unit uu with max⁡i∣uHfi∣=0\max_i |u^H f_i| = 0 would be orthogonal to a spanning set. For one receive antenna, H=hHH = h^H and the selected gain is ∣hHfi⋆∣2≥c∥h∥2|h^H f_{i^\star}|^2 \ge c \|h\|^2. So the SNR is at least cc times the SNR of perfect maximum ratio transmission, and the diversity order is nn, the same as with full channel knowledge, in i.i.d. Rayleigh fading. A codebook needs at least N≥nN \ge n entries to span.

Classic examples

Two antennas, one receive antenna. Take n=2n = 2, m=1m = 1 and the channel h=(0.6+0.8j, −1+0.5j)h = (0.6 + 0.8j,\ -1 + 0.5j), with ∥h∥2=2.25\|h\|^2 = 2.25, and the 2-bit codebook

f1=12(1,1),f2=12(1,−1),f3=12(1,j),f4=12(1,−j),f_1 = \tfrac{1}{\sqrt 2}(1, 1), \quad f_2 = \tfrac{1}{\sqrt 2}(1, -1), \quad f_3 = \tfrac{1}{\sqrt 2}(1, j), \quad f_4 = \tfrac{1}{\sqrt 2}(1, -j),

which is the rank-one codebook of the LTE standard for two antennas. The gains ∣hHfi∣2|h^H f_i|^2 are 0.925, 1.325, 2.225 and 0.025. The receiver feeds back index 3 (bits 10), and the gain is 2.2252.225 against the optimum ∥h∥2=2.25\|h\|^2 = 2.25 of maximum ratio transmission, a loss of 0.049 dB. Index 4 would almost cancel the signal.

Average gain in i.i.d. Rayleigh fading. With h∼CN(0,I2)h \sim \mathcal{CN}(0, I_2), the norm ∥h∥2\|h\|^2 (mean 2) and the direction u=h/∥h∥u = h/\|h\| are independent, so the mean gain is 2 Emax⁡i∣uHfi∣22\, \mathbb{E} \max_i |u^H f_i|^2. A unit vector in C2\mathbb{C}^2, up to phase, maps to a point bb on the unit sphere in R3\mathbb{R}^3 (the Bloch sphere), with ∣uHf∣2=(1+bu⋅bf)/2|u^H f|^2 = (1 + b_u \cdot b_f)/2, and a uniform uu gives a uniform bub_u.

| codebook | bits | max⁡∣fiHfj∣2\max |f_i^H f_j|^2 | mean gain | loss | worst case cc | |---|---|---|---|---|---| | one fixed vector (no feedback) | 0 | none | 1 | 3.01 dB | 0 | | {f1,f2}\{f_1, f_2\} | 1 | 0 | 1.5 | 1.25 dB | 0.5 | | {f1,f2,f3,f4}\{f_1, f_2, f_3, f_4\} above | 2 | 0.5 | 1.7071 | 0.69 dB | 0.5 | | 4 lines of a regular tetrahedron | 2 | 1/3 | 1.745 | 0.59 dB | 2/3 | | perfect maximum ratio transmission | none | none | 2 | 0 | 1 |

The values for one and two vectors with the axes ±x^\pm \hat x and ±x^,±y^\pm \hat x, \pm \hat y are exact: E∣bx∣=1/2\mathbb{E}|b_x| = 1/2 gives (1+1/2)/2=0.75(1 + 1/2)/2 = 0.75, and Emax⁡(∣bx∣,∣by∣)=(π/4)(22/π)=2/2\mathbb{E}\max(|b_x|, |b_y|) = (\pi/4)(2\sqrt 2/\pi) = \sqrt 2/2 gives (1+2/2)/2=0.85355(1 + \sqrt 2/2)/2 = 0.85355. The tetrahedral value is a Monte Carlo average over 2×1062 \times 10^6 directions. The tetrahedral lines are (1,0)(1, 0) and (1/3, 2/3 ej2πk/3)(1/\sqrt 3,\ \sqrt{2/3}\, e^{j 2\pi k/3}) for k=0,1,2k = 0, 1, 2; every pair has ∣fiHfj∣2=1/3|f_i^H f_j|^2 = 1/3, which meets the Welch bound (4−2)/(2⋅3)=1/3(4 - 2)/(2 \cdot 3) = 1/3. So it is an optimal line packing, and it beats the LTE codebook on both the mean and the worst case. The LTE codebook has other reasons for its form: its entries come from {±1,±j}\{\pm 1, \pm j\}, so it needs no multiplications.

Variations

  • Several streams. For rr streams the codebook holds n×rn \times r matrices with orthonormal columns, and the receiver selects by the smallest singular value, the capacity or the mean squared error of its detector (Love and Heath 2005). The design is then a packing of subspaces.
  • Codebook design by training. In place of a packing, a codebook can be found by the Lloyd algorithm (the vector quantizer form of k-means) on samples of the best beam direction, with ∣uHf∣2|u^H f|^2 as the similarity. This adapts the codebook to correlated channels, where the best direction is not uniform.
  • Structured codebooks. DFT codebooks, whose vectors are columns of an oversampled DFT matrix, match the array response of a uniform linear array and are the base of the codebooks for larger arrays in the 4G and 5G standards. Standards also feed back a rank indicator and a channel quality indicator with the precoder index.
  • Multiuser precoding. Each user feeds back a quantized channel direction, and the base station applies zero-forcing precoding or block diagonalization to the quantized directions. The quantization error leaves residual interference that grows with the transmit power. Jindal (2006) showed that the feedback bits per user must grow linearly with the SNR in dB to keep the full multiplexing gain, unlike the single-user case, where a fixed codebook keeps the full diversity at every SNR.
  • Random codebooks. Codebooks of independent isotropic vectors (random vector quantization) are easy to analyze, and their average loss has closed forms in i.i.d. Rayleigh fading; Jindal (2006) uses them for the multiuser analysis.
  • Differential and predictive feedback. For slowly varying channels, the receiver feeds back a small rotation of the previous precoder, which tracks the channel with fewer bits.

Pitfalls

  • Selecting with the wrong metric. For one stream with maximal ratio combining, the metric is ∥Hfi∥2\|H f_i\|^2. With a linear detector and several streams, a capacity metric and a minimum singular value metric can choose different entries; use the metric of the actual receiver.
  • Feedback delay. The index is computed from an old channel. In fast fading, a stale index can be worse than a fixed beam. Check the coherence time against the feedback delay.
  • Treating lines as vectors. Two vectors that differ only by a phase are the same beam. A codebook design that counts them as different wastes entries, and the chordal distance, not the Euclidean distance, is the right measure.
  • Too few entries. With N<nN < n the vectors cannot span Cn\mathbb{C}^n, and some channels are orthogonal to every entry, so the diversity drops.
  • Ignoring the multiuser case. A codebook that is good for one user leaves residual interference in multiuser precoding, and the rate then saturates at high SNR unless the codebook size grows.
  • Power normalization. Every entry must have unit norm; otherwise the selection favors the longest vectors, not the best directions.

Exercises

  1. For the channel h=(1,j)h = (1, j), compute ∣hHfi∣2|h^H f_i|^2 for the four LTE vectors above, and find the selected index and the loss in dB against maximum ratio transmission.
  2. Prove that the chordal distance between lines satisfies the triangle inequality. (Hint: it equals 12∥fifiH−fjfjH∥F\frac{1}{\sqrt 2}\|f_i f_i^H - f_j f_j^H\|_F.)
  3. Show that for n=2n = 2 the map from lines to the Bloch sphere sends ∣fiHfj∣2|f_i^H f_j|^2 to (1+bi⋅bj)/2(1 + b_i \cdot b_j)/2, and use it to prove that the tetrahedral codebook is an optimal packing of four lines.
  4. Show that a codebook of nn orthonormal vectors in Cn\mathbb{C}^n (antenna selection when the vectors are the unit vectors) has worst case c=1/nc = 1/n.
  5. With NN independent isotropic vectors in C2\mathbb{C}^2, find Emax⁡i∣uHfi∣2\mathbb{E}\max_i |u^H f_i|^2 for N=1N = 1 and N=2N = 2, and compare with the table.

References

  1. David J. Love, Robert W. Heath Jr. and Thomas Strohmer, Grassmannian beamforming for multiple-input multiple-output wireless systems, IEEE Transactions on Information Theory 49(10), 2735-2747, 2003, the selection of a beam vector at the receiver with the index sent back, and the codebook design criterion of the largest minimum chordal distance, which relates the design to Grassmannian line packing for i.i.d. Rayleigh fading
  2. David J. Love and Robert W. Heath Jr., Limited feedback unitary precoding for spatial multiplexing systems, IEEE Transactions on Information Theory 51(8), 2005, codebooks of matrices with orthonormal columns for several streams, and the selection criteria based on the minimum singular value, the capacity and the mean squared error
  3. Nihar Jindal, MIMO broadcast channels with finite-rate feedback, IEEE Transactions on Information Theory 52(11), 5045-5060, 2006, zero-forcing precoding on quantized channel directions, and the result that the feedback bits per user must grow linearly with the SNR in dB to keep the full multiplexing gain
  4. Robert W. Heath Jr. and Angel Lozano, Foundations of MIMO Communication, Cambridge University Press, 2018, the chapters on single-user MIMO and on multiuser MIMO, the parts on quantized channel feedback

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW2 basic
  • three classic examples