OFDM transmission: step-by-step example
This OFDM tutorial walks through an example transmission via a frequency-selective channel and illustrates an ISI free detection. This practical course aims to illustrate OFDM basics leaving aside the complexity of multi carrier theory. The mission is to process a simple example of data transfer.
Basic OFDM system. A setup of 8 subcarriers and a cyclic prefix (CP) with discrete length of 2 is used. Noise and time-variant effects are neglected.
Frequency-selective channel - impulse response and transfer function of a two-paths channel.
Channel estimation
Before data can be transmitted a pilot sequence is sent to initialize the equalizer according to the channel.
Initially a pilot sequence is sent. The equalizer coefficients are determined.
We step through the transmit chain following the parallel signal blocks.
-
: The pilot sequence is a series of real constant symbols.
-
: It IFFT-transforms to an OFDM symbol, in this case an impulse symbol.
-
: The guard interval (GI) is added, i.e. the OFDM symbol is extended by a cyclic prefix containing the last single symbols.
-
: The received symbol is degenerated by the channel. The echo of the example channel has a relative power of 0.9.
-
: The OFDM symbol is obtained by removing the guard interval, i.e. the first two single symbols.
-
: It FFT-transforms to the spectral representation of the OFDM symbol
, i.e. the channel transfer function
.
The spectral representation of the pilot OFDM symbol
represents the channel transfer function
Each flat-fading sub channel can be equalized by a complex factor (single tap equalization). The equalizer coefficients are the reciprocals of the channel transfer function:
.
End-to-end data transmission
Now a data sequence is processed in the same way but the detected signal is equalized.
Again, we step through the transmit chain following the parallel signal blocks.
-
: A random data sequence.
-
: It IFFT-transforms to an OFDM symbol.
-
: The guard interval (GI) is added, i.e. the OFDM symbol is extended by a cyclic prefix containing the last single symbols.
-
: The received symbol is degenerated by the channel.
-
: The OFDM symbol is obtained by removing the guard interval, i.e. the first two single symbols.
-
: It FFT-transforms to the spectral representation of the OFDM symbol.
-
: The signal is equalized:
. The equalizer adjusted to the channel allows ISI free detection:
OFDM data transmission. The detected data are perfect as no noise was considered:
.
OFDM transmission implements ISI free detection.
Now carry out the OFDM step-by-step lab experiment.
Download presentation
In this experiment an OFDM data transmission via a frequency-selective channel is established. Using example values we walk through the signal chain, OFDM symbols and equalizer coefficients. Finally a data sequence can be detected ISI-free.
Check the tutorial.
Channel estimation
Initially a pilot sequence
is sent for channel estimation and equalizer initialization.
- The app stops after the first symbol
is sent.
- Send the next symbol by pressing key "1" (or Run - 1 Step).
- Continue till the first OFDM symbol is completely received (further 9 steps).
- Look at
, the spectral representation of this OFDM symbol.
The spectral representation of the pilot OFDM symbol
represents the channel transfer function.
The equalizer coefficients are the reciprocal of
.
- Regard the equalizer coefficients by clicking on the Equalizer box and then on Coefficients.
End-to-end data transmission
Now a data sequence is sent. Continue the simulation (6 steps). Step through the transmit chain:
|
A block containing 8 data symbols (representing 16 bits) is generated and serial-to-parallel converted. |
|
It IFFT-transforms to an OFDM symbol. |
|
The guard interval (GI) is added, i.e. the OFDM symbol is extended by a cyclic prefix containing the last single symbols. |
|
The received symbol is degenerated by the channel. |
|
The OFDM symbol is obtained by removing the guard interval, i.e. the first two single symbols. |
|
(After further 8 steps.) It FFT-transforms to the spectral representation of the OFDM symbol. |
|
The equalized signal represents the 8 data symbols. |
The data symbols are detected error free:
.
OFDM transmission implements ISI free detection.
Note that in this case no noise is present.
Next steps
The app recurrently transmits a fixed data sequence.
- Confirm the ISI free detection for random data sequences. Switch the digital source to Random.
- Modify the channel and simulate time selective channel variation. Channel parameters (delay and amplitude) can be adjusted in real time.
Note that ISI occurs when there's a mismatch of the channel transfer function and the equalizer coefficients.
- Modify the initial echo delay of the channel: Simulation - Setup (F12).
Repeat the same flow as outlined above. Note that after clicking on OK the simulation restarts and the pilot sequence is sent via this channel. Therefore the channel estimation and equalizer initialization work properly.
Approve that ISI free detection requires a channel maximum delay spread (Echo delay) lower than the guard interval length (i.e. the adjustable discrete Prefix length times the sampling time of e.g. 1,6
).
This simulation app implements a simple OFDM data transmission over a frequency-selective channel.
The app stops after the first symbol of the pilot sequence is sent.
- Press key "1" to send the next symbol.
- Repeat till the first OFDM symbol is completely received.
- Left click on Equalizer and then on Coefficients to view how the equalizer has been initialized.
Now a data sequence
is sent.
- Continue pressing key "1" to perform single simulation steps and track how the data symbol is transmitted.
- Finally the detected data symbol
is error and ISI free as no noise is present.
Key |
Action |
Key "1" |
Process one simulation step. |
Key "2" |
Process 10 simulation steps. |
Mouse |
Action |
Left click on Equalizer.
|
|
Left click on Coefficients.
|
|
Right click on
|
|
Select Constellation diagram.
|
|
Left click on bullet representing the digital source.
And switch to Random. |
|
Left click on Two-path channel.
|
Modify the channel to simulate time selective channel variation.
|
Simulation - Setup (F12)
|
Modify the initial echo delay of the channel and press OK to restart the simulation. |