Arrays, scenes and beamformers
| Problem | Model what an array of antennas receives from point sources, a noisy sky and its own receivers, and combine the elements to favour a desired signal and suppress the rest |
| Devised by | Karl Ferdinand Braun (1905), the phased array; Sidney Applebaum (1966) and Bernard Widrow (1967), adaptive arrays; Jack Capon (1969), minimum variance; Otis Frost (1972), linearly constrained beamforming; Irving Reed, John Mallett and Lawrence Brennan (1974), sample-matrix inversion |
| Accuracy | Exact for the modelled covariance: max-SNR and MVDR reach the optimum SINR, LCMV meets its constraints to rounding (table below); with estimated covariances, the SINR loss follows the Reed-Mallett-Brennan law |
| Cost | Covariance per source, for a scene on sky samples; MVDR and LCMV ; max-SNR an eigenproblem |
| Read first | Antenna models: dipoles, loops, dishes and patches, Background: sampling and aliasing |
| API | SensorArray (from_antenna, linear_positions, planar_positions, steering_vector, response_matrix, pattern_at, array_pattern), PointSource, BrightnessScene, Scene, synthesize_snapshots, sample_covariance, cfm_for_direction, cfm_beamformer, max_snr_beamformer, mvdr_beamformer, lcmv_beamformer, sinr |
Overview
An array of antennas samples an incoming wave at places. A plane wave from direction reaches each element with that element’s pattern and a phase set by its position: together, the steering vector . The array output is a weighted sum. The weights shape a beam, steering it electronically without moving anything. A beamformer chooses them. The conventional or conjugate field match (CFM) beamformer matches the weights to the desired steering vector. The adaptive beamformers use the received covariance to place nulls on interference: max-SNR, MVDR (minimum variance distortionless response), and LCMV (linearly constrained minimum variance). This entry also covers the signal models that produce the covariance: point sources, distributed sky and ground emission, and receiver noise.
Where it is used
Combining the signals of many small antennas gives a steerable beam without moving anything.
- 5G and Wi-Fi. Massive-MIMO base stations steer narrow beams toward each user and null the interference from others.
- Radar and sonar. Phased-array radars (airport surveillance, naval radars, automotive radar) and sonar arrays scan electronically.
- Radio astronomy. Telescopes such as LOFAR and the SKA combine thousands of antennas into a single sensitive beam.
- Microphone arrays. Conferencing systems and smart speakers use the same algorithms to focus on a talker.
History
Karl Ferdinand Braun (1905) steered a radio beam with three phased antennas. Phased arrays grew with radar in the Second World War and in radio astronomy afterwards. Adaptive arrays that cancel jamming appeared in the 1960s: Sidney Applebaum’s sidelobe canceller (1966, published 1976) and Bernard Widrow’s LMS array (1967). Jack Capon (1969) introduced the minimum-variance distortionless beamformer for seismic arrays, and Otis Frost (1972) generalised it to linear constraints. Irving Reed, John Mallett and Lawrence Brennan (1974) showed how many snapshots an adaptive array needs when it estimates its covariance. Today the same mathematics serves radar, 5G massive MIMO, sonar and radio telescopes.
The idea
Arrays and steering vectors
An array is a set of antennas whose outputs are combined. A plane wave arriving from a given direction reaches the elements at slightly different times, because some are closer to the source than others. For a narrow-band signal a time difference is a phase difference: an element at position receives the wave from the direction of the unit vector with the phase factor , where . The list of these factors for all the elements, each multiplied by the element’s own response, is the steering vector of the direction . It is the array’s signature of that direction.
A beamformer multiplies each element’s output by a complex weight and adds them, forming . If the weights undo the phase differences of one direction, the contributions from that direction add in step, while those from other directions partly cancel. The array then has a beam pointing in the chosen direction, with no moving parts. The rest of this entry is about choosing the weights.
SensorArray holds elements with positions and far-field patterns . The patterns are either analytic (an antenna model with an orientation) or sampled (a pattern container, which can include mutual coupling as embedded element patterns). Element ’s response to a wave of Jones polarisation is
. These responses form the steering vector, and the array pattern for weights is . Spacing matters for a reason that is the sampling theorem in space (see sampling and aliasing): elements apart sample the wavefront at rate , so directions are distinguishable without ambiguity only if , and wider spacing produces grating lobes, extra main beams at angles that alias onto the intended one. A uniform line of elements apart sees only the angle to its axis: a source at and one at in the plane of the axis are indistinguishable.
Scenes and covariance
A point source of flux density and polarisation coherency contributes , with the response matrix. A brightness scene, a map of noise temperature over the far-field sphere such as warm ground and cold sky, contributes
for unpolarised emission. A lossless antenna in a uniform sky then sees exactly . Receiver noise adds . The Scene sums these into
, and synthesize_snapshots draws complex Gaussian samples with that covariance.
Beamformers
The output has power , where is the covariance of the element outputs. Splitting into the part due to the desired signal and the part due to interference and noise, the figure of merit is the SINR, , the ratio of desired signal to interference plus noise at the output. Four classical choices of weights follow, from the simplest to the most flexible; is the steering vector of the direction of interest.
- CFM: , the matched filter, optimal in spatially white noise. For a distributed desired field it is the dominant eigenvector of .
- Max-SNR: maximise the SINR directly. This is the generalised eigenproblem , solved by whitening with the Cholesky factor of . Its largest eigenvalue is the optimum SINR.
- MVDR (minimum variance distortionless response): minimise the output power subject to unit gain toward the look direction, . The constraint protects the wanted signal, so the only way to reduce the output power is to reject everything else. A Lagrange multiplier gives , and the constraint fixes : . For a point-source signal it equals max-SNR, and it needs only the total covariance.
- LCMV: minimise the output power subject to several responses . The solution is , for example unit gain on the target and exact nulls on known jammers.
A 16-element array of half-wave dipoles at 1.5 GHz looks for a weak signal at amid two jammers 43 dB above the noise, a 290 K ground, a 10 K sky and 75 K receivers:
Figure 20.5. Beam patterns.
| beamformer | SINR (dB) | jammer 1 response (dB) | jammer 2 response (dB) |
|---|---|---|---|
| CFM | -14.77 | -59.3 | -35.3 |
| max-SNR | 6.72 | -101.3 | -101.1 |
| MVDR | 6.72 | -101.3 | -101.1 |
| LCMV (look + 2 nulls) | 6.72 | -300.0 | -300.0 |
The CFM beam leaves the jammers in its sidelobes. The adaptive beamformers null them by 100 dB or more and recover the full SINR, and LCMV’s explicit nulls are exact to rounding.
Learning from snapshots
In practice is estimated from snapshots, . With interference-plus-noise training data, Reed, Mallett and Brennan showed that the expected SINR of , relative to the optimum, is . So snapshots lose 3 dB:
Figure 20.6. SMI loss.
If the training data contains the desired signal, the loss is larger and the signal partly cancels itself. Diagonal loading and constraints guard against that.
Algorithm
Steering vector for a direction and a polarisation: for each element, evaluate its pattern in that direction, take its component along the polarisation, and multiply by the phase factor of the element’s position.
Covariance of a scene: start from zero and add the contribution of each part. A point source adds . A brightness map adds its integral over the sphere, computed by quadrature: the weighted sum of over the quadrature directions. The receivers add a multiple of the identity.
Beamformer weights.
- CFM: normalise the steering vector, or take the dominant eigenvector of .
- MVDR and LCMV: factor by LU; solve for , where the columns of are the constraint vectors (the single steering vector, for MVDR); form the small matrix and solve it against ; multiply the solution by .
- Max-SNR: factor by Cholesky; form by triangular solves; find its dominant eigenvector ; return .
Evaluating a beamformer: the output SINR is , and the beam pattern is over a grid of directions.
With elements, each set of adaptive weights costs .
Implementation
let r = dir.to_cartesian();
let p = el.position;
let phase = (self.convention.unit() * self.wavenumber() * (r[0] * p[0] + r[1] * p[1] + r[2] * p[2])).exp();
Ok([g[0] * phase, g[1] * phase])
let lu = covariance.factorize().map_err(|_| ErrorsJSL::InvalidInputRange("The covariance is singular."))?;
let mut rinv_c = Array2::<C64>::zeros((n, m));
for k in 0..m {
let col = lu.solve(&constraints.column(k).to_owned()).map_err(|_| ErrorsJSL::InvalidInputRange("The covariance is singular."))?;
rinv_c.column_mut(k).assign(&col);
}
let gram = hermitian_transpose(constraints).dot(&rinv_c);
let g = gram.solve(&response.mapv(|v| v.conj())).map_err(|_| ErrorsJSL::InvalidInputRange("The constraints are linearly dependent."))?;
Ok(rinv_c.dot(&g))
- Weights act as , so a beamformer’s gain toward is (
response). - Covariances are in watts over the scene bandwidth;
array_patternreturns the beam as a far-field container for directivity and overlap calculations.
In practice
//! Beamforming in a realistic scene: a weak desired signal, two strong jammers, a warm ground and
//! a cold sky, and receiver noise. CFM, max-SNR, MVDR and LCMV are compared.
//!
//! Run with `cargo run --release -p lib_jsl_electromagnetics --example beamforming_demo`.
use lib_jsl_core::constants::em::C0;
use lib_jsl_electromagnetics::algorithms::{cfm_for_direction, lcmv_beamformer, max_snr_beamformer, mvdr_beamformer, response, sinr};
use lib_jsl_electromagnetics::antenna_models::HalfWaveDipole;
use lib_jsl_electromagnetics::arrays::SensorArray;
use lib_jsl_electromagnetics::conventions::{C64, TimeConvention, amplitude_to_db, power_to_db};
use lib_jsl_electromagnetics::coordinates::RigidTransform;
use lib_jsl_electromagnetics::fields::Domain;
use lib_jsl_electromagnetics::signal_models::{BrightnessScene, Coherency, PointSource, Scene, SkyPolarization};
use lib_jsl_utils::terminal_plot::{PlotOptions, PlotSeries, render_terminal_plot};
use ndarray::{Array1, Array2};
use std::f64::consts::{FRAC_PI_2, PI};
use std::sync::Arc;
fn main() {
let f = 1.5e9;
let lambda = C0 / f;
// 16 vertical half-wave dipoles along x, half a wavelength apart.
let array = SensorArray::from_antenna(&SensorArray::linear_positions(16, lambda / 2.0, [1.0, 0.0, 0.0]), Arc::new(HalfWaveDipole::new(f)), &RigidTransform::identity(), f, TimeConvention::PlusJ, 1.0).unwrap();
let theta_pol = [C64::new(1.0, 0.0), C64::new(0.0, 0.0)];
// Directions in the xz plane, measured as θ from +z; the array axis is x.
let look = 1.2;
let jammers = [0.75, 2.4];
let bw = 1e6;
let desired = Scene::new(bw).unwrap().with_point_source(PointSource::new(look, 0.0, 3e-13, Coherency::theta()).unwrap());
let environment = BrightnessScene::from_fn(Arc::new(Domain::far_field_gauss(40, 80).unwrap()), f, SkyPolarization::Unpolarized, |t, _| if t > FRAC_PI_2 { 290.0 } else { 10.0 }).unwrap();
let mut interference = Scene::new(bw).unwrap().with_distributed(environment).with_receiver_temperature(75.0);
for &j in &jammers {
interference = interference.with_point_source(PointSource::new(j, 0.0, 3e-8, Coherency::theta()).unwrap());
}
let rs = desired.covariance(&array).unwrap();
let rn = interference.covariance(&array).unwrap();
let r = &rs + &rn;
let a_look = array.steering_vector(look, 0.0, theta_pol).unwrap();
let cfm = cfm_for_direction(&array, look, 0.0, theta_pol).unwrap();
let (max_snr, _) = max_snr_beamformer(&rs, &rn).unwrap();
let mvdr = mvdr_beamformer(&r, &a_look).unwrap();
// LCMV: pass the look direction, and force exact nulls on both jammers.
let dirs = [look, jammers[0], jammers[1]];
let c = Array2::from_shape_fn((16, 3), |(i, k)| array.steering_vector(dirs[k], 0.0, theta_pol).unwrap()[i]);
let lcmv = lcmv_beamformer(&r, &c, &Array1::from(vec![C64::new(1.0, 0.0), C64::new(0.0, 0.0), C64::new(0.0, 0.0)])).unwrap();
// Per-element levels measured from the model itself.
let noise_only = Scene::new(bw).unwrap().with_distributed(BrightnessScene::from_fn(Arc::new(Domain::far_field_gauss(40, 80).unwrap()), f, SkyPolarization::Unpolarized, |t, _| if t > FRAC_PI_2 { 290.0 } else { 10.0 }).unwrap()).with_receiver_temperature(75.0).covariance(&array).unwrap();
let noise_power = noise_only[[0, 0]].re;
let jammer_power = PointSource::new(jammers[0], 0.0, 3e-8, Coherency::theta()).unwrap().covariance(&array).unwrap()[[0, 0]].re;
println!("== 16-element half-wave dipole array at 1.5 GHz ==");
println!(" desired at θ = {:.0}°, jammers at {:.0}° and {:.0}°;", look.to_degrees(), jammers[0].to_degrees(), jammers[1].to_degrees());
println!(" 290 K ground below the horizon, 10 K sky above, 75 K receivers (system noise {:.0} K per element).", noise_power / (lib_jsl_core::constants::physics::K_B * bw));
println!(" per element: desired SNR {:.1} dB, each jammer {:.1} dB above the noise.\n", power_to_db(rs[[0, 0]].re / noise_power), power_to_db(jammer_power / noise_power));
println!(" {:<10} {:>12} {:>22} {:>22}", "beamformer", "SINR (dB)", "jammer 1 response (dB)", "jammer 2 response (dB)");
let mut weights_for_plot = Vec::new();
for (name, w) in [("CFM", &cfm), ("max-SNR", &max_snr), ("MVDR", &mvdr), ("LCMV", &lcmv)] {
let gain = response(w, &a_look).unwrap().norm();
let rel = |j: f64| amplitude_to_db(response(w, &array.steering_vector(j, 0.0, theta_pol).unwrap()).unwrap().norm().max(1e-12) / gain);
println!(" {:<10} {:>12.2} {:>22.1} {:>22.1}", name, power_to_db(sinr(w, &rs, &rn).unwrap()), rel(jammers[0]), rel(jammers[1]));
weights_for_plot.push((name, w.clone()));
}
// Pattern cuts in the xz plane, normalised to the look direction.
let angles: Vec<f64> = (1..360).map(|k| PI * k as f64 / 360.0).collect();
let curves: Vec<(String, Vec<f64>)> = weights_for_plot
.iter()
.filter(|(n, _)| *n == "CFM" || *n == "MVDR")
.map(|(name, w)| {
let g = response(w, &a_look).unwrap().norm();
let db = angles.iter().map(|&t| amplitude_to_db((array.pattern_at(w, t, 0.0).unwrap()[0].norm() / g).max(1e-4))).collect();
(name.to_string(), db)
})
.collect();
let deg: Vec<f64> = angles.iter().map(|a| a.to_degrees()).collect();
let series: Vec<PlotSeries> = curves.iter().map(|(n, d)| PlotSeries { label: n, x: °, y: d }).collect();
let opts = PlotOptions { width: 72, height: 18, title: Some("array pattern in the xz plane (dB re look direction) vs θ (degrees)".into()), color: true, y_range: Some((-70.0, 5.0)), ..Default::default() };
println!("\n{}", render_terminal_plot(&series, &opts));
println!("\nThe CFM (matched filter) points a clean beam but leaves the jammers in its sidelobes; the");
println!("adaptive solutions place deep nulls on them and recover nearly the full array gain. (A linear");
println!("array along x only sees sin θ: a jammer at 180° - 69° = 111° would be indistinguishable.)");
}
== 16-element half-wave dipole array at 1.5 GHz ==
desired at θ = 69°, jammers at 43° and 138°;
290 K ground below the horizon, 10 K sky above, 75 K receivers (system noise 225 K per element).
per element: desired SNR -3.9 dB, each jammer 42.6 dB above the noise.
beamformer SINR (dB) jammer 1 response (dB) jammer 2 response (dB)
CFM -14.77 -59.3 -35.3
max-SNR 6.72 -101.3 -101.1
MVDR 6.72 -101.3 -101.1
LCMV 6.72 -240.0 -240.0
The example also draws the CFM and MVDR patterns in the terminal. The system noise of 225 K is the receivers’ 75 K plus about 150 K from the half of each dipole’s pattern that sees the warm ground.
Strengths
- Physically grounded covariances (element patterns, polarisation, sky and ground temperatures) for any array geometry.
- Optimal and constrained beamformers with exact figures of merit.
Weaknesses
- Narrowband: one frequency per array; wideband arrays need a filter per element.
- Adaptive beamformers are sensitive to steering-vector errors and to the desired signal in the training data.
Exercises
- Show that the CFM weights maximise the SINR when .
- Derive the MVDR weights by Lagrange multipliers, and show that its output power is .
- Show that MVDR with the total covariance gives the same weights (up to scale) as with alone, for a point-source signal.
- Find the array factor of isotropic elements spaced apart, and the spacing at which grating lobes appear.
- Simulate sample-matrix inversion with the desired signal included in the training data, and compare the loss with the figure above.
Hints and answers
- The output SNR is , maximised (Cauchy-Schwarz) by .
- Minimise subject to : the Lagrange condition gives , and the output power is .
- With , the matrix inversion lemma gives , proportional to .
- with has magnitude . Extra main lobes (grating lobes) appear when falls in the visible range, i.e. when ; suffices for all scan angles.
- When the desired signal is in the training data, MVDR treats it as interference and cancels it if its look direction is slightly in error: the SINR loss grows with the signal level and with steering error, unlike the clean-training case in the figure.
Further reading
- H. L. Van Trees, Optimum Array Processing, Wiley, 2002.
- J. Capon, “High-resolution frequency-wavenumber spectrum analysis”, Proceedings of the IEEE 57 (1969) 1408–1418.
- O. L. Frost, “An algorithm for linearly constrained adaptive array processing”, Proceedings of the IEEE 60 (1972) 926–935.
- I. S. Reed, J. D. Mallett and L. E. Brennan, “Rapid convergence rate in adaptive arrays”, IEEE Transactions on Aerospace and Electronic Systems 10 (1974) 853–863.