Communication chain on USRPs using QPSK » History » Version 38

Gimenez Silva, Adriana, 12/15/2015 09:27 AM

1 22 PASCHOS, Alexandros
{{toc}}
2 22 PASCHOS, Alexandros
3 35 PASCHOS, Alexandros
h1. *5.1 Communication chain on USRPs using QPSK*
4 1 PASCHOS, Alexandros
5 35 PASCHOS, Alexandros
h2. *5.1.1 Setup*
6 1 PASCHOS, Alexandros
7 1 PASCHOS, Alexandros
To successfully connect two USRPs using the inventory mentioned earlier, it is required to have an Ethernet cable connected from the PC to one of the USRPs (in this case the Tx USRP) and then a MIMO cable that connect the Tx USRP to the Rx USRP. This way, the Rx USRP is also connected to the PC. The RF cable is connected from the USRP, using a 30dB attenuator to the Rx USRP. Below is a diagram of the setup. An update to the version of the FPGA image file might needed for LabVIEW Communications. In the NI USRP Utility an update to the images is done as demanded by the software.
8 1 PASCHOS, Alexandros
9 4 PASCHOS, Alexandros
p=. !{width: 40%}https://sourceforge.isae.fr/attachments/download/1491/setupDiagramUSRPs.png(Setup Diagram USRPs)!
10 24 PASCHOS, Alexandros
_Figure 5.1 Set-up diagram of the USRPs_
11 5 PASCHOS, Alexandros
12 38 Gimenez Silva, Adriana
p=. !{width: 40%}https://sourceforge.isae.fr/attachments/download/1534/20151214_104302.jpg(Setup In the Lab USRPs)!
13 38 Gimenez Silva, Adriana
_Figure 5.2 Set-up of the USRPs in the Lab_
14 38 Gimenez Silva, Adriana
15 35 PASCHOS, Alexandros
h2. *5.1.2 Transmission with QPSK*
16 5 PASCHOS, Alexandros
17 6 PASCHOS, Alexandros
The block diagram of the communication chain is shown below in Figure 5.2. An existing example of USRP communication with PSK was used for guidance.
18 8 PASCHOS, Alexandros
19 1 PASCHOS, Alexandros
p=. !{width: 40%}https://sourceforge.isae.fr/attachments/download/1492/communicationChainUSRPs.jpg(Communication Chain USRPs)!
20 38 Gimenez Silva, Adriana
_Figure 5.3 Set-up Communication Chain between USRPs_
21 6 PASCHOS, Alexandros
22 6 PASCHOS, Alexandros
Bits are generated (Galois) using a PN (pseudo noise) sequence. The signal is then modulated, filtered and sent to the transmitting USRPS, which is continuously transmitting. The receiving USRP will obtain the data from the transmitting USRP, and the signal is filtered with a matched filter, demodulated, and the constellation is plotted.
23 9 PASCHOS, Alexandros
24 37 Gimenez Silva, Adriana
h2. *5.1.3 Pilot Header for Synchronization*
25 37 Gimenez Silva, Adriana
26 37 Gimenez Silva, Adriana
Note that in the diagram, there are synchronization parameters. This is done because of the type of filtering that is applied to the signal. Matched filtering is used in order to maximize the SNR, thus minimizing the BER. However, as it is well known, the output signal is delayed because of the transient response, known as filter delay, potentially leading to apparent loss of bits. Therefore a pilot header for synchronization purposes is introduced into the bit stream previously created. This header, along with the expected location in the bit stream (bit 0) are the synchronization parameters which are to the demodulation function in order to properly decode the bits received. A preamble of 20 bits consisting of '0000 0000 0000 0000 0000' is created, as the recommended by NI is 10 x number of bits per symbol.
27 37 Gimenez Silva, Adriana
28 1 PASCHOS, Alexandros
29 1 PASCHOS, Alexandros
On the front panel of the transmission there are several inputs and outputs:
30 1 PASCHOS, Alexandros
31 38 Gimenez Silva, Adriana
|{background:#ddd}. Inputs/Controls|{background:#ddd}. Outputs/Indicators|=. _Figure 5.4 Set-up Front Panel Tx_|
32 13 PASCHOS, Alexandros
|- The IP address of the Tx USRP 
33 13 PASCHOS, Alexandros
- The transmission antenna of the USRP
34 13 PASCHOS, Alexandros
- Selection of a specific USRP channel
35 13 PASCHOS, Alexandros
- IQ sampling rate [Samples/sec]
36 13 PASCHOS, Alexandros
- Carrier Frequency [Hz]
37 13 PASCHOS, Alexandros
- Gain [dB]
38 13 PASCHOS, Alexandros
- PN order sequence
39 12 PASCHOS, Alexandros
Filter Parameters
40 13 PASCHOS, Alexandros
- Roll-off
41 13 PASCHOS, Alexandros
- Filter length
42 13 PASCHOS, Alexandros
- Filter Type
43 12 PASCHOS, Alexandros
 {None, Raised Cosine, Root Raised Cosine, Gaussian}
44 12 PASCHOS, Alexandros
Modulation Parameters 
45 13 PASCHOS, Alexandros
- Samples per Symbol 
46 13 PASCHOS, Alexandros
- PSK type {normal, differential}
47 13 PASCHOS, Alexandros
- Symbol Map|^. - IQ Sampling Rate [Samples/sec]
48 13 PASCHOS, Alexandros
- Carrier Frequency [Hz]
49 13 PASCHOS, Alexandros
- Gain [dB]
50 13 PASCHOS, Alexandros
- Symbol Rate [symbols/sec]
51 33 PASCHOS, Alexandros
- Frame Size [samples]
52 14 PASCHOS, Alexandros
- Constellation graph [IQ]|{background:#eaeaea}. !{width: 100%}https://sourceforge.isae.fr/attachments/download/1494/frontPanelTx.png(Front Panel Tx)!|
53 1 PASCHOS, Alexandros
54 14 PASCHOS, Alexandros
For the Receiving part of the VI, the front panel is depicted below:
55 14 PASCHOS, Alexandros
56 38 Gimenez Silva, Adriana
|{background:#ddd}. Inputs/Controls|{background:#ddd}. Outputs/Indicators|=. _Figure 5.5 Set-up Front Panel Rx_|
57 15 PASCHOS, Alexandros
|- The IP address of the Rx USRP 
58 15 PASCHOS, Alexandros
Configure Signal Tab
59 15 PASCHOS, Alexandros
- The enabled USRP channel
60 15 PASCHOS, Alexandros
- The reception antenna of the USRP {RX1, RX2}
61 1 PASCHOS, Alexandros
- IQ sampling rate [Samples/sec]
62 1 PASCHOS, Alexandros
- Carrier Frequency [Hz]
63 14 PASCHOS, Alexandros
- Gain [dB]
64 15 PASCHOS, Alexandros
Configure Timing Tab
65 15 PASCHOS, Alexandros
- Acquisition Time
66 15 PASCHOS, Alexandros
- Symbol Rate [Hz]
67 15 PASCHOS, Alexandros
Configure Filter Tab
68 14 PASCHOS, Alexandros
- Roll-off
69 1 PASCHOS, Alexandros
- Filter length
70 1 PASCHOS, Alexandros
- Filter Type
71 14 PASCHOS, Alexandros
 {None, Raised Cosine, Root Raised Cosine, Gaussian}
72 14 PASCHOS, Alexandros
Modulation Parameters 
73 14 PASCHOS, Alexandros
- Samples per Symbol 
74 1 PASCHOS, Alexandros
- PSK type {normal, differential}
75 15 PASCHOS, Alexandros
- Symbol Map|^. Configure Signal Tab
76 15 PASCHOS, Alexandros
- IQ Sampling Rate [Samples/sec]
77 1 PASCHOS, Alexandros
- Carrier Frequency [Hz]
78 1 PASCHOS, Alexandros
- Gain [dB]
79 14 PASCHOS, Alexandros
- Symbol Rate [symbols/sec]
80 15 PASCHOS, Alexandros
Configure Timing
81 33 PASCHOS, Alexandros
- Frame Size [samples]
82 19 PASCHOS, Alexandros
- Constellation graph [IQ]
83 36 PASCHOS, Alexandros
Measurements
84 19 PASCHOS, Alexandros
- Frequency offset [Hz]
85 25 PASCHOS, Alexandros
- Frequency Drift [Hz]|{background:#eaeaea}. !{width: 100%}https://sourceforge.isae.fr/attachments/download/1498/frontPanelRx.png(Front Panel Rx)!|
86 20 PASCHOS, Alexandros
87 36 PASCHOS, Alexandros
h2. *5.1.4 Simulation Parameters*
88 20 PASCHOS, Alexandros
89 20 PASCHOS, Alexandros
The simulation was run with the following parameters for transmission and reception, knowing the limitations mentioned previously.
90 27 PASCHOS, Alexandros
|\6=. _Table 5.1 Simulation Parameters_ |
91 34 PASCHOS, Alexandros
|\2={background:#eaeaea}. General Parameters	                |\2={background:#eaeaea}. Filter Parameters	   |\2={background:#eaeaea}. Modulation Parameters|
92 21 PASCHOS, Alexandros
|The IP address of the Tx USRP | 192.168.11.2   |Roll-off       |0.2	|Samples per Symbol|	8     |
93 21 PASCHOS, Alexandros
|Active antenna of the USRP    | 	TX1	| Filter length  |7	|PSK type          |	normal|
94 21 PASCHOS, Alexandros
|Channel	|Default	|Filter Type    |Root Raised Cosine	|\2=. Symbol Map              |
95 21 PASCHOS, Alexandros
|IQ sampling rate [Samples/sec] |	500k	|/4=.        |/4=.           |=.00	        | $-\sqrt{2}/2 -i\sqrt{2}/2$|
96 21 PASCHOS, Alexandros
|Carrier Frequency [Hz]         |	900MHz	                             |=.01	        |$-\sqrt{2}/2  +i\sqrt{2}/2$|
97 21 PASCHOS, Alexandros
|Gain [dB]                      |	0                                    |=.11	        |$\sqrt{2}/2  +i\sqrt{2}/2$|
98 21 PASCHOS, Alexandros
|PN order sequence              |	10                                   |=.10	        |$\sqrt{2}/2  -i\sqrt{2}/2$|