# Cyclic prefix

In telecommunications, the term cyclic prefix refers to the prefixing of a symbol, with a repetition of the end. The receiver is typically configured to discard the cyclic prefix samples, but the cyclic prefix serves two purposes:

• It provides a guard interval to eliminate intersymbol interference from the previous symbol.
• It repeats the end of the symbol so the linear convolution of a frequency-selective multipath channel can be modeled as circular convolution, which in turn may transform to the frequency domain via a discrete Fourier transform. This approach accommodates simple frequency domain processing, such as channel estimation and equalization.

For the cyclic prefix to serve its objectives, it must have a length at least equal to the length of the multipath channel. The concept of a cyclic prefix is traditionally associated with OFDM systems, however the cyclic prefix is now also used in single carrier systems to improve the robustness to multipath propagation.

## Principle

A cyclic prefix is often used in conjunction with modulation to retain sinusoids' properties in multipath channels. It is well known that sinusoidal signals are eigenfunctions of linear, and time-invariant systems. Therefore, if the channel is assumed to be linear and time-invariant, then a sinusoid of infinite duration would be an eigenfunction. However, in practice, this cannot be achieved, as real signals are always time-limited. So, to mimic the infinite behavior, prefixing the end of the symbol to the beginning makes the linear convolution of the channel appear as though it were circular convolution, and thus, preserve this property in the part of the symbol after the cyclic prefix.

## Use in OFDM

OFDM uses cyclic prefixes to combat multipath by making channel estimation easy. As an example, consider an OFDM system that has ${\displaystyle N}$ subcarriers. The message symbol can be written as:

${\displaystyle \mathbf {d} =[d_{0},d_{1},\ldots d_{N-1}]^{T}}$

The OFDM symbol is constructed by taking the inverse discrete Fourier transform (IDFT) of the message symbol, followed by a cyclic prefixing. Let the symbol obtained by the IDFT be denoted by

${\displaystyle \mathbf {x} ^{\prime }=[x[0],x[1],\ldots x[N-1]]^{T}}$.

Prefixing it with a cyclic prefix of length ${\displaystyle L-1}$, the OFDM symbol obtained is:

${\displaystyle \mathbf {x} =[x[N-L+1],\ldots x[N-2],x[N-1],x[0],x[1],\ldots x[N-1]]^{T}}$.

Assume that the channel is represented using

${\displaystyle \mathbf {h} =[h_{0},h_{1},\ldots h_{L-1}]^{T}}$.

Then, after convolution with the channel, which happens as

${\displaystyle y[m]=\sum _{l=0}^{L-1}h[l]x[m-l]\quad L-1\leq m\leq N-1}$

which is circular convolution, as ${\displaystyle x[m-l]}$ becomes ${\displaystyle x^{\prime }[(m-l)\mod N]}$. So, taking the Discrete Fourier Transform, we get

${\displaystyle Y[k]=H[k]\cdot X[k]}$.

where ${\displaystyle X[k]}$ is the discrete Fourier transform of ${\displaystyle \mathbf {x} ^{\prime }}$. Thus, a multipath channel is converted into scalar parallel sub-channels in frequency domain, thereby simplifying the receiver design considerably. The task of channel estimation is simplified, as we just need to estimate the scalar coefficients ${\displaystyle H[k]}$ for each sub-channel and once the values of ${\displaystyle \{H[k]\}}$ are estimated, for the duration in which the channel does not vary significantly, merely multiplying the received demodulated symbols by the inverse of ${\displaystyle H[k]}$ yields the estimates of ${\displaystyle \{X[k]\}}$ and hence, the estimate of actual symbols ${\displaystyle [d_{0},d_{1},\ldots d_{N-1}]^{T}}$.