# Ambiguity function

In pulsed radar and sonar signal processing, an ambiguity function is a two-dimensional function of propagation delay $\tau$ and Doppler frequency $f$, $\chi (\tau ,f)$. It represents the distortion of a returned pulse due to the receiver matched filter (commonly, but not exclusively, used in pulse compression radar) of the return from a moving target. The ambiguity function is defined by the properties of the pulse and of the filter, and not any particular target scenario.
Many definitions of the ambiguity function exist; some are restricted to narrowband signals and others are suitable to describe the delay and Doppler relationship of wideband signals. Often the definition of the ambiguity function is given as the magnitude squared of other definitions (Weiss). For a given complex baseband pulse $s(t)$, the narrowband ambiguity function is given by
    $\chi (\tau ,f)=\int _{-\infty }^{\infty }s(t)s^{*}(t-\tau )e^{i2\pi ft}\,dt$
where $^{*}$ denotes the complex conjugate and $i$ is the imaginary unit. Note that for zero Doppler shift ($f=0$), this reduces to the autocorrelation of $s(t)$. A more concise way of representing the ambiguity function consists of examining the one-dimensional zero-delay and zero-Doppler "cuts"; that is, $\chi (0,f)$ and $\chi (\tau ,0)$, respectively. The matched filter output as a function of time (the signal one would observe in a radar system) is a Doppler cut, with the constant frequency given by the target's Doppler shift: $\chi (\tau ,f_{D})$.

## Background and motivation

Pulse-Doppler radar equipment sends out a series of radio frequency pulses. Each pulse has a certain shape (waveform)—how long the pulse is, what its frequency is, whether the frequency changes during the pulse, and so on. If the waves reflect off a single object, the detector will see a signal which, in the simplest case, is a copy of the original pulse but delayed by a certain time $\tau$—related to the object's distance—and shifted by a certain frequency $f$—related to the object's velocity (Doppler shift). If the original emitted pulse waveform is $s(t)$, then the detected signal (neglecting noise, attenuation, and distortion, and wideband corrections) will be:
    $s_{\tau ,f}(t)\equiv s(t-\tau )e^{i2\pi ft}.$
The detected signal will never be exactly equal to any $s_{\tau ,f}$ because of noise. Nevertheless, if the detected signal has a high correlation with $s_{\tau ,f}$, for a certain delay and Doppler shift $(\tau ,f)$, then that suggests that there is an object with $(\tau ,f)$. Unfortunately, this procedure may yield false positives, i.e. wrong values $(\tau ',f')$ which are nevertheless highly correlated with the detected signal. In this sense, the detected signal may be ambiguous.
The ambiguity occurs specifically when there is a high correlation between $s_{\tau ,f}$ and $s_{\tau ',f'}$ for $(\tau ,f)\neq (\tau ',f')$. This motivates the ambiguity function $\chi$. The defining property of $\chi$ is that the correlation between $s_{\tau ,f}$ and $s_{\tau ',f'}$ is equal to $\chi (\tau -\tau ',f-f')$.
Different pulse shapes (waveforms) $s(t)$ have different ambiguity functions, and the ambiguity function is relevant when choosing what pulse to use.
The function $\chi$ is complex-valued; the degree of "ambiguity" is related to its magnitude $|\chi (\tau ,f)|^{2}$.

## Relationship to time–frequency distributions

The ambiguity function plays a key role in the field of time–frequency signal processing, as it is related to the Wigner–Ville distribution by a 2-dimensional Fourier transform. This relationship is fundamental to the formulation of other time–frequency distributions: the bilinear time–frequency distributions are obtained by a 2-dimensional filtering in the ambiguity domain (that is, the ambiguity function of the signal). This class of distribution may be better adapted to the signals considered.
Moreover, the ambiguity distribution can be seen as the short-time Fourier transform of a signal using the signal itself as the window function. This remark has been used to define an ambiguity distribution over the time-scale domain instead of the time-frequency domain.

## Wideband ambiguity function

The wideband ambiguity function of $s\in L^{2}(R)$ is:
    $WB_{ss}(\tau ,\alpha )={\sqrt {|{\alpha }|}}\int _{-\infty }^{\infty }s(t)s^{*}(\alpha (t-\tau ))\,dt$
where ${\alpha }$ is a time scale factor of the received signal relative to the transmitted signal given by:
    $\alpha ={\frac {c+v}{c-v}}$
for a target moving with constant radial velocity v. The reflection of the signal is represented with compression (or expansion) in time by the factor $\alpha$, which is equivalent to a compression by the factor $\alpha ^{-1}$ in the frequency domain (with an amplitude scaling). When the wave speed in the medium is sufficiently faster than the target speed, as is common with radar, this compression in frequency is closely approximated by a shift in frequency Δf = f$_c$*v/c (known as the doppler shift). For a narrow band signal, this approximation results in the narrowband ambiguity function given above, which can be computed efficiently by making use of the FFT algorithm.

## Ideal ambiguity function

An ambiguity function of interest is a 2-dimensional Dirac delta function or "thumbtack" function; that is, a function which is infinite at (0,0) and zero elsewhere.
    $\chi (\tau ,f)=\delta (\tau )\delta (f)\,$
An ambiguity function of this kind would be somewhat of a misnomer; it would have no ambiguities at all, and both the zero-delay and zero-Doppler cuts would be an impulse. This is not usually desirable (if a target has any Doppler shift from an unknown velocity it will disappear from the radar picture), but if Doppler processing is independently performed, knowledge of the precise Doppler frequency allows ranging without interference from any other targets which are not also moving at exactly the same velocity.
This type of ambiguity function is produced by ideal white noise (infinite in duration and infinite in bandwidth). However, this would require infinite power and is not physically realizable. There is no pulse $s(t)$ that will produce $\delta (\tau )\delta (f)$ from the definition of the ambiguity function. Approximations exist, however, and noise-like signals such as binary phase-shift keyed waveforms using maximal-length sequences are the best known performers in this regard.

## Properties

(1) Maximum value
    $|\chi (\tau ,f)|^{2}\leq |\chi (0,0)|^{2}$
(2) Symmetry about the origin
    $\chi (\tau ,f)=\exp[j2\pi \tau f]\chi ^{*}(-\tau ,-f)\,$
(3) Volume invariance
    $\int _{-\infty }^{\infty }\int _{-\infty }^{\infty }|\chi (\tau ,f)|^{2}\,d\tau \,df=|\chi (0,0)|^{2}=E^{2}$
(4) Modulation by a linear FM signal
    ${\text{If }}s(t)\rightarrow |\chi (\tau ,f)|{\text{ then }}s(t)\exp[j\pi kt^{2}]{\rightarrow }|\chi (\tau ,f+k\tau )|\,$
(5) Frequency energy spectrum
    $S(f)S^{*}(f)=\int _{-\infty }^{\infty }\chi (\tau ,0)e^{-j2\pi \tau f}\,d\tau$
(6) Upper bounds for $p>2$ and lower bounds for $p<2$ exist for the $p^{th}$ power integrals
    $\int _{-\infty }^{\infty }\int _{-\infty }^{\infty }|\chi (\tau ,f)|^{p}\,d\tau \,df$.
These bounds are sharp and are achieved if and only if $s(t)$ is a Gaussian function.

## Square pulse

Consider a simple square pulse of duration $\tau$ and amplitude $A$:
    $A(u(t)-u(t-\tau ))\,$
where $u(t)$ is the Heaviside step function. The matched filter output is given by the autocorrelation of the pulse, which is a triangular pulse of height $\tau ^{2}A^{2}$ and duration $2\tau$ (the zero-Doppler cut). However, if the measured pulse has a frequency offset due to Doppler shift, the matched filter output is distorted into a sinc function. The greater the Doppler shift, the smaller the peak of the resulting sinc, and the more difficult it is to detect the target.
In general, the square pulse is not a desirable waveform from a pulse compression standpoint, because the autocorrelation function is too short in amplitude, making it difficult to detect targets in noise, and too wide in time, making it difficult to discern multiple overlapping targets.

## LFM pulse

A commonly used radar or sonar pulse is the linear frequency modulated (LFM) pulse (or "chirp"). It has the advantage of greater bandwidth while keeping the pulse duration short and envelope constant. A constant envelope LFM pulse has an ambiguity function similar to that of the square pulse, except that it is skewed in the delay-Doppler plane. Slight Doppler mismatches for the LFM pulse do not change the general shape of the pulse and reduce the amplitude very little, but they do appear to shift the pulse in time. Thus, an uncompensated Doppler shift changes the target's apparent range; this phenomenon is called range-Doppler coupling.

## Multistatic ambiguity functions

The ambiguity function can be extended to multistatic radars, which comprise multiple non-colocated transmitters and/or receivers (and can include bistatic radar as a special case).
For these types of radar, the simple linear relationship between time and range that exists in the monostatic case no longer applies, and is instead dependent on the specific geometry – i.e. the relative location of transmitter(s), receiver(s) and target. Therefore, the multistatic ambiguity function is mostly usefully defined as a function of two- or three-dimensional position and velocity vectors for a given multistatic geometry and transmitted waveform.
Just as the monostatic ambiguity function is naturally derived from the matched filter, the multistatic ambiguity function is derived from the corresponding optimal multistatic detector – i.e. that which maximizes the probability of detection given a fixed probability of false alarm through joint processing of the signals at all receivers. The nature of this detection algorithm depends on whether or not the target fluctuations observed by each bistatic pair within the multistatic system are mutually correlated. If so, the optimal detector performs phase coherent summation of received signals which can result in very high target location accuracy. If not, the optimal detector performs incoherent summation of received signals which gives diversity gain. Such systems are sometimes described as MIMO radars due to the information theoretic similarities to MIMO communication systems.

## Ambiguity function plane

An ambiguity function plane can be viewed as a combination of an infinite number of radial lines.
Each radial line can be viewed as the fractional Fourier transform of a stationary random process.

## Example

The Ambiguity function (AF) is the operators that are related to the WDF.
    $A_{x}(\tau ,n)=\int _{-\infty }^{\infty }x(t+{\frac {\tau }{2}})x^{*}(t-{\frac {\tau }{2}})e^{-j2\pi tn}dt$
(1)If $x(t)=exp[-\alpha \pi {(t-t_{0})^{2}}+j2\pi f_{0}t]$
    $A_{x}(\tau ,n)$
    $=\int _{-\infty }^{\infty }e^{-\alpha \pi (t+\tau /2-t_{0})^{2}+j2\pi f_{0}(t+\tau /2)}+e^{-\alpha \pi (t-\tau /2-t_{0})^{2}-j2\pi f_{0}(t-\tau /2)}e^{-j2\pi tn}dt$
    $=\int _{-\infty }^{\infty }e^{-\alpha \pi [2(t-t_{0})^{2}+\tau ^{2}/2]+j2\pi f_{0}\tau }e^{-j2\pi tn}dt$
    $=\int _{-\infty }^{\infty }e^{-\alpha \pi [2t^{2}-\tau ^{2}/2]+j2\pi f_{0}\tau }e^{-j2\pi tn}e^{-j2\pi t_{0}n}dt$
    $A_{x}(\tau ,n)={\sqrt {\frac {1}{2\alpha }}}exp[-\pi ({\frac {\alpha \tau ^{2}}{2}}+{\frac {n^{2}}{2\alpha }})]exp[j2\pi (f_{0}\tau -t_{0}n)]$
WDF and AF for the signal with only 1 term
(2) If $x(t)=exp[-\alpha _{1}\pi (t-t_{1})^{2}+j2\pi f_{1}t]+exp[-\alpha _{2}\pi (t-t_{2})^{2}+j2\pi f_{2}t]$
    $A_{x}(\tau ,n)$
    $=\int _{-\infty }^{\infty }x_{1}(t+\tau /2)x_{1}^{*}(t-\tau /2)e^{-j2\pi tn}dt$ +
    $\int _{-\infty }^{\infty }x_{2}(t+\tau /2)x_{2}^{*}(t-\tau /2)e^{-j2\pi tn}dt$ +
    $\int _{-\infty }^{\infty }x_{1}(t+\tau /2)x_{2}^{*}(t-\tau /2)e^{-j2\pi tn}dt$ +
    $\int _{-\infty }^{\infty }x_{2}(t+\tau /2)x_{1}^{*}(t-\tau /2)e^{-j2\pi tn}dt$
    $A_{x}(\tau ,n)=A_{x1}(\tau ,n)+A_{x2}(\tau ,n)+A_{x1x2}(\tau ,n)+A_{x2x1}(\tau ,n)$
    $A_{x}(\tau ,n)={\sqrt {\frac {1}{2\alpha _{1}}}}exp[-\pi ({\frac {\alpha _{1}\tau ^{2}}{2}}+{\frac {n^{2}}{2\alpha _{1}}})]exp[j2\pi (f_{1}\tau -t_{1}n)]$
    $A_{x}(\tau ,n)={\sqrt {\frac {1}{2\alpha _{2}}}}exp[-\pi ({\frac {\alpha _{2}\tau ^{2}}{2}}+{\frac {n^{2}}{2\alpha _{1}}})]exp[j2\pi (f_{2}\tau -t_{2}n)]$
When $\alpha _{1}=\alpha _{2}$
    $A_{x1x2}(\tau ,n)={\sqrt {\frac {1}{2\alpha _{u}}}}exp[-\pi (\alpha _{u}{\frac {(\tau -t_{d})^{2}}{2}}+{\frac {(n-f_{d})^{2}}{2\alpha _{u}}})]exp[j2\pi (f_{u}\tau -t_{u}n+f_{d}t_{u})]$
where
* $t_{u}=(t_{1}+t_{2}/2)$,
* $f_{u}=(f_{1}+f_{2})/2$,
* $\alpha _{u}=(\alpha _{1}+\alpha _{2})/2$,
* $t_{d}=t_{1}+t_{2}$,
* $f_{d}=f_{1}-f_{2}$,
* $\alpha _{d}=\alpha _{1}-\alpha _{2}$
    $A_{x2x1}(\tau ,n)=A_{x1x2}^{*}(-\tau ,-n)$
When $\alpha _{1}$ ≠ $\alpha _{2}$
    $A_{x1x2}(\tau ,n)={\sqrt {\frac {1}{2\alpha _{u}}}}exp[-\pi {\frac {[(n-f_{d})+j(\alpha _{1}t_{1}+\alpha _{2}t_{2})-j\alpha _{d}\tau /2]^{2}}{2\alpha _{u}}}exp[-\pi (\alpha _{1}(t_{1}-{\frac {\tau }{2}})^{2})+\alpha _{2}(t_{2}-{\frac {\tau }{2}})^{2})]exp[j2\pi f_{u}\tau ]$
    $A_{x2x1}(\tau ,n)=A_{x1x2}^{*}(-\tau ,-n)$
WDF and AF for the signal with 2 terms
For the ambiguity function:
* The auto term is always near to the origin