Advanced Digital Communication
Advanced Digital Communication
Answer 1
The source X is a stationary Gaussian source with mean zero and power spectral density
The source is sampled at the Nyquist rate and each sample is quntized using the eight level
quarter whih is shown in figure. The figure has a1=-60, a2=-40, a3= -20, a3= -20, a4= 0, a5= 20,
a6=40, a7= 60, and x1 = -70
x2 = -50, x3 = -30, x4 = -10, x5 = 10, x6 = 30, x7 = 50, x8 = 70. What is the resulting distortion and
rate?
Answer (2)
In a digital communication system, we want to simulate a Binary Phase Shift Keying (BPSK)
modulation scheme with Additive White Gaussian Noise (AWGN) using Simulink. Follow the
steps below to answer the question:
A. [4 points] Create a Simulink model (or the BPSK system. Briefly describe the key
components of your model.
B. (4 points] Explain how you would Introduce AWGN to your Simulink model. What pa-
rameter will you vary to control the SNR?
C. [4 points] Outline the components of the BPSK receiver in your Simulink model.
D. [4 points] Describe the procedure you would follow to calculate the Bit Error Rate (BER) in your
Simlink simulation.
F. [10 points] For the SNR values 0, 5, and 10, plot the AWGN distribution. Include the plots in your
answer.
G. [10 points] Using your Simulink model, perform a Monte Carlo simulation to plot the BER vs. SNR
curve for SNR values ranging from 0 to 20. Overlay the theoretical BER curve on the same plot. Include
the plot in your answer.
B)
To create a Binary Phase Shift Keying (BPSK) modulation scheme in Simulink, you will need several key components. Start with a binary signal source representing
the digital data stream. Use a BPSK Modulator block to modulate the binary signal into BPSK format. Include a gain block if necessary to control the modulation
index. Connect the modulated signal to the AWGN channel.
To introduce Additive White Gaussian Noise (AWGN), use the AWGN Channel block in Simulink. Connect this block to the output of the BPSK modulator. The key
parameter to control Signal-to-Noise Ratio (SNR) is the "Eb/No (dB)" parameter in the AWGN Channel block. Vary this parameter to control the SNR in your
simulation.
C. BPSK Receiver Components:
The BPSK receiver in Simulink includes a BPSK Demodulator block connected to the output of the AWGN Channel block. Add a decision block to convert the
continuous output from the demodulator to a binary signal. If required, include a gain block for normalization.
D. Calculating Bit Error Rate (BER):
To calculate the Bit Error Rate (BER) in Simulink, use the BER Calculation block. Connect this block to the output of the decision block in the receiver. The BER
Calculation block compares the received signal with the transmitted signal and provides the error rate.
matlab
code
% Define parameters
modulationIndex = 1;
model = 'BPSK_with_AWGN';
open_system(new_system(model));
% Connect blocks
% Run simulation
sim(model);
% Display results
open_system([model '/Scope']);
E. Plotting AWGN Distribution:
For SNR values 0, 5, and 10, use the AWGN Channel block to generate noisy signals in Simulink. Plot the distribution of these signals using a Histogram block. The
x-axis represents the signal values, and the y-axis represents the frequency of occurrence.
Perform a Monte Carlo simulation by running the Simulink model multiple times with different random noise instances. For SNR values ranging from 0 to 20, record
the resulting BER values. Plot the BER vs. SNR curve using the obtained data. Overlay the theoretical BER curve calculated based on the modulation scheme and
SNR values.
% Run simulation
simOut = sim('YourModelName');
end
figure;
hold on;
theoreticalBER = calculateTheoreticalBER(0:20);
xlabel('SNR (dB)');
legend('show');
grid on;
References:
5. Simon, M. K., & Alouini, M.-S. (2005). Digital Communication over Fading Channels: A Unified Approach to Performance Analysis. John Wiley &
Sons.
6. Lathi, B. P., & Ding, Z. (2009). Modern Digital and Analog Communication Systems. Oxford University Press.
8. Yang, H.-B. (2013). Simulation of Communication Systems: Modeling, Methodology, and Techniques. Springer.
10. Wozencraft, J. M., & Jacobs, I. M. (1965). Principles of Communication Engineering. John Wiley & Sons.