Energy, Power, and Autocorrelation
Energy and Power Signal Recap
Section titled “Energy and Power Signal Recap”the section gives the full continuous- and discrete-time definitions and classification examples. The decisive tests are recalled here because the correct correlation definition depends on the signal class:
A nonzero signal cannot belong to both classes. Some signals belong to neither, and the all-zero signal is normally excluded by the strict positive conditions. For periodic signals whose squared magnitude is integrable or summable over one period,
The starting point is arbitrary because a complete period is averaged.
Energy and Power Spectral Density
Section titled “Energy and Power Spectral Density”For the angular-frequency Fourier convention used in this chapter, a CT energy signal with transform has energy spectral density (ESD)
For a DT energy signal with DTFT ,
ESD therefore states where a finite total energy lies in frequency.
A power signal generally has infinite total energy, so its ordinary Fourier transform cannot simply be squared as a finite-energy function. Its power spectral density (PSD) is instead defined through autocorrelation. Under the same angular-frequency convention,
with an integral over any interval for a DT PSD. ESD has units of energy per unit frequency and integrates to energy; PSD has units of mean-square value per unit frequency and integrates to average power.
Periodic power signals have line spectra. If , then
This is the power-signal counterpart of Parseval’s theorem.
Deterministic Autocorrelation
Section titled “Deterministic Autocorrelation”Autocorrelation measures similarity between a signal and a delayed copy of itself. This section consistently uses the lag convention or .
Energy Signals
Section titled “Energy Signals”For CT and DT energy signals,
These are inner products between the signal and a shifted version. For real signals the conjugate has no visible effect, but it must be retained for complex baseband signals.
Power Signals
Section titled “Power Signals”For deterministic power signals, replace total integration or summation by a long-time average:
provided the limits exist. For a CT periodic signal, the equivalent one-period expression is
The DT periodic formula similarly averages over one complete period.
A typical real finite-pulse autocorrelation. It is even, reaches its maximum magnitude at zero lag, and has equal to signal energy. Other signals need not have this triangular shape.
Random-Process Autocorrelation
Section titled “Random-Process Autocorrelation”For a complex random process , the general second-order correlation is
If the process is wide-sense stationary (WSS), its mean is constant and its correlation depends only on the lag :
Expectation is an ensemble average. A time average from one realization equals it only under an appropriate ergodicity assumption; stationarity by itself does not guarantee that equality.
Autocorrelation must also be distinguished from autocovariance. If the WSS mean is , then
Thus is mean square, not variance unless the mean is zero. A nonzero mean creates a constant floor in autocorrelation and a DC spectral line in the PSD; mean removal is often necessary before estimating periodicity or delay.
Autocorrelation Properties
Section titled “Autocorrelation Properties”The following properties hold when the defining energy, time-average power, or WSS second moment exists.
- Value at zero: Zero lag equals the relevant signal measure:
The DT statements use ; for a WSS process it is the mean-square value.
- Hermitian symmetry: Autocorrelation obeys
It is real and even for a real signal. For a complex signal it need not be real or even; its real part is even and its imaginary part is odd.
- Maximum magnitude at zero: Cauchy–Schwarz gives
This is a magnitude bound, not an ordering of complex values. Equality can also occur at a nonzero lag when a shifted signal is proportional to the original, as for periodic signals; zero lag need not be the unique peak.
-
Periodicity: If has period , then is also periodic with period . The analogous statement holds for a DT period .
-
Nonnegative definiteness: For arbitrary complex constants and lags ,
An autocorrelation may still take negative pointwise values; this condition is what guarantees a nonnegative PSD.
- Ideal white noise: A zero-mean ideal white-noise process has
Distinct lags are uncorrelated. The impulse correlation and flat infinite-bandwidth PSD describe an idealization, not every random process; physical white noise is bandwidth-limited.
Wiener–Khinchin Theorem
Section titled “Wiener–Khinchin Theorem”The Fourier transform of autocorrelation gives spectral density. For a CT energy signal this is the ESD; for a deterministic power signal or WSS random process it is the PSD:
For an energy signal, direct substitution gives
The DT counterpart is the Fourier-series pair
The PSD is real and nonnegative. Setting lag to zero recovers total energy or average power by integrating the applicable density.
For a finite -sample record, define circular autocorrelation by
It obeys the exact DFT pair
An FFT and IFFT therefore compute circular correlation efficiently. Linear correlation requires sufficient zero padding to prevent wraparound, exactly as for linear convolution.
Cross-Correlation and Cross-Spectral Density
Section titled “Cross-Correlation and Cross-Spectral Density”Cross-correlation compares two different signals. For CT and DT energy signals,
Power-signal versions use time averages. Jointly WSS random processes use the ensemble correlation
Unlike autocorrelation, cross-correlation is generally neither even nor real:
Its Fourier transform is the cross-spectral density ; for energy signals, .
The correlation peak locates relative delay, but its sign depends on order and lag convention. With the convention used here, if , then peaks at , while peaks at .
Correlation versus Convolution
Section titled “Correlation versus Convolution”Correlation is convolution with a conjugated, time-reversed second signal:
Thus the same direct or FFT-based convolution routine can compute correlation after conjugate reversal of one input.
Normalized Correlation
Section titled “Normalized Correlation”For finite, nonzero signal energies, a dimensionless coefficient is
For power signals or WSS processes, replace by the corresponding zero-lag mean-square values. Several practical qualifications matter:
-
subtract sample means when the aim is waveform similarity rather than a shared DC level;
-
for finite records, use lag-dependent norms over the samples that actually overlap, or explicitly accept edge bias from a fixed denominator;
-
the peak may repeat for periodic data and may broaden or move because of filtering, noise, or multipath;
-
normalization is undefined when either denominator is zero, and high correlation alone does not establish causation.
Autocorrelation of a Sinusoid
Section titled “Autocorrelation of a Sinusoid”Uses and Quick Review
Section titled “Uses and Quick Review”Autocorrelation detects hidden periodicity, estimates pitch and symbol or clock timing, and converts naturally to PSD. Cross-correlation estimates relative delay and similarity in radar and sonar ranging, communication synchronization, matched filtering, channel sounding, and pattern matching.