# Pulse compression

Pulse compression is a signal processing technique commonly used by radar, sonar and echography to increase the range resolution as well as the signal to noise ratio. This is achieved by modulating the transmitted pulse and then correlating the received signal with the transmitted pulse.[1]

## Simple pulse

### Signal description

The simplest signal a pulse radar can transmit is a sinusoidal-amplitude pulse, ${\displaystyle A}$ and carrier frequency, ${\displaystyle f_{0}}$, truncated by a rectangular function of width, ${\displaystyle \scriptstyle T}$. The pulse is transmitted periodically, but that is not the main topic of this article; we will consider only a single pulse, ${\displaystyle s}$. If we assume the pulse to start at time ${\displaystyle t\,=\,0}$, the signal can be written the following way, using the complex notation:

${\displaystyle s(t)=\left\{{\begin{array}{ll}Ae^{2i\pi f_{0}t}&{\text{if}}\;0\leq t

### Range resolution

Let us determine the range resolution which can be obtained with such a signal. The return signal, written ${\displaystyle \scriptstyle r(t)}$, is an attenuated and time-shifted copy of the original transmitted signal (in reality, Doppler effect can play a role too, but this is not important here.) There is also noise in the incoming signal, both on the imaginary and the real channel, which we will assume to be white and Gaussian (this generally holds in reality); we write ${\displaystyle \scriptstyle B(t)}$ to denote that noise. To detect the incoming signal, matched filtering is commonly used. This method is optimal when a known signal is to be detected among additive white Gaussian noise.

In other words, the cross-correlation of the received signal with the transmitted signal is computed. This is achieved by convolving the incoming signal with a conjugated and time-reversed version of the transmitted signal. This operation can be done either in software or with hardware. We write ${\displaystyle \scriptstyle (t)}$ for this cross-correlation. We have:

${\displaystyle \langle s,r\rangle (t)=\int _{t'\,=\,0}^{+\infty }s^{\star }(t')r(t+t')dt'}$

If the reflected signal comes back to the receiver at time ${\displaystyle \scriptstyle t_{r}}$ and is attenuated by factor ${\displaystyle \scriptstyle K}$, this yields:

${\displaystyle r(t)=\left\{{\begin{array}{ll}KAe^{2i\pi f_{0}(t\,-\,t_{r})}+B(t)&{\mbox{if}}\;t_{r}\leq t

Since we know the transmitted signal, we obtain:

${\displaystyle \langle s,r\rangle (t)=KA^{2}\Lambda \left({\frac {t-t_{r}}{T}}\right)e^{2i\pi f_{0}(t\,-\,t_{r})}+B'(t)}$

where ${\displaystyle \scriptstyle B'(t)}$, the result of the intercorrelation between the noise and the transmitted signal. Function ${\displaystyle \Lambda }$ is the triangle function, its value is 0 on ${\displaystyle \scriptstyle [-\infty ,\,-{\frac {1}{2}}]\,\cup \,[{\frac {1}{2}},\,+\infty ]}$, it increases linearly on ${\displaystyle \scriptstyle [-{\frac {1}{2}},\,0]}$ where it reaches its maximum 1, and it decreases linearly on ${\displaystyle \scriptstyle [0,\,{\frac {1}{2}}]}$ until it reaches 0 again. Figures at the end of this paragraph show the shape of the intercorrelation for a sample signal (in red), in this case a real truncated sine, of duration ${\displaystyle \scriptstyle T\,=\,1}$ seconds, of unit amplitude, and frequency ${\displaystyle \scriptstyle f_{0}\,=\,10}$ hertz. Two echoes (in blue) come back with delays of 3 and 5 seconds and amplitudes equal to 0.5 and 0.3 times the amplitude of the transmitted pulse, respectively; these are just random values for the sake of the example. Since the signal is real, the intercorrelation is weighted by an additional 12 factor.

If two pulses come back (nearly) at the same time, the intercorrelation is equal to the sum of the intercorrelations of the two elementary signals. To distinguish one "triangular" envelope from that of the other pulse, it is clearly visible that the times of arrival of the two pulses must be separated by at least ${\displaystyle \scriptstyle T}$ so that the maxima of both pulses can be separated. If this condition is not met, both triangles will be mixed together and impossible to separate.

Since the distance travelled by a wave during ${\displaystyle \scriptstyle T}$ is ${\displaystyle \scriptstyle cT}$ (where c is the speed of the wave in the medium), and since this distance corresponds to a round-trip time, we get:

Result 1
The range resolution with a sinusoidal pulse is ${\displaystyle \scriptstyle {\frac {1}{2}}cT}$ where ${\displaystyle \scriptstyle T}$ is the pulse Duration and, ${\displaystyle \scriptstyle c}$, the speed of the wave.

Conclusion: to increase the resolution, the pulse length must be reduced.

Example (simple impulsion): transmitted signal in red (carrier 10 hertz, amplitude 1, duration 1 second) and two echoes (in blue).
Before matched filtering After matched filtering
If the targets are separated enough...
...echoes can be distinguished.
If the targets are too close...
...the echoes are mixed together.

### Required energy to transmit that signal

The instantaneous power of the transmitted pulse is ${\displaystyle \scriptstyle P(t)\,=\,|s|^{2}(t)}$. The energy put into that signal is:

${\displaystyle E=\int _{0}^{T}P(t)dt=A^{2}T}$

Similarly, the energy in the received pulse is ${\displaystyle \scriptstyle E_{r}\,=\,K^{2}A^{2}T}$. If ${\displaystyle \scriptstyle \sigma }$ is the standard deviation of the noise, the signal-to-noise ratio (SNR) at the receiver is:

${\displaystyle SNR={\frac {E_{r}}{\sigma ^{2}}}={\frac {K^{2}A^{2}T}{\sigma ^{2}}}}$

The SNR is proportional to pulse duration ${\displaystyle T}$, if other parameters are held constant. This introduces a tradeoff: increasing ${\displaystyle T}$ improves the SNR, but reduces the resolution, and vice versa.

## Pulse compression by linear frequency modulation (or chirping)

### Basic principles

How can one have a large enough pulse (to still have a good SNR at the receiver) without poor resolution? This is where pulse compression enters the picture. The basic principle is the following:

• a signal is transmitted, with a long enough length so that the energy budget is correct
• this signal is designed so that after matched filtering, the width of the intercorrelated signals is smaller than the width obtained by the standard sinusoidal pulse, as explained above (hence the name of the technique: pulse compression).

In radar or sonar applications, linear chirps are the most typically used signals to achieve pulse compression. The pulse being of finite length, the amplitude is a rectangle function. If the transmitted signal has a duration ${\displaystyle \scriptstyle T}$, begins at ${\displaystyle \scriptstyle t\,=\,0}$ and linearly sweeps the frequency band ${\displaystyle \scriptstyle \Delta f}$ centered on carrier ${\displaystyle \scriptstyle f_{0}}$, it can be written:

${\displaystyle s_{c}(t)=\left\{{\begin{array}{ll}Ae^{i2\pi \left(\left(f_{0}\,-\,{\frac {\Delta f}{2}}\right)t\,+\,{\frac {\Delta f}{2T}}t^{2}\,\right)}&{\mbox{if}}\;0\leq t

The chirp definition above means that the phase of the chirped signal (that is, the argument of the complex exponential), is the quadratic:

${\displaystyle \phi (t)=2\pi \left(\left(f_{0}\,-\,{\frac {\Delta f}{2}}\right)t\,+\,{\frac {\Delta f}{2T}}t^{2}\,\right)}$

thus the instantaneous frequency is (by definition):

${\displaystyle f(t)={\frac {1}{2\pi }}\left[{\frac {d\phi }{dt}}\right]_{t}=f_{0}-{\frac {\Delta f}{2}}+{\frac {\Delta f}{T}}t}$

which is the intended linear ramp going from ${\displaystyle \scriptstyle f_{0}\,-\,{\frac {\Delta f}{2}}}$ at ${\displaystyle \scriptstyle t\,=\,0}$ to ${\displaystyle \scriptstyle f_{0}\,+\,{\frac {\Delta f}{2}}}$ at ${\displaystyle \scriptstyle t\,=\,T}$.

The relation of phase to frequency is often used in the other direction, starting with the desired ${\displaystyle f(t)}$ and writing the chirp phase via the integration of frequency:

${\displaystyle \phi (t)=2\pi \int _{0}^{t}f(u)\,du}$

### Cross-correlation between the transmitted and the received signal

As for the "simple" pulse, let us compute the cross-correlation between the transmitted and the received signal. To simplify things, we shall consider that the chirp is not written as it is given above, but in this alternate form (the final result will be the same):

${\displaystyle s_{c'}(t)=\left\{{\begin{array}{ll}Ae^{2i\pi \left(f_{0}\,+\,{\frac {\Delta f}{2T}}t\right)t}&{\mbox{if}}\;-{\frac {T}{2}}\leq t<{\frac {T}{2}}\\0&{\mbox{otherwise}}\end{array}}\right.}$

Since this cross-correlation is equal (save for the ${\displaystyle K}$ attenuation factor), to the autocorrelation function of ${\displaystyle \scriptstyle s_{c'}}$, this is what we consider:

${\displaystyle \langle s_{c'},s_{c'}\rangle (t)=\int _{-\infty }^{+\infty }s_{c'}^{\star }(-t')s_{c'}(t-t')dt'}$

It can be shown[2] that the autocorrelation function of ${\displaystyle s_{c'}}$ is:

${\displaystyle \langle s_{c'},s_{c'}\rangle (t)=A^{2}T\Lambda \left({\frac {t}{T}}\right)\mathrm {sinc} \left[\Delta ft\Lambda \left({\frac {t}{T}}\right)\right]e^{2i\pi f_{0}t}}$

The maximum of the autocorrelation function of ${\displaystyle \scriptstyle s_{c'}}$ is reached at 0. Around 0, this function behaves as the sinc (or cardinal sine) term, defined here as ${\displaystyle sinc(x)=sin(\pi x)/(\pi x)}$. The −3 dB temporal width of that cardinal sine is more or less equal to ${\displaystyle \scriptstyle T'\,=\,{\frac {1}{\Delta f}}}$. Everything happens as if, after matched filtering, we had the resolution that would have been reached with a simple pulse of duration ${\displaystyle \scriptstyle T'}$. For the common values of ${\displaystyle \scriptstyle \Delta f}$, ${\displaystyle \scriptstyle T'}$ is smaller than ${\displaystyle \scriptstyle T}$, hence the pulse compression name.

Since the cardinal sine can have annoying sidelobes, a common practice is to filter the result by a window (Hamming, Hann, etc.). In practice, this can be done at the same time as the adapted filtering by multiplying the reference chirp with the filter. The result will be a signal with a slightly lower maximum amplitude, but the sidelobes will be filtered out, which is more important.

Result 2
The distance resolution reachable with a linear frequency modulation of a pulse on a bandwidth ${\displaystyle \scriptstyle \Delta f}$ is: ${\displaystyle \scriptstyle {\frac {c}{2\Delta f}}}$ where ${\displaystyle \scriptstyle c}$ is the speed of the wave.

Definition
Ratio ${\displaystyle \scriptstyle {\frac {T}{T^{\prime }}}\,=\,T\Delta f}$ is the pulse compression ratio. It is generally greater than 1 (usually, its value is 20 to 30).

 Before matched filtering After matched filtering: the echoes are shorter in time.

### Improving the SNR through pulse compression

The energy of the signal does not vary during pulse compression. However, it is now located in the main lobe of the cardinal sine, whose width is approximately ${\displaystyle \scriptstyle T'\,\approx \,{\frac {1}{\Delta f}}}$. If ${\displaystyle \scriptstyle P}$ is the power of the signal before compression, and ${\displaystyle \scriptstyle P'}$ the power of the signal after compression, we have:

${\displaystyle P\times T=P'\times T'}$

which yields:

${\displaystyle P'=P\times {\frac {T}{T'}}}$

Besides, the power of the noise does not change through intercorrelation since it is not correlated to the transmitted pulse (it is totally random). As a consequence:

Result 3
After pulse compression, the power of the received signal can be considered as being amplified by ${\displaystyle \scriptstyle T\Delta f}$. This additional gain can be injected in the radar equation.

 Before matched filtering: the signal is hidden in noise After matched filtering: echoes become visible.

## Pulse compression by phase coding

There are other means to modulate the signal. Phase modulation is a commonly used technique; in this case, the pulse is divided in ${\displaystyle \scriptstyle N}$ time slots of duration ${\displaystyle \scriptstyle {\frac {T}{N}}}$ for which the phase at the origin is chosen according to a pre-established convention. For instance, it is possible to not change the phase for some time slots (which comes down to just leaving the signal as it is, in those slots) and de-phase the signal in the other slots by ${\displaystyle \scriptstyle \pi }$ (which is equivalent of changing the sign of the signal). The precise way of choosing the sequence of ${\displaystyle \scriptstyle \{0,\,\pi \}}$ phases is done according to a technique known as Barker codes. It is possible to code the sequence on more than two phases (polyphase coding). As with a linear chirp, pulse compression is achieved through intercorrelation.

The advantages[3] of the Barker codes are their simplicity (as indicated above, a ${\displaystyle \scriptstyle \pi }$ de-phasing is a simple sign change), but the pulse compression ratio is lower than in the chirp case and the compression is very sensitive to frequency changes due to the Doppler effect if that change is larger than ${\displaystyle \scriptstyle {\frac {1}{T}}}$.

## Notes

1. ^ J. R. Klauder, A. C, Price, S. Darlington and W. J. Albersheim, ‘The Theory and Design of Chirp Radars,” Bell System Technical Journal 39, 745 (1960).
2. ^ Achim Hein, Processing of SAR Data: Fundamentals, Signal Processing, Interferometry, Springer, 2004, ISBN 3-540-05043-4, pages 38 to 44. Very rigorous demonstration of the autocorrelation function of a chirp. The author works with real chirps, hence the factor of 12 in his book, which is not used here.
3. ^ J.-P. Hardange, P. Lacomme, J.-C. Marchais, Radars aéroportés et spatiaux, Masson, Paris, 1995, ISBN 2-225-84802-5, page 104. Available in English: Air and Spaceborne Radar Systems: an introduction, Institute of Electrical Engineers, 2001, ISBN 0-85296-981-3