Changes between Version 4 and Version 5 of Tutorials/Wireless/mmwave Paam Basics


Ignore:
Timestamp:
Apr 11, 2021, 8:46:53 PM (3 years ago)
Author:
tingjunchen
Comment:

Legend:

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

    v4 v5  
    4949==== Find and prepare USRPs and the IBM 28GHz PAAM API ====
    5050
    51 * The IP addresses for Ethernet Port 1 (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:
     51* 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:
    5252{{{#!shell
    5353root@srv1-lg1:~# ifconfig eno1 10.117.1.1 netmask 255.255.0.0 mtu 9000 up
     
    7070* Run {{{und_find_devicec}}} to make sure that both USRP N310s can be reached:
    7171{{{#!shell
    72 root@srv1-lg1:~/beta_20200928/examples# uhd_find_devices
     72root@srv1-lg1:~# uhd_find_devices
    7373[INFO] [UHD] linux; GNU C++ version 7.5.0; Boost_106501; UHD_3.15.0.HEAD-0-gaea0e2de
    7474--------------------------------------------------
     
    9999}}}
    100100
    101 * 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.
    102 
    103 * 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}}}.
    104 
    105 * 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}}}.
     101=== Execution ===
     102==== Run the experiment ====
     103* [Terminal 1] In the first terminal, start gnuradio companion and open the example experiment that established a single tone transmission:
     104{{{#!shell
     105root@srv1-lg1:~# gnuradio-companion example_paam_tone.grc
     106}}}
     107
     108* [Terminal 2] In the second terminal, change directory to paam_api/examples/ which contains the example API scripts.
     109{{{#!shell
     110root@srv1-lg1:~# cd paam_api/examples/
     111}}}
     112
     113* [Terminal 2] First, start PAAM #1 (rfdev2-1) in TX mode with H-polarization using 4 antenna elements on IC 1, and configure the TX beamforming direction to be in the broadside (0,0). Check the current consumption on 2v7_1 and make sure IC1 has been successfully initialized (e.g., 2v7_1 has a current consumption of 1.026A in the example below).
     114{{{#!shell
     115root@srv1-lg1:~/paam_api/examples# python3 setup_betaboard_v1.2.py -c ethernet -a rfdev2-1 --ic 1 -n 4 --txrx tx --pol h --dir 0 0
     116TRX mode selection: tx
     117IC(s) used for experiment: [1]
     118Number of Elements per IC: 4
     119Polarization: h
     120Beam direction: (0, 0)
     121IP address of TX: rfdev2-1
     122Opened port to FPGA
     123Logged in to Petalinux
     124Started command parser on Zynq
     125sdpar_prog.py /version: Version is PAWR_v1.2.0
     126Using baseline FPGA control IP
     127Reset the Phased Array
     128Initialization of IC 0 was successful
     129Initialization of IC 1 was successful
     130Initialization of IC 2 was successful
     131Initialization of IC 3 was successful
     132elapsed time for init: 5.458436489105225
     133Time for PAWR Board utilities configuration: 0.07273483276367188
     134elapsed time for enable: 0.00990605354309082
     135elapsed time for steer beam: 0.0026137828826904297
     136PAAM ID: 0x 2
     137LO switch: PLL
     138IF Switches TX_H: 0xF
     139IF Switches TX_V: 0xF
     140IF Switches RX_H: 0xF
     141IF Switches RX_V: 0xF
     142Index   Name    ADC     Volt.   Curr.
     1430       1v2     21      0.051   0.026
     1441       1v5     154     0.376   0.753
     1452       1v8     3       0.007   0.004
     1463       2v7_0   16      0.039   0.078
     1474       2v7_1   210     0.513   1.026
     1485       2v7_2   44      0.108   0.215
     1496       2v7_3   44      0.108   0.215
     1507       3v3_pll 367     0.897   0.448
     1518       5v_uzed 249     0.609   0.609
     1529       12v     124     0.303   1.010
     15310      0V      0       0.000   x
     15411      1V8     735     1.796   x
     155Closed port to Zynq
     156Good luck with the experiment!!!
     157}}}
     158
     159* [Terminal 2] Similarly, start PAAM #2 (rfdev2-2) in RX mode with H-polarization using 4 antenna elements on IC 2, and configure the RX beamforming direction to be in the broadside (0,0). Check the current consumption on 2v7_2 and make sure IC2 has been successfully initialized (e.g., 2v7_2 has a current consumption of 0.821A in the example below).
     160{{{#!shell
     161root@srv1-lg1:~/paam_api/examples# python3 setup_betaboard_v1.2.py -c ethernet -a rfdev2-2 --ic 2 -n 4 --txrx rx --pol h --dir 0 0
     162TRX mode selection: rx
     163IC(s) used for experiment: [2]
     164Number of Elements per IC: 4
     165Polarization: h
     166Beam direction: (0, 0)
     167IP address of TX: rfdev2-2
     168Opened port to FPGA
     169Logged in to Petalinux
     170Started command parser on Zynq
     171sdpar_prog.py /version: Version is PAWR_v1.2.0
     172Using baseline FPGA control IP
     173Reset the Phased Array
     174Initialization of IC 0 was successful
     175Initialization of IC 1 was successful
     176Initialization of IC 2 was successful
     177Initialization of IC 3 was successful
     178elapsed time for init: 5.453927516937256
     179Time for PAWR Board utilities configuration: 0.07044315338134766
     180elapsed time for enable: 0.008872270584106445
     181elapsed time for steer beam: 0.002682209014892578
     182PAAM ID: 0x 4
     183LO switch: PLL
     184IF Switches TX_H: 0xF
     185IF Switches TX_V: 0xF
     186IF Switches RX_H: 0xF
     187IF Switches RX_V: 0xF
     188Index   Name    ADC     Volt.   Curr.
     1890       1v2     127     0.310   0.155
     1901       1v5     134     0.327   0.655
     1912       1v8     18      0.044   0.022
     1923       2v7_0   42      0.103   0.205
     1934       2v7_1   51      0.125   0.249
     1945       2v7_2   168     0.411   0.821
     1956       2v7_3   13      0.032   0.064
     1967       3v3_pll 34      0.083   0.042
     1978       5v_uzed 249     0.609   0.609
     1989       12v     129     0.315   1.051
     19910      0V      0       0.000   x
     20011      1V8     735     1.796   x
     201Closed port to Zynq
     202Good luck with the experiment!!!
     203}}}
     204