Changes between Version 5 and Version 6 of WARPLab/Examples/OFDM


Ignore:
Timestamp:
Feb 21, 2014, 11:38:02 AM (10 years ago)
Author:
murphpo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WARPLab/Examples/OFDM

    v5 v6  
    3939=== Simulation ===
    4040To use the example in simulation mode set the top-level param {{{USE_WARPLAB_TXRX = 0;}}}, then run the m-script. When the script finishes 6 plots will show:
    41 
    42 ||  [[Image(wl_ofdm_plots_sim_txIQ.png,nolink)]][[BR]]Transmitted waveform  ||  [[Image(wl_ofdm_plots_sim_rxIQ.png,nolink)]] [[BR]]Received waveform  ||  [[Image(wl_ofdm_plots_sim_ltsCorr.png,nolink)]] [[BR]]Preamble correlation results[[BR]](peaks indicate locations of preamble LTS)  ||
    43 ||  [[Image(wl_ofdm_plots_sim_chanEst.png,nolink)]] [[BR]]Channel estimate per subcarrier[[BR]](I/Q components and complex magnitude)  ||  [[Image(wl_ofdm_plots_sim_phaseError.png,nolink)]] [[BR]]Phase error per OFDM symbol based on pilot tones  ||  [[Image(wl_ofdm_plots_sim_constellations.png,nolink)]] [[BR]]Tx and Rx constellations  ||
     41||||||=  '''Simulation Plots'''  =||
     42||  [[Image(wl_ofdm_plots_sim_txIQ.png,width=250)]][[BR]]Transmitted waveform  ||  [[Image(wl_ofdm_plots_sim_rxIQ.png,width=250)]] [[BR]]Received waveform  ||  [[Image(wl_ofdm_plots_sim_ltsCorr.png,width=250)]] [[BR]]Preamble correlation results[[BR]](peaks indicate locations of preamble LTS)  ||
     43||  [[Image(wl_ofdm_plots_sim_chanEst.png,width=250)]] [[BR]]Channel estimate per subcarrier[[BR]](I/Q components and complex magnitude)  ||  [[Image(wl_ofdm_plots_sim_phaseError.png,width=250)]] [[BR]]Phase error per OFDM symbol based on pilot tones  ||  [[Image(wl_ofdm_plots_sim_constellations.png,width=250)]] [[BR]]Tx and Rx constellations  ||
    4444
    4545By default the simulation script applies AWGN with an arbitrary fixed SNR. You can change the simulated propagation characteristics in the m-code. Search for {{{AWGN}}} and apply whatever Tx->Rx degradations you like.
     
    6060}}}
    6161
    62 
    6362=== Hardware in the Loop ===
    6463To use the example with WARP hardware you will need two WARP nodes each running WARPLab 7.3 (or later) and a WARPLab environment setup on your PC. Refer to the [wiki:../../QuickStart WARPLab Quick Start] if you have not yet setup WARPLab.
     
    6665To target WARP hardware set the top-level param {{{USE_WARPLAB_TXRX = 1;}}}, then run the m-script. When the script finishes 6 plots will show:
    6766
     67||||||=  '''Hardware in the Loop Plots'''  =||
     68||  [[Image(wl_ofdm_plots_hw_txIQ.png,width=250)]][[BR]]Transmitted waveform  ||  [[Image(wl_ofdm_plots_hw_rxIQ.png,width=250)]] [[BR]]Received waveform  ||  [[Image(wl_ofdm_plots_hw_ltsCorr.png,width=250)]] [[BR]]Preamble correlation results[[BR]](peaks indicate locations of preamble LTS)  ||
     69||  [[Image(wl_ofdm_plots_hw_chanEst.png,width=250)]] [[BR]]Channel estimate per subcarrier[[BR]](I/Q components and complex magnitude)  ||  [[Image(wl_ofdm_plots_hw_phaseError.png,width=250)]] [[BR]]Phase error per OFDM symbol based on pilot tones  ||  [[Image(wl_ofdm_plots_hw_constellations.png,width=250)]] [[BR]]Tx and Rx constellations  ||
    6870
    69 ||  [[Image(wl_ofdm_plots_sim_txIQ.png,nolink)]][[BR]]Transmitted waveform  ||  [[Image(wl_ofdm_plots_sim_rxIQ.png,nolink)]] [[BR]]Received waveform  ||  [[Image(wl_ofdm_plots_sim_ltsCorr.png,nolink)]] [[BR]]Preamble correlation results (peaks indicate locations of preamble LTS)  ||
    70 ||  [[Image(wl_ofdm_plots_sim_chanEst.png,nolink)]] [[BR]]Channel estimate per subcarrier (I/Q components and complex magnitude)  ||  [[Image(wl_ofdm_plots_sim_phaseError.png,nolink)]] [[BR]]Phase error per OFDM symbol based on pilot tones  ||  [[Image(wl_ofdm_plots_sim_constellations.png,nolink)]] [[BR]]Tx and Rx constellations  ||
     71
     72The script also prints statistics about the experiment to the MATLAB command prompt:
     73{{{
     74Results:
     75Num Bytes:  4560
     76Sym Errors:  0 (of 9120 total symbols)
     77Bit Errors:  0 (of 36480 total bits)
     78EVM:        5.22%
     79LTS CFO Est: 3.11 kHz
     80}}}
     81
    7182
    7283== Limitations ==