0% found this document useful (0 votes)
96 views13 pages

BPSK and QPSK BER vs SNR Analysis

The document is a project report that analyzes the performance of BPSK and QPSK modulation schemes by measuring bit error rate (BER) versus signal-to-noise ratio (SNR). It describes the methodology used to simulate BPSK and QPSK modulation over an additive white Gaussian noise channel. The report then defines BER as a key metric for evaluating digital communication systems and compares the BER performance of BPSK and QPSK.

Uploaded by

harika mandadapu
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
96 views13 pages

BPSK and QPSK BER vs SNR Analysis

The document is a project report that analyzes the performance of BPSK and QPSK modulation schemes by measuring bit error rate (BER) versus signal-to-noise ratio (SNR). It describes the methodology used to simulate BPSK and QPSK modulation over an additive white Gaussian noise channel. The report then defines BER as a key metric for evaluating digital communication systems and compares the BER performance of BPSK and QPSK.

Uploaded by

harika mandadapu
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

A

Project Based Lab Report


On
PERFORMANCE ANALYSIS OF BER Vs SNR FOR
BPSK AND QPSK
Submitted in partial fulfilment
Requirements for the award of the Degree
of
Bachelor of Technology
Electronics & Communication Engineering

By
[Link] SRI NANDAN (Id. No-160040505)
[Link] (Id. No-160040513)
[Link] ALI (Id. No-160040552)

Under the guidance of

Designation: Asst professor, Dept. of ECE

Electronics and Communication Engineering,


K.L. UNIVERSITY,
Green fields, Vaddeswaram-522502, Guntur Dist.
2018-2019
Department of Electronics & Communication Engineering

KLEF

CERTIFICATE

This is to certify that the project entitled “PERFORMANCE ANALYSIS OFBER Vs SNR
FOR BPSK AND QPSK ” is the bonafide work carried out by [Link] SRI NANDAN
(160040505),M,HARIKA (160040513),[Link] ALI(160040552), students of III
year [Link], Electronics & Communication Engineering Department, College of Engineering,
K.L. Educational Foundation, in the “Communication Theory Laboratory'' for the academic
year 2018-2019.

Signature of the Project Guide Head Dep. Of ECE


Department of Electronics & Communication Engineering

K.L.E.F

DECLARATION

We hereby declare that this project-based lab report entitled “PERFORMANCE


ANALYSIS OFBER Vs SNR FOR BPSK AND QPSK” has been prepared by us in partial
fulfilment of the requirement for the award of degree “BACHELOR OF TECHNOLOGY in
ELECTRONICS AND COMMUNICATION ENGINEERING” during the academic year 2018-
2019. I also declare that this project-based lab report is of our own effort and it has not been
submitted to any other university for the award of any degree.

Place: KL University
Date:

Submitted by

[Link] SRI NANDAN (Id. No-160040505)


[Link] (Id. No-160040513)
[Link] ALI (Id. No-160040552)
ACKNOWLEDGMENT

Our sincere thanks to Mr. SIR in the Lab for his outstanding support throughout the

project for the successful completion of the work.

We express our gratitude to [Link]. SRI KAVYA, Head of the Department for Electronics &

Communication Engineering for providing us with adequate facilities, ways and means by which

we are able to complete this project.

We would like to place on record the deep sense of gratitude to the honourable Vice Chancellor,

K L University for providing the necessary facilities to carry the concluded project.

Last but not the least, we thank all Teaching and Non-Teaching Staff of our department and

especially my classmates and my friends for their support in the completion of our project.

Place: KL University
Date:

[Link] Name of the Student


1 M. Jaya Sri Nandan (160040505)
2 M. Harika (160040513)
3 M. Asgar Ali (160040552)
ABSTRACT

The Bit Error Rate (BER) and Signal to Noise Ratio (SNR) of the wireless signal under
Rayleigh fading channel has been examined. Simulations confirmed the comparison of BER
curves for Binary Phase Shift Keying (BPSK) and Quadrature Phase Shift keying (QPSK) from
Adaptive White Gaussian Noise (AWGN) channel model. The bit error rate (BER) is the number
of bit errors per unit time. The bit error ratio (also BER) is the number of bit errors divided by
the total number of transferred bits during a studied time interval. Bit error ratio is a unitless
performance measure, often expressed as a percentage.

BER is a key property of the digital communication system. Various types of modulation
methods are used in the digital information transmission system. BER can be demarcated as the
number of received bits of a data stream over a communication channel that can be affected due
to noise, interference and distortion or bit synchronization errors.

As an example, assume this transmitted bit sequence:


0110001011
and the following received bit sequence:
0 0 1 0 1 0 1 0 0 1,
The number of bit errors (the underlined bits) is, in this case, 3. The BER is 3 incorrect bits
divided by 10 transferred bits, resulting in a BER of 0.3 or 30%.
INTRODUCTION

Mobile communications and wireless network have experienced massive growth and
commercial success in the recent years. However, the radio channels in mobile radio systems are
usually not modest as the wired one. Unlike wired channels that are stationary and predictable,
wireless channels are extremely random and time-variant. It is well known that the wireless
multi-path channel causes an arbitrary time dispersion, attenuation, and phase shift, known as
fading, in the received signal. Fading is caused by interference between two or more versions of
the transmitted signal which arrive at the receiver at slightly different times.

Signal to noise ratio (SNR) is a measure used in science and engineering that compares
the level of a desire signal to the level of background noise. It is defined as the ratio of signal
power to the noise power, often expressed in decibels. A ratio higher than 1:1 (greater than 0 dB)
indicates more signal than the noise. It is clear that when the signal is higher than the interference
plus the noise, the probability of decoding signal successfully is higher. One measure of
performance is BER, or bit-error rate. Simply put, this is measuring how many of bits made it
correctly over the wireless channel. Certain modulation schemes can deliver excellent BER
performance compared to other.

In a wireless mobile communication system, a signal can travel from transmitter to


receiver over multiple reflective paths; this phenomenon is referred to as multipath propagation.
If radio signal transmitted over the free space or multipath propagation channel contains objects
(particles) which randomly scatter the energy of the transmitted signal and the scatters signal
arrives at the receiver out of steps. Scatters introduces a variety of impairments including fading,
shadowing, multipath delay spread, Doppler spread, attenuation etc. and the inherent background
noise. These background noises can be called as thermal noise and treated as additive white
Gaussian noise (AWGN). The end to end modeling and design of systems that mitigate the
effects of fading are usually more challenging performance only by AWGN.
METHODOLOGY

BINARY PHASE SHIFT KEYING(BPSK):


Binary phase shift keying (BPSK) is a simplest form of PSK. In that scheme, data or
information and carrier signal modulated by modulator and get modulating signal called as
BPSK signal. Generally it uses two phases which are separated by 180° and so it is also be
termed 2-PSK. In digital modulation techniques, a set of basis functions are chosen for a
particular modulation scheme. Generally, the basis functions are orthogonal to each other. Once
the basis functions are chosen, any vector in the signal space can be represented as a linear
combination of them. In BPSK, only one sinusoid is taken as the basis function. Modulation is
achieved by varying the phase of the sinusoid depending on the message bits. One phase is
chosen to represent a zero and another to represent a one. Binary Phase Shift Keying (BPSK)
signal can be defined by

s(t) = A m(t) cos2πfct 0 ≤ t ≤ T

Where, A is constant, m(t)= 1 or -1 fc is the carrier frequency and t is the time duration

QUADRETURE PHASE SHIFT KEYING(QPSK):

Quadrature Phase Shift Keying (QPSK) is a form of Phase Shift Keying in which two bits
are modulated at once, selecting one of four possible carrier phase shifts (0, 90, 180, or 270
degrees). QPSK allows the signal to carry twice as much information as ordinary PSK using the
same bandwidth. Now two symbols per bit can be transmitted at that time each symbol’s phase is
compared relative to the previous symbol; so, if there is no phase shift (0 degrees), the bits “00”
are represented. If there is a phase shift of 180 degrees, the bits “11” are represented. QPSK is
used for satellite transmission of MPEG2 video, cable modems, videoconferencing, cellular
phone systems, and other forms of digital communication over an RF carrier.

s(t)=Acos[2πfct+θn],0≤t≤T
where the signal phase is given by θn=(2n−1)π/4

BIT ERROR RATE (BER):


BER is key parameters to use in accessing systems that is transmitted digital data one location
to another location. BER is applicable in wireless radio data links, Ethernet and as well as fiber optic
communications. But when radio data is transmitted through the wireless communication then there is
a possibility errors can be introduced into the systems. If this so the integrity of the systems can be
compromised. As a result, it is necessary to assess the performance of the system, and BER provides an
ideal way in which this can be achieved. BER assesses the full end to end performance of a system
including the transmitter, receiver and the medium between the two. BER is defined as the rate at which
errors occur in a transmission system.

number Of bits in error


Total number of bits sent
In simple form, BER =

BER expression is given by equation as,

ADDITIVE WHITE GAUSSIAN NOISE (AWGN):


A basic and generally accepted model for thermal noise in communication channels, is
the set of assumptions that the noise is additive so that, the received signal equals the transmit
signal plus some noise, where the noise is statistically independent of the signal. The noise is
white, so that, the power spectral density is flat, so the autocorrelation of the noise in time
domain is zero for any non-zero time offset and the noise samples have a Gaussian distribution.

As depicted in equation(3), in an AWGN channel, the transmitted signal r(t) is additively


corrupted by a white Gaussian noise source n(t), and the received signal s(t) is given by:

s(t) = r(t) + n(t)

The white noise n(t) is a real-valued zero-mean Wide Sense Stationary (WSS) random
process with Gaussian Probability Density Function (PDF). The term 'white' is use in the sense
that the Power Spectral Density (PSD) function of the noise is constant over the whole frequency
domain, and its Auto-Correlation Function (ACF) is a direct pulse at zero delay.
Pass band representation of AWGN channel

The wideband white noise: (a) The PSD, and (b) The ACF

Mostly it is also assumed that the channel is Linear and Time Invariant. The most basic results
further assume that it is also frequency non-selective

RAYLEIGH DISTRIBUTION CHANNEL:

In mobile radio channels, the Rayleigh distribution is commonly used to describe the
statistical time varying nature of the received envelope of a flat fading signal, or the envelope of
an individual multipath component. It is well known that the envelope of the sum of two
Quadrature Gaussian noise signals obeys a Rayleigh distribution

When there is a dominant stationary (non-fading) signal component present, such as a


line-of sight propagation path, the small-scale fading envelope distribution is Rician. In such a
situation, random multipath components arriving at different angles are superimposed on a
stationary dominant signal. At the output of an envelope detector, this has the effect of adding a
dc component to the random multipath.
RESULTS AND SIMULATION

MATLAB CODE FOR BER VS SNR FOR BPSK:

clear all
clc
r=randint(1,10000);
for i=1:10000
if r(i)==0
s(i)=-1;
else
s(i)=1;
end
end
k=1;
for snrdb=1:1:10;
v=1/(10^(snrdb/10));
x=awgn(s,snrdb,'measured');
%n1=sqrt(v/2)*randn(1,10000);
%n2=sqrt(1/2)*randn(1,10000);
%n=sqrt(n1.*n1+n2.*n2);
y=x;
for j=1:10000
if y(j)>0
z(j)=1;
else
z(j)=0;
end
end
error=length(find(z~=r));
ber(k)=error/10000;
k=k+1;
end
snrdb=1:1:10;
snrlin=10.^(snrdb./10);
tber=0.5.*erfc(sqrt(snrlin));
semilogy(snrdb,ber,'-bo',snrdb,tber,'-mh')
grid on
title('BPSK with AWGN');
xlabel('Signal to noise ratio');
ylabel('Bit error rate');
MATLAB CODE FOR BER VS SNR FOR QPSK:

clear all;
close all;
l=10000;
snrdb=1:1:10;
snrlin=10.^(snrdb/10);
for snrdb=1:1:10
si=2*(round(rand(1,l))-0.5);
sq=2*(round(rand(1,l))-0.5);
s=si+j*sq;
w=awgn(s,snrdb,'measured');
r=w;
si_=sign(real(r));
sq_=sign(imag(r));
ber1=(l-sum(si==si_))/l;
ber2=(l-sum(sq==sq_))/l;
ber(snrdb)=mean([ber1 ber2]);
end
%semilogy(snrdb, ber,'o-')
snrdb=1:1:10;
snrlin=10.^(snrdb./10);
tber=0.5.*erfc(sqrt(snrlin));
semilogy(snrdb,ber,'-bo',snrdb,tber,'-mh')
title('QPSK with awgn');
xlabel('Signal to noise ratio');
ylabel('Bit error rate');
legend('Rayleigh Theoretical','Rayleigh Simulated');
grid on;
GRAPHICAL REPRESENTATION FOR BPSK:

BPSK with AWGN


104
Rayleigh Theoretical
Rayleigh Simulated

102

100
Bit error rate

10-2

10-4

10-6
1 2 3 4 5 6 7 8 9 10
Signal to noise ratio

GRAPHICAL REPRESENTATION FOR QPSK:

QPSK with awgn


100
Rayleigh Theoretical
Rayleigh Simulated
10-1

10-2
Bit error rate

10-3

10-4

10-5

10-6
1 2 3 4 5 6 7 8 9 10
Signal to noise ratio
CONCLUSION:

In this project, the comparative study of BPSK and QPSK show that the constant value
of bit error rate (BER) is compared with the signal to noise ratio (SNR) under Rayleigh channel,
the signal decreases less in QPSK than BPSK modulation. Because the transmission symbol rate
of QPSK is two bit per symbol and in BPSK has one bit per symbol. The signal energy is spread
out over the constellation. The symbols at the far ends will have less energy per symbol (Es) than
the ones closer to the middle.

FUTURE SCOPE:

REFERENCES:

[1] B. Sklar, Digital Communications: Fundamentals and Applications, Ch. 4, Englewood Cliffs, NJ:
Prentice Hall, 1988.

[2] H. L. Van Trees,Detection Estimation, and Modulation Theory, Part I,Ch. 4, New York: Wiley, 1968.

[3] [Link]

[4] V,Panwar,[Link],”Bit Error Rate (BER) Analysis of Rayleigh Fading Channels in Mobile
Communication,” [Link].2, No.3, pp-796-798,June. 2012.

[5] T. S. Rappaport, Wireless Communications, Chs. 3 and 4, Upper Saddle River, NJ: Prentice Hall, 1996.

Common questions

Powered by AI

In an AWGN channel, the BER is affected by the SNR, modulation scheme, and the presence of interference and distortion . Higher SNR generally leads to a lower BER because the power of the signal relative to the noise is greater, allowing for more accurate signal detection . The choice of modulation also plays a significant role; schemes like BPSK offer superior BER performance compared to schemes like QPSK under the same SNR conditions .

Multipath fading significantly affects the BER of mobile wireless systems by causing signal degradation such as fading, delay spread, and Doppler shift. These effects cause variations in the amplitude, phase, and timing of the received signal, leading to constructive or destructive interference . The randomness introduced by the multipath can lead to reduced signal clarity, making the original signal more susceptible to errors during demodulation, thus increasing the BER . Systems must employ adaptive equalization, diversity techniques, and error correction methods to mitigate these effects .

AWGN is used as a model for wireless communication channels because it provides a straightforward approximation that is mathematically tractable while capturing the essential nature of noise in communication systems. It assumes the noise is statistically independent, white (having a constant power spectral density over frequency), and Gaussian, matching practical scenarios of thermal noise . The simplicity and consistency of the AWGN model allow for analytical solutions in performance metrics like BER, facilitating better understanding and optimization in system designs .

Theoretical and simulated BER results often show variations due to assumptions made in model development, such as perfect channel conditions and non-linearities. In Rayleigh fading channels, simulations typically show higher BERs than theoretical results due to real-world variables like multipath and interference . By comparing these data, one can assess the robustness of theoretical models, determine the efficacy of modulation schemes under realistic conditions, and guide the implementation of error mitigation strategies like adaptive filtering or diversity techniques in system designs .

BPSK is more resilient to noise compared to QPSK when using AWGN channels. This is because BPSK uses two distinct phase states, which makes it easier to distinguish between 1s and 0s in the presence of noise, leading to a lower BER at a given SNR . In contrast, QPSK, which encodes two bits per symbol, is more sensitive to noise due to its closer constellation points, resulting in higher susceptibility to errors under the same noise conditions .

The BER for BPSK is lower compared to QPSK for the same SNR because BPSK uses one bit per symbol, effectively concentrating more energy per bit. QPSK modulates two bits per symbol which results in a higher symbol rate and thus disperses the available signal energy over more symbols, making it somewhat less resilient to noise and interference . However, in terms of capacity, QPSK can transmit more data in the same bandwidth compared to BPSK .

The fundamental difference between BPSK and QPSK lies in the number of bits modulated per symbol. BPSK encodes one bit per symbol by using two phases separated by 180°, making it simpler but less efficient in terms of data rate. Meanwhile, QPSK modulates two bits per symbol, utilizing four distinct phases (0, 90, 180, 270 degrees) to represent the bit pairs '00', '01', '10', and '11'. As a result, QPSK has double the data rate of BPSK for the same bandwidth .

MATLAB simulations allow for the practical evaluation of BER versus SNR performance by modeling communication channels and modulation schemes. For BPSK and QPSK, MATLAB can simulate AWGN and Rayleigh channel conditions, applying random noise and measuring resulting BERs . Users can adjust SNR levels to observe corresponding simulation outputs, such as BER plots, which compare theoretical and empirical results. Such simulations help validate analytical models, identify performance limits, and inform design adaptations for varying channel conditions .

In both BPSK and QPSK, the carrier frequency serves as the base frequency on which data is encoded through phase shifts. Mathematically, for BPSK, the modulated signal can be expressed as s(t) = A m(t) cos(2πfct), where fc is the carrier frequency, A the amplitude, and m(t) the bit value . In QPSK, the modulated signal is represented as s(t) = A cos(2πfct + θn), where θn determines the phase shift based on the encoded bits . The choice of carrier frequency affects the propagation characteristics and bandwidth requirements of the modulation scheme.

The theoretical BER for BPSK over an AWGN channel can be computed using the formula BER = 0.5 * erfc(sqrt(SNR)), where erfc is the complementary error function, and SNR is the signal-to-noise ratio. This calculation is essential for predicting system performance as it helps in determining the required SNR to achieve a specific error rate, influencing decisions about power budget, modulation schemes, and error correction methods in the system design .

You might also like