Search

Search papers and lessons

Beamforming

Level 3 · 13 min read

Beamforming chooses the phase and amplitude of each antenna in an array so that the array listens to or transmits toward chosen directions and rejects others, all in software.

On this page

  • Colour = topic mix
  • Calculus
  • Linear algebra
  • Discrete math
  • Probability
  • Electromagnetism
  • Communications
  • ReadReady to readNot yet

TL;DR

Beamforming is the rule for choosing the phase and size of each element's signal in an Antenna Array. The rule decides where the array is sensitive and where it is blind, so one array can serve several users or ignore a jammer without moving. It matters because modern radios, radars and microphones need to focus on one target among many. Builds on: Antenna Array, Wave Interference · Leads to: Hybrid Precoding, MIMO (Multiple-Input Multiple-Output)

Where it's used

Phones and base stations. A 5G millimetre-wave base station has a panel of many small elements. It forms one narrow beam toward each phone it serves, and it re-aims the beam as the phone moves. The beams are formed in the baseband processor, so switching between users takes microseconds, not the time it takes to turn a dish.

Radar and sonar. Military and air-traffic radars use beamforming to scan a region electronically. Sonar arrays on ships do the same in water, where the wavelengths are much longer. The receiver can also form a null toward a jammer, which weakens the jammer's effect on the radar.

Hearing aids and smart speakers. A device with two or more microphones a few centimetres apart can beamform sound. It listens toward the talker in front and reduces noise from the sides. This is a simple case of the same idea, with sound waves in place of radio.

Radio astronomy. Telescopes such as LOFAR combine signals from thousands of small antennas, a form of interferometry. Beamforming points the combined instrument at many sky positions at once, and the same weights can be reused to look at different parts of the sky.

How it works

We trace a two-element receiver. The two elements are half a wavelength apart. A signal arrives from 30∘30^\circ, measured from straight ahead, and we want to listen to that direction. The phase rule from Antenna Array says the second element sees the signal with an extra phase ψ=πsin⁡30∘=π/2\psi = \pi \sin 30^\circ = \pi/2.

  1. The signal reaches both elements. Element 0 sees the signal with phase 00. Element 1 sees it with phase π/2\pi/2, which is a quarter of a cycle later. In complex notation, the two readings are 11 and jj. Check: the two readings have equal size and differ by a quarter turn.
  2. Choose the steering direction. We steer to 30∘30^\circ. The receiver needs to undo the phase that a wave from 30∘30^\circ carries, so it multiplies each element by the conjugate of its phase. The weights are w=[1, j]/2w = [1, \, j]/2, and the receiver uses wH=[1, −j]/2w^H = [1, \, -j]/2. Check: the conjugate of jj is −j-j, which turns the reading jj back into 11.
  3. Add the weighted readings. The output is 1⋅1+(−j)⋅j=1+1=21 \cdot 1 + (-j) \cdot j = 1 + 1 = 2, times the factor 1/21/2. The result is 11. Check: a signal from the steered direction comes out at full size, with no loss.
  4. Try a signal from the wrong direction. Now a signal arrives from 0∘0^\circ. Its readings are 11 and 11, because the extra phase is πsin⁡0∘=0\pi \sin 0^\circ = 0. The output is 12(1+(−j)⋅1)=12(1−j)\tfrac{1}{2}(1 + (-j) \cdot 1) = \tfrac{1}{2}(1 - j), which has size 0.710.71. Check: the beamformer still passes about 70 percent of the amplitude from 0∘0^\circ, so two elements alone are not a sharp filter.
  5. Compare with a signal from 90∘90^\circ. The extra phase is π\pi, so the readings are 11 and −1-1. The output is 12(1+(−j)(−1))=12(1+j)\tfrac{1}{2}(1 + (-j)(-1)) = \tfrac{1}{2}(1 + j), again size 0.710.71. Check: the pattern is symmetric in this simple case.
  6. Read the rule. Beamforming is a choice of weights. Steering picks weights that match the phases of one direction. Other goals, such as a null toward a jammer, pick different weights. More elements give more weights to choose from, so they give sharper control.

The plot shows the size of the output for this two-element beamformer as a function of the arrival angle. The curve peaks at 30∘30^\circ and falls to about 0.710.71 at 0∘0^\circ and 90∘90^\circ.

−1.5−1−0.500.511.500.20.40.60.81angle from straight ahead (radians)output size
  • two elements, steered to 30 degrees
The output is 1 at the steered direction (30 degrees). Away from it, the output falls, but with only two elements it does not fall to zero.

The math

Let there be NN elements on a line, spaced dd apart, and let xnx_n be the signal at element nn, counting from n=0n = 0. The beamformer forms one output by multiplying each signal by a complex weight wnw_n and adding:

y=∑n=0N−1wn∗ xn=wHx.y = \sum_{n=0}^{N-1} w_n^{*} \, x_n = \mathbf{w}^H \mathbf{x}.

Here w\mathbf{w} is the vector of weights, x\mathbf{x} is the vector of element signals, and wH\mathbf{w}^H is the conjugate transpose of w\mathbf{w}. The conjugate on each weight is the "undo" step from the walkthrough.

Step 1 in symbols: the element signals

A single plane wave with amplitude ss from direction θ\theta arrives at the elements with phases that step by ψ(θ)\psi(\theta) from one element to the next:

x=s a(θ),a(θ)=[1ejψ⋮ej(N−1)ψ],ψ=2πdλsin⁡θ.\mathbf{x} = s \, \mathbf{a}(\theta), \qquad \mathbf{a}(\theta) = \begin{bmatrix} 1 \\ e^{j\psi} \\ \vdots \\ e^{j(N-1)\psi} \end{bmatrix}, \qquad \psi = \frac{2\pi d}{\lambda}\sin\theta.

The vector a(θ)\mathbf{a}(\theta) is the steering vector. With d=λ/2d = \lambda/2, ψ=πsin⁡θ\psi = \pi \sin\theta, which matches Antenna Array.

Step 2 in symbols: steering to θ0\theta_0

Choose the weights as

w=a(θ0)N.\mathbf{w} = \frac{\mathbf{a}(\theta_0)}{N}.

These are the conjugates of the transmit phases in the antenna-array lesson, because a receiver undoes the phase that the wave carries. The response to a wave from direction θ\theta is

B(θ)=wHa(θ)=1N∑n=0N−1ejn(ψ−ψ0),ψ0=2πdλsin⁡θ0.B(\theta) = \mathbf{w}^H \mathbf{a}(\theta) = \frac{1}{N} \sum_{n=0}^{N-1} e^{jn(\psi - \psi_0)}, \qquad \psi_0 = \frac{2\pi d}{\lambda}\sin\theta_0.

The response is 11 at θ=θ0\theta = \theta_0, where every term is 11. In the walkthrough, N=2N = 2, θ0=30∘\theta_0 = 30^\circ gives B(30∘)=1B(30^\circ) = 1 and B(0)=12(1−j)B(0) = \tfrac{1}{2}(1 - j).

Step 3 in symbols: the closed form

For NN elements the sum is a geometric series with ratio ej(ψ−ψ0)e^{j(\psi - \psi_0)}. Its size is

∣B(θ)∣=∣sin⁡ ⁣(N(ψ−ψ0)/2)Nsin⁡ ⁣((ψ−ψ0)/2)∣.|B(\theta)| = \left| \frac{\sin\!\big(N(\psi - \psi_0)/2\big)}{N \sin\!\big((\psi - \psi_0)/2\big)} \right|.

The size is 11 at θ0\theta_0 and falls off as θ\theta moves away. The first null is at ψ−ψ0=2π/N\psi - \psi_0 = 2\pi/N. For a uniform array with d=λ/2d = \lambda/2 this is sin⁡θ=sin⁡θ0+2/N\sin\theta = \sin\theta_0 + 2/N, which is the rule behind the main-lobe width in Antenna Array.

Adaptive weights: the minimum-variance rule

Steering does not place nulls on purpose. To null an interferer, the weights can be chosen from the data. Let R=E[xxH]\mathbf{R} = \mathbb{E}[\mathbf{x}\mathbf{x}^H], the expected value of the outer product xxH\mathbf{x}\mathbf{x}^H, be the spatial Covariance Matrix of the element signals, which includes the interferers and the noise. The minimum-variance distortionless response (MVDR) weights, which use the inverse R−1\mathbf{R}^{-1}, minimise the output power wHRw\mathbf{w}^H \mathbf{R} \mathbf{w} while keeping the response at θ0\theta_0 fixed at 11:

min⁡w  wHRwsubject towHa(θ0)=1,\min_{\mathbf{w}} \; \mathbf{w}^H \mathbf{R} \mathbf{w} \quad \text{subject to} \quad \mathbf{w}^H \mathbf{a}(\theta_0) = 1,

whose solution is

w=R−1a(θ0)a(θ0)HR−1a(θ0).\mathbf{w} = \frac{\mathbf{R}^{-1} \mathbf{a}(\theta_0)}{\mathbf{a}(\theta_0)^H \mathbf{R}^{-1} \mathbf{a}(\theta_0)}.

Check: wHa(θ0)=aHR−1aaHR−1a=1\mathbf{w}^H \mathbf{a}(\theta_0) = \dfrac{\mathbf{a}^H \mathbf{R}^{-1} \mathbf{a}}{\mathbf{a}^H \mathbf{R}^{-1} \mathbf{a}} = 1, as the constraint requires. The power from an interferer's direction is large in R\mathbf{R}, so the weights place a null there. The desired direction still has response 11.

Worked examples

Example
1. Tiny: two elements steered to straight ahead
  1. Two elements, d=λ/2d = \lambda/2, steered to θ0=0\theta_0 = 0. The weights are w=[1,1]/2\mathbf{w} = [1, 1]/2.
  2. A signal from 90∘90^\circ has ψ=πsin⁡90∘=π\psi = \pi \sin 90^\circ = \pi, so a=[1,−1]\mathbf{a} = [1, -1].
  3. The output is wHa=12(1⋅1+1⋅(−1))=0\mathbf{w}^H \mathbf{a} = \tfrac{1}{2}(1 \cdot 1 + 1 \cdot (-1)) = 0.
  4. A signal from 30∘30^\circ has ψ=π/2\psi = \pi/2, so a=[1,j]\mathbf{a} = [1, j]. The output is 12(1+j)\tfrac{1}{2}(1 + j), which has size 0.710.71.
  5. Interpretation: the beamformer passes straight-ahead signals at full size and blocks the signal from the side completely. A signal at 30∘30^\circ is attenuated but not removed.
Example
2. Standard: four elements, a null on the interferer
  1. Four elements, N=4N = 4, d=λ/2d = \lambda/2. The desired user is at θ0=30∘\theta_0 = 30^\circ, so ψ0=π/2\psi_0 = \pi/2.
  2. Steering weights are wn=e−jnψ0/4w_n = e^{-jn\psi_0}/4, which gives w=[1,−j,−1,j]/4\mathbf{w} = [1, -j, -1, j]/4.
  3. Check the desired direction: ψ=π/2\psi = \pi/2, so ∑nwnejnπ/2=∑n1/4=1\sum_n w_n e^{jn\pi/2} = \sum_n 1/4 = 1. The response is 11.
  4. Now an interferer at θ=0\theta = 0. Here ψ=0\psi = 0, so the response is ∑nwn=(1−j−1+j)/4=0\sum_n w_n = (1 - j - 1 + j)/4 = 0.
  5. Now a second interferer at θ=90∘\theta = 90^\circ. Here ψ=π\psi = \pi, so the response is ∑nwn(−1)n=(1+j−1−j)/4=0\sum_n w_n (-1)^n = (1 + j - 1 - j)/4 = 0.
  6. Interpretation: the four-element steered beam passes 30∘30^\circ at full size and has exact nulls at 0∘0^\circ and 90∘90^\circ. Each null is exact for these two directions, because the weights were chosen to make the sum vanish there.
Example
3. Realistic: a 64-element base station with a nearby user

Suppose a base station operates at 28 GHz with 64 elements spaced half a wavelength apart, as in Antenna Array. It serves a phone at 20∘20^\circ, and another phone at −10∘-10^\circ shares the same time slot.

  1. The base station steers to the desired phone: ψ0=πsin⁡20∘≈1.0745\psi_0 = \pi \sin 20^\circ \approx 1.0745 rad.
  2. The interfering phone is at −10∘-10^\circ, with ψ=πsin⁡(−10∘)≈−0.5454\psi = \pi \sin(-10^\circ) \approx -0.5454 rad.
  3. The phase difference the beamformer sees is ψ−ψ0≈−1.6199\psi - \psi_0 \approx -1.6199 rad.
  4. Compute the half-angle N(ψ−ψ0)/2=64×(−1.6199)/2≈−51.84N(\psi - \psi_0)/2 = 64 \times (-1.6199)/2 \approx -51.84 rad. Its sine is about −1.00-1.00.
  5. Compute the denominator Nsin⁡((ψ−ψ0)/2)=64×sin⁡(−0.8099)≈64×(−0.7248)≈−46.39N \sin\big((\psi - \psi_0)/2\big) = 64 \times \sin(-0.8099) \approx 64 \times (-0.7248) \approx -46.39.
  6. The response to the interferer is ∣B∣≈1.00/46.39≈0.0216|B| \approx 1.00 / 46.39 \approx 0.0216. In power, this is 0.02162≈4.7×10−40.0216^2 \approx 4.7 \times 10^{-4}, which is 10log⁡10(4.7×10−4)≈−3310 \log_{10}(4.7 \times 10^{-4}) \approx -33 dB.
  7. Interpretation: the desired phone gets full response, and the interfering phone is reduced by about 33 dB. That is a large reduction from a simple steering rule, and it comes from the many elements. A larger array would reduce it further.

Try it: An 8-element array with half-wavelength spacing is steered straight ahead. Using the first-null rule ψ=2π/N\psi = 2\pi/N, find the angle of the first null on the positive side. Work it out before reading on.

Answer: The null is at ψ=2π/8=π/4\psi = 2\pi/8 = \pi/4. Since ψ=πsin⁡θ\psi = \pi \sin\theta, we need sin⁡θ=1/4\sin\theta = 1/4, so θ=arcsin⁡(0.25)≈14.5∘\theta = \arcsin(0.25) \approx 14.5^\circ. Fewer elements widen this angle, which is why small arrays have broad beams.

Common mistakes and tradeoffs

Mistake 1: "Beamforming is the same as beam steering." It is tempting to think beamforming only means pointing a beam. In fact steering is one choice of weights, w=a(θ0)/N\mathbf{w} = \mathbf{a}(\theta_0)/N. The general method picks any weights for any goal, including nulls, several beams at once, and the minimum-variance weights above.

Mistake 2: "The beamformer finds the signal by itself." It is tempting to think the array locks onto the strongest signal. In fact the array only does what its weights say. If the steering direction is wrong, the wanted signal loses gain. For example, a four-element array steered to 30∘30^\circ with a signal at 35∘35^\circ loses about 0.3 dB of gain, a small loss here, but the loss grows as the error grows. Finding the direction is a separate problem, solved by estimation methods.

Mistake 3: "Adaptive weights are always better." It is tempting to think that choosing weights from data is always superior to fixed steering. In fact MVDR needs a good estimate of R\mathbf{R}. With few samples the estimate is poor. If the desired signal is in the data used to estimate R\mathbf{R}, the adaptive rule can treat it as an interferer and cancel it. Errors in element phase and gain (calibration) also hurt, because the steering vector no longer matches the real array.

When to use it: when several directions need separate attention: many users, interferers, radar clutter, or sound from one talker in noise. Phased arrays and digital beamformers are the usual forms.

When not to use it: when a single fixed beam is enough, a horn or dish antenna is cheaper and simpler. Beamforming also needs phase and amplitude control at each element, which costs power and hardware.

Alternatives: analog beamforming uses one signal chain with phase shifters, which is cheap but gives one beam at a time. Digital beamforming gives every element its own converter and full freedom in the weights, which costs more power. Hybrid designs, discussed in Hybrid Precoding, combine a few digital chains with analog phase shifters.

History

In the 1940s and 1950s, radar engineers built phased arrays that steered a beam by changing phases. This is the steering rule in Antenna Array, applied with analog hardware.

In the 1960s and early 1970s, researchers published adaptive methods that chose weights from measured data, to place nulls on interferers. Minimum-variance methods are one result of this work. The methods caught on slowly, because computing the weights from data needed much more arithmetic than steering.

Digital electronics made the data-driven weights practical. Sonar, radar and radio telescopes used digital beamforming first. In the 2010s and 2020s, cellular standards for millimetre-wave networks moved beamforming into base stations and phones, where it is now a standard part of the radio.

Recap

  • Beamforming chooses a complex weight for each element, then adds the weighted signals.
  • Steering uses weights w=a(θ0)/N\mathbf{w} = \mathbf{a}(\theta_0)/N, which give full response at θ0\theta_0 and lower response elsewhere.
  • More elements give sharper control, and the weights can also place nulls. MVDR chooses weights from the covariance matrix R\mathbf{R} to keep the desired response fixed while minimising output power.
  • Beamforming depends on knowing the direction and on calibration, and data-driven weights need enough samples.

Next, read Hybrid Precoding to see how beamforming is split between analog and digital parts, or MIMO (Multiple-Input Multiple-Output) to see how several beams carry several data streams at once.

Check yourself

QuestionRecall: what does the conjugate in y=wHxy = \mathbf{w}^H \mathbf{x} do to a steering phase?Show answer

It undoes the phase that a wave from the steered direction carries on each element. Multiplying by the conjugate turns each element's reading back into the same complex number, so their sum adds up in phase.

QuestionComputation: a two-element array with half-wavelength spacing is steered straight ahead, with weights [1,1]/2[1, 1]/2. What is the response to a signal from 60∘60^\circ?Show answer

Here ψ=πsin⁡60∘=π⋅0.866≈2.72\psi = \pi \sin 60^\circ = \pi \cdot 0.866 \approx 2.72 rad. The response is 12(1+ej⋅2.72)\tfrac{1}{2}(1 + e^{j \cdot 2.72}). Its size is ∣cos⁡(2.72/2)∣=∣cos⁡(1.36)∣≈0.21\left|\cos(2.72/2)\right| = |\cos(1.36)| \approx 0.21.

QuestionWhy: a four-element array has weights [1,−j,−1,j]/4[1, -j, -1, j]/4, which give exact nulls at 0∘0^\circ and 90∘90^\circ. Why does a null at a direction require a particular weight pattern, and not just any set of weights?Show answer

A null at a direction means the weighted sum of the element readings for that direction is zero. That is one equation on the weights for each null. Four weights have four free values, so the array can satisfy the two null equations and the steering equation together, but only with weights chosen to satisfy them. Random weights would not give zeros in those directions.

QuestionApplied: a 16-element phased array steers toward a satellite, and a second satellite sits at a direction 10 degrees away. A designer proposes to replace steering with MVDR weights estimated from only three snapshots of data. What is the main risk?Show answer

With only three snapshots, the covariance estimate is poor and far from the true R\mathbf{R}. The MVDR weights then follow the noise in the estimate, which can place nulls in the wrong places or cancel the desired satellite's signal, if it appears in the data. A safer design uses more snapshots or keeps fixed steering with known weights.

Sources