Professional Documents
Culture Documents
PROJECT REPORT
ON
Of
BACHELOR OF ENGINEERING
In
JYOTI YADAV
CHANDAN SAHU
AAKASH BAGHEL
HARENDRA SINHA
SESSION 2018-19
1
DECLARATION BY THE CANDIDATE
We the undersigned solemnly declare that the report of the project work entitled “ Simulation
of Digital Modulation using MATLAB” is based on our own work carried out during the
course of study under the guidance of Mr. Somendra Kumar Soni ( Assistant professor,
Department of Electronics & Telecommunication ).
We assert that the statement made and conclusion drawn are an outcome of project work. We
further declare that to the best of our knowledge and believe that the report does not contain
any part of our work which has been submitted for the award of any other
degree/diploma/certificate in this university.
JYOTI YADAV
Roll No.-3082815021
Enrollment No.-AQ7533
AAKASH BAGHEL
Roll No.-3082815001
Enrollment No.-AQ7441
CHANDAN SAHU
Roll No.-3082815011
Enrollment No.-AQ7509
HARENDRA KUMAR
Roll No.-3082815016
Enrollment No.-AQ7523
1
CERTIFICATE BY THE SUPERVISOR
This is to certify that the report of the project submitted is the outcome of the project work
entitled “Simulation of Digital Modulation using MATLAB” carried out by
Carried out under my guidance and supervision for the award of “Bachelor of Engineering
In Electronics And Telecommunication” of “Chhattisgarh Swami Vivekanand Technical
University, Bhilai”.
2
CERTIFICATE BY THE EXAMINERS
This is certify that the project work entitled “Simulation of Digital Modulation Using
MATLAB” submitted by
Has been examined by the undersigned as a part of the examined for the award of Bachelor of
Engineering degree in Electronic and Telecommunication of Chhattisgarh Swami Vivekanand
Technical University, Bhilai.
----------------------- -----------------------
Date: Date:
3
ACKNOWLEDGEMENT
To discover, analyze and to present something new is to venture on an unknown path toward
an unexplored destination is an arduous adventure unless one gets a true torch bearer to show
the way. We express our sincere gratitude to our guide Mr. Somendra Kumar Soni (Assistant
Professor, Department of Electronics & Telecommunication) for his valuable guidance,
proper advice and constant encouragement and cordial support.
We are also thankful to the authors whose work we have consulted and quoted in this work.
Finally we acknowledge the constant inspiration, encouragement and good wishes to all the
colleagues for their co-operation and enlightened views at every stage of our work to
complete this in time.
--------------------- -----------------------
Jyoti Yadav Aakash Baghel
--------------------- -----------------------
Chandan Sahu Harendra Kumar
4
TABLE OF CONTENTS
ABSTRACT vi
CHAPTER 1 - INTRODUCTION 1
CHAPTER 4 – METHODOLOGY 8
CHAPTER 5 – RESULT 12
CHAPTER 6 – CONCLUSION 14
FUTURE SCOPE 15
REFERENCES 16
5
ABSTRACT
Digital modulation technique uses discrete signals to modulate a carrier wave. In this
technique the amplitude, frequency or phase of carrier varies according to message signal.
There are various types of digital modulation technique like Amplitude Shift Keying (ASK),
Phase Shift Keying (PSK), Frequency Shift Keying (FSK), Quadrature Phase Shift Keying
(QPSK) and many more. A simulation is an imitation of the operation of a real world process
or system. The act of simulating something first requires that a model be developed; this
model represents the key characteristics, behaviors and functions of the selected system. The
model represents the system itself, whereas the simulation represents the operation of the
system. We can use MATLAB to simulate system. The used approach utilizes MATLAB
package, workspace and simulink to simulate digital modulation techniques. Simulation is
used in many contexts, such as simulation of technology for performance optimization, safety
engineering, testing, training, education and video games.
6
LIST OF FIGURES
7
CHAPTER 1
INTRODUCTION
8
One of the basic problems of communication engineering is the design and analysis of system
which allow many individual messages to be transmitted simultaneously over a single
communication channel. A method by which such multiple transmission called multiplexing,
may be achieved consists of translating each message to different position in the frequency
spectrum i.e., Modulation. The modulation techniques are classified into two types: Analog
and Digital or Pulse modulation. In digital modulation, an analog carrier signal is modulated
by discrete signal. The digital communication system has more immunity to noise and
external interference. Digital information can be saved and retrieved when necessary while it
is not possible in analog [1]. Figure 1.1 shows classification of modulation techniques.
9
1.1 Types of digital modulation techniques
The common digital modulation techniques are:
i. Amplitude Shift Keying (ASK)
ii. Frequency Shift Keying (FSK)
iii. Phase Shift Keying (PSK)
iv. M-ary Phase Shift Keying
In FSK the frequency of carrier varies according to baseband signal. When we transmit 1
then frequency of carrier wave increases and for 0 bit the frequency will be low [2].
s1(t)=Accos(2pifc+f)t;
s2(t)=Accos(2pifc-f)t;
In general, the expression for BFSK signal can be written as,
sFASK(t)= Accos[(2pifc+d(t)f)t],
10
Hence,
(i)If symbol ‘1’ is to be transmitted, then carrier frequency will be (f c+f/2pi) and is
represented by fH.
(ii)If symbol ‘0’ is to be transmitted, then carrier frequency will be (f c--f/2pi) and is
represented by fL.
Therefore, we have
In PSK the phase of the carrier varies according to the baseband signal. It uses two phases
which are separated by 180 degree and so can also be termed 2-PSK.
PSK is of two types depending upon the phases the signal gets shifted. They are Binary Phase
Shift Keying (BPSK) and Quadrature Phase Shift Keying (QPSK) [2].
For symbol ‘1’
s1(t)=Accos(2pifct);
For symbol ‘0’
s2(t)=Accos(2pifct+pi);
In general, the expression for BPSK signal can be written as,
sBPSK(t)=b(t) Accos(2pifct),
where b(t)=+1 when binary ‘1’ is to be transmitted
b(t)=--1 when binary ‘0’ is to be transmitted
That means b(t) is bipolar NRZ signal.
QPSK has twice the bandwidth efficiency of BPSK, since two bits are transmitted in
single modulation system. The phase of the carrier takes on one of 4 equally spaced value,
such as where each value of phase corresponds to unique pair of message bits [2].
11
Figures of different Modulation Techniques shown below:
12
CHAPTER 2
LITERATURE REVIEW
13
2.1 RELATED WORK
Previous works consider simulation of digital modulation technique using MATLAB.
There are several simulation model for digital modulation technique. All the related work is
studied and summarized in following subsection:
SIMULINK MODEL:
1. Tayab D Memon, Walliullah Ghangro and Dr. B S Chowdhry [1] proposed an
approach for simulation of QPSK (modulator and demodulator). In this paper the
complete software model of QPSK Modulator-Demodulator has been designed,
simulated and tested using Simulink Matlab . QPSK modulation technique is the
most widely used modulation scheme in modern digital communication system; it
provides high performance on bandwidth efficiency and bit error rate. In this paper the
complete model of QPSK has been simulated in Matlab using simulink. At first stage
the digital modulation has been reviewed followed by QPSK. In second stage The
QPSK modulator and demodulator block diagrams are discussed and Matlab simulink
simulation of both has been presented. In the final stage the complete hardware
implementation of QPSK modulator-demodulator using MC1496 has been proposed.
Limitation:
i. The limitation of this approach is that, in the hardware implementation the
values of the resistors should not be increased significantly higher than 51
ohms.
ii. In this approach only simulation of QPSK has been done and not of other
digital modulation techniques.
2. Neha Sharma and Yogendra Yadav [2] proposed one of the method for the simulation
of digital modulation technique. Simulation model are interactive method to analyse the
concept of communication system. Here the authors present an approach for the
simulation and verification of the waveform of Amplitude Shift Keying (ASK), Phase
Shift Keying (PSK), Frequency Shift Keying (FSK) and Quadrature Phase Shift Keying
(QPSK). At the first stage ASK simulation has been done and found that ASK
demonstrate poor performance and can be used in low data rate performance. Next
simulation of BPSK has been done and found that there is rapid amplitude change
between symbols due to phase discontinuity, which requires infinite bandwidth. Next
simulation of BFSK has been done and found that BPSK demonstrates better
14
performance than ASK and BFSK. At the last QPSK simulation has been done and also
its bit error rate has been demonstrated.
Limitation:
i. In this approach simulink block has been considered only for modulation of
Digital Modulation Techniques.
ii. In order to compare Bit Error Rate (BER), we need to have a demodulator
also. But this model has not considered Demodulation process.
15
CHAPTER 3
PROBLEM IDENTIFICATION
16
1. The previous research papers, either use simulink model or workspace approach for
simulation of digital modulation technique.
2. Simulation is done done only for modulation of digital techniques.
3. In previous approach authors does not use workspace approach simultaneously to for
simulation of digital modulation technique.
17
CHAPTER 4
METHODOLOGY
18
4.1 Simulation Using Matlab
Simulink provides an environment where you model your physical system and controller
using a block diagram. The workspace contains variables that you creat or import into Matlab
from data file or other program. You can view and edit the contents of the workspace in the
Workspace browser. Beside simulink block, Workspace Block also plays an important role in
loading the input data. Data can be loaded into and out of the workspace through simulink
block. The Workspace blocks are Simin and Simout block. Simin block loads data from
workspace to Workspace block. Simout block loads data from Workspace block to
workspace. Below figure 4.1 shows Matlab command window, editor window and workspace.
19
6. Now connect PN sequence and the carrier to the product and a output with scope.
7. Double click on the all the blocks and set parameters.
Carrier wave
Product Modulated
output
Digital data
input
Modulated A decision
Demodulated Output
output device
{Symbol 1, if threshold exceeded
20
4.2.2 Implementation of FREQUENCY SHIFT KEYING (FSK):
Repeat Procedure 1,2,3,4,5,6,7 only difference is that in place of one sine wave generator, two
sine wave from Simin Block and Sine wave Generator are used.
High frequency
Carrier wave
Modulated Output
Switch with
Digital input
threshold value
Low frequency
Carrier wave
21
4.2.2 Implementation of PHASE SHIFT KEYING (PSK):
Similarly PSK Modulated and Demodulated block diagram is shown in below Figure 4.4.
Figure
4.7:
Implementation of PSK Using Product and Switch.
22
CHAPTER 5
RESULT
23
In this approach simulation of Digital Modulation and Demodulation Techniques has been
presented. The results for different technique (ASK,FSK and PSK) has been demonstrated in
below figures.
In Figure 5.1 there are three graphs. First graph shows the ASK modulated wave, second
shows the ASK demodulated wave and the third shows the input digital data.
In FSK two carrier signal is require, in which one carrier frequency is integer multiple of
another. In Figure 5.2 there are four graphs. First graph shows the input digital data signal,
second shows the high frequency sine wave carrier, third shows the low frequency sine wave
carrier and fourth shows the FSK modulated waveform.
24
Figure 5.2: Implemented output of FSK.
In Figure 5.3 there are three graphs. First graph shows the PSK modulated wave, second
shows the FSK demodulated wave and third shows the input digital data.
25
CHAPTER 6
CONCLUSION
26
1. This project successfully dealt with the simulation of Digital Modulation Techniques. It
gave an overview about the behavior and characteristics of ASK, FSK, PSK and QPSK.
2. Also it had been successfully demonstrated the simulation of Digital Demodulator
Techniques. It gave an approach to evaluate the performance characteristics of ASK,
FSK, PSK and QPSK.
3. The technique for loading the input data using workspace had been successfully
performed. Simulation was interactive method to analyze the communication system. It
was interactive as we had easily changed the parameters and immediately verified the
result.
4. Also this was a proper approach for the evaluation of Bit Error Rate (BER). This to
ascertain which had the lowest Bit Error Rate. It concluded that BPSK offers better BER
and better coverage integrity of the signal.
27
FUTURE SCOPE
1. A lot of work is yet to be done to make the simulation more interactive. This can be done
by adding noise to the system and then simulating the system and also compare
performance of the system.
2. The work can be done modified by using channel coding in order to get the system
behavior under various circumstances.
3. Also source coding can be done as a future work in reference to this work. This can lead
to bit compression.
4. The algorithm can be modified by taking into account, the hardware implementation of
this work and hence analyzing its behavior.
28
REFERENCES
[1] Tayab D Memon, Walliullah Ghangro, Dr. BS Chowdhry: PhD student at RMIT,
Melbourne, Australia & Lecturer Dept of Et&Tc Engineering.
[2] Neha Sharma, Yogendra Yadav: Assistant Professor, Et&Tc Dept, Prestige
Institute of Engg and Science, Indore(MP), India.
29