Starting from:

$30

HY330-Assignment 2 Solved

General Information
The goal of this assignment is to become familiar with different modulation schemes, the impact of noise and frequency offset, as well as pulse shaping. Furthermore some upsampling issues are investigated to better understand the challenges of sampling theorem.

Exercise 1
In this exercise you will investigate the accuracy of the three different up-sampling/interpolation schemes proposed by students during the lectures. Consider the case of doubling the sample rate, thus for each input sample two are output.

1.   Build the logic of the three schemes in a single flowgraph called lab2_1.grc:

(a)   For each input sample a second sample is produced with zero amplitude (zero padding).

(b)   For each input sample a second sample is produced with the exact same amplitude (duplication/repetition).

(c)   For each input sample a second sample is produced with the average amplitude of the current and next input samples.

2.   Use the proper combinations of the available GNU Radio blocks and implement the three aforementioned schemes.

3.   Test the three schemes by using the following parameters:

(a)   Input sample rate 48000 Hz.

(b)   Output sample rate 96000 Hz.

(c)   A test cosine signal from 0 up to 24 kHz. Use a QT Range slider to adjust the frequency in real time.

4.   Report and discuss your findings. How is the frequency domain affected? Which system is the best?

5.   Recall, the decimation process of the previous assignment. In that case, after the decimation aliasing artifacts appeared. In the interpolation schemes above, do you observe any kind of artifacts? If yes, explain why they appear and try to compensate them.

NOTE: You can evaluate all the schemes by using a spectrum analyzer block with three input ports

6.   After evaluating the three schemes, do you consider of a better scheme to up-sample? If yes, report the reasoning, build the scheme, test it against the others, and report your findings.

Exercise 2
In this exercise you will implement a resampler, by combining properly decimation and interpolation implemented in the previous assignment and at Exercise 1. Note that your final result should compensate as much as possible any aliasing or other artifacts. The SNR between the signal tone and any other artifact should be at least 20 dB. For the interpolation process you can choose one of the three proposed schemes of Exercise 1.

•   Create a flowgraph with the name lab2_2.grc

•   Assume a source sampling rate of srcs = 48 kHz and a test cosine signal from 0 up to 24 kHz. Use a QT Range slider to adjust the frequency in real time.

•   Resample properly the signal to 72 kHz, by combining properly decimation and interpolation. Use a frequency sink operating at 72 kHz to visually inspect the result.

Exercise 3
This exercise will help you to get familiar with the modulation and constellation, as well as the impairments of noise and Carrier Frequency Offset (CFO). For this assignment you will use the lab2_3.grc flowgraph.

1.   The lab2_3.grc flowgraph uses a BPSK modulation that maps data into constellation points. There are two sliders. The first controls the amplitude of noise, whereas the second inserts a Carrier Frequency Offset (CFO) at the system. Note that CFO is a common hardware impairment between the TX and RX device and telecommunication standards should always deal with it. Play with the sliders by adjusting their values and report what you observe. How each one of the impairment (noise, CFO) affects the constellation points?

2.   Modify properly the flowgraph in order to support other modulations schemes too. More precisely the flowgraph should support:

•   BPSK

•   QPSK

•   16QAM

•   64QAM

The constellation point mappings are depicted at Figures 1-4.

3.   You may observe that the maximum IQ amplitude of each modulation scheme is different. This means that the mean energy of each modulation scheme is different. In general this is not desirable. For this reason, perform normalization at the constellation points of each modulation scheme. The normalization factors can be retrieved from the table below. Report a screenshot for each one of the modulations.

 

Figure 1: BPSK constellation points

 

Figure 2: QPSK constellation points

 

Figure 3: 16-QAM constellation points

Modulation
Normalization factor
BPSK
1
QPSK
p

1/ 2
16-QAM
p

1/ 10
64-QAM
p

1/ 42
 

Figure 4: 64-QAM constellation points

4.   For each one of the modulations report the maximum possible noise amplitude that can be achieved without errors. Actually without a demodulator this value can not be precise. Just provide an empirical estimation. Compare your findings and provide a brief explanation.

5.   Do the same for the CFO. How each of the modulations is affected. Is there any similarity with the previous task or not? Discuss.

Exercise 4
Alter the flowgraph of the previous task, in order to support 8-PSK modulation too.

1.   Assuming that one of the constellation points is the (1+0j) find the others. How did you compute the coordinates of the rest of the constellation points? Report.

2.   Provide a screenshot with the constellation.

3.   Compare the 8-PSK with the QPSK, regarding the immunity in noise and CFO.

4.   Compare the spectrum of 8-PSK and 16-QAM. What do you observe?

Exercise 5
In this exercise you will investigate the Frequency Shift Modulation (FSK). For this assignment you will use the lab2_5.grc flowgraph. This simulation is quite similar with the PSK case. The Frequency Sink provides a graphical view of the transmitted signal, whereas the Time Sink provides a view of the bit stream after the demodulation.

1.   Try different values of noise and CFO and compare your findings with the BPSK. Is the FSK more resilient to noise and CFO? Discuss!

2.   Search through the literature and report your findings about the Modulation Index and Deviation parameters and how they are used in FSK.

3.   How the CFO affects the FSK modulation?

4.   Using existing blocks, try to recover from the CFO effect.

More products