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