Communication chain on USRPs using QPSK » History » Version 37

Gimenez Silva, Adriana, 12/15/2015 09:21 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 35 PASCHOS, Alexandros
h2. *5.1.2 Transmission with QPSK*
13 5 PASCHOS, Alexandros
14 24 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.
15 6 PASCHOS, Alexandros
16 8 PASCHOS, Alexandros
p=. !{width: 40%}https://sourceforge.isae.fr/attachments/download/1492/communicationChainUSRPs.jpg(Communication Chain USRPs)!
17 24 PASCHOS, Alexandros
_Figure 5.2 Set-up Communication Chain between USRPs_
18 6 PASCHOS, Alexandros
19 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.
20 9 PASCHOS, Alexandros
21 37 Gimenez Silva, Adriana
h2. *5.1.3 Pilot Header for Synchronization*
22 37 Gimenez Silva, Adriana
23 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.
24 37 Gimenez Silva, Adriana
25 37 Gimenez Silva, Adriana
26 1 PASCHOS, Alexandros
On the front panel of the transmission there are several inputs and outputs:
27 1 PASCHOS, Alexandros
28 31 PASCHOS, Alexandros
|{background:#ddd}. Inputs/Controls|{background:#ddd}. Outputs/Indicators|=. _Figure 5.3 Set-up Front Panel Tx_|
29 13 PASCHOS, Alexandros
|- The IP address of the Tx USRP 
30 13 PASCHOS, Alexandros
- The transmission antenna of the USRP
31 13 PASCHOS, Alexandros
- Selection of a specific USRP channel
32 13 PASCHOS, Alexandros
- IQ sampling rate [Samples/sec]
33 13 PASCHOS, Alexandros
- Carrier Frequency [Hz]
34 13 PASCHOS, Alexandros
- Gain [dB]
35 13 PASCHOS, Alexandros
- PN order sequence
36 12 PASCHOS, Alexandros
Filter Parameters
37 13 PASCHOS, Alexandros
- Roll-off
38 13 PASCHOS, Alexandros
- Filter length
39 13 PASCHOS, Alexandros
- Filter Type
40 12 PASCHOS, Alexandros
 {None, Raised Cosine, Root Raised Cosine, Gaussian}
41 12 PASCHOS, Alexandros
Modulation Parameters 
42 13 PASCHOS, Alexandros
- Samples per Symbol 
43 13 PASCHOS, Alexandros
- PSK type {normal, differential}
44 13 PASCHOS, Alexandros
- Symbol Map|^. - IQ Sampling Rate [Samples/sec]
45 13 PASCHOS, Alexandros
- Carrier Frequency [Hz]
46 13 PASCHOS, Alexandros
- Gain [dB]
47 13 PASCHOS, Alexandros
- Symbol Rate [symbols/sec]
48 13 PASCHOS, Alexandros
- Frame Size [samples]
49 33 PASCHOS, Alexandros
- Constellation graph [IQ]|{background:#eaeaea}. !{width: 100%}https://sourceforge.isae.fr/attachments/download/1494/frontPanelTx.png(Front Panel Tx)!|
50 14 PASCHOS, Alexandros
51 14 PASCHOS, Alexandros
For the Receiving part of the VI, the front panel is depicted below:
52 14 PASCHOS, Alexandros
53 31 PASCHOS, Alexandros
|{background:#ddd}. Inputs/Controls|{background:#ddd}. Outputs/Indicators|=. _Figure 5.4 Set-up Front Panel Rx_|
54 15 PASCHOS, Alexandros
|- The IP address of the Rx USRP 
55 15 PASCHOS, Alexandros
Configure Signal Tab
56 15 PASCHOS, Alexandros
- The enabled USRP channel
57 15 PASCHOS, Alexandros
- The reception antenna of the USRP {RX1, RX2}
58 1 PASCHOS, Alexandros
- IQ sampling rate [Samples/sec]
59 1 PASCHOS, Alexandros
- Carrier Frequency [Hz]
60 14 PASCHOS, Alexandros
- Gain [dB]
61 15 PASCHOS, Alexandros
Configure Timing Tab
62 15 PASCHOS, Alexandros
- Acquisition Time
63 15 PASCHOS, Alexandros
- Symbol Rate [Hz]
64 15 PASCHOS, Alexandros
Configure Filter Tab
65 14 PASCHOS, Alexandros
- Roll-off
66 1 PASCHOS, Alexandros
- Filter length
67 1 PASCHOS, Alexandros
- Filter Type
68 14 PASCHOS, Alexandros
 {None, Raised Cosine, Root Raised Cosine, Gaussian}
69 14 PASCHOS, Alexandros
Modulation Parameters 
70 14 PASCHOS, Alexandros
- Samples per Symbol 
71 1 PASCHOS, Alexandros
- PSK type {normal, differential}
72 15 PASCHOS, Alexandros
- Symbol Map|^. Configure Signal Tab
73 15 PASCHOS, Alexandros
- IQ Sampling Rate [Samples/sec]
74 1 PASCHOS, Alexandros
- Carrier Frequency [Hz]
75 1 PASCHOS, Alexandros
- Gain [dB]
76 14 PASCHOS, Alexandros
- Symbol Rate [symbols/sec]
77 15 PASCHOS, Alexandros
Configure Timing
78 33 PASCHOS, Alexandros
- Frame Size [samples]
79 19 PASCHOS, Alexandros
- Constellation graph [IQ]
80 36 PASCHOS, Alexandros
Measurements
81 19 PASCHOS, Alexandros
- Frequency offset [Hz]
82 25 PASCHOS, Alexandros
- Frequency Drift [Hz]|{background:#eaeaea}. !{width: 100%}https://sourceforge.isae.fr/attachments/download/1498/frontPanelRx.png(Front Panel Rx)!|
83 20 PASCHOS, Alexandros
84 36 PASCHOS, Alexandros
h2. *5.1.4 Simulation Parameters*
85 20 PASCHOS, Alexandros
86 20 PASCHOS, Alexandros
The simulation was run with the following parameters for transmission and reception, knowing the limitations mentioned previously.
87 27 PASCHOS, Alexandros
|\6=. _Table 5.1 Simulation Parameters_ |
88 34 PASCHOS, Alexandros
|\2={background:#eaeaea}. General Parameters	                |\2={background:#eaeaea}. Filter Parameters	   |\2={background:#eaeaea}. Modulation Parameters|
89 21 PASCHOS, Alexandros
|The IP address of the Tx USRP | 192.168.11.2   |Roll-off       |0.2	|Samples per Symbol|	8     |
90 21 PASCHOS, Alexandros
|Active antenna of the USRP    | 	TX1	| Filter length  |7	|PSK type          |	normal|
91 21 PASCHOS, Alexandros
|Channel	|Default	|Filter Type    |Root Raised Cosine	|\2=. Symbol Map              |
92 21 PASCHOS, Alexandros
|IQ sampling rate [Samples/sec] |	500k	|/4=.        |/4=.           |=.00	        | $-\sqrt{2}/2 -i\sqrt{2}/2$|
93 21 PASCHOS, Alexandros
|Carrier Frequency [Hz]         |	900MHz	                             |=.01	        |$-\sqrt{2}/2  +i\sqrt{2}/2$|
94 21 PASCHOS, Alexandros
|Gain [dB]                      |	0                                    |=.11	        |$\sqrt{2}/2  +i\sqrt{2}/2$|
95 21 PASCHOS, Alexandros
|PN order sequence              |	10                                   |=.10	        |$\sqrt{2}/2  -i\sqrt{2}/2$|