You are on page 1of 2

EC4092 Digital Communication Lab

Complete this part using Matlab software. No functions in Matlab communication toolbox
can be used for filtering, modulation, demodulation, or error correction coding purposes.
1. BPSK system and Bit Error Rate (BER) performance: Simulate a digital communication
system in the presence of noise that uses coherent BPSK with antipodal signaling and plot
BER curves (Eb/No in dB vs. probability of bit error on a log scale). Compare the, error
performance. Generate a random sequence of about 1024 BPSK symbols per frame.
a. Plot the original constellation diagram for the transmitted symbols assuming no
noise.
b. Add AWGN with different variance values and plot the constellation diagram.
c. Apply coherent detection and compute BER for Eb/No in [0; 14] dB in steps of 2
dB
d. Plot BER versus Eb/No. Verify BER plot (simulations) with a analytical computation of
BER for BPSK.
2. QPSK system with pulse shaping: Generate a random sequence of about 512 QPSK
symbols and apply pulse shaping with a square-root raised cosine (SRRC) pulse (roll off =
0:35). Use an over-sampling ratio of 8x symbol rate and a truncation length of 10 symbols for
the SRRC pulse. Use Gray Coding for the QPSK symbols. Assume that the symbol rate is 25
Ksymbols/sec.
a. Plot the original constellation diagram for the transmitted symbols assuming no noise.
b. Add AWGN with di_erent variance values and plot the constellation diagram for
SNR=10 dB.
c. Pass the signal and noise through a matched receive filter (same SRRC filter as used in the
transmitter).
d. Plot the eye diagram of the received signal and interpret it.
e. Apply coherent detection and compute BER for Eb/No in [0; 14dB] in steps of 2 dB
f. Plot BER and SER (Symbol Error Rate) versus Eb/No. Verify BER plot (simulations) with
an analytical computation of BER for QPSK.
3. Performance Evaluation of BPSK Modulation with Error Control Coding: This experiment
is a modification to the first experiment. You can also implement this along with second
experiment and fetch additional credit. Perform (15,7,5) BCH Encoding to the bit sequences
at the input of the modulator and transmit the sequence and decode the demodulated stream
using appropriate BCH decoder.
a. Plot Eb/N0 Vs BER for a range of 0-12 dB and compare the BER performance
with and without BCH coding.
b. Implement a Frequency Flat Rayleigh Fading Channel and plot its PDF.
c. Plot the BER performance of uncoded digital modulation scheme by first passing
it through single tap Rayleigh channel before adding noise. You may use zeroforcing
equalization at the receiver.
d. Repeat the experiment in (c) with BCH Coding
e. Find the Eb/N0 required for achieving a BER performance of 10^(-3) in all
comparisons.

4. QAM with different constellations: Write a program that performs the simulation of an
M = 8 QAM communication system for three different constellations (a) rectangular, (b)
circular 1, and (c) circular 2. Perform the simulation for 10,000 symbols in the presence
of additive white Gaussian noise at different values of SNR. Plot and compare the
measured error rate with the theoretical error probability. Compare the error probabilities
of the three 8 QAM constellations and indicate which constellation gives better
performance.
5. Spread Spectrum Communication System
(a) Generate all possible maximal length pseudo noise (PN) sequences (m-sequence) of
length 15, 31, and 63. Plot the discrete autocorrelation of at least 2 sample sequences and
cross correlation between two sample sequences for each of these sequence lengths.
(b) Identify two Maximal Length (ML) sequences for each of these lengths and use them as
seed sequences to generate Gold codes. Plot the autocorrelation and cross correlation
functions of Gold codes.
(c) Generate Walsh code of length 32 and 64 and plot the autocorrelation and cross
correlation of some sample sequences.
(d) Make a comparative study of the autocorrelation and cross correlation properties of these
three types of sequences
(e) Modify the BPSK communication system implemented in expt. 3 to include spreading and
de-spreading assuming perfect code synchronization, i.e., spread the random data with msequence of length 31 and 63 and then modulate using BPSK and do the reverse operations at
receiver. Get the BER performance plot. Repeat the experiment for AWGN channel (0-14dB)
and Rayleigh fading channel (0-30dB). Compare the performance with respective plots
obtained without spreading and despreading.

You might also like