ABSTRACT There are various types of digital modulation techniques, which include Amplitude Shift
Keying(ASK), Phase Shift Keying (PSK), Frequency Shift Keying (FSK) and Quadrature Amplitude
Modulation (QAM). The objective of digital modulation is to transport data between two or
more nodes. In digital modulation,analog carrier signal is modulated by a discrete signal. In this
lab, we studied about PSK and itsβ schemes (BPSK and QPSK). PSK is a digital modulation
scheme that conveys data by changing , or modulating the phase of the reference signal (carrier
wave). BPSK is the simplest form of phase modulation that use two carrier phase. We studied
about its principle and waveform. The waveform is generated in MATLAB. BPSK signal is proven
mathematically by equations. QPSK uses four carrier phases, each representing two bits of data.
QPSK is preferred than BPSK because of it is higher order modulation scheme when improved
spectral efficiency. QPSK principle is studied and its waveform is produced using MATLAB and is
proven with mathematical equations.
INTRODUCTION Phase shift keying (PSK) is another form of angle-modulated, constant amplitude
digital modulation. The output signal for PSK is a binary digital signal and has a limited number
of output phases. In BPSK, the transmitted signal is sinusoid of fixed amplitude. The phase of
the modulated signal itself conveys information ; the demodulator has a reference signal to
compare the received signal phase. The phase of carrier is changed according to input data
signal. The general expression is:
ππ΅πππΎ=b(t) β2π cos 2Οππt, where 0<t<T
where b(t)=1 or -1
ππ=carrier frequency
ππ=radian carrier frequency
π=bit duration
β2π=A=peak value of sinusoidal carrier
There is two output phases in BPSK. One output represents a logic 1 and another is
logic 0. As the input changes, the phase of output carrier shifts between two angles that are
180 oͦut of phase. BPSK is a form of suppressed-carrier, square wave modulation of a
continuous wave (CW) signal. BPSK demonstrates better performance than ASK and FSK.
Quadrature Phase Shift Keying (QPSK) is effectively two independent BPSK system
(I-In phase Q-out of phase) which exhibit similar performance but the bandwidth efficiency is
two times. QPSK is a M-ary technique whereby M=4. QPSK uses two points of constellation
diagram, equispaced around a circle. With 4 phases, QPSK can encode two bits per symbol to
minimize Bit Error Rate (BER). With QPSK, four output phases are possible for a single carrier
frequency. Because there are four different output phases, there must be four different input
conditions. The digital input to a QPSK modulator is a binary signal, if to produce four different
output conditions, it must combine into groups of 2 bits called dibits. With 2 bits there are four
different conditions : 00,01,10,11. Each dibit code generates one of the four possible output
phases. The rate of change at the output (baud rate) is one-half of the input bit rate.
RESULTS AND DISCUSSIONS Task 1:Binary Phase Shift Keying (PSK) MATLAB Code
function bpskd(g,f) %Define variables g and f in the command window
%Input carrier frequency as a multiple of if nargin>2 error('Too many input arguments'); elseif nargin==1 f=1; end
if f<1; error('Frequency must be greater than 1'); end
t=0:2*pi/99:2*pi; cp=[];sp=[]; mod=[];mod=[];bit=[]; for n=1:length(g); if g(n)==0; die=-ones(1,100); se=zeros(1,100);
%Signal else g(n)==1; die=ones(1,100); se=ones(1,100);
%Signal end c=sin(f*t); cp=[cp die];
%Amplitude mod=[mod c];
%Carrier bit=[bit se];
%Binary signal end bpsk=cp.*mod;
%BPSK Signal subplot(2,1,1); plot(bit,'LineWidth',1.5); grid on; xlabel('time');ylabel('Amplitude'); title('binary signal'); axis([0 100*length(g) -2.5 2.5]);
subplot(2,1,2); plot(bpsk,'LineWidth',1.5); grid on; xlabel('time');ylabel('Amplitude'); title('BPSK signal'); axis([0 100*length(g) -2.5 2.5]);
OUTPUT
In this laboratory, it can be seen that MATLAB function bpskd generates waveform
of BPSK signal. In above figure shows BPSK signal for bit sequence of 11001011 with
frequency,f=2.The waveform has a constant envelope like FSK . Also, the frequency is constant.
It can be seen that when the input binary signal changes from value of 1 to 0, the output phase
changes. The phase shift is introduced by the channel. BPSK changes the phase on each
component at the start of each bit-period. The frequency of carrier must be greater than 1
because it must be greater than data bit rate so that the condition is relaxed and resultant BER
performance is negligible. If f=1, the condition is it can ensure minimum error possible. The
output signal is either +1 sin ππt or -1 sin ππt. +1 sin ππt represents a signal that is in phase
meanwhile -1 sin ππt represents a signal that is 180 oΝ¦ut of phase. Mathematically, the output
phase of a BPSK modulator is 1
2 cos (ππ-ππ)t -
1
2 cos (ππ+ππ)t. The received signal has
the form ππ΅πππΎ=Β± β2π cos (2Οππt + Ο΄) , , where Ο΄ is the phase shift introduced by the
channel.
The truth table is:
Binary Input Output phase
Logic 0
Logic 1
180 Ν¦
0 Ν¦
Phasor and constellation diagrams are shown respectively:
i) 90 Ν¦
cos ππt
-sin ππt sin ππt
180 Ν¦ 180 Ν¦
Logic 0 Logic 0
-90 Ν¦
-cos ππt
cos ππt
ii)
Β±180 Ν¦ 0 Ν¦ Reference
-cos ππt
Task 2: Quadrature Phase Shift Keying
MATLAB
function qpskd(g,f) if nargin > 2 error('Too many input arguments'); elseif nargin==1 f=1; end if f<1 error('Frequency must be bigger than 1'); end l=length(g); r=l/2; re=ceil(r); val=re-r; if val~=0; error('Please insert a vector divisible for
2'); end t=0:2*pi/99:2*pi; cp=[];sp=[]; mod=[];mod1=[];bit=[]; for n=1:2:length(g); if g(n)==0 && g(n+1)==1; die=sqrt(2)/2*ones(1,100); die1=-sqrt(2)/2*ones(1,100); se=[zeros(1,50) ones(1,50)]; elseif g(n)==0 && g(n+1)==0; die=-sqrt(2)/2*ones(1,100); die1=-sqrt(2)/2*ones(1,100); se=[zeros(1,50) zeros(1,50)]; elseif g(n)==1 && g(n+1)==0; die=-sqrt(2)/2*ones(1,100); die1=sqrt(2)/2*ones(1,100); se=[ones(1,50) zeros(1,50)]; elseif g(n)==1 && g(n+1)==1; die=sqrt(2)/2*ones(1,100); die1=sqrt(2)/2*ones(1,100); se=[ones(1,50) ones(1,50)]; end c=cos(f*t); s=sin(f*t); cp=[cp die]; sp=[sp die1]; mod=[mod c]; mod1=[mod1 s]; bit=[bit se]; end qpsk=cp.*mod+sp.*mod1; subplot(2,1,1); plot(bit,'LineWidth',1.5); grid on; xlabel('Time'); ylabel('Amplitude'); title('Binary Signal') axis([0 50*length(g) -1.5 1.5]); subplot(2,1,2); plot(qpsk,'LineWidth',1.5); grid on; xlabel('Time');
OUTPUT WAVEFORMS
grid on; xlabel('Time'); ylabel('Amplitude'); title('Binary Signal') axis([0 50*length(g) -1.5 1.5]); subplot(2,1,2); plot(qpsk,'LineWidth',1.5); grid on; xlabel('Time'); ylabel('Amplitude'); title('QPSK signal') axis([0 50*length(g) -1.5 1.5]);
In this laboratory, it can be seen that MATLAB function qpskd generates waveform
of QPSK signal. In above figure shows QPSK signal for bit sequence of 11001011 with frequency,
f=2. The frequency of carrier must be greater than 1 because it must be greater than data bit
rate so that the condition is relaxed and resultant BER performance is negligible. If f=1, the
condition is it can ensure minimum error possible. Like BPSK, the waveform has a constant
envelope and discontinuous phase at symbol boundaries (from logic 1 to 0, or vice versa).
However, the symbol interval is two times the BPSK. QPSK transmits data twice as fast as BPSK
does if the transmission rate of the symbols is the same for both BPSK and QPSK. With QPSK,
the input data are divided into two channels and is equal to one-half of the input data rate. The
mathematical expressions form of QPSK signal is:
s(t)=A cos (2ππππ‘ + π³π) 0β€tβ€T , i=1,2,3,4
where π³π= (2πβ1)π
4 . The initial signal phases are
π
4 ,
3π
4 ,
5π
4 ,
7π
4 .
The truth table is:
Binary Input
Q I
QPSK Output Phase
0 1 -135 Ν¦
0 1 -45 Ν¦
1 0 +135 Ν¦
1 1 +45 Ν¦
Phasor and constellation diagrams are shown respectively:
i)
cos ππt
Q I Q I
cos ππt - sin ππt cos ππt + sin ππt
1 0 1 1
sin (ππt + 135 Ν¦) sin (ππt + 45 Ν¦)
- sin ππt sin ππt (0 Ν¦ reference)
Q I -cos ππt Q I
-cos ππt - sin ππt -cos ππt + sin ππt
0 0 0 1
sin (ππt - 135 Ν¦) sin (ππt β 45 Ν¦)
cos ππt
ii)
10 11
-sin ππt sin ππt
00 01
-cos ππt
CONCLUSIONS
In this laboratory, it can be concluded that M-PSK waveform is successfully generated
by using MATLAB. The basic principles of digital modulation techniques are studied in this lab
that is PSK through MATLAB coding. PSK modulation schemes that are studied in this lab are
BPSK and QPSK. BPSK demonstrates better performance than ASK and FSK. Binary data are
represented by two signals with different phases in BPSK. These two phases are 0 and Ο. The
phase of carrier is changed according to input data signal. It has the minimum error possibility
with the same Eb/No. Next, QPSK does not suffer from BER degradation while the bandwidth
efficiency increases. In a QPSK system, data bits are divided into groups of two bits called dibits
(00,01,10,11). Unlike BPSK, the output signal for QPSK has a constant envelope than BPSK.
The performance between BPSK and QPSK is analyzed. QPSK is better in terms of data rate
and bandwidth. QPSK transmits data twice as fast as BPSK. QPSK has high data rate which is 2
bits per bit interval. QPSK does not suffer from BER degradation while the bandwidth efficiency
is increased. Only two different phases are used to represents two different binary values
whereby each element only represents one bit in BPSK meanwhile four different phases are
used to represent two binary values in QPSK whereby each signal element represents in two
bits. For the same bit error rate the bandwidth required by QPSK is reduced half than BPSK.
Applications for QPSK in digital communications include CDMA system, Iridium Satellite
Communication System, Digital Video Broadcasting Satellite. QPSK is also used for satellite
transmission of MPEG-2 videos. It also used in cable modems, video conferencing and in cellular
phone systems and other forms of digital communications over an RF carrier.
REFERENCES
1) B.P. Lathi : Modern Digital and Analog Communication, Oxford University Press, New
York, 1998
2) Wayne Tomasi : Electronics Communications System, Prentice Hall, New Jersey, 2004
3) Madhow: Fundamentals of Digital Communication, Cambridge University Press, New
York, 2008
4) Ibrahim Omar, Volunteer at IEEE Zagazig Student Branch :
http://www.slideshare.net/Hema91/digital-modulation-14204950?from_search=1,
Digital Modulation, 7 Sep 2012
5) Park J. H.,Jr., βOn Binary DPSK detectionβ IEEE Trans Comm. , vol. 26, no.4, April 1978