Skip to main content
Blog / Radar

Beating the Rayleigh limit honestly: matrix pencil and the two-tone CRLB

Resolving targets closer than c/(2B) is not impossible, it costs SNR; a matrix pencil with the right model order plus one ML step reaches the Cramér-Rao bound.

By Nir Regev ·

“Below the resolution cell” sounds like a wall. It is a price. Two close tones make the range columns of the Fisher information matrix nearly parallel, so the bound on range error grows fast as the separation shrinks, but it stays finite. Pay in SNR and you can resolve 0.5 m with 150 MHz from a single chirp.

In the previous post I argued that zero padding cannot do this and that envelope mirroring does it only by hiding a two-tone model. Here I put the model in plain sight: a matrix pencil that estimates KK tones directly, one maximum likelihood step to polish the result, and the Cramér-Rao bound to tell us what the SNR buys.

The setup

Same radar as before: one FMCW chirp of 400 µs sweeping 150 MHz, so c/(2B)=1c/(2B) = 1 m, sampled at 2.5 MHz complex for N=1000N = 1000 samples. Two targets at 20 m and 20.5 m, half a resolution cell apart. Their beat frequencies differ by 1250 Hz against a Fourier resolution of 2500 Hz. The signal model is

y[n]=∑k=1Kakej(ωkn+ϕk)+w[n],ωk=2π2SRkcfs,y[n] = \sum_{k=1}^{K} a_k e^{j(\omega_k n + \phi_k)} + w[n], \qquad \omega_k = 2\pi \frac{2 S R_k}{c f_s},

with w[n]w[n] white complex Gaussian noise. Everything below assumes this model, and I come back to that at the end.

Matrix pencil in four lines

A sum of KK complex exponentials has a property the noise does not: shifting it by one sample multiplies each component by its own pole zk=ejωkz_k = e^{j\omega_k}. The matrix pencil method (Hua and Sarkar, 1990) turns that into an eigenvalue problem.

  1. Build the Hankel matrix Y\mathbf{Y} whose rows are [y[i],y[i+1],…,y[i+L]][y[i], y[i+1], \dots, y[i+L]], with pencil parameter L≈N/3L \approx N/3.
  2. Take its SVD, Y=UΣVh\mathbf{Y} = \mathbf{U}\mathbf{\Sigma}\mathbf{V}_h, and use the KK dominant rows of Vh\mathbf{V}_h as the columns of V\mathbf{V}. They span the row space of Y\mathbf{Y}, which for noise-free data is spanned by the vectors [1,zk,zk2,…,zkL][1, z_k, z_k^2, \dots, z_k^L].
  3. Let V1\mathbf{V}_1 be V\mathbf{V} without its last row and V2\mathbf{V}_2 without its first. Shift invariance says V2=V1Φ\mathbf{V}_2 = \mathbf{V}_1 \mathbf{\Phi}, and the eigenvalues of V1+V2\mathbf{V}_1^{+} \mathbf{V}_2 are the poles zkz_k.
  4. Map each pole angle to range: Rk=∠zk⋅fs2π⋅c2SR_k = \angle z_k \cdot \dfrac{f_s}{2\pi} \cdot \dfrac{c}{2S}.

In numpy:

import numpy as np

def matrix_pencil(y, K, fs, S, c=3e8):
    N = len(y)
    L = N // 3
    Y = np.array([y[i:i + L + 1] for i in range(N - L)])   # Hankel, (N - L) x (L + 1)
    V = np.linalg.svd(Y, full_matrices=False)[2][:K].T       # K dominant rows of Vh, as columns
    z = np.linalg.eigvals(np.linalg.pinv(V[:-1]) @ V[1:])    # shift invariance
    return np.sort(np.angle(z) * fs / (2 * np.pi) * c / (2 * S))

On a noise-free chirp with K=2K = 2 it returns 20.0000 and 20.5000 m, for equal amplitudes and with the second target 6 dB weaker. There is no Fourier resolution limit in that procedure. The limit comes back through the noise, and the CRLB says how hard it pushes.

The two-tone Cramér-Rao bound

For a deterministic signal s(θ)\mathbf{s}(\boldsymbol\theta) in white complex Gaussian noise of variance σ2\sigma^2, the Fisher information is

I(θ)=2σ2 Re ⁣(JHJ),J=∂s∂θT.\mathbf{I}(\boldsymbol\theta) = \frac{2}{\sigma^2}\, \mathrm{Re}\!\left(\mathbf{J}^H \mathbf{J}\right), \qquad \mathbf{J} = \frac{\partial \mathbf{s}}{\partial \boldsymbol\theta^T}.

With two targets, θ\boldsymbol\theta has six unknowns: range, amplitude and phase for each. The columns of J\mathbf{J} for the two ranges are

∂s∂Rk=j 4πScfs n akej(ωkn+ϕk),\frac{\partial \mathbf{s}}{\partial R_k} = j\, \frac{4\pi S}{c f_s}\, n\, a_k e^{j(\omega_k n + \phi_k)},

and as the separation shrinks these two columns become nearly parallel. I\mathbf{I} becomes ill conditioned, and the diagonal of I−1\mathbf{I}^{-1}, the bound on each range variance, grows. Fig. 3 shows how fast.

Fig. 3: Two-tone CRLB on range against target separation, at 10 dB SNR for two equal tones, RMS over relative phase. At 1 m the bound is 1.7 times the single-tone bound, at 0.5 m it is 4.8 times, at 0.25 m it is 14 times. Fig. 3: Two-tone CRLB on range against target separation, at 10 dB SNR for two equal tones, RMS over relative phase. At 1 m the bound is 1.7 times the single-tone bound, at 0.5 m it is 4.8 times, at 0.25 m it is 14 times.

Read Fig. 3 as a price list. At 10 dB, one of the tones alone, in the same noise, could be located to 0.55 cm. Two equal tones 2 m apart cost essentially nothing extra, 0.58 cm. At the Rayleigh spacing of 1 m the bound is 0.95 cm, at 0.5 m it is 2.63 cm, and at 0.25 m it is 7.69 cm. The curve is steep but finite. Halving the separation below a cell costs roughly a factor of three in standard deviation, which is about 9 dB of SNR to buy back.

Results on one chirp

I ran 500 trials per SNR from 0 to 30 dB. Each trial draws random phases for both targets and a random amplitude gap between 0 and 6 dB, so the weaker target is up to 6 dB down. SNR is the total signal power over the noise variance per sample. A trial counts as resolved when both estimates land within 0.25 m of the true ranges.

Fig. 1: Probability of resolving two targets 0.5 m apart with 150 MHz of bandwidth from one chirp. FFT peak picking never resolves them. The matrix pencil with K = 2 resolves 31% at 0 dB, 62% at 5 dB, 96.6% at 10 dB and every trial from 15 dB up. Fig. 1: Probability of resolving two targets 0.5 m apart with 150 MHz of bandwidth from one chirp. FFT peak picking never resolves them. The matrix pencil with K = 2 resolves 31% at 0 dB, 62% at 5 dB, 96.6% at 10 dB and every trial from 15 dB up.

The 8192-point FFT resolves none of the 3500 trials, at any SNR.

Resolving is not the same as estimating well. Fig. 2 compares RMS range error with the CRLB. The pencil alone runs at 2.2 to 2.6 times the bound: with L=N/3L = N/3 it is a good subspace method, not an efficient estimator. So I add one maximum likelihood step. The amplitudes and phases enter linearly, so for any candidate pair of ranges they are solved by least squares, and the cost

J(R1,R2)=∥y−E(R1,R2) (E+y)∥2J(R_1, R_2) = \left\| \mathbf{y} - \mathbf{E}(R_1, R_2)\, \big(\mathbf{E}^{+} \mathbf{y}\big) \right\|^2

is minimized over the two ranges only, with E\mathbf{E} the N×2N \times 2 matrix of the two complex exponentials. A Nelder-Mead search started at the pencil estimate does the rest.

Fig. 2: RMS range error from 10 dB up. The matrix pencil alone sits about 2.2 to 2.6 times above the two-tone CRLB. One ML refinement started at the pencil estimate lands on the bound. Fig. 2: RMS range error from 10 dB up. The matrix pencil alone sits about 2.2 to 2.6 times above the two-tone CRLB. One ML refinement started at the pencil estimate lands on the bound.

At 10 dB the refined estimate has an RMS error of 3.03 cm against a bound of 2.93 cm, a ratio of 1.03. From 15 dB up the ratio is 0.97 to 1.00, which is the bound within Monte Carlo error: 1.54 cm against 1.55 at 15 dB, 0.29 cm against 0.29 at 30 dB. Half a resolution cell, from one 400 µs chirp, at the Cramér-Rao bound.

When the RMSE beats the bound

Below 10 dB something odd shows up in the table. At 5 dB the refined RMSE over resolved trials is 4.13 cm, while the average CRLB over all trials is 5.25 cm. An estimator below the bound?

No. The RMSE is conditional: it only includes trials that resolved, and those are not a random sample. They are the trials with a favorable relative phase and amplitude gap, and with cooperative noise. Averaging the CRLB over only the resolved trials gives 4.05 cm at 5 dB, and the RMSE sits just above it, as it should. At 0 dB the same thing happens more strongly: 8.44 cm conditional RMSE, 9.09 cm bound over all trials, 7.07 cm bound over the resolved ones.

A conditional RMSE below the CRLB is selection, not magic. Report the resolution rate next to it, or compare against the bound averaged over the same trials.

Model order is the real assumption

Everything above used K=2K = 2, and the scene had exactly two tones. That is the assumption doing the work, so it is worth seeing what happens when it is wrong. Noise-free, so that only the model is at fault:

  • Add a third reflector at 22 m, 10 dB below the pair. With K=3K = 3 the pencil returns 20.000, 20.500 and 22.000 m. With K=2K = 2 it returns 19.83 and 21.29 m: two confident numbers, neither of them a target.
  • Add DC leakage, a tone at zero beat frequency 10 dB above each target, which every FMCW front end has to some degree. With K=3K = 3 the pencil returns 0.00, 20.000 and 20.500 m. With K=2K = 2 it spends one pole on the leakage and merges the pair into a single estimate at 20.25 m.

The fix is not a cleverer resolver. It is honest model order selection: look at the singular value spectrum of the Hankel matrix, use an information criterion such as MDL, and check the residual after the fit. If the residual is not white at the noise level, the model is missing something. A missing tone does not announce itself any other way.

Takeaways

  • The Rayleigh limit c/(2B)c/(2B) is a property of the Fourier transform, not of the information in the data. With a correct model, sub-cell resolution is a matter of SNR.
  • The two-tone CRLB makes the price explicit. At half a cell, the bound is several times the single-tone bound, and it grows quickly as the separation shrinks further.
  • A matrix pencil with L≈N/3L \approx N/3 gets close to the bound and gives an excellent start; one maximum likelihood step with amplitudes solved by least squares reaches it.
  • Report RMSE over all trials, or report the resolution rate next to it. Conditional RMSE at low SNR can sit under the bound by selection alone.
  • The model order is the assumption. Choose KK deliberately, include DC leakage and strong clutter as tones, and test the residual.

References

  1. Y. Hua and T. K. Sarkar, “Matrix pencil method for estimating parameters of exponentially damped/undamped sinusoids in noise,” IEEE Transactions on Acoustics, Speech, and Signal Processing, vol. 38, no. 5, pp. 814 to 824, 1990.
  2. D. C. Rife and R. R. Boorstyn, “Single-tone parameter estimation from discrete-time observations,” IEEE Transactions on Information Theory, vol. 20, no. 5, pp. 591 to 598, 1974.
  3. S. M. Kay, Fundamentals of Statistical Signal Processing, Volume I: Estimation Theory, Prentice Hall, 1993.
Next post Zero padding does not buy resolution

Start a conversation

Have a sensing, AI or chip problem worth solving?

Tell us about the product, where it runs and what has to work. We will come back with the next practical step.

AlephZero updates

Get new demos, papers and posts by email

We write when we publish something new in edge AI, radar and signal processing. Unsubscribe anytime.