Changes between Version 12 and Version 13 of Tutorials/Wireless/mmwave Paam Link Rate


Ignore:
Timestamp:
Mar 1, 2024, 7:33:09 PM (9 months ago)
Author:
zhihuigao
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/Wireless/mmwave Paam Link Rate

    v12 v13  
    231231
    232232{{{#!shell
    233     % USRP Setting
    234     param.carrier = 3.0e9;
    235 
    236     param.subdevTx = "A:0";
    237     param.deviceTx = "192.168.70.3";
    238     param.gainTx = 15;
     233% USRP Setting
     234param.carrier = 3.0e9;
     235
     236param.subdevTx = "B:0";
     237param.deviceTx = "192.168.70.3";
     238param.gainTx = 60;
    239239   
    240     param.deviceRx = "192.168.70.9";
    241     param.subdevRx = "A:0";
    242     param.gainRx = 15;
     240param.deviceRx = "192.168.70.9";
     241param.subdevRx = "B:0";
     242param.gainRx = 40;
    243243}}}
    244244
    245 {{{param.carrier}}}: the carrier frequency of the TX and RX;
     245{{{param.carrier}}}: the carrier frequency of the TX and RX. Please set it as {{{3.0e9}}} for 3 GHz carrier frequency to the IBM 28 GHz PAAM.
     246
     247{{{param.deviceTx}}} and {{{param.deviceRx}}}: the IP address of the TX/RX USRP, which is {{{XXX}}}.
     248
    246249{{{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}}}.
    247 {{{param.gainTx}}} and {{{param.gainRx}}}: the TX/RX gain of the USRPs, whose range varies over different USRP types, which can be find by running {{{uhd_usrp_probe}}} command in the terminal. In sb2, the recommended values are {{{60}}}.
    248 
    249 ==== Run the experiment ====
    250 
    251 ==== Observe the results ====
    252 
    253 ==== Finish the experiments ====
     250
     251{{{param.gainTx}}} and {{{param.gainRx}}}: the TX/RX gain of the USRPs, whose range varies over different USRP types, which can be find by running {{{uhd_usrp_probe}}} command in the terminal. In sb2, the recommended value for {{{param.gainTx}}} is {{{60}}}, for {{{param.gainRx}}} is {{{40}}}.
     252
     253==== Conduct the transmission ====
     254
     255In MATLAB, open {{{main.m}}}, and directly run this script.
     256
     257The displayed information include:
     258
     259{{{CFO}}}: carrier frequency offset
     260
     261{{{SNR}}}: signal-to-noise ratio
     262
     263{{{EVM}}}: error vector magnitude
     264
     265{{{BLER}}}: block error rate (only one block is transmitted and it can be either 0 for success and 1 for failure);
     266
     267{{{BER}}}: bit error rate
     268
     269{{{CSI}}}: the amplitudes and the phases of the channel state information over all the subcarriers
     270
     271{{{Constel.png}}}: the saved constellation plot.
     272
     273==== Change the SNR/MCS ====
     274
     275To change SNR, you may either
     276
     277Change the amplitude (by default, 0.5) of the generated waveform in line 13 of main.m, or
     278Change the TX gain in GetParam.m
     279To change MCS, open GetParam.m and customize param.modu for modulation and param.code for code rate.
     280
     281Note that we always assign the TX/RX port for transmission and RX2 port for reception.