Changes between Version 17 and Version 18 of Tutorials/Wireless/mmwave Paam Link Rate
- Timestamp:
- Mar 25, 2024, 9:16:14 PM (8 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/Wireless/mmwave Paam Link Rate
v17 v18 227 227 === Experiment Execution === 228 228 229 ==== Download code from GitHub ==== 230 231 First, create a new folder {{{workarea}}} and enter into this folder by 232 {{{#!shell 233 root@srv1-lg1:~# mkdir workarea 234 root@srv1-lg1:~# cd workarea 235 }}} 236 237 Download codes from GitHub repository and enter into the repository folder by 238 {{{#!shell 239 root@srv1-lg1:~/workarea# git clone https://github.com/functions-lab/MAMBAS-MobiCom2024 240 root@srv1-lg1:~/workarea# cd MAMBAS-MobiCom2024/ 241 }}} 242 229 243 ==== Configure USRP parameters ==== 230 244 In MATLAB, open {{{GetParam.m}}}, and configure the parameters below: … … 236 250 param.subdevTx = "B:1"; 237 251 param.deviceTx = "10.117.2.1"; 238 param.gainTx = 60;252 param.gainTx = 30; 239 253 240 254 param.deviceRx = "10.117.3.1"; … … 247 261 {{{param.deviceTx}}} and {{{param.deviceRx}}}: the IP address of the TX/RX USRP, which is {{{10.117.2.1}}} and {{{10.117.3.1}}}. 248 262 249 {{{param.subdevTx}}} and {{{param.subdevRX}}}: the subdevice settings of the TX/RX USRP. The connection on the sb2 requires to set both parameters as {{{B: 0}}}.250 251 {{{param.gainTx}}} and {{{param.gainRx}}}: the TX/RX gain of the USRPs, whose range varies over different USRP types, which can be found by running {{{uhd_usrp_probe}}} command in the terminal. In sb2, the recommended value for {{{param.gainTx}}} is {{{ 60}}}, for {{{param.gainRx}}} is {{{40}}}.263 {{{param.subdevTx}}} and {{{param.subdevRX}}}: the subdevice settings of the TX/RX USRP. The connection on the sb2 requires to set both parameters as {{{B:1}}} to use the port {{{RF3}}}. 264 265 {{{param.gainTx}}} and {{{param.gainRx}}}: the TX/RX gain of the USRPs, whose range varies over different USRP types, which can be found by running {{{uhd_usrp_probe}}} command in the terminal. In sb2, the recommended value for {{{param.gainTx}}} is {{{30}}}, for {{{param.gainRx}}} is {{{40}}}. 252 266 253 267 ==== Conduct the transmission ==== … … 255 269 In MATLAB, open {{{main.m}}}, and directly run this script. 256 270 257 The displayed information include :271 The displayed information includes: 258 272 259 273 {{{CFO}}}: carrier frequency offset … … 267 281 {{{BER}}}: bit error rate 268 282 269 {{{CSI}}}: the amplitudes and the phases of the channel state information over all the subcarriers270 271 283 {{{Constel.png}}}: the saved constellation plot. 272 284