Changes between Version 35 and Version 36 of Tutorials/Wireless/mmwave Paam Basics


Ignore:
Timestamp:
Mar 4, 2022, 8:16:02 PM (2 years ago)
Author:
prasanthi
Comment:

Legend:

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

    v35 v36  
    148148
    149149Details and examples for the above are provided at the [https://wiki.cosmos-lab.org/wiki/Resources/Services/ArrayMgmt array management page].
    150 For this experiment we use static array management commands
     150For this experiment we use static array management commands as shown below.
     151First, 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).
    151152{{{#!shell
    152153root@console:~# curl "http://am1.orbit-lab.org:5054/array_mgmt/configure?dev_name=rfdev4-in1.sb1.cosmos-lab.org&ics=0&num_elements=4&txrx=rx&pol=v&theta=0&phi=0"
     
    181182}}}
    182183
    183 
     184* [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).
    184185{{{#!shell
    185186root@console:~# curl "http://am1.orbit-lab.org:5054/array_mgmt/configure?dev_name=rfdev4-in2.sb1.cosmos-lab.org&ics=all&num_elements=16&txrx=rx&pol=v&theta=0&phi=0"
     
    218219
    219220==== Run the experiment ====
    220 * [Terminal 1] In the first terminal, start gnuradio companion and open the example experiment that established a single tone transmission:
     221* In the first terminal, start gnuradio companion and open the example experiment that established a single tone transmission:
    221222{{{#!shell
    222223root@srv1-lg1:~# gnuradio-companion example_paam_tone.grc
    223224}}}
    224225
    225 * [Terminal 1] In gnuradio-companion, start gnuradio-companion, configure the USRP sink (TX) with sdr1-s1-lg1 ("mgmt_addr=10.116.2.1,addr=10.117.2.1") and the USRP source (RX) with sdr1-md1 ("mgmt_addr=10.116.3.1,addr=10.117.3.1"). Set the carrier frequency to 3GHz (3e9) and the subdev to be "B:0" (RF2) on both TX and RX. In this example flowgraph, the sampling rate and the tone frequency are set to be 2.5MHz (2.5e6) and 1MHz (1e6), respectively.
     226* In gnuradio-companion, start gnuradio-companion, configure the USRP sink (TX) with sdr1-in2 ("mgmt_addr=10.37.6.2,addr=10.38.6.2") and the USRP source (RX) with sdr1-in1("mgmt_addr=10.37.6.1,addr=10.37.6.2"). Set the carrier frequency to 3GHz (3e9) and the subdev to be "B:1" (RF3) on both TX and RX. In this example flowgraph, the sampling rate and the tone frequency are set to be 2.5MHz (2.5e6) and 1MHz (1e6), respectively.
    226227|| [[Image(mmwavePaamBasicsFlowgraph.png, 600px)]] ||
    227228
    228 * [Terminal 2] In the second terminal, change directory to paam_api/examples/ which contains the example API scripts.
    229 {{{#!shell
    230 root@srv1-lg1:~# cd paam_api/examples/
    231 }}}
    232 
    233 * [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).
    234 {{{#!shell
    235 root@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
    236 TRX mode selection: tx
    237 IC(s) used for experiment: [1]
    238 Number of Elements per IC: 4
    239 Polarization: h
    240 Beam direction: (0, 0)
    241 IP address of TX: rfdev2-1
    242 Opened port to FPGA
    243 Logged in to Petalinux
    244 Started command parser on Zynq
    245 sdpar_prog.py /version: Version is PAWR_v1.2.0
    246 Using baseline FPGA control IP
    247 Reset the Phased Array
    248 Initialization of IC 0 was successful
    249 Initialization of IC 1 was successful
    250 Initialization of IC 2 was successful
    251 Initialization of IC 3 was successful
    252 elapsed time for init: 5.458436489105225
    253 Time for PAWR Board utilities configuration: 0.07273483276367188
    254 elapsed time for enable: 0.00990605354309082
    255 elapsed time for steer beam: 0.0026137828826904297
    256 PAAM ID: 0x 2
    257 LO switch: PLL
    258 IF Switches TX_H: 0xF
    259 IF Switches TX_V: 0xF
    260 IF Switches RX_H: 0xF
    261 IF Switches RX_V: 0xF
    262 Index   Name    ADC     Volt.   Curr.
    263 0       1v2     21      0.051   0.026
    264 1       1v5     154     0.376   0.753
    265 2       1v8     3       0.007   0.004
    266 3       2v7_0   16      0.039   0.078
    267 4       2v7_1   210     0.513   1.026
    268 5       2v7_2   44      0.108   0.215
    269 6       2v7_3   44      0.108   0.215
    270 7       3v3_pll 367     0.897   0.448
    271 8       5v_uzed 249     0.609   0.609
    272 9       12v     124     0.303   1.010
    273 10      0V      0       0.000   x
    274 11      1V8     735     1.796   x
    275 Closed port to Zynq
    276 Good luck with the experiment!!!
    277 }}}
    278 
    279 * [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).
    280 {{{#!shell
    281 root@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
    282 TRX mode selection: rx
    283 IC(s) used for experiment: [2]
    284 Number of Elements per IC: 4
    285 Polarization: h
    286 Beam direction: (0, 0)
    287 IP address of TX: rfdev2-2
    288 Opened port to FPGA
    289 Logged in to Petalinux
    290 Started command parser on Zynq
    291 sdpar_prog.py /version: Version is PAWR_v1.2.0
    292 Using baseline FPGA control IP
    293 Reset the Phased Array
    294 Initialization of IC 0 was successful
    295 Initialization of IC 1 was successful
    296 Initialization of IC 2 was successful
    297 Initialization of IC 3 was successful
    298 elapsed time for init: 5.453927516937256
    299 Time for PAWR Board utilities configuration: 0.07044315338134766
    300 elapsed time for enable: 0.008872270584106445
    301 elapsed time for steer beam: 0.002682209014892578
    302 PAAM ID: 0x 4
    303 LO switch: PLL
    304 IF Switches TX_H: 0xF
    305 IF Switches TX_V: 0xF
    306 IF Switches RX_H: 0xF
    307 IF Switches RX_V: 0xF
    308 Index   Name    ADC     Volt.   Curr.
    309 0       1v2     127     0.310   0.155
    310 1       1v5     134     0.327   0.655
    311 2       1v8     18      0.044   0.022
    312 3       2v7_0   42      0.103   0.205
    313 4       2v7_1   51      0.125   0.249
    314 5       2v7_2   168     0.411   0.821
    315 6       2v7_3   13      0.032   0.064
    316 7       3v3_pll 34      0.083   0.042
    317 8       5v_uzed 249     0.609   0.609
    318 9       12v     129     0.315   1.051
    319 10      0V      0       0.000   x
    320 11      1V8     735     1.796   x
    321 Closed port to Zynq
    322 Good luck with the experiment!!!
    323 }}}
    324229
    325230==== Observe the results ====