Changes between Version 19 and Version 20 of Tutorials/Wireless/mmwave Paam Basics
- Timestamp:
- Mar 2, 2022, 5:49:12 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/Wireless/mmwave Paam Basics
v19 v20 5 5 === Description === 6 6 7 In this tutorial, we demonstrate the basic use of the [https://wiki.cosmos-lab.org/wiki/Hardware/SubSystems/IBM#IBM28-GHzPhasedArrayBoardForCOSMOS IBM 28 GHz phased array antenna modules (PAAMs)] with USRP N310 software-defined radios (SDRs) in the [https://wiki.cosmos-lab.org/wiki/Architecture/Domains/cosmos_sb2 COSMOS Sandbox 2 (sb2)].7 In this tutorial, we demonstrate the basic use of the [https://wiki.cosmos-lab.org/wiki/Hardware/SubSystems/IBM#IBM28-GHzPhasedArrayBoardForCOSMOS IBM 28 GHz phased array antenna modules (PAAMs)] with USRP N310 software-defined radios (SDRs) in the [https://wiki.cosmos-lab.org/wiki/Architecture/Domains/cosmos_sb2 COSMOS Sandboxes (sb1, sb2)]. 8 8 9 9 The following paper describes the integration of the IBM 28 GHz PAAMs (beta-version) with USRP SDRs in the COSMOS testbed. We would appreciate it if you cite this paper when publishing results obtained using the PAAMs deployed in COSMOS. … … 22 22 === Prerequisites === 23 23 24 In order to access sb2, create a reservation in sb2and have it approved by the reservation service. Access to the resources is granted after the reservation is confirmed. Please follow the process shown on the COSMOS getting [https://wiki.cosmos-lab.org/wiki/GettingStarted started page] to get started.24 In order to access a COSMOS sandbox, create a reservation and have it approved by the reservation service. Access to the resources is granted after the reservation is confirmed. Please follow the process shown on the COSMOS getting [https://wiki.cosmos-lab.org/wiki/GettingStarted started page] to get started. 25 25 26 26 === Resources Required === 27 27 28 28 In this tutorial we will use the following hardware resources in sb2, which are also shown in the figure below. 29 * 2 USRP N310 SDRs ({{{sdr1- s1-lg1}}} and {{{sdr1-md1}}})30 * 2 IBM 28GHz PAAMs ({{{rfdev 2-1}}} and {{{rfdev2-2}}})29 * 2 USRP N310 SDRs ({{{sdr1-in1}}} and {{{sdr1-in2}}} in SB1, {{{sdr1-s1-lg1}}} and {{{sdr1-md1}}} in SB2) 30 * 2 IBM 28GHz PAAMs ({{{rfdev4-in1}}} and {{{rfdev4-in2}}} in SB1, {{{rfdev2-1}}} and {{{rfdev2-2}}} in SB2 ) 31 31 * 1 Server ({{{srv1-lg1}}}) 32 32 33 The current hardware connection in sb2: 33 The current hardware connection in SB1: 34 * {{{sdr1-in1}}} RF2 TX/RX -- {{{rfdev4-in1}}} IC0/TX/H, {{{sdr1-in1}}} RF2 RX2 -- {{{rfdev4-in1}}} IC0/RX/H 35 * {{{sdr1-in2}}} RF2 TX/RX -- {{{rfdev4-in2}}} IC0/TX/H, {{{sdr1-in2}}} RF2 RX2 -- {{{rfdev4-in2}}} IC0/RX/H 36 37 The current hardware connection in SB2: 34 38 * {{{sdr1-s1-lg1}}} RF2 TX/RX -- {{{rfdev2-1}}} IC1/TX/H, {{{sdr1-s1-lg1}}} RF2 RX2 -- {{{rfdev2-1}}} IC2/RX/H 35 39 * {{{sdr1-md1}}} RF2 TX/RX -- {{{rfdev2-2}}} IC1/TX/H, {{{sdr1-md1}}} RF2 RX2 -- {{{rfdev2-2}}} IC2/RX/H … … 39 43 === Tutorial Setup === 40 44 41 Follow the steps below to gain access to the s b2console and set up nodes with appropriate images.45 Follow the steps below to gain access to the sandbox console and set up nodes with appropriate images. 42 46 1. If you don't have one already, sign up for a [https://www.cosmos-lab.org/portal-2/ COSMOS account] 43 1. [wiki:/GettingStarted#MakeaReservation Create a resource reservation] on COSMOS sb244 1. [Documentation/Short/Login Login] into s b2 console ({{{console.sb2.cosmos-lab.org}}}) with two SSH sessions.47 1. [wiki:/GettingStarted#MakeaReservation Create a resource reservation] on COSMOS SB1 or SB2 48 1. [Documentation/Short/Login Login] into sandbox console ({{{console.sb1.cosmos-lab.org}}} or {{{console.sb2.cosmos-lab.org}}}) with two SSH sessions. 45 49 1. Make sure all the nodes and devices used in the experiment are turned off: 50 On SB1 console 51 {{{#!shell 52 omf tell -a offh -t sdr1-in1,sdr1-in2,rfdev4-in1,rfdev4-in2,srv1-lg1 53 }}} 54 On SB2 console 46 55 {{{#!shell 47 56 omf tell -a offh -t sdr1-s1-lg1,sdr1-md1,rfdev2-1,rfdev2-2,srv1-lg1 48 57 }}} 49 1. Use the {{{ baseline-28ghz-paam.ndz}}} node image with Ubuntu 18.04, UHD 3.15, gnuradio 3.8, and the IBM 28GHz PAAM API. Load {{{baseline-28ghz-paam.ndz}}} on the server.50 {{{#!shell 51 omf load -i baseline-28ghz-paam.ndz -t srv1-lg158 1. Use the {{{paam28GHz-tutorial-cosmos.ndz}}} node image with Ubuntu 18.04, UHD 3.15, gnuradio 3.8, and a grc example used in this tutorial. Load {{{paam28GHz-tutorial-cosmos.ndz}}} on the server. 59 {{{#!shell 60 omf load -i paam28GHz-tutorial-cosmos.ndz -t srv1-lg1 52 61 }}} 53 62 1. Turn all the required resources on and check the status of all resources 63 On SB1 console 64 {{{#!shell 65 omf tell -a on -t sdr1-in1,sdr1-in2,rfdev4-in1,rfdev4-in2,srv1-lg1 66 }}} 67 On SB2 console 54 68 {{{#!shell 55 69 omf tell -a on -t sdr1-s1-lg1,sdr1-md1,rfdev2-1,rfdev2-2,srv1-lg1 … … 58 72 omf stat -t all 59 73 }}} 60 1. {{{ssh}}} to the the same server from two terminals. In the first terminal, use option -Y for using GUI with gnuradio. In the second terminal, option -Y is not needed as it will be used to control the two IBM 28GHz PAAMs via command lines. 61 {{{#!shell 62 [Terminal 1] ssh -Y root@srv1-lg1, 63 [Terminal 2] ssh root@srv1-lg1, 74 1. {{{ssh}}} to the server with option -Y for using GUI with gnuradio. 75 {{{#!shell 76 ssh -Y root@srv1-lg1, 64 77 }}} 65 78 66 79 === Experiment Execution === 67 80 ==== Find and prepare USRPs and the IBM 28GHz PAAM API ==== 81 * Upon logging into the server, run eth_config.sh script. This sets up the 10G data interfaces DATA1, DATA2. After running the script, you should see that the data interfaces have the appropriate IP addresses assigned, as per the tables for [https://wiki.cosmos-lab.org/wiki/Architecture/Domains/cosmos_sb1#IPAddressAssignment SB1] and [https://wiki.cosmos-lab.org/wiki/Architecture/Domains/cosmos_sb2#IPAddressAssignment SB2]. 68 82 69 83 * The IP addresses for SFP+0 (10G) on {{{sdr1-s1-lg1}}} and {{{sdr1-md1}}} were hard-coded to {{{10.117.2.1}}} and {{{10.117.3.1}}}, respectively. To access them from {{{srv1-lg1}}}, configure the network interface {{{eno1}}} as follows: … … 86 100 }}} 87 101 88 * Run {{{und_find_device }}} to make sure that both USRP N310s can be reached:102 * Run {{{und_find_devices}}} to make sure that both USRP N310s can be reached: 89 103 {{{#!shell 90 104 root@srv1-lg1:~# uhd_find_devices