Shri Dharmasthala Manjunatheshwara College of
Engineering & Technology
Dharwad
CTA BASED PROJECT REPORT
Project Title : QPSK Modulation Simulation Using
MATLAB
SUBMITTED BY :
NAME USN
Uzma A Soudagar 2SD15EC112
Rajeshwari S S 2SD15EC070
UNDER THE GUIDANCE OF :
SHARADA SAJJAN
Asst. Professor
Department of Electronics & Communication
Introduction :
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.
Block Diagram Of QPSK :
Waveform Of QPSK
Advantages Of QPSK :
» In QPSK modulation, two bit are carried by one single analog
carrier. Hence bandwidth is twice efficient in comparison to
BPSK modulation. Here symbol rate is half of the raw bit rate.
» BPSK is bandwidth efficient modulation technique as two bits
are carried by single carrier.
Disadvantages Of QPSK :
» In QPSK modulation technique, one complex symbol
represents two binary bits. Due to this, QPSK receiver is more
complex compares to BPSK receiver due to four states needed to
recover binary data information.
» Due to above reason, QPSK is not power efficient modulation
technique compare to other modulation type as more power is
required to transmit two bits.
Matlab Program :
b=[];
qpsk=[];
be_c=[];
%QPSK
clc;
clear all;
close all;
%taking input sequence
bits = [0 1 1 0 1 0 0 1];% input('Enter bit sequence');
%Initialisation
N = length(bits);
fc=1;
t=0:0.001:2;
bes=[];
bec=[];
b_o=[];
b_e=[];
bite=[];
bito=[];
for i=1:N
bx=bits(i)*ones(1,1000);
b=[b bx];
end
%separating even and odd bits
for i=1:N
if bits(i)==0
bits(i)=-1;
end
if mod(i,2)==0
ebit=bits(i);
b_e=[b_e ebit];
else
obit=bits(i);
b_o=[b_o obit];
end
end
%calculating QPSK signal
for i=1:N/2
be_c=(b_e(i)*cos(2*pi*fc*t));
bo_s=(b_o(i)*sin(2*pi*fc*t));
q=be_c+bo_s;
even=b_e(i)*ones(1,2000);
odd=b_o(i)*ones(1,2000);
bite=[bite even];
bito=[bito odd];
qpsk=[qpsk q];
bec=[bec be_c];
bes=[bes bo_s];
end
figure('name','QPSK')
%ip wave
subplot(4,1,1);
plot(b,'o');
grid on;
axis([0 (N*1000) 0 1])
xlabel('time');
ylabel('input bit stream');
title('\bf\color{blue} ');
%plot of odd bits
subplot(4,1,2);
plot(bes);
hold on;
plot(bito,'rs:');
grid on;
axis([0 (N*1000) -1 1]);
ylabel('odd bit stream');
%plot of even bits
subplot(4,1,3);
plot(bec);
hold on;
plot(bite,'rs:');
grid on;
axis([0 (N*1000) -1 1]);
ylabel('even bit stream');
%plot of QPSK waveform
subplot(4,1,4);
plot(qpsk);
axis([0 (N*1000) -1.5 1.5]);
ylabel('qpsk');
Output Waveform :