Changes between Version 19 and Version 20 of Tutorials/Wireless/mmwave Paam Basics


Ignore:
Timestamp:
Mar 2, 2022, 5:49:12 PM (3 years ago)
Author:
prasanthi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/Wireless/mmwave Paam Basics

    v19 v20  
    55=== Description ===
    66
    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 Sandbox2 (sb2)].
     7In 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)].
    88
    99The 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.
     
    2222=== Prerequisites ===
    2323
    24 In order to access sb2, create a reservation in sb2 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.
     24In 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.
    2525
    2626=== Resources Required ===
    2727
    2828In 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 ({{{rfdev2-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 )
    3131* 1 Server ({{{srv1-lg1}}})
    3232
    33 The current hardware connection in sb2:
     33The 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
     37The current hardware connection in SB2:
    3438* {{{sdr1-s1-lg1}}} RF2 TX/RX -- {{{rfdev2-1}}} IC1/TX/H, {{{sdr1-s1-lg1}}} RF2 RX2 -- {{{rfdev2-1}}} IC2/RX/H
    3539* {{{sdr1-md1}}} RF2 TX/RX -- {{{rfdev2-2}}} IC1/TX/H, {{{sdr1-md1}}} RF2 RX2 -- {{{rfdev2-2}}} IC2/RX/H
     
    3943=== Tutorial Setup ===
    4044
    41 Follow the steps below to gain access to the sb2 console and set up nodes with appropriate images.
     45Follow the steps below to gain access to the sandbox console and set up nodes with appropriate images.
    4246 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 sb2
    44  1. [Documentation/Short/Login Login] into sb2 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.
    4549 1. Make sure all the nodes and devices used in the experiment are turned off:
     50On SB1 console
     51{{{#!shell
     52omf tell -a offh -t sdr1-in1,sdr1-in2,rfdev4-in1,rfdev4-in2,srv1-lg1
     53}}}
     54On SB2 console
    4655{{{#!shell
    4756omf tell -a offh -t sdr1-s1-lg1,sdr1-md1,rfdev2-1,rfdev2-2,srv1-lg1
    4857}}}
    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-lg1
     58 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
     60omf load -i paam28GHz-tutorial-cosmos.ndz -t srv1-lg1
    5261}}}
    5362 1. Turn all the required resources on and check the status of all resources
     63On SB1 console
     64{{{#!shell
     65omf tell -a on -t sdr1-in1,sdr1-in2,rfdev4-in1,rfdev4-in2,srv1-lg1
     66}}}
     67On SB2 console
    5468{{{#!shell
    5569omf tell -a on -t sdr1-s1-lg1,sdr1-md1,rfdev2-1,rfdev2-2,srv1-lg1
     
    5872omf stat -t all
    5973}}}
    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
     76ssh -Y root@srv1-lg1,
    6477}}}
    6578
    6679=== Experiment Execution ===
    6780==== 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].
    6882
    6983* 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:
     
    86100}}}
    87101
    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:
    89103{{{#!shell
    90104root@srv1-lg1:~# uhd_find_devices