Changes between Version 3 and Version 4 of Tutorials/Wireless/Channel Sounding
- Timestamp:
- May 11, 2020, 1:15:22 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/Wireless/Channel Sounding
v3 v4 19 19 Determine the set of nodes that you're using. If you have a topology assigned, it will be entered in the form "system:topo:group-red" for example. 20 20 * Load channel-sounder.ndz on a pair of nodes 21 {{{ 21 {{{#!shell-session 22 22 prasanthi@console.grid:~$ omf load -i channel-sounder.ndz -t node19-1,node20-1 23 23 }}} 24 24 or if you were assigned a topology, 25 {{{ 25 {{{#!shell-session 26 26 prasanthi@console.grid:~$ omf load -i channel-sounder.ndz -t system:topo:group-red 27 27 }}} 28 28 29 29 * Turn the nodes on 30 {{{ 30 {{{#!shell-session 31 31 prasanthi@console.grid:~$ omf tell -a on -t node19-1,node20-1 32 32 }}} 33 33 or 34 {{{ 34 {{{#!shell-session 35 35 prasanthi@console.grid:~$ omf tell -a on -t system:topo:group-red 36 36 }}} 37 37 38 38 * Check the status 39 {{{ 39 {{{#!shell-session 40 40 prasanthi@console.grid:~$ omf stat -t node19-1,node20-1 41 41 }}} 42 42 or 43 {{{ 44 prasanthi@console.grid:~$ omf stat -t system:topo:group-red 45 }}} 46 {{{ 43 {{{#!shell-session 44 prasanthi@console.grid:~$ omf stat -t system:topo:group-red 45 47 46 ----------------------------------------------- 48 47 Node: node19-1.grid.orbit-lab.org State: POWERON … … 52 51 53 52 * ssh to the nodes 54 {{{ 55 53 {{{#!shell-session 54 prasanthi@console.grid:~$ ssh root@node19-1 56 55 }}} 57 56 … … 59 58 * Pick 2 USRP X310s from the MIMO racks 23-1...8, 23-11...18, 24-1...8, 24-11...18. If you are using a topology, USRPs are assigned by default. For example, group-red uses 23-16 as TX and 24-16 as RX. 60 59 * Check if USRPs have the modules required for the experiment by running uhd_usrp_probe on each on of them. 61 {{{ 60 {{{#!shell-session 62 61 root@node19-1:~# uhd_usrp_probe --args="addr=10.10.23.16" 63 }}} 64 {{{ 62 65 63 | | _____________________________________________________ 66 64 | | / … … 80 78 If you see the above at the end of uhd_usrp_probe output, the USRPs are ready. Spreader_0 is used to spread the transmit signal, and Corrmag63avg8k_0 is the correlator on the receive side. 81 79 * If not, load the required image using uhd_image_loader 82 {{{ 80 {{{#!shell-session 83 81 root@node19-1:~# uhd_image_loader --args="addr=10.10.23.16,type=x300" --fpga-path=""spreader_corr_specsense_uhd_3_14.bit" 84 82 }}} … … 87 85 * Set up a web proxy for the receive node 88 86 Use run-websock command to set up the proxy (this is required for remote web based streaming) 89 {{{ 87 {{{#!shell-session 90 88 prasanthi@console.grid:~$ run-websock 5100 10.10.20.1:5100 --daemon 91 89 WARNING: no 'numpy' module, HyBi protocol will be slower … … 99 97 ==== Run the experiment 100 98 * Start transmit application on the TX node. If you were assigned a group, the command below will start the application on the assigned TX USRP, with a bandwidth of 100MHz. 101 {{{ 99 {{{#!shell-session 102 100 root@node19-1:~# /root/uhd/host/build/examples/rfnoc_tx_mobicom --group red 103 101 }}} 104 102 The same application can be run by passing different command line parameters as shown below 105 {{{ 103 {{{#!shell-session 106 104 root@node19-1:~# /root/uhd/host/build/examples/rfnoc_tx_mobicom --args"addr=10.10.23.16,type=x300,skip_ddc,skip_duc" --freq 3e9 --gain 20 --duc-args="input_rate=50000000.0,output_rate=200000000.0" 107 105 }}} 108 106 109 107 * Start receive application on the RX node. If you were assigned a group, the command below will start the application on the assigned RX USRP 110 {{{ 111 108 {{{#!shell-session 109 root@node20-1:~# ./uhd/host/build/examples/rfnoc_rx_mobicom --group red 112 110 }}} 113 111 or the following could be used, when not using a topology 114 {{{ 115 112 {{{#!shell-session 113 root@node20-1:~# ./uhd/host/build/examples/rfnoc_rx_mobicom --args"addr=10.10.24.16,type=x300,skip_ddc,skip_duc" --freq 3e9 --gain 10 --ddc-args="output_rate=50000000.0,input_rate=200000000.0" 116 114 }}} 117 115 * Download channel_sounding_display.html attached to this tutorial and open it in your browser. Once you click the start button, you should see PDP of the channel.