---
title: Phased arrays and beamforming
heading: Steering a beam with no moving parts by feeding a row of antennas with a progressive phase, the array factor and its main lobe, beamwidth against aperture, the array gain, the grating lobes that appear when elements are too far apart, and phased arrays in radar and 5G
eyebrow: D9 · Lesson 8 · Phased arrays and beamforming
xp: 40
---

::: hook
A dish antenna points its beam by physically turning. A **phased array** points its beam electronically: a grid of small antennas, each fed the same signal with a slightly different delay, so that their waves add up in one chosen direction and cancel elsewhere. Change the delays and the beam jumps to a new direction in microseconds. Warship radars track hundreds of targets this way, satellite-internet terminals on rooftops follow satellites across the sky without moving, and 5G base stations aim a separate beam at each phone.
:::

::: play
- The array factor, in decibels, of N antennas in a line spaced d wavelengths apart, against angle from broadside, with the phase of each element advanced to steer the beam toward $\theta_0$.
- More elements make a narrower beam with lower sidelobes. Steering broadens the beam a little.
- Spread the elements wider than half a wavelength and steer far: a second main beam, a **grating lobe**, appears on the other side.
:::

```sim plot
view: graph
x: t = -90..90
y: A = -40..1
slider: N = 2..32 step 1 = 8
slider: d = 0.25..1.5 step 0.05 = 0.5
slider: s = -60..60 step 1 = 0
plot: 20*log(abs(sin(N*pi*d*(sin(t*pi/180) - sin(s*pi/180)))/(N*sin(pi*d*(sin(t*pi/180) - sin(s*pi/180))) + 1e-9)) + 1e-9) | samples: 1500 | label: array factor, dB (t = angle from broadside, °)
marker: x = s | label: steered to
readout: phase step between elements, ° = 360*d*sin(s*pi/180) | digits: 3
readout: approximate beamwidth, ° = 0.886/(N*d*cos(s*pi/180))*180/pi | digits: 3
readout: array gain, dB = 10*log(N) | digits: 3
```

::: predict
## Eight antennas half a wavelength apart are to steer their beam 30° from broadside. What phase step is needed from one element to the next?

- [ ] 30°
- [ ] 45°
- [x] 90°
- [ ] 180°

::: reveal
Toward 30°, each element's path to a distant receiver is shorter than its neighbor's by $d\sin\theta_0$ = 0.5λ × 0.5 = λ/4, so each element must be fed 360° × 0.25 = 90° later than the one ahead of it to arrive in step. The beam is about 0.886/(8 × 0.5) rad = 12.7° wide at broadside (12.8° exactly), widening to 14.7° at 30°.
:::
:::

::: nameit
## The array factor

N identical elements spaced d apart along a line, each fed with a phase that advances by β from one to the next, produce a pattern equal to one element's pattern times the **array factor**

$$AF(\theta) = \frac{\sin(N\psi/2)}{N\sin(\psi/2)}, \qquad \psi = kd\sin\theta + \beta$$

which peaks where ψ = 0. Choosing $\beta = -kd\sin\theta_0$, a phase step of $360°(d/\lambda)\sin\theta_0$, steers the peak to $\theta_0$.

## Beamwidth and gain

The main lobe's half-power width is about

$$\theta_{3\text{dB}} \approx \frac{0.886\lambda}{Nd\cos\theta_0}\ \text{rad}$$

so a longer array makes a narrower beam, and steering broadens it by $1/\cos\theta_0$ because the array looks shorter from the side. The first sidelobes of a uniform array are 13.3 dB down; tapering the element amplitudes lowers them at the cost of a wider beam. N elements give an **array gain** of N (10 log N dB) over one element, on transmit and again on receive.

## Grating lobes

If the elements are too far apart, ψ can reach ±360° within visible angles and the array factor peaks again: a **grating lobe**. Avoiding them for steering out to $\theta_0$ requires

$$d < \frac{\lambda}{1 + |\sin\theta_0|}$$

so arrays that steer widely use half-wavelength spacing: 5.35 mm at 28 GHz, so a 64-element 5G panel is only about 4 cm square.
:::

::: example
## An eight-element, half-wavelength array steers to 60°. How wide is its beam? Can a 0.7λ array steer to 45° without grating lobes?

::: solution
1. **Beamwidth at 60°.**
   $$\begin{aligned} \theta_{3\text{dB}} &= \frac{0.886}{8 \times 0.5 \times \cos 60^\circ}\ \text{rad} \\ &= 25.4^\circ \end{aligned}$$
   That's twice the broadside width.
2. **Spacing limit at 45°.** To steer to 45° without grating lobes, the spacing in wavelengths must be under
   $$\frac{1}{1 + 0.707} = 0.586$$
3. **The 0.7λ array.** 0.7λ is wider than that, so it will show a grating lobe.

**Answer:** the beam is 25.4° wide, and the 0.7λ array can't steer to 45° without a grating lobe.
:::
:::

::: example
## What array gain do 8 and 64 elements give?

::: solution
1. **Eight elements.**
   $$10\log_{10} 8 = 9.0\ \text{dB}$$
2. **Sixty-four elements.**
   $$10\log_{10} 64 = 18.1\ \text{dB}$$
3. **Both ends of a link.** A 64-element panel at both ends of a link gains 36 dB over single elements.

**Answer:** 9.0 dB for 8 elements and 18.1 dB for 64, per direction.
:::
:::

::: example
## What phase step between neighboring elements steers a half-wavelength array to 30°?

::: solution
1. **Phase step.**
   $$\begin{aligned} \Delta\phi &= 2\pi\frac{d}{\lambda}\sin\theta \\ &= 360^\circ \times 0.5 \times 0.5 \\ &= 90^\circ \end{aligned}$$
2. **What it means.** Each element leads its neighbor by a quarter cycle, so their waves line up along 30°.

**Answer:** a phase step of 90° between neighbors.
:::
:::

::: check
given: d = 0.25 | 0.5 | 0.7; t = 15 | 30 | 60
answer: 360*d*sin(t*pi/180)
unit: °
tolerance: 0.5%

## Elements {d} wavelengths apart must steer a beam {t}° from broadside. What phase step between neighbors is needed?

::: right
Right. $360°(d/\lambda)\sin\theta_0$ = {answer}°.
:::

::: misses
- [360*d*cos(t*pi/180)] The path difference goes with sin θ₀, measured from broadside.
- [any] Not yet. Path difference per element, in degrees.
:::
:::

::: check
given: N = 4 | 16 | 64; d = 0.5 | 0.7; t = 20 | 30 | 45
answer: 0.886/(N*d*cos(t*pi/180))*180/pi
unit: °
tolerance: 1%

## A uniform array of {N} elements {d} λ apart is steered {t}° from broadside. About how wide is its beam?

::: right
Right. $0.886\lambda/(Nd\cos\theta_0)$ = {answer}°.
:::

::: misses
- [0.886/(N*d)*180/pi] Steering broadens the beam by $1/\cos\theta_0$.
- [any] Not yet. Beamwidth from the array's length.
:::
:::

::: check
given: t = 20 | 45 | 60
answer: 1/(1 + sin(t*pi/180))
tolerance: 0.5%

## How far apart, in wavelengths, can elements be and still steer to {t}° without a grating lobe?

::: right
Right. $1/(1 + \sin\theta_0)$ = {answer} λ.
:::

::: misses
- [1/sin(t*pi/180)] The grating lobe must stay beyond −90°: $1/(1 + |\sin\theta_0|)$.
- [any] Not yet. The grating-lobe condition.
:::
:::

::: check
given: N = 4 | 16 | 256
answer: 10*log(N)
unit: dB
tolerance: 0.5%

## What's the array gain of {N} elements?

::: right
Right. $10\log_{10}N$ = {answer} dB.
:::

::: misses
- [20*log(N)] Gain is a power ratio: 10 log N.
- [any] Not yet. N elements, N times the power density.
:::
:::

::: check
kind: parts
given: d = 0.5 | 0.25; t = 15 | 30 | 45

## An array with element spacing {d} λ steers to {t}°.

::: part
answer: 360*d*sin(t*pi/180)
unit: °
tolerance: 0.5%

### What phase step between neighbors does it need?

::: misses
- [any] $360° (d/\lambda)\sin\theta$.
:::
:::

::: part
answer: 1/(1 + sin(t*pi/180))
unit: λ
tolerance: 0.5%

### What is the largest spacing that avoids grating lobes at that angle?

::: misses
- [any] $\lambda/(1 + \sin\theta)$.
:::
:::
:::

::: check
kind: parts
given: N = 4 | 16 | 64 | 256

## A phased array has {N} elements.

::: part
answer: 10*log(N)
unit: dB
tolerance: 0.5%

### What array gain does it give?

::: misses
- [any] $10\log_{10}N$.
:::
:::

::: part
answer: 20*log(N)
unit: dB
tolerance: 0.5%

### How much does the transmit EIRP rise if each element has its own amplifier of the same power?

::: misses
- [any] Gain and total power both grow as N: $20\log_{10}N$.
:::
:::
:::

::: explain
## How does changing the phases of the elements steer a phased array's beam?

::: model
Each element radiates the same signal, and at a distant point the waves from all of them add. In the direction straight ahead of the array they travel equal distances, so if they're fed in phase they arrive in phase and add up to a strong beam there. In any other direction the paths differ by a fixed amount from one element to the next, so the waves arrive with a progressive phase lag and largely cancel. Feeding each element with a phase advance that exactly undoes that lag for a chosen direction makes the waves arrive in step there instead, so the beam points that way, and changing the phase settings moves it instantly with nothing turning.
:::
:::

::: practice

::: check
given: d = 0.1 | 1; t = 1 | 89
answer: 360*d*sin(t*pi/180)
unit: °
tolerance: 0.5%

## Phase step: d = {d} λ, θ₀ = {t}°?

::: misses
- [any] $360°(d/\lambda)\sin\theta_0$.
:::
:::

::: check
given: t = 1 | 15 | 30 | 45 | 60 | 80
answer: 1/(1 + sin(t*pi/180))
tolerance: 0.5%

## Largest spacing for steering to {t}°?

::: misses
- [any] $1/(1 + \sin\theta_0)$.
:::
:::
:::
