Power Spectral Density Estimation

Research
Introduced by
Peter Welch
Year
1967
Type
Frequency domain signal analysis
Family
Spectral estimation

What does it do?

Power spectral density (PSD) estimation comprises methods for determining how a signal's power is distributed across frequency.

Peter Welch's 1967 paper introduced one widely used approach, averaging modified periodograms of short signal sections computed with the fast Fourier transform; other approaches, including parametric autoregressive (AR) models, are also used. PSD estimates are applied in fields such as communications and biomedical signal analysis.

The intuition behind the method

A Fourier transform of a random signal gives a spectrum that fluctuates strongly from one realisation to another, so individual peaks are hard to trust. PSD estimation describes how power is distributed over frequency in a statistically stable way. The main lever is averaging: the record is split into sections, each section's spectrum is computed, and the results are combined. Averaging lowers the variance of the estimate, but it also smooths the spectrum, so the choice of section length sets a trade-off between stability and frequency resolution.

History

Peter Welch's 1967 paper described estimating power spectra by sectioning a record and averaging modified periodograms computed with the fast Fourier transform. The paper emphasised a reduction in computation and storage and a convenient application to tests of non-stationarity. Other approaches, including parametric autoregressive and multitaper methods, are alternatives to averaged periodograms.

When to use it

Use PSD estimation when the signal is stationary or approximately stationary over the record and you want the distribution of power over frequency, for example to characterise noise or to check a filter design. Welch's method is a general-purpose choice when the record is long enough to be split into several segments. Consider parametric AR estimation when the record is short or when finer frequency resolution is needed and an AR model of suitable order can be justified. Do not rely on these estimates for strongly non-stationary signals, where the spectrum changes over time; time-frequency methods such as the short-time Fourier transform are more appropriate.

Limitations and considerations

  • The raw periodogram is an inconsistent estimator: its variance at each frequency stays comparable to the squared spectrum itself, regardless of record length, so a longer record alone does not make it less noisy. Only averaging across segments or other smoothing reduces this variance.
  • For a fixed record, Welch's method cannot give both fine frequency resolution and low variance; shorter segments reduce variance but widen spectral features.
  • The estimates assume the signal is stationary over the record; a spectrum that drifts over time is averaged into a single curve that may not represent any moment in the signal.
  • AR-based estimates depend on the chosen model order: too low a order smooths the spectrum, while too high an order can create spurious peaks.
  • Windowing and the finite record length cause spectral leakage, which can spread power from strong components into neighbouring frequencies.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Averaging the periodograms of overlapping segments reduces the variance of the raw periodogram, so the estimate is more stable for random signals.
  • Segment length is the main parameter controlling the trade-off between variance and frequency resolution, alongside window type and overlap, and changing it lets this trade-off be inspected directly.
  • The method is computationally economical: the FFT is applied segment by segment, which, as Welch noted, reduces both the number of computations and the required storage.
  • Parametric AR estimates can give sharp spectral peaks from relatively short records, where segment averaging would leave too few segments.
  • The output is a power-per-frequency curve that can be read directly against the frequency axis.

Applications

  • Noise characterisation in communication systems, to inform receiver design and performance assessment.
  • Biomedical signal analysis, such as examining the frequency content of ECG and EEG recordings.
  • Vibration monitoring of mechanical systems, to identify spectral signatures associated with wear or faults.
  • Radio astronomy and signal detection, to examine spectral power in noisy data.
  • Audio and speech analysis, for example in acoustic characterisation and quality assessment.

How it works

How it works

1

Obtain the input signal and select an estimator, such as the raw periodogram, Welch's averaged periodogram, a multitaper method, or a parametric AR/ARMA method.

2

For Welch's method, choose a window function, a segment length, and an overlap between segments. Remove any DC offset or slow trend first, since these would otherwise distort the low-frequency part of the estimate.

3

For Welch's method, divide the signal into (overlapping) segments, apply the window to each segment, and compute the FFT of each one to obtain its periodogram. Overlapping segments and a tapered window such as Hann are common choices. Overlap changes the effective number of independent segments and therefore the variance, so report the window type and overlap together with the estimate.

4

For parametric methods, fit an autoregressive (AR) model to the signal, using an estimator such as Yule-Walker or Burg, and derive the spectrum from the fitted model. The model order must be chosen; an order that is too high can produce spurious spectral peaks.

5

Average the periodograms across segments to obtain the PSD estimate, then plot it, often on a logarithmic (dB) scale. The PSD is power per unit frequency (squared signal units per hertz), so its absolute level depends on the window normalisation and on whether a one-sided or two-sided spectrum is shown; compare absolute levels only under the same convention. Identify peaks as candidate frequency components only after checking that they are not spectral leakage from a stronger component.

Common pitfalls

  • Using the raw periodogram instead of an averaged estimate, which gives a noisy spectrum that can look like a set of real peaks.
  • Choosing a segment length that is too short, which blurs real spectral features, or too long, which leaves too few segments to average and keeps the variance high.
  • Using a rectangular window, which produces strong spectral leakage; a tapered window reduces this at the cost of some resolution.
  • Interpreting leakage sidelobes around a strong component as separate signal components.
  • Leaving a DC offset or trend in the record, which can dominate the lowest-frequency estimates.
  • Selecting an AR model order without checking the result, which can produce peaks that depend on the order rather than on the signal.

Frequently asked questions

What is the difference between a periodogram and Welch's method?

The periodogram is the squared magnitude of the FFT of a single windowed record. For random signals its variance does not decrease with record length, so individual estimates are very noisy. Welch's method divides the record into (often overlapping) windowed segments, computes a periodogram for each, and averages them. The averaging reduces variance, at the cost of frequency resolution, which is set by the segment length. For most practical purposes Welch's averaged estimate is preferred to the raw periodogram.

How do I choose the segment length for Welch's method?

Longer segments give finer frequency resolution but fewer segments to average, so the estimate is noisier. Shorter segments give a smoother estimate with coarser resolution. Choose a length that still leaves enough segments for the averaging to stabilise the estimate, and check the result by plotting several choices. The right balance depends on how closely spaced the spectral features you need to resolve are.

When should I use parametric PSD methods such as AR instead of Welch's method?

Parametric AR estimation can give high frequency resolution from relatively short records, where segment averaging would leave too few segments. It is worth considering when the record is short or when sharp spectral peaks are the main interest, and when an AR model of suitable order can be justified for the signal. The model order must be chosen with care, since an order that is too high can produce spurious peaks. For many applications Welch's method is simpler and more predictable.

How do I interpret the PSD plot and identify significant frequency components?

The PSD gives the average power at each frequency, and peaks indicate dominant components. A logarithmic (dB) scale makes components visible across a wide range of power levels. Before treating a peak as a real component, check whether it is spectral leakage: leakage from a strong component spreads power into neighbouring frequencies, typically with a sidelobe shape. Appropriate window functions and adequate frequency resolution reduce this effect.

Related methods

Sources

  1. Welch, P. (1967). The Use of Fast Fourier Transform for Estimation of Power Spectra: A Method Based on Time Averaging over Short, Modified Periodograms. IEEE Transactions on Audio and Electroacoustics, 15(2), 70–73.

    Open DOI reference
  2. Oppenheim, A. V., Schafer, R. W., & Buck, J. R. (1999). Discrete-Time Signal Processing (2nd ed.). Prentice Hall.

    Open publication reference