labAlive - Communication System Simulation

labAlive - Virtual Communications Lab

Tutorial       Experiment       App

Introduction

Oscilloscope

Spectrum analyzer

Experiments

OFDM step-by-step

OFDM Guard interval

Multipath fading

QPSK BER

QAM BER

Equivalent baseband

Tutorials

OFDM step-by-step

QPSK BER

QAM BER

Simulation Apps

Wireless Communications

Digital Modulation

All

User Manual

Systems & measures

Measure settings

Menu

Keys

Developer

Quick Start

Contact

OFDM transmission step-by-step

  Start
  → Download

In this experiment an OFDM data transmission via a frequency-selective channel is established. Check the tutorial.

Ofdmstepbystep

Channel estimation

Initially a pilot sequence d ( i ) MathType@MTEF@5@5@+= feaagKart1ev2aqatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn hiov2DGi1BTfMBaeXatLxBI9gBamXvP5wqonvsaeHbd9wDYLwzYbqe e0evGueE0jxyaibaieYlf9irVeeu0dXdh9vqqj=hEeeu0xXdbba9fr Fj0=OqFfea0dXdd9vqaq=JfrVkFHe9pgea0dXdar=Jb9hs0dXdbPYx e9vr0=vr0=vqpWqaaeaabiGaciaacaqabeaadaqaaqaaaOqaaiaads gacaGGOaGaamyAaiaacMcaaaa@3A4A@ is sent for channel estimation and equalizer initialization.

  • The app stops after the first symbol s( 0 ) MathType@MTEF@5@5@+= feaagKart1ev2aqatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn hiov2DGi1BTfMBaeXatLxBI9gBamXvP5wqonvsaeHbd9wDYLwzYbqe e0evGueE0jxyaibaieYlf9irVeeu0dXdh9vqqj=hEeeu0xXdbba9fr Fj0=OqFfea0dXdd9vqaq=JfrVkFHe9pgea0dXdar=Jb9hs0dXdbPYx e9vr0=vr0=vqpWqaaeaabiGaciaacaqabeaadaqaaqaaaOqaaiaado hadaqadaqaaiaaicdaaiaawIcacaGLPaaaaaa@3A55@   is sent.
  • Send the next symbol by pressing F5 (or Run - 1 Step).
  • Continue till the first OFDM symbol is completely received (further 9 steps).
  • Look at w( i ) MathType@MTEF@5@5@+= feaagKart1ev2aqatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn hiov2DGi1BTfMBaeXatLxBI9gBamXvP5wqonvsaeHbd9wDYLwzYbqe e0evGueE0jxyaibaieYlf9irVeeu0dXdh9vqqj=hEeeu0xXdbba9fr Fj0=OqFfea0dXdd9vqaq=JfrVkFHe9pgea0dXdar=Jb9hs0dXdbPYx e9vr0=vr0=vqpWqaaeaabiGaciaacaqabeaadaqaaqaaaOqaaiaadE hadaqadaqaaiaadMgaaiaawIcacaGLPaaaaaa@3A8D@ , the spectral representation of this OFDM symbol.
Signal Echochannel
The spectral representation of the pilot OFDM symbol w(i) MathType@MTEF@5@5@+= feaagKart1ev2aqatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn hiov2DGi1BTfMBaeXatLxBI9gBamXvP5wqonvsaeHbd9wDYLwzYbqe e0evGueE0jxyaibaieYlf9irVeeu0dXdh9vqqj=hEeeu0xXdbba9fr Fj0=OqFfea0dXdd9vqaq=JfrVkFHe9pgea0dXdar=Jb9hs0dXdbPYx e9vr0=vr0=vqpWqaaeaabiGaciaacaqabeaadaqaaqaaaOqaaiaadE hacaGGOaGaamyAaiaacMcaaaa@3A5D@ represents the channel transfer function.

The equalizer coefficients are the reciprocal of w(i) MathType@MTEF@5@5@+= feaagKart1ev2aqatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn hiov2DGi1BTfMBaeXatLxBI9gBamXvP5wqonvsaeHbd9wDYLwzYbqe e0evGueE0jxyaibaieYlf9irVeeu0dXdh9vqqj=hEeeu0xXdbba9fr Fj0=OqFfea0dXdd9vqaq=JfrVkFHe9pgea0dXdar=Jb9hs0dXdbPYx e9vr0=vr0=vqpWqaaeaabiGaciaacaqabeaadaqaaqaaaOqaaiaadE hacaGGOaGaamyAaiaacMcaaaa@3A5D@ .

  • 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:

d(i) MathType@MTEF@5@5@+= feaagKart1ev2aqatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn hiov2DGi1BTfMBaeXatLxBI9gBamXvP5wqonvsaeHbd9wDYLwzYbqe e0evGueE0jxyaibaieYlf9irVeeu0dXdh9vqqj=hEeeu0xXdbba9fr Fj0=OqFfea0dXdd9vqaq=JfrVkFHe9pgea0dXdar=Jb9hs0dXdbPYx e9vr0=vr0=vqpWqaaeaabiGaciaacaqabeaadaqaaqaaaOqaaiaads gacaGGOaGaamyAaiaacMcaaaa@3A4A@ A block containing 8 data symbols (representing 16 bits) is generated and serial-to-parallel converted.
u(i) MathType@MTEF@5@5@+= feaagKart1ev2aqatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn hiov2DGi1BTfMBaeXatLxBI9gBamXvP5wqonvsaeHbd9wDYLwzYbqe e0evGueE0jxyaibaieYlf9irVeeu0dXdh9vqqj=hEeeu0xXdbba9fr Fj0=OqFfea0dXdd9vqaq=JfrVkFHe9pgea0dXdar=Jb9hs0dXdbPYx e9vr0=vr0=vqpWqaaeaabiGaciaacaqabeaadaqaaqaaaOqaaiaadw hacaGGOaGaamyAaiaacMcaaaa@3A5B@ It IFFT-transforms to an OFDM symbol.
s(i) MathType@MTEF@5@5@+= feaagKart1ev2aqatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn hiov2DGi1BTfMBaeXatLxBI9gBamXvP5wqonvsaeHbd9wDYLwzYbqe e0evGueE0jxyaibaieYlf9irVeeu0dXdh9vqqj=hEeeu0xXdbba9fr Fj0=OqFfea0dXdd9vqaq=JfrVkFHe9pgea0dXdar=Jb9hs0dXdbPYx e9vr0=vr0=vqpWqaaeaabiGaciaacaqabeaadaqaaqaaaOqaaiaado hacaGGOaGaamyAaiaacMcaaaa@3A59@ The guard interval (GI) is added, i.e. the OFDM symbol is extended by a cyclic prefix containing the last single symbols.
r(i) MathType@MTEF@5@5@+= feaagKart1ev2aqatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn hiov2DGi1BTfMBaeXatLxBI9gBamXvP5wqonvsaeHbd9wDYLwzYbqe e0evGueE0jxyaibaieYlf9irVeeu0dXdh9vqqj=hEeeu0xXdbba9fr Fj0=OqFfea0dXdd9vqaq=JfrVkFHe9pgea0dXdar=Jb9hs0dXdbPYx e9vr0=vr0=vqpWqaaeaabiGaciaacaqabeaadaqaaqaaaOqaaiaadk hacaGGOaGaamyAaiaacMcaaaa@3A58@ The received symbol is degenerated by the channel.
v(i) MathType@MTEF@5@5@+= feaagKart1ev2aqatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn hiov2DGi1BTfMBaeXatLxBI9gBamXvP5wqonvsaeHbd9wDYLwzYbqe e0evGueE0jxyaibaieYlf9irVeeu0dXdh9vqqj=hEeeu0xXdbba9fr Fj0=OqFfea0dXdd9vqaq=JfrVkFHe9pgea0dXdar=Jb9hs0dXdbPYx e9vr0=vr0=vqpWqaaeaabiGaciaacaqabeaadaqaaqaaaOqaaiaadA hacaGGOaGaamyAaiaacMcaaaa@3A5C@ The OFDM symbol is obtained by removing the guard interval, i.e. the first two single symbols.
w(i) MathType@MTEF@5@5@+= feaagKart1ev2aqatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn hiov2DGi1BTfMBaeXatLxBI9gBamXvP5wqonvsaeHbd9wDYLwzYbqe e0evGueE0jxyaibaieYlf9irVeeu0dXdh9vqqj=hEeeu0xXdbba9fr Fj0=OqFfea0dXdd9vqaq=JfrVkFHe9pgea0dXdar=Jb9hs0dXdbPYx e9vr0=vr0=vqpWqaaeaabiGaciaacaqabeaadaqaaqaaaOqaaiaadE hacaGGOaGaamyAaiaacMcaaaa@3A5D@ (After further 8 steps.) It FFT-transforms to the spectral representation of the OFDM symbol.
d (i) MathType@MTEF@5@5@+= feaagKart1ev2aqatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn hiov2DGi1BTfMBaeXatLxBI9gBamXvP5wqonvsaeHbd9wDYLwzYbqe e0evGueE0jxyaibaieYlf9irVeeu0dXdh9vqqj=hEeeu0xXdbba9fr Fj0=OqFfea0dXdd9vqaq=JfrVkFHe9pgea0dXdar=Jb9hs0dXdbPYx e9vr0=vr0=vqpWqaaeaabiGaciaacaqabeaadaqaaqaaaOqaaiqads gagaqbaiaacIcacaWGPbGaaiykaaaa@3A56@ The equalized signal represents the 8 data symbols.

Data Symbols1 Data Symbols2 Parallel Constellation
The data symbols are detected error free: d (i)=d(i) MathType@MTEF@5@5@+= feaagKart1ev2aqatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn hiov2DGi1BTfMBaeXatLxBI9gBamXvP5wqonvsaeHbd9wDYLwzYbqe e0evGueE0jxyaibaieYlf9irVeeu0dXdh9vqqj=hEeeu0xXdbba9fr Fj0=OqFfea0dXdd9vqaq=JfrVkFHe9pgea0dXdar=Jb9hs0dXdbPYx e9vr0=vr0=vqpWqaaeaabiGaciaacaqabeaadaqaaqaaaOqaaiqads gagaqbaiaacIcacaWGPbGaaiykaiabg2da9iaadsgacaGGOaGaamyA aiaacMcaaaa@3E8C@ . 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.

    Digital Signal Constellation

  • 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.

    Echochannel Properties seriell parallel1 seriell parallel2

  • Modify the initial echo delay of the channel: Simulation - Setup (F12).

    simulation setup

    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 μs MathType@MTEF@5@5@+= feaagKart1ev2aqatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn hiov2DGi1BTfMBaeXatLxBI9gBamXvP5wqonvsaeHbd9wDYLwzYbqe e0evGueE0jxyaibaieYlf9irVeeu0dXdh9vqqj=hEeeu0xXdbba9fr Fj0=OqFfea0dXdd9vqaq=JfrVkFHe9pgea0dXdar=Jb9hs0dXdbPYx e9vr0=vr0=vqpWqaaeaabiGaciaacaqabeaadaqaaqaaaOqaaiabeY 7aTjaadohaaaa@39C8@ ).