Changes between Version 8 and Version 9 of Tutorials/4G5G/openairinterface


Ignore:
Timestamp:
Apr 23, 2020, 11:21:44 PM (5 years ago)
Author:
msherman
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/4G5G/openairinterface

    v8 v9  
     1# Overview
    12This tutorial contains instructions for running the openairinterface eNB and UE on various platforms.
    23It adapts the Eurecom tutorial at : https://gitlab.eurecom.fr/oai/openairinterface5g/wikis/HowToConnectOAIENBWithOAIUEWithoutS1Interface
    34for the ORBIT and COSMOS testbeds.
    45
    5 == Prerequisites ==
     6# Prerequisites
    671. Two nodes, with appropriate hardware, within RF range
    781. Currently supported: USRP x310, USRP 2974, USRP b210
    8 1. Load the image {{{tutorial-oai.ndz}}} onto both nodes
     91. Load the image `tutorial-oai.ndz` onto both nodes
    9101. Turn the nodes on
    10111. If graphical display is desired, enable x11 tunneling to console and then to nodes
    11121. ssh to the nodes
    1213
    13 == On node 1 ==
    14 1. run /opt/oaiscripts/build_oai.sh to build for the current hardware and kernel
    15 1. edit the file /opt/oaiscripts/run_enb.sh for the SDR in use, for example, set SDR IP addr and max gain
    16 1. run /opt/oaiscripts/run_enb.sh
     14## On node 1
     151. run `/opt/oaiscripts/build_oai.sh` to build for the current hardware and kernel
     161. edit the file `/opt/oaiscripts/run_enb.sh` for the SDR in use, for example, set SDR IP addr and max gain
     171. run `/opt/oaiscripts/run_enb.sh`
    1718
    1819
    1920Example script, change parameters as needed:
    20 * run_enb.sh:
    21 {{{
     21run_enb.sh:
     22```
    2223#! /bin/bash
    2324#sdr_addrs takes standard uhd arguments, such as:
     
    2627#"type=b210"                    #b210 over usb
    2728#values for RUs.[0] override config file, must be set per usrp type
    28 # -d enables xforms charts
     29#-d enables xforms charts
    2930
    3031cd /opt/openairinterface5g
     
    3738--usrp-args "type=b200" \
    3839-d
    39 }}}
     40```
    4041
    41 == On Node 2 ==
     42## On Node 2
    42431. run /opt/oaiscripts/build_oai.sh to build for the current hardware and kernel
    43441. edit the file /opt/oaiscripts/run_ue.sh for the SDR in use, for example, set SDR IP addr and max gain
     
    4546
    4647Example script, change parameters as needed:
    47 * run_ue.sh:
    48 {{{
     48run_ue.sh
     49```
    4950#! /bin/bash
    5051#sdr_addrs takes standard uhd arguments, such as:
     
    5354#"type=b210"                    #b210 over usb
    5455#values for RUs.[0] override config file, must be set per usrp type
    55 # -d enables xforms charts
     56#-d enables xforms charts
    5657
    5758cd /opt/openairinterface5g
     
    6566--usrp-args "type=b200" \
    6667-d
    67 }}}
     68```
    6869
    69 == Once Both nodes are running ==
     70
     71# Results
     72
     73## Once Both nodes are running
    7074* if all is successfull, you shouuld see new interfaces on the two nodes, with addresses:
    7175  * 10.0.1.1
     
    7478
    7579
    76 == Understanding xforms terms and plots ==
     80
     81
     82# Understanding xforms terms and plots
    7783* Explanations from:
    78   * https://www.mathworks.com/help/lte/physical-channels.html
     84  * [Mathworks LTE](https://www.mathworks.com/help/lte/physical-channels.html)
    7985
    8086* PBCH: physical broadcast channel
     
    8793  * The PDSCH carries user data and paging information to the terminal.
    8894
    89 == Calibration ==
     95
     96# Details and Troubleshooting
     97## Calibration
    9098* physical attenuation
    9199* received signal at UE
     
    94102* pdsch constellation at eNB
    95103
    96 == Expected Performance ==
     104## Expected Performance
    97105This depends on a number of factors, including:
    98106* the total bandwidth (number of resource blocks)
     
    118126
    119127
    120 == Specifics per domain ==
    121 === sb2.cosmos-lab.org ===
     128## Specifics per domain
     129### sb2.cosmos-lab.org
    1221301. set usrp address to "type=x3xx,resource=rio0"
    1231311. on eNB, set att_tx=70, att_rx=10
    1241321. use RFSWITCH service to set all switches to port 1 for antenna
    125133
    126 === sb2.orbit-lab.org ===
     134### sb2.orbit-lab.org
    1271351. set usrp address to "type=x3xx,addr=192.168.40.2"
    1281361. bring up usrp ethernet interface, set ip to 192.168.40.1/16
    129137
    130 === sb1.orbit-lab.org ===
     138### sb1.orbit-lab.org
    1311391. set usrp address to "type=b210"
    1321401. UE_rxgain: 120
     
    137145
    138146
    139 === sb4.orbit-lab.org ===
     147### sb4.orbit-lab.org ===
    1401481. set usrp address to "type=b210"
    1411491. configure RF matrix for 60db of attenuation between eNB and UE node chosen