0% found this document useful (0 votes)
56 views2 pages

Lab 4: BER of BPSK in AWGN Channel: Transmitter

This document provides instructions for a lab assignment on measuring the bit error rate (BER) of binary phase-shift keying (BPSK) modulation over an additive white Gaussian noise (AWGN) channel. Students will: 1. Simulate the BER curve for BPSK and compare it to the theoretical curve given by the document. 2. Transmit 3-bit quantized pulse-code modulation (PCM) signals over an AWGN channel using BPSK modulation. At the receiver, perform hard decision decoding and recover the analog PCM signal. Evaluate the noise-corrupted voice quality for decreasing signal-to-noise ratios. 3. The document provides guidance on functions for the Q-function

Uploaded by

Nivin Paul
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
56 views2 pages

Lab 4: BER of BPSK in AWGN Channel: Transmitter

This document provides instructions for a lab assignment on measuring the bit error rate (BER) of binary phase-shift keying (BPSK) modulation over an additive white Gaussian noise (AWGN) channel. Students will: 1. Simulate the BER curve for BPSK and compare it to the theoretical curve given by the document. 2. Transmit 3-bit quantized pulse-code modulation (PCM) signals over an AWGN channel using BPSK modulation. At the receiver, perform hard decision decoding and recover the analog PCM signal. Evaluate the noise-corrupted voice quality for decreasing signal-to-noise ratios. 3. The document provides guidance on functions for the Q-function

Uploaded by

Nivin Paul
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Lab 4: BER of BPSK in AWGN Channel

For BPSK modulation, the BER performance is given by


Ãs !
2Eb
Pb = Q (1)
N0

Lab Assignment 1
: you will first compare the simulation BER curve with the theoretic curve
given by (1) for BPSK or QPSK modulation.
You can refer to Fig 1. for flow diagram.

Transmitter
y yq ~ (0,2^L−1) yb ~ (0, 1)
Read pcm.wav quantization bit stream

Receiver
yq’
yb’ Recover quan.
detection play back
levels

Figure 1: Procedure diagram for Part 1.

Lab Assignment 2:
you need to use the data from lab0, assuming 3-bit quantization, generate
PCM pulses, and transmit over AWGN channel using BPSK. At the receiver side, after hard decision,
recover the PCM signal to the analog signal. Finally you can hear the noise corrupted voice quality
degradation by decreasing Eb /N0 .
The main functions used in this lab include:

1. Q function - Q(x): matlab provides error functions like erf(x), erfc(x). Please use help to write
Q(x) from erf(x) or erfc(x).

2. Gaussian random variable generation: you can use

x = randn(m, n)

1
to generate an array of Gaussian random variables with mean zero and unit variance. Then you
can use
y =σ·x+m (2)

to obtain Gaussian random variables with mean m and variance σ 2 . You need to consider how to
select σ value for given SNR.

3. When you plot your BER curve, use

semilogy(x, y)

to make y-axis appear in log-scale.

You might also like