Changes between Version 2 and Version 3 of Tutorials/Wireless/Channel SoundingMIMO


Ignore:
Timestamp:
Sep 21, 2020, 6:51:17 PM (4 years ago)
Author:
tingjunchen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/Wireless/Channel SoundingMIMO

    v2 v3  
    5151
    5252=== Experiment Execution ===
    53 ==== Find and prepare USRPs ====
     53==== Find and prepare USRPs and the Sounder software ====
     54
    5455* The IP addresses for Ethernet Port 1(10G) on {{{sdr2-s1-lg1}}} and {{{sdr2-md1}}} were hard-coded to {{{10.118.2.2}}} and {{{10.118.3.2}}} respectively. To access them from {{{srv2-lg1}}}, configure the network interface {{{eno2}}} as follows:
    5556{{{#!shell
     
    101102
    102103* Download and build the RENEW Sounder software **on the {{{develop}}} branch** at [https://github.com/renew-wireless/RENEWLab/ here] and follow the [https://docs.renew-wireless.org/dev-suite/design-flows/cpp/sounder/ instructions] to build it. Note that the {{{master}}} branch does not have UHD support.
     104
     105* Include in {{{files/usrp-bs-serials.txt}}} the IP address {{{10.118.2.2}}}, i.e., use {{{sdr2-s1-lg1}}} as the base station (BS). In {{{files/usrp-bs-only.json}}}, set {{{"channel" : "AB",}}} to enable dual-channel on {{{sdr2-s1-lg1}}}.
     106
     107* Similarly, in {{{files/usrp-client-only.json}}}, set {{{"sdr_id" : [ "10.118.3.2" ]}}} (i.e., use {{{sdr2-md1}}} as the user) and {{{"channel" : "AB",}}} to enable dual-channel on {{{sdr2-md1}}}.
     108
     109
     110=== Execution ===
     111==== Run the experiment ====
     112* In the first terminal [Terminal 1], start the client:
     113{{{#!shell
     114root@srv2-lg1:~/git/renew-software/CC/Sounder# ./sounder files/usrp-client-only.json
     115...
     116...
     117pinning client thread 0 to core 1
     118scheduling TX 13 Frames (41.08 ms) in the future!
     1191 uplink symbols will be sent per frame...
     120Beacon detected at Time 32476200, sync_index: 13100
     121Start main client txrx loop...
     122}}}
     123
     124* In the second terminal [Terminal 2], start the BS:
     125{{{#!shell
     126root@srv2-lg1:~/git/renew-software/CC/Sounder# ./sounder files/usrp-bs-only.json
     127...
     128...
     129Set HDF5 File to logs/trace-2020-9-21-18-46-29_1x2x2.hdf5 and group to /
     130task thread 0 starts
     131pinning thread 0 to core 1
     132Recv Thread 0: waiting for release
     133receiver thread 0 has 1 radios
     134Sync BS host and FPGA timestamp...
     135Start BS main recv loop...
     136Saving HDF5, 2000 frames saved.
     137...
     138...
     139}}}
     140
     141==== Analyze the results ====
     142* Once the hdf5 file is recorded (in this case, {{{logs/trace-2020-9-21-18-46-29_1x2x2.hdf5}}}), follow the **Analyze the HDF5 dataset** step [https://docs.renew-wireless.org/dev-suite/design-flows/cpp/sounder/ here] to analyze the results. For example, we can show the pilot sequence for computing the 2x2 channel matrix H = [h00, h01; h10, h11] as follows:
     143{{{#!shell
     144root@srv2-lg1:~/git/renew-software/PYTHON/IrisUtils# python3 plot_hdf5.py ../../CC/Sounder/logs/trace-2020-9-21-18-46-29_1x2x2.hdf5 --ref-ant 0 --ref-user 0 --ref-frame 1500
     145}}}
     146
     147|| [[Image(MIMOSounding_tutorial_h00.png, 900px)]] ||
     148
     149