The channel emulator » History » Version 1

SANCHEZ, Eduardo, 03/25/2017 05:40 PM

1 1 SANCHEZ, Eduardo
Software architecture
2 1 SANCHEZ, Eduardo
To order to control the vector signal analyzer (VSA) and the vector signal generator (VSG) of the NI PXIe-5644R and perform the signal processing a source code is developed in LabView which is installed in the NI PXIe-8135.
3 1 SANCHEZ, Eduardo
The LabView development is mainly based on the VST Streaming project and the previous QPSK implementation functions such as the noise generation, the delay effect and the visualization tools.  
4 1 SANCHEZ, Eduardo
The front panel is illustrated in Figure wwww, the following features are provided:
5 1 SANCHEZ, Eduardo
•	Eb/No level [dB]
6 1 SANCHEZ, Eduardo
•	Time delay [ms]
7 1 SANCHEZ, Eduardo
•	Input/Output frequency carrier [GHz]
8 1 SANCHEZ, Eduardo
•	Sampling frequency [MHz]
9 1 SANCHEZ, Eduardo
•	Power spectral density
10 1 SANCHEZ, Eduardo
•	Eye diagram
11 1 SANCHEZ, Eduardo
•	Symbol constellation
12 1 SANCHEZ, Eduardo
Front Panel.png
13 1 SANCHEZ, Eduardo
On the other hand, the whole block diagram implementation consist of five major parts which will be explained below: 
14 1 SANCHEZ, Eduardo
•	PXIe-5644R initialization and configuration
15 1 SANCHEZ, Eduardo
•	Acquisition of the QPSK signal
16 1 SANCHEZ, Eduardo
•	Noise and delay generation
17 1 SANCHEZ, Eduardo
•	Streaming of the channel-applied signal
18 1 SANCHEZ, Eduardo
•	Visualization and monitoring
19 1 SANCHEZ, Eduardo
20 1 SANCHEZ, Eduardo
PXIe-5644R initialization and configuration
21 1 SANCHEZ, Eduardo
The initialization and configuration of the VST is shown in Figure lllll
22 1 SANCHEZ, Eduardo
23 1 SANCHEZ, Eduardo
Block diagram Configuration.png
24 1 SANCHEZ, Eduardo
25 1 SANCHEZ, Eduardo
Acquisition of the QPSK signal
26 1 SANCHEZ, Eduardo
In Figure qqq, it can be seen how the acquisition loop reads the samples stored in a Direct Memory Access (DMA) buffer. A DMA channel is composed of two FIFO buffers: one on the computer side and another one on the FPGA side. Therefore, in order to recover the QPSK samples, a function block writes data from the FPGA to the DMA buffer and another function block on the computer side reads the data from the target buffer.
27 1 SANCHEZ, Eduardo
Block diagram Input.png
28 1 SANCHEZ, Eduardo
Since the unsigned 16-bit integer format is used to represent the samples, a function converts these samples into complex symbols in order to reuse the functions developed in the previous implementation. 
29 1 SANCHEZ, Eduardo
Once the data is formatted, the samples are added to a FIFO queue. As in the previous LabView development, the queue approach is implemented to connect the main function loops. 
30 1 SANCHEZ, Eduardo
Noise and delay generation
31 1 SANCHEZ, Eduardo
After removing the complex symbols from the queue, the signal power is calculated in order to determine the required noise power for a given Eb/No value that is selected by the user. So that, a noise signal is generated and added to the complex one as shown in Figure www. 
32 1 SANCHEZ, Eduardo
Block diagram Channel.png
33 1 SANCHEZ, Eduardo
In order to create a time delay t_d in the transmission, the noisy samples must wait in the loop for a period of t_w before being delivered to the DMA buffer. As explained later, it must be noticed that the total delay generated by the emulator comprises the required delay as well as the processing time performed in the VST.
34 1 SANCHEZ, Eduardo
Therefore, the waiting time t_w is calculated as follows
35 1 SANCHEZ, Eduardo
t_w = t_d - (t_n - t_a) 
36 1 SANCHEZ, Eduardo
where t_a represents the time when the samples are acquired from the DMA buffer and t_n represents the time when the noisy samples are received in the output loop. The term (t_n - t_a) corresponds to the processing time that must be removed from the required delay. 
37 1 SANCHEZ, Eduardo
Considering the mentioned aspects, the data transmission to the DMA buffer is delayed by t_w once when the first cluster of symbols is received in the output loop queue. The block diagram implementation can be observed in Figure cccc.
38 1 SANCHEZ, Eduardo
Block diagram Noise.png
39 1 SANCHEZ, Eduardo
Streaming of the channel-applied signal
40 1 SANCHEZ, Eduardo
Finally, the channel-applied signal samples are dequeued and written to the DMA buffer in order to be converted from a digital format to an analog signal as shown in Figure yyyy. These samples are interpolated via a DAC, subsequently, the analog signal is up-converted to the required frequency carrier.
41 1 SANCHEZ, Eduardo
Block diagram Output.png
42 1 SANCHEZ, Eduardo
Visualization and monitoring
43 1 SANCHEZ, Eduardo
In order to analyze the transmitted signal, the symbol constellation, the eye diagram and the power spectral density of the QPSK signal are plotted. These loops are executed in parallel to exploit the multiprocessor computing power. As can be observed in Figure rrr, there are two visualization and monitoring loops: one before and another after the channel.
44 1 SANCHEZ, Eduardo
Block diagram Monitor.png