Changes between Version 10 and Version 11 of Tutorials/4G5G/openairinterface
- Timestamp:
- Apr 23, 2020, 11:25:58 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/4G5G/openairinterface
v10 v11 1 {{{2 #!Markdown3 4 # Overview5 1 This tutorial contains instructions for running the openairinterface eNB and UE on various platforms. 6 2 It adapts the Eurecom tutorial at : https://gitlab.eurecom.fr/oai/openairinterface5g/wikis/HowToConnectOAIENBWithOAIUEWithoutS1Interface 7 3 for the ORBIT and COSMOS testbeds. 8 4 9 # Prerequisites 5 == Prerequisites == 10 6 1. Two nodes, with appropriate hardware, within RF range 11 7 1. Currently supported: USRP x310, USRP 2974, USRP b210 12 1. Load the image `tutorial-oai.ndz`onto both nodes8 1. Load the image {{{tutorial-oai.ndz}}} onto both nodes 13 9 1. Turn the nodes on 14 10 1. If graphical display is desired, enable x11 tunneling to console and then to nodes 15 11 1. ssh to the nodes 16 12 17 ## On node 1 18 1. run `/opt/oaiscripts/build_oai.sh`to build for the current hardware and kernel19 1. edit the file `/opt/oaiscripts/run_enb.sh`for the SDR in use, for example, set SDR IP addr and max gain20 1. run `/opt/oaiscripts/run_enb.sh`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 21 17 22 18 23 19 Example script, change parameters as needed: 24 run_enb.sh:25 ``` 20 * run_enb.sh: 21 {{{ 26 22 #! /bin/bash 27 23 #sdr_addrs takes standard uhd arguments, such as: … … 30 26 #"type=b210" #b210 over usb 31 27 #values for RUs.[0] override config file, must be set per usrp type 32 # -d enables xforms charts28 # -d enables xforms charts 33 29 34 30 cd /opt/openairinterface5g … … 41 37 --usrp-args "type=b200" \ 42 38 -d 43 ``` 39 }}} 44 40 45 ## On Node 2 41 == On Node 2 == 46 42 1. run /opt/oaiscripts/build_oai.sh to build for the current hardware and kernel 47 43 1. edit the file /opt/oaiscripts/run_ue.sh for the SDR in use, for example, set SDR IP addr and max gain … … 49 45 50 46 Example script, change parameters as needed: 51 run_ue.sh 52 ``` 47 * run_ue.sh: 48 {{{ 53 49 #! /bin/bash 54 50 #sdr_addrs takes standard uhd arguments, such as: … … 57 53 #"type=b210" #b210 over usb 58 54 #values for RUs.[0] override config file, must be set per usrp type 59 # -d enables xforms charts55 # -d enables xforms charts 60 56 61 57 cd /opt/openairinterface5g … … 69 65 --usrp-args "type=b200" \ 70 66 -d 71 ``` 67 }}} 72 68 73 74 # Results 75 76 ## Once Both nodes are running 69 == Once Both nodes are running == 77 70 * if all is successfull, you shouuld see new interfaces on the two nodes, with addresses: 78 71 * 10.0.1.1 … … 81 74 82 75 83 84 85 # Understanding xforms terms and plots 76 == Understanding xforms terms and plots == 86 77 * Explanations from: 87 * [Mathworks LTE](https://www.mathworks.com/help/lte/physical-channels.html)78 * https://www.mathworks.com/help/lte/physical-channels.html 88 79 89 80 * PBCH: physical broadcast channel … … 96 87 * The PDSCH carries user data and paging information to the terminal. 97 88 98 99 # Details and Troubleshooting 100 ## Calibration 89 == Calibration == 101 90 * physical attenuation 102 91 * received signal at UE … … 105 94 * pdsch constellation at eNB 106 95 107 ## Expected Performance 96 == Expected Performance == 108 97 This depends on a number of factors, including: 109 98 * the total bandwidth (number of resource blocks) … … 129 118 130 119 131 ## Specifics per domain 132 ### sb2.cosmos-lab.org 120 == Specifics per domain == 121 === sb2.cosmos-lab.org === 133 122 1. set usrp address to "type=x3xx,resource=rio0" 134 123 1. on eNB, set att_tx=70, att_rx=10 135 124 1. use RFSWITCH service to set all switches to port 1 for antenna 136 125 137 ### sb2.orbit-lab.org 126 === sb2.orbit-lab.org === 138 127 1. set usrp address to "type=x3xx,addr=192.168.40.2" 139 128 1. bring up usrp ethernet interface, set ip to 192.168.40.1/16 140 129 141 ### sb1.orbit-lab.org 130 === sb1.orbit-lab.org === 142 131 1. set usrp address to "type=b210" 143 132 1. UE_rxgain: 120 … … 148 137 149 138 150 ### sb4.orbit-lab.org 139 === sb4.orbit-lab.org === 151 140 1. set usrp address to "type=b210" 152 141 1. configure RF matrix for 60db of attenuation between eNB and UE node chosen 153 154 }}}