Modelcore
Clarke model
Also called Clarke's model, Jakes Doppler spectrum.
A receiver moving through isotropic scattering in the plane. It gives Rayleigh fading in time with autocorrelation Omega J0(2 pi f_D tau) and a U-shaped Doppler spectrum on |f| < f_D.
Clarke's model describes the complex gain of a flat fading channel at a receiver that moves through a field of scattered waves arriving from all directions in the horizontal plane with equal probability. The gain is a circular complex Gaussian process, so its envelope is Rayleigh at every instant, and its autocorrelation is , where is the maximum Doppler frequency. The Fourier transform of this correlation is the U-shaped Doppler spectrum on . Clarke (1968) gave the model; Jakes (1974) made the spectrum standard. This page is about the spectrum and the process. Programs that generate sample paths with these statistics are on separate pages: the Jakes simulator, the Zheng and Xiao simulator and the filtered Gaussian simulator.
The machine
A receiver moves at speed in meters per second. A carrier at frequency in hertz, with wavelength , reaches it over paths. Path arrives in the horizontal plane at angle to the direction of motion, with amplitude and phase . The complex baseband gain is
The standing assumptions are:
- Isotropic scattering. The angles are independent and uniform on .
- Random phases. The phases are independent, uniform on , and independent of the angles.
- Equal small powers. No path dominates, there is no line of sight, and .
- Flat fading in the plane. All paths have nearly the same delay compared with the symbol time, all waves travel in the horizontal plane, and the antenna is omnidirectional in that plane.
- A local area. The receiver moves a few tens of wavelengths, so the set of scatterers, the speed and the mean power stay fixed.
As , the central limit theorem makes a zero-mean circular complex Gaussian process. The model then describes time-correlated fading: at each time the gain is that of the Rayleigh fading channel, and the gains at different times are linked by the autocorrelation below. The model is of the channel only. It says nothing about channel knowledge; pages that use it state whether the receiver has CSIR, for example from channel estimation, and whether there is CSIT.
What it counts
The model predicts the second-order statistics of , and from them the statistics of fades in time and in space.
Autocorrelation and spectrum.
and for . Here is the Bessel function of the first kind and order zero. The spectrum integrates to , has mean and RMS width , and is infinite at .
In-phase and quadrature parts. With , each part has autocorrelation , and the cross-correlation is zero at every lag because the spectrum is even.
Values of the correlation. falls to at , to at and to at , the first zero. After that it oscillates with . These values give the coherence time of the model.
Space instead of time. In time the receiver moves , and . So two antennas on the receiver spaced apart, in the same field, have gains with correlation : at and at . At the value is . This is why antennas at a mobile placed about half a wavelength apart give useful diversity, a rule that holds only under isotropic scattering.
Fade statistics. The rate at which the envelope crosses a level going down, and the mean time it stays below, are
with and at . The proof is on the level crossing rate page.
A worked example. At m/s and MHz, Hz and m. After ms, and . The correlation reaches after ms, when the receiver has moved cm, which is .
Computing the correlation
The function below evaluates as the mean of over equally spaced angles, which is the model with paths in fixed directions. The integrand is smooth and periodic, so the midpoint rule converges faster than any power of : its error is of the order of , far below rounding error once is well above .
CLARKE-CORRELATION(τ, f_D, Ω) ▷ R(τ) = Ω J0(2π f_D τ)- 1
x ← 2π · f_D · τ - 2
N ← 32 + ⌈|x|⌉ - 3
s ← Σ_{n=0}^{N-1} cos(x · cos(π (n + 1/2) / N)) ▷ midpoint rule on [0, π] - 4
return Ω · s / N DOPPLER-SPECTRUM(f, f_D, Ω) ▷ S(f), Clarke's U-shaped spectrum- 5
if |f| ≥ f_D then return 0 - 6
return Ω / (π · f_D · √(1 - (f / f_D)²))
The cost is operations. The tests compare the result with the power series of and with its known zeros, check the values on this page, integrate the spectrum against the correlation, and compare a Monte Carlo average over random angles and phases with within a stated tolerance.
Relation to other models
- Rayleigh fading. At a single time Clarke's model is the Rayleigh fading channel. The model adds the time dimension that block and fast fading leave out.
- Rician fading. A fixed line-of-sight path at angle adds a constant times and gives the Rician channel with a spectral line at .
- Generators. Clarke's model is a statement about a Gaussian process, not a program. The Jakes simulator sums a few sinusoids with fixed angles; Pop and Beaulieu (2001) showed that it is not wide-sense stationary. The Zheng and Xiao simulator draws random angles and phases to repair this. The filtered Gaussian simulator shapes white Gaussian noise with a filter whose power response approximates . Each matches the model only approximately; its page states the error.
- Frequency-selective channels. In a tapped delay line model each tap can be an independent Clarke process. Under the WSSUS model this means a scattering function that is the power delay profile times the Clarke spectrum.
- Geometric models. A geometry-based stochastic model with scatterers on a ring around the mobile and a distant base station reduces to Clarke's model at the mobile. Seen from the base station, the same ring gives a narrow angle spread and a much slower spatial decorrelation.
- Tracking. The spectrum is not rational, so no finite autoregressive model has exactly the correlation . Kalman channel tracking uses an autoregressive fit, which is an approximation.
Known results in the model
- The autocorrelation (a closed form under isotropic scattering). With the phases independent and uniform, the cross terms vanish: for . So
The result does not need : it holds for any with random angles and phases. Gaussianity is what needs a large .
- The Doppler spectrum (a closed form under isotropic scattering). Path contributes power at the frequency , so is the density of for uniform . Each in comes from two angles, and . So the density is , which is the formula above. Its variance is .
- Independence of the gain and its derivative. , since . With circular symmetry, as well, and for jointly Gaussian variables zero correlation is independence. The derivative has power , from . These two facts give the level crossing rate.
- A band-limited process. is zero outside , so by the sampling theorem samples at a rate above determine . This is the basis of the pilot spacing in pilot-symbol-assisted modulation.
- Bounds on the coherence time. Fleury's uncertainty relation with gives for . At the level the bound is against the true ; see coherence time.
Pitfalls
- Model and simulator. "Jakes model" often names the simulator and "Jakes spectrum" the spectrum. A simulation with a few fixed angles does not reproduce at long lags and is not stationary; quote which one is meant.
- The peaks at . They come from exact isotropy in a plane. Measured spectra are finite, and directional antennas or a limited angle spread change the shape of the spectrum completely.
- Envelope correlation. is the correlation of the complex gain. The correlation coefficient of the envelopes is close to and never negative.
- The base station. Isotropic scattering is a fair assumption around a mobile in a city. At an elevated base station the waves come from a narrow sector, and does not give the antenna correlation there.
- The frequency in . uses the carrier frequency, not the signal bandwidth. At GHz the same speed gives fourteen times the Doppler of GHz.
Code
Each implementation follows the pseudocode above. A comment @line links a line of code to a line of the pseudocode. Point at a line of the pseudocode to see the matching code. The build runs the native tests of each language.
# SPDX-License-Identifier: MIT
# Part of https://algorithm.tamnd.com/clarke-model/. The authors are listed in prov/2J0WV7.jsonl.
"""Clarke's model: the autocorrelation Omega J0(2 pi f_D tau) and the U-shaped Doppler spectrum.
f_D = v f_c / c is the maximum Doppler frequency in hertz and Omega the mean power E|h|^2.
"""
import math
SPEED_OF_LIGHT = 299_792_458.0
def max_doppler(speed: float, carrier: float) -> float:
"""f_D = v f_c / c for a speed in m/s and a carrier in Hz."""
return speed * carrier / SPEED_OF_LIGHT
def bessel_j0(x: float) -> float:
"""J0(x) as the mean of cos(x cos theta) over N midpoints of [0, pi]."""
n = 32 + math.ceil(abs(x)) # @line L2
s = math.fsum(math.cos(x * math.cos(math.pi * (k + 0.5) / n)) for k in range(n)) # @line L3
return s / n
def clarke_correlation(tau: float, f_d: float, omega: float = 1.0) -> float:
"""R(tau) = E[h(t + tau) h*(t)] = Omega J0(2 pi f_D tau)."""
x = 2 * math.pi * f_d * tau # @line L1
return omega * bessel_j0(x) # @line L4
def doppler_spectrum(f: float, f_d: float, omega: float = 1.0) -> float:
"""S(f) = Omega / (pi f_D sqrt(1 - (f/f_D)^2)) for |f| < f_D, and 0 outside."""
if f_d <= 0:
raise ValueError("f_d must be positive")
if abs(f) >= f_d: # @line L5
return 0.0
return omega / (math.pi * f_d * math.sqrt(1 - (f / f_d) ** 2)) # @line L6
def rms_doppler_spread(f_d: float) -> float:
"""The RMS width of Clarke's spectrum, f_D / sqrt(2)."""
return f_d / math.sqrt(2)
test_clarke_model.py 123 lines
# SPDX-License-Identifier: MIT
# Part of https://algorithm.tamnd.com/clarke-model/. The authors are listed in prov/2J0WV7.jsonl.
import cmath
import math
import random
from clarke_model import (
bessel_j0,
clarke_correlation,
doppler_spectrum,
max_doppler,
rms_doppler_spread,
)
def j0_series(x: float) -> float:
"""The power series sum_k (-x^2/4)^k / (k!)^2, accurate for |x| <= 20."""
s, t, k = 0.0, 1.0, 0
while k < 120:
s += t
k += 1
t *= -(x * x / 4) / (k * k)
return s
def bisect(f, a: float, b: float) -> float:
for _ in range(80):
m = (a + b) / 2
if f(a) * f(m) <= 0:
b = m
else:
a = m
return (a + b) / 2
def test_against_series() -> None:
for i in range(0, 401):
x = i * 0.05
# The series loses digits to cancellation as x grows; the midpoint rule does not.
assert abs(bessel_j0(x) - j0_series(x)) < (1e-12 if x <= 10 else 1e-9)
assert bessel_j0(-x) == bessel_j0(x)
assert abs(bessel_j0(1.0) - 0.7651976865579666) < 1e-14
def test_zeros_and_large_arguments() -> None:
for z in (2.404825557695773, 5.520078110286311, 8.653727912911013, 30.634606468431976):
assert abs(bessel_j0(z)) < 1e-13
# Asymptotic form sqrt(2/(pi x)) cos(x - pi/4) at a large argument.
x = 1000.0
assert abs(bessel_j0(x) - math.sqrt(2 / (math.pi * x)) * math.cos(x - math.pi / 4)) < 1e-5
def test_check_values() -> None:
corr = lambda u: clarke_correlation(u, 1.0)
assert abs(bisect(corr, 0.3, 0.45) - 0.38274) < 5e-6
assert abs(bisect(lambda u: corr(u) - 0.5, 0.1, 0.3) - 0.2421) < 5e-5
assert abs(bisect(lambda u: corr(u) - 0.9, 0.05, 0.2) - 0.1020) < 5e-5
assert abs(bisect(lambda u: corr(u) ** 2 - 0.5, 0.1, 0.25) - 0.1793) < 5e-5
# Coherence time rules: 0.423/f_D is past the first zero.
assert abs(corr(0.423) - (-0.1235)) < 5e-4
assert abs(bessel_j0(math.pi) - (-0.3042)) < 5e-5
# The worked example: 30 m/s at 900 MHz, tau = 1 ms.
fd = max_doppler(30.0, 900e6)
assert abs(fd - 90.062) < 1e-3
assert abs(clarke_correlation(1e-3, fd) - 0.9215) < 5e-5
assert abs(clarke_correlation(1e-3, fd, 2.0) - 2 * clarke_correlation(1e-3, fd)) < 1e-15
# Fleury's bound with sigma_nu = f_D / sqrt(2).
for i in range(1, 100):
u = i / 100 / (2 * math.sqrt(2))
assert abs(corr(u)) >= math.cos(math.sqrt(2) * math.pi * u) - 1e-12
def test_spectrum_integrals() -> None:
fd, omega = 50.0, 3.0
n = 4000
us = [-math.pi / 2 + math.pi * (k + 0.5) / n for k in range(n)]
du = math.pi / n
# f = f_D sin u removes the singularities at the band edges.
w = [doppler_spectrum(fd * math.sin(u), fd, omega) * fd * math.cos(u) * du for u in us]
fs = [fd * math.sin(u) for u in us]
assert abs(sum(w) - omega) < 1e-9
assert abs(sum(wi * f for wi, f in zip(w, fs))) < 1e-9
var = sum(wi * f * f for wi, f in zip(w, fs)) / omega
assert abs(math.sqrt(var) - rms_doppler_spread(fd)) < 1e-9
for tau in (0.0, 0.001, 0.004, 0.01, 0.03):
r = sum(wi * math.cos(2 * math.pi * f * tau) for wi, f in zip(w, fs))
assert abs(r - omega * j0_series(2 * math.pi * fd * tau)) < 1e-9
# Power within |f| < f_D / 2 is (2/pi) arcsin(1/2) = 1/3 of the total.
m = 20000
inner = sum(doppler_spectrum(-fd / 2 + fd * (k + 0.5) / m, fd) for k in range(m)) * fd / m
assert abs(inner - 1 / 3) < 1e-6
assert doppler_spectrum(fd, fd) == 0.0 and doppler_spectrum(-2 * fd, fd) == 0.0
def test_monte_carlo_sum_of_paths() -> None:
# Random angles and phases, M paths of power omega/M each: the mean of
# h(tau) h*(0) over draws estimates omega J0(2 pi f_D tau).
rng = random.Random(2024)
fd, omega, m, draws = 100.0, 1.0, 8, 4000
taus = (0.0, 0.001, 0.0024, 0.005)
acc = [0j] * len(taus)
power = 0.0
for _ in range(draws):
th = [rng.uniform(0, 2 * math.pi) for _ in range(m)]
ph = [rng.uniform(0, 2 * math.pi) for _ in range(m)]
amp = math.sqrt(omega / m)
h0 = sum(amp * cmath.exp(1j * p) for p in ph)
power += abs(h0) ** 2
for i, tau in enumerate(taus):
ht = sum(amp * cmath.exp(1j * (2 * math.pi * fd * math.cos(t) * tau + p)) for t, p in zip(th, ph))
acc[i] += ht * h0.conjugate()
assert abs(power / draws - omega) < 0.08
for a, tau in zip(acc, taus):
assert abs(a / draws - clarke_correlation(tau, fd, omega)) < 0.08
def test_bad_input() -> None:
try:
doppler_spectrum(0.0, 0.0)
except ValueError:
return
raise AssertionError("expected ValueError")
References
- R. H. Clarke, A statistical theory of mobile-radio reception, Bell System Technical Journal 47(6), 1968, pp. 957 to 1000 (the field at a moving receiver as a sum of plane waves from random directions, its Gaussian statistics, correlation and spectrum)
- William C. Jakes (editor), Microwave Mobile Communications, Wiley, 1974; reissued by IEEE Press, 1994, the chapter on multipath interference (the Doppler power spectrum of the field under uniform angles of arrival, its correlation functions and the level crossing rate)
- Theodore S. Rappaport, Wireless Communications, Principles and Practice, second edition, Prentice Hall, 2002, Section 5.7.1 (Clarke's model for flat fading) and Section 5.7.2 (simulation of Clarke and Gans fading models)
- Andrea Goldsmith, Wireless Communications, Cambridge University Press, 2005, Section 3.2.1 (autocorrelation, cross-correlation and power spectral density under uniform scattering)
Where this leads
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.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Code (python) | I0 not checked yet |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag 2J0WV7 Edit this page History Report an error Markdown