Changes between Version 4 and Version 5 of WARPLab/Examples/MIMO_OFDM
- Timestamp:
- Aug 25, 2015, 4:08:11 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WARPLab/Examples/MIMO_OFDM
v4 v5 13 13 From there, the rest of the legacy preamble is identical to that seen in the [wiki:WARPLab/Examples/OFDM SISO OFDM example]. These Long Training Symbols (LTS) are used by the receiver to estimate and correct for Carrier Frequency Offset (CFO) as well as timing alignment via a cross correlator. 14 14 15 Finally, the preamble is concluded with time-orthogonalized transmission of channel training symbols from each of the two transmit antennas. These two symbols are used by the receiver to generate the 2x2 channel matrix for each of the data-bearing subcarriers of the OFDM waveform. 16 15 17 16 18 == Running the Example == … … 24 26 ||||||= [[BR]] =|| 25 27 26 By 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. 27 28 For example to simulate a perfect (noiseless) link, set the noise power to zero: 29 {{{ 30 rx_vec_air = tx_vec_air + 0*complex(randn(1,length(tx_vec_air)), randn(1,length(tx_vec_air))); 31 }}} 32 33 The script also prints statistics about the experiment to the MATLAB command prompt: 34 {{{ 35 Results: 36 Num Bytes: 4560 37 Sym Errors: 0 (of 9120 total symbols) 38 Bit Errors: 0 (of 36480 total bits) 39 EVM: 3.779% 40 LTS CFO Est: -0.07 kHz 41 }}} 28 By default the simulation script applies a deterministic combination of each spatial stream to each receive interface. This combination is frequency-flat and no noise is added. You can see the effect of this MIMO combining in the above figure with the "Unequalized Rx Symbols" plots. 42 29 43 30 === Hardware in the Loop === 44 31 45 '''Requirements: 2 WARP v3 kits, 1 antennaeach.'''32 '''Requirements: 2 WARP v3 kits, 2 antennas each.''' 46 33 47 To 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.34 To use the example with WARP hardware you will need two WARP nodes each running WARPLab 7.5.1 (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. 48 35 49 36 To 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: