234 | | Please direct to the {{{~/Cubic23/Agora/files/log/csv}}} folder, where you will be able to see **3 types** Python visualization files. In **terminal 2**, use the following command to choose the visualization for the system. |
235 | | * {{{cubic_timeD.py}}}: This visualization tool helps to visualize the raw IQ samples captured by Agora-UHD and the corresponding FFT. |
236 | | {{{#!shell |
237 | | root@srv1-lg1:~/Cubic23/Agora/files/log/csv# taskset -c 31 python3 cubic_timeD.py |
238 | | }}} |
239 | | * {{{cubic_conste.py}}}: This visualization tool helps to visualize the constellation Agora-UHD system get after demodulating the received signals |
240 | | {{{#!shell |
241 | | root@srv1-lg1:~/Cubic23/Agora/files/log/csv# taskset -c 32 python3 cubic_conste.py --SISO --QAM16 |
242 | | }}} |
243 | | {{{--SISO/--MIMO}}} chooses the mode to plot for either SISO case or MIMO case, {{{--QAM16/--QAM64}}} plots the corresponding reference point for different modulation types. |
244 | | * {{{cubic_mimo.py}}} and {{{cubic.py}}}: This visualization tool helps to visualize the EVM, SNR, and BER readings for the Agora-UHD system. |
245 | | {{{#!shell |
246 | | root@srv1-lg1:~/Cubic23/Agora/files/log/csv# taskset -c 33 python3 cubic_mimo.py |
247 | | }}} |
248 | | We use {{{taskset}}} to specify dedicated cores to run the visualization tools to improve the Agora-UHD performance. |
251 | | In **terminal 3**, bring up the UE as: |
252 | | {{{#!shell |
253 | | root@srv1-lg1:~/Cubic23/Agora# ./build/user --conf_file files/config/examples/ul-usrp-cubic.json |
254 | | }}} |
255 | | Once the UE finishes initializing, UE will be in waiting mode constantly checking for beacon signals send out by BS. \\ |
256 | | \\ |
257 | | In **terminal 4**, bring up BS as: |
258 | | {{{#!shell |
259 | | root@srv1-lg1:~/Cubic23/Agora# ./build/agora --conf_file files/config/examples/ul-usrp-cubic.json |
260 | | }}} |
261 | | You will be able to see the BS starts to receive and process the signals, while UE is able to detect BS and UE starts to transmit. |
262 | | {{{#!shell |
263 | | BS end |
264 | | [02:095853][I] Main [frame 6399 + 0.56 ms]: Completed LDPC decoding (4 UL symbols) |
265 | | [02:095876][I] Frame 6399 Summary: FFT (8 tasks): 0.0116162 ms (~0.000452769 + 0.00189833 + 0.00862035 ms), CSI (4 tasks): 0.0105033 ms (~0.000363756 + 0.00249357 + 0.00756129 ms), |
266 | | Beamweights (768 tasks): 0.085955 ms (~0.0107782 + 0.00207422 + 0.0715803 ms), |
267 | | Demul (3072 tasks): 0.190205 ms (~0.001613 + 0.12422 + 0.00181191 ms), |
268 | | Decode (8 tasks): 0.0964143 ms (~2.69174e-05 + 0.0958194 + 0 ms), Total: 0.394694 ms |
269 | | [02:095887][I] Main [frame 6400 + 0.60 ms since last frame]: Received first packet. Remaining packets in prev frame: 0 |
270 | | [02:095900][I] Main [frame 6400 + 0.01 ms]: Received all pilots |
271 | | frame_id 6400, ul_symbol_id 0, ant_id 0 |
272 | | [02:095946][I] Main [frame 6400 + 0.06 ms]: FFT-ed all pilots |
273 | | [02:095951][I] Frame 6400 Pilot Signal SNR (dB) Range at BS Antennas: User 0: [-6.0,27.2] (Possible bad antenna 1) User 1: [-4.0,28.5] (Possible bad antenna 0) |
274 | | frame_id 6400, ul_symbol_id 0, ant_id 1 |
275 | | [02:096012][I] Main [frame 6400 + 0.12 ms]: Received all packets |
276 | | [02:096109][I] Main [frame 6400 + 0.22 ms]: Completed ZF beamweight calc |
277 | | [02:096446][I] Main [frame 6400 + 0.56 ms]: Completed demodulation |
278 | | symbol id is: 6 |
279 | | [02:096463][I] Frame 6400 Constellation: |
280 | | EVM 13.3263 11.3116 |
281 | | , SNR 17.5058 18.9295 |
282 | | True SNR is: 29.4157 |
283 | | }}} |
284 | | {{{#!shell |
285 | | UE End: |
286 | | [02:552790][I] PhyUe [frame 6767 + 0.84 ms since last frame]: Received first packet. Remaining packets in prev frame: 0 |
287 | | [02:552793][I] PhyUe [frame 6767 + 0.00 ms]: Received all packets |
288 | | [02:552834][I] PhyUe [frame 6767 + 0.04 ms]: Completed encoding |
289 | | [02:552838][I] PhyUe [frame 6767 + 0.05 ms]: Completed modulation |
290 | | [02:552874][I] PhyUe [frame 6767 + 0.08 ms]: Completed iFFT |
291 | | [02:552955][I] PhyUe [frame 6767 + 0.17 ms]: Completed TX |
292 | | }}} |