SlideShare ist ein Scribd-Unternehmen logo
1 von 17
Downloaden Sie, um offline zu lesen
ABSTRACT
Three types of digital modulation techniques, namely Amplitude shift keying (ASK), Frequency
shift keying (FSK) and phase shift keying (FSK) are observed and investigated in this experiment. ASK,FSK
and M-PSK modulated signals are produced using MATLAB software and Simulink. The coding for
MATLAB are troubleshoot from the questions given to produce modulated signals. For ASK, FSK and PSK
amplitude, frequency and phase of carrier signal is varied to represent binary 1 and 0 respectively.
INTRODUCTION
Modulation is one of a technique of converting digital data to an analog signal. Analog signal takes a
discrete number of signal level. Discrete analog signals operate with a discrete number of levels like
digital signals. Discrete modulation technique begins with simple modulation technique(shift keying) and
ends with more complex techniques used for systems (quadrature amplitude modulation).
The simplest modulation technique is amplitude shift keying. ASK imparts to a sinusoid two or more
discrete amplitude level. By modulating a high-frequency sinusoid or carrier, a spectrum of a signal can
be shifted to a higher frequency range. s(t)=A cos 2π𝑓𝑐 for binary =1 and s(t)=0 for binary=0. A data
value 1 (higher amplitude) and a data value 0 (lower amplitude) represented by two different
amplitudes of a signal as shown in figure 1. During each period, amplitude of the signal is constant. The
amplitude levels can also be represented in 2 bits (Figure 2). Every time amplitude changes, 2 bits are
transmitted. It is more efficient than one that require two signal changes every bit. ASK is susceptible to
sudden noise impulses. The signal will experience significant increase in amplitude. Hence, ASK is least
efficient in systems that require high transmission rate.

 A cos(2f ct ), binary 1
s(t )  
binary 0
0,
Frequency shift keying (FSK) uses two different frequency ranges to represent data values of 0
and 1 as in figure. The lower frequency might represent a 1 and the higher frequency might represent a
0. The frequency of signal is controlled by baseband signal. FSK does not affected by noise impulses.
However, it is subjected to intermodulation distortion which will create new frequencies when the
frequencies of two or more signals mix together.

 A cos(2f1t ), binary 1
s (t )  
 A cos(2f 2t ), binary 0
Phase shift keying is the third modulation technique. It represents 0s and 1s by different
changes in the phase of a waveform. A 0 cannot be a phase change , while a 1 can be phase change of
180 degrees. It does not affected by amplitude changes or intermodulation distortion. PSK can be used
at a high frequency. PSK is accurate that the signal transmitter can increase efficiency by introducing
multiple phase shift angle.
binary 1
 A cos(2f c t ),
s (t )  
 A cos(2f c t   ), binary 0
binary 1
 A cos(2f c t ),

  A cos(2f c t ), binary 0
 Ad (t ) cos(2f c t ),

d (t )  1

In MPSK, the data bits to be modulated is grouped into symbols 𝑙𝑜𝑔2 M bits and take m possible
values 0,1,..,m-1. The modulator shifts the carrier to one m possible values of the input symbol during
each interval.
Results
TASK 1

Matlab program for ASK modulated signal before troubleshoot

%b is the input binary bit stream
%f is the frequency of the carrier
n= length(b); %determine the length of bit stream
t=0:0.01: n-0.01; %time axis
for i=1:n
bw(((i-1)*100+1:i*100)=b(i); %loop
end
carrier= cos(2*pi*f*t); %carrier signal
modulated = bw.*carrier; %modulated signal
Matlab program for ASK modulated signal after troubleshooting:
Enter binary bit stream=[1 -1 1 -1 1]
Enter carrier frequency=0.8 Hz

Enter binary bit stream= [1 -1 1 -1 1]
Enter carrier frequency=10Hz
Discussions:
In ASK modulation, the amplitude of carrier is varied to create signal elements. In this lab, the input
of binary bit stream is entered by users. In this case the input is [1 -1 1 -1]. This is because as in the
question wants the graph to be plotted for amplitude of binary code A=1V and A=-1V. In ASK, the
amplitude of carrier assumes one of the two amplitudes dependent on the logic stream of the input bit
stream. When the message signal is 1 or high, the modulated signal will show and high frequency, but
when message signal is 0 or low, the modulated signal will still remain at zero.Next, when
troubleshooting, a change is made that the value of x is added so that, x = 1:1:(n+1)*100.
This is to complete the formula for binary bit stream in the y-axis which is incomplete in this coding.
Hence the formula declared in the loop is bw(x(i*100:(i+1)*100)) = b(i). So it will loop to get the signal
value for ASK. The output graphs show that the first waveform is a message which initiates the second
waveform is an ASK signal. The third waveform is modulated signal. In this lab, two values carrier
frequencies are entered to compare the outputs waveforms of different values. The first carrier
frequency entered is 0.9 Hz. Digital signal is transmitted, modulates a carrier signal and varies its
amplitude in such a way as to make it coincide with the logical 1 and the logical 0, two different
amplitudes of the carrier. When the carrier frequency is change to a bigger value, which is 10 Hz. The
value of carrier frequency is higher than the amplitude of modulating signal. The modulation index,
m>1. Hence, overmodulation occur which in turns causing distortion. Both frequency and phase remains
constant while amplitude changes. The bandwidth required is two times the highest frequency content
including any harmonics for binary pulse modulating signals.

Conclusions
ASK is generated using matlab program. The most important characteristic of ASK signal is that the
two binary values, 1 and 0 are represented by two different amplitudes of the carrier frequency. When
changes from 1 to 0, the amplitude of modulated frequency also changes. In matlab, if the input carrier
frequency is high, modulation index,m will be greater than 1. Then distortion occurs.The source signals
are generally referred to as baseband signals. It sends analogue and digital signals directly over a
medium. The low-frequency signal is often frequency-translated to a higher frequency range for
efficient transmission. . The three basic ways of modulating a sine wave carrier for binary digital
modulation, are called binary amplitude-shift keying (BASK), binary frequency-shift keying (BFSK) and
binary phaseshift keying (BPSK). Modulation also leads to the possibility of frequency multiplexing. ASK
is more susceptible to noise and inefficient to use for modulation technique. Instead, it is used typically
used only up to 1200 bps for voice-grade lines.The ASK technique is used to transmit digital data over
optical fiber, where one signal element is represented by a light pulse while the other signal element is
represented by the absence of light.

TASK 2
Frequency shift keying (FSK)
Enter binary bit stream to [1 0 1 0 1]
Enter carrier frequency = 0.8 Hz

Enter binary bit stream [1 0 1 0 1]
Enter carrier frequency=10 Hz
Discussions:
In FSK, frequency of carrier signal is varied to represent binary signal 1 or 0. A frequency shift keyed
transmitter has its frequency shifted by the message. In this lab, the input of binary bit stream is entered
by users. In this case the input is [1 0 1 0 1]. In FSK, two frequencies are transmitted which is one
corresponding to binary 1(mark) and another one is 0 (space). In this lab, two values of carrier frequencies
are entered. Frequency is shifted while amplitude and phase remains constant in each bit interval. The
first value is 0.8Hz. The results of modulated signal shows that the frequency is shifted when data is
transfer from binary signal 1 to 0. There is difference in frequency in the modulated signal when going
from 1 to 0.The two possible carriers with different frequencies that are coupled to logical binary
values 1 and 0 .When the frequency of carrier entered is 10Hz, it can be seen that there is distortion or
noise presence in carrier signal 1 and carrier signal 2. The modulation index, m>1. Hence, overmodulation
occur which in turns causing distortion. However it still can be seen that at modulated signal there is
difference in frequency in the modulated signal when going from 1 to 0.

Conclusions:
Matlab code obtained for ASK modulated signal can be altered to produce Matlab code for FSK
signal. Higgher frequency of carrier will produce distortion and noise, however the FSK modulated signal
is still can be seen when it is shifted from 1 to 0. The most common form of FSK is binary FSK (BFSK), in
which the two binary values are represented by two different frequencies near the carrier frequency.
There are three common form of FSK, that is Binary Frequency Shift Keying, BFSK, Multiple Frequency
Shift Keying, BFSK. BFSK literally implies using a pair of discrete frequencies to transmit binary (0s and
1s) information. With this scheme, the "1" is called the mark frequency and the "0" is called the space
frequency.
BFSK is less susceptible to error than ASK. On voice-grade lines, it is typically used up to 1200
bps. It is also commonly used for high-frequency (3 to 30 MHz) radio transmission, also be used at even
higher frequencies on local area networks that use coaxial cable.
TASK 3
M-PSK
Simulink Block Diagram:

Graph Results:

i)Noise

ii)
Results After Troubleshooting:
Changes that have been made
i)Change Bernoulli Binary Generator to Random Integer Generator
Change sample time to 1e-7

ii)AWGN Channel
Change symbol period to
Symbol period=log2(M)*1e-7
iii)Error Rate Calculation
Change maximum number of symbols=1e8

Simulink block diagram:
Graph Results:

Discussions
PSK is a modulation where there is only one carrier so that two numerical values 1 and 0 are
coupled to two different phases of the same frequency 0° and 180° respectively. In this lab, the Simulink
is triggered to produce a 8-PSK modulator. When troubleshooting, the Bernoulli Binary Generator is
changed to Random Integer Generator. Also the value of sample time is changed to 1e-7. The reasons
Random Integer Generator is used instead of Bernoulli Binary Generator is because it generates random
integers in the range [0, M-1], where M is the M-ary number defined in the dialog box. As in this lab, 8ary is need to be generated. Meanwhile, Bernoulli Binary Generator only can generate m binary
numbers using a Bernoulli distribution. That is why before we troubleshoot, the results is only 2-PSK
instead of 8-PSK. This is generally because it could not produce other than m-binary numbers. Next the
sample time is changed to 1e-7 because a smaller sample time can produce a more precise result. This is
also the same as in AWGN Channel and Error Rate Calculation where the sample time/ maximum
number of symbols is changed.
The output at discrete time plot shows a 8 plotted M-PSK. This plot refers as 8 phase. The
phase start with 0 degree, and it changes every 45 degree. M-ary number refers to the 8-PSK. In PSK,
the phase of the carrier is shifted to represent data. It use two phase (0 and 180) to represent the two
binary digits. When M=8, so the output of binary bit is equal to 3 bit. This 3 bit encoded, formatting
titbits and producing 3 different output phase. The data next to the scatter plot is Gaussian Noise that
presents to process zero mean and single-side power density spectral.
Conclusions:

Using Simulink can create a Phase Shift Keying modulation. In PSK, the phase of the carrier signal
is shifted to represent data. M-PSK where M=8 is popular on straight-forward extension of QPSK. 8=2^3.
Hence,3 bits fit into every symbol. If M>8, the distance between constellation point is small and Eb/No
ratio has to become larger to attain target BER. The mapping from the data bits arbitrary but generally
some data bits are used. In M-PSK constellation, every constellation point is always has two neighbors
with equal probabilities of an error to either neighbor. BER is for every symbol error there is one bit
error assumed but there are 4 bits per symbol. In PSK, the demodulator must be able to determine the
phase of received sinusoid with respect to some reference phase. PSK is less susceptible to errors than
ASK, while it requires the same bandwidths as ASK. Besides, it is more efficient to use bandwidth which
is a high data rate. One of the disadvantages of PSK includes it is more complex signal detection or
recovery process than ASK and FSK.

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) Blake: Electronics Communications System 2nd Edition, CENGAGE Learning, Delmar, 2002
4) N Vlajic: www.cse.yorku.ca/course...11/.../CSE3213_07_ShiftKeying_F2010.pdf ,
ASK,FSK,PSK,QAM, Fall 2010.

5) Harjot Kaur: www.iject.org/vol2issue3/2/harjot.pdf Comparative Performance Analysis of M-ary
PSK Modulation Schemes using Simulink, September 2011

Weitere ähnliche Inhalte

Was ist angesagt?

Phase modulation
Phase modulationPhase modulation
Phase modulation
avocado1111
 

Was ist angesagt? (20)

Digital carrier modulation
Digital carrier modulationDigital carrier modulation
Digital carrier modulation
 
Digital modulation technique
Digital modulation techniqueDigital modulation technique
Digital modulation technique
 
Coherent and Non-coherent detection of ASK, FSK AND QASK
Coherent and Non-coherent detection of ASK, FSK AND QASKCoherent and Non-coherent detection of ASK, FSK AND QASK
Coherent and Non-coherent detection of ASK, FSK AND QASK
 
Amplitude modulation & demodulation
Amplitude modulation & demodulation Amplitude modulation & demodulation
Amplitude modulation & demodulation
 
Modulation techniques
Modulation techniquesModulation techniques
Modulation techniques
 
M ary psk modulation
M ary psk modulationM ary psk modulation
M ary psk modulation
 
Spread spectrum modulation
Spread spectrum modulationSpread spectrum modulation
Spread spectrum modulation
 
Amplitude modulation
Amplitude modulationAmplitude modulation
Amplitude modulation
 
Modulation
ModulationModulation
Modulation
 
Digital modulation
Digital modulationDigital modulation
Digital modulation
 
Digital modulation techniques
Digital modulation techniquesDigital modulation techniques
Digital modulation techniques
 
Solved problems in waveguides
Solved problems in waveguidesSolved problems in waveguides
Solved problems in waveguides
 
Delta modulation
Delta modulationDelta modulation
Delta modulation
 
Microwave Engineering Lecture Notes
Microwave Engineering Lecture NotesMicrowave Engineering Lecture Notes
Microwave Engineering Lecture Notes
 
Pcm
PcmPcm
Pcm
 
Phase Shift Keying & π/4 -Quadrature Phase Shift Keying
Phase Shift Keying & π/4 -Quadrature Phase Shift KeyingPhase Shift Keying & π/4 -Quadrature Phase Shift Keying
Phase Shift Keying & π/4 -Quadrature Phase Shift Keying
 
Magic tee
Magic tee  Magic tee
Magic tee
 
Phase modulation
Phase modulationPhase modulation
Phase modulation
 
Serial Communication in 8051
Serial Communication in 8051Serial Communication in 8051
Serial Communication in 8051
 
Gmsk
GmskGmsk
Gmsk
 

Andere mochten auch (10)

Tp 3 transmission de donné modulation d'amplitude,de fréquence et de phase
Tp 3 transmission de donné modulation d'amplitude,de fréquence et de phaseTp 3 transmission de donné modulation d'amplitude,de fréquence et de phase
Tp 3 transmission de donné modulation d'amplitude,de fréquence et de phase
 
Fsk modulation and demodulation
Fsk modulation and demodulationFsk modulation and demodulation
Fsk modulation and demodulation
 
Modulacion
ModulacionModulacion
Modulacion
 
Modulacion fsk
Modulacion fskModulacion fsk
Modulacion fsk
 
chap5 modulations
chap5 modulationschap5 modulations
chap5 modulations
 
Tp 1 transmission de donné inisiallisation à simulink matlab
Tp 1 transmission de donné inisiallisation à simulink matlabTp 1 transmission de donné inisiallisation à simulink matlab
Tp 1 transmission de donné inisiallisation à simulink matlab
 
chap4 codes-en-ligne
chap4 codes-en-lignechap4 codes-en-ligne
chap4 codes-en-ligne
 
chap3 transmission_numerique-en-bd_b
chap3 transmission_numerique-en-bd_bchap3 transmission_numerique-en-bd_b
chap3 transmission_numerique-en-bd_b
 
Tp 2 transmission de donné modulation analogique
Tp 2 transmission de donné modulation analogiqueTp 2 transmission de donné modulation analogique
Tp 2 transmission de donné modulation analogique
 
Digital modulation techniques
Digital modulation techniquesDigital modulation techniques
Digital modulation techniques
 

Ähnlich wie ASK,FSK and M-PSK using Matlab

Data Encoding
Data EncodingData Encoding
Data Encoding
Luka M G
 
Lecture8 digitaltoanalogconversion
Lecture8 digitaltoanalogconversionLecture8 digitaltoanalogconversion
Lecture8 digitaltoanalogconversion
H K
 
analog communication system for undergraduate .pdf
analog communication  system for undergraduate .pdfanalog communication  system for undergraduate .pdf
analog communication system for undergraduate .pdf
AlaAwouda
 

Ähnlich wie ASK,FSK and M-PSK using Matlab (20)

Lecture Notes: EEEC6440315 Communication Systems - Digital Modulation
Lecture Notes:  EEEC6440315 Communication Systems - Digital ModulationLecture Notes:  EEEC6440315 Communication Systems - Digital Modulation
Lecture Notes: EEEC6440315 Communication Systems - Digital Modulation
 
Chap 5 analog transmission
Chap 5 analog transmissionChap 5 analog transmission
Chap 5 analog transmission
 
mod.pptx
mod.pptxmod.pptx
mod.pptx
 
Comparative Study and Performance Analysis of different Modulation Techniques...
Comparative Study and Performance Analysis of different Modulation Techniques...Comparative Study and Performance Analysis of different Modulation Techniques...
Comparative Study and Performance Analysis of different Modulation Techniques...
 
Modulation technology
Modulation technologyModulation technology
Modulation technology
 
Data Encoding
Data EncodingData Encoding
Data Encoding
 
Communication system lec 8
Communication system lec 8Communication system lec 8
Communication system lec 8
 
Ch5 Data communication and networking by neha g. kurale
Ch5 Data communication and networking by neha g. kuraleCh5 Data communication and networking by neha g. kurale
Ch5 Data communication and networking by neha g. kurale
 
Introduction to communication system lecture5
Introduction to communication system lecture5Introduction to communication system lecture5
Introduction to communication system lecture5
 
DCN 5th ed. slides ch05 Analog Transmission.pdf
DCN 5th ed. slides ch05 Analog Transmission.pdfDCN 5th ed. slides ch05 Analog Transmission.pdf
DCN 5th ed. slides ch05 Analog Transmission.pdf
 
CCN
CCNCCN
CCN
 
Lecture8 digitaltoanalogconversion
Lecture8 digitaltoanalogconversionLecture8 digitaltoanalogconversion
Lecture8 digitaltoanalogconversion
 
Modulation of digital_and_analog_data
Modulation of digital_and_analog_dataModulation of digital_and_analog_data
Modulation of digital_and_analog_data
 
dspppt.pptx
dspppt.pptxdspppt.pptx
dspppt.pptx
 
Analog transmission
Analog transmissionAnalog transmission
Analog transmission
 
analog communication system for undergraduate .pdf
analog communication  system for undergraduate .pdfanalog communication  system for undergraduate .pdf
analog communication system for undergraduate .pdf
 
Mini Project Communication Link Simulation Digital Modulation Techniques Lec...
Mini Project Communication Link Simulation  Digital Modulation Techniques Lec...Mini Project Communication Link Simulation  Digital Modulation Techniques Lec...
Mini Project Communication Link Simulation Digital Modulation Techniques Lec...
 
UNIT-4 Baseband Digital Modulation.pdf
UNIT-4 Baseband Digital Modulation.pdfUNIT-4 Baseband Digital Modulation.pdf
UNIT-4 Baseband Digital Modulation.pdf
 
EEE323_7.pptx
EEE323_7.pptxEEE323_7.pptx
EEE323_7.pptx
 
Rf fundamentals
Rf fundamentalsRf fundamentals
Rf fundamentals
 

Kürzlich hochgeladen

Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Krashi Coaching
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 

Kürzlich hochgeladen (20)

Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 

ASK,FSK and M-PSK using Matlab

  • 1. ABSTRACT Three types of digital modulation techniques, namely Amplitude shift keying (ASK), Frequency shift keying (FSK) and phase shift keying (FSK) are observed and investigated in this experiment. ASK,FSK and M-PSK modulated signals are produced using MATLAB software and Simulink. The coding for MATLAB are troubleshoot from the questions given to produce modulated signals. For ASK, FSK and PSK amplitude, frequency and phase of carrier signal is varied to represent binary 1 and 0 respectively.
  • 2. INTRODUCTION Modulation is one of a technique of converting digital data to an analog signal. Analog signal takes a discrete number of signal level. Discrete analog signals operate with a discrete number of levels like digital signals. Discrete modulation technique begins with simple modulation technique(shift keying) and ends with more complex techniques used for systems (quadrature amplitude modulation). The simplest modulation technique is amplitude shift keying. ASK imparts to a sinusoid two or more discrete amplitude level. By modulating a high-frequency sinusoid or carrier, a spectrum of a signal can be shifted to a higher frequency range. s(t)=A cos 2π𝑓𝑐 for binary =1 and s(t)=0 for binary=0. A data value 1 (higher amplitude) and a data value 0 (lower amplitude) represented by two different amplitudes of a signal as shown in figure 1. During each period, amplitude of the signal is constant. The amplitude levels can also be represented in 2 bits (Figure 2). Every time amplitude changes, 2 bits are transmitted. It is more efficient than one that require two signal changes every bit. ASK is susceptible to sudden noise impulses. The signal will experience significant increase in amplitude. Hence, ASK is least efficient in systems that require high transmission rate.  A cos(2f ct ), binary 1 s(t )   binary 0 0,
  • 3. Frequency shift keying (FSK) uses two different frequency ranges to represent data values of 0 and 1 as in figure. The lower frequency might represent a 1 and the higher frequency might represent a 0. The frequency of signal is controlled by baseband signal. FSK does not affected by noise impulses. However, it is subjected to intermodulation distortion which will create new frequencies when the frequencies of two or more signals mix together.  A cos(2f1t ), binary 1 s (t )    A cos(2f 2t ), binary 0 Phase shift keying is the third modulation technique. It represents 0s and 1s by different changes in the phase of a waveform. A 0 cannot be a phase change , while a 1 can be phase change of 180 degrees. It does not affected by amplitude changes or intermodulation distortion. PSK can be used at a high frequency. PSK is accurate that the signal transmitter can increase efficiency by introducing multiple phase shift angle.
  • 4. binary 1  A cos(2f c t ), s (t )    A cos(2f c t   ), binary 0 binary 1  A cos(2f c t ),    A cos(2f c t ), binary 0  Ad (t ) cos(2f c t ), d (t )  1 In MPSK, the data bits to be modulated is grouped into symbols 𝑙𝑜𝑔2 M bits and take m possible values 0,1,..,m-1. The modulator shifts the carrier to one m possible values of the input symbol during each interval.
  • 5. Results TASK 1 Matlab program for ASK modulated signal before troubleshoot %b is the input binary bit stream %f is the frequency of the carrier n= length(b); %determine the length of bit stream t=0:0.01: n-0.01; %time axis for i=1:n bw(((i-1)*100+1:i*100)=b(i); %loop end carrier= cos(2*pi*f*t); %carrier signal modulated = bw.*carrier; %modulated signal
  • 6. Matlab program for ASK modulated signal after troubleshooting:
  • 7. Enter binary bit stream=[1 -1 1 -1 1] Enter carrier frequency=0.8 Hz Enter binary bit stream= [1 -1 1 -1 1] Enter carrier frequency=10Hz
  • 8. Discussions: In ASK modulation, the amplitude of carrier is varied to create signal elements. In this lab, the input of binary bit stream is entered by users. In this case the input is [1 -1 1 -1]. This is because as in the question wants the graph to be plotted for amplitude of binary code A=1V and A=-1V. In ASK, the amplitude of carrier assumes one of the two amplitudes dependent on the logic stream of the input bit stream. When the message signal is 1 or high, the modulated signal will show and high frequency, but when message signal is 0 or low, the modulated signal will still remain at zero.Next, when troubleshooting, a change is made that the value of x is added so that, x = 1:1:(n+1)*100. This is to complete the formula for binary bit stream in the y-axis which is incomplete in this coding. Hence the formula declared in the loop is bw(x(i*100:(i+1)*100)) = b(i). So it will loop to get the signal value for ASK. The output graphs show that the first waveform is a message which initiates the second waveform is an ASK signal. The third waveform is modulated signal. In this lab, two values carrier frequencies are entered to compare the outputs waveforms of different values. The first carrier frequency entered is 0.9 Hz. Digital signal is transmitted, modulates a carrier signal and varies its amplitude in such a way as to make it coincide with the logical 1 and the logical 0, two different amplitudes of the carrier. When the carrier frequency is change to a bigger value, which is 10 Hz. The value of carrier frequency is higher than the amplitude of modulating signal. The modulation index, m>1. Hence, overmodulation occur which in turns causing distortion. Both frequency and phase remains constant while amplitude changes. The bandwidth required is two times the highest frequency content including any harmonics for binary pulse modulating signals. Conclusions ASK is generated using matlab program. The most important characteristic of ASK signal is that the two binary values, 1 and 0 are represented by two different amplitudes of the carrier frequency. When changes from 1 to 0, the amplitude of modulated frequency also changes. In matlab, if the input carrier frequency is high, modulation index,m will be greater than 1. Then distortion occurs.The source signals are generally referred to as baseband signals. It sends analogue and digital signals directly over a medium. The low-frequency signal is often frequency-translated to a higher frequency range for efficient transmission. . The three basic ways of modulating a sine wave carrier for binary digital modulation, are called binary amplitude-shift keying (BASK), binary frequency-shift keying (BFSK) and binary phaseshift keying (BPSK). Modulation also leads to the possibility of frequency multiplexing. ASK is more susceptible to noise and inefficient to use for modulation technique. Instead, it is used typically used only up to 1200 bps for voice-grade lines.The ASK technique is used to transmit digital data over
  • 9. optical fiber, where one signal element is represented by a light pulse while the other signal element is represented by the absence of light. TASK 2 Frequency shift keying (FSK)
  • 10.
  • 11. Enter binary bit stream to [1 0 1 0 1] Enter carrier frequency = 0.8 Hz Enter binary bit stream [1 0 1 0 1] Enter carrier frequency=10 Hz
  • 12. Discussions: In FSK, frequency of carrier signal is varied to represent binary signal 1 or 0. A frequency shift keyed transmitter has its frequency shifted by the message. In this lab, the input of binary bit stream is entered by users. In this case the input is [1 0 1 0 1]. In FSK, two frequencies are transmitted which is one corresponding to binary 1(mark) and another one is 0 (space). In this lab, two values of carrier frequencies are entered. Frequency is shifted while amplitude and phase remains constant in each bit interval. The first value is 0.8Hz. The results of modulated signal shows that the frequency is shifted when data is transfer from binary signal 1 to 0. There is difference in frequency in the modulated signal when going from 1 to 0.The two possible carriers with different frequencies that are coupled to logical binary values 1 and 0 .When the frequency of carrier entered is 10Hz, it can be seen that there is distortion or noise presence in carrier signal 1 and carrier signal 2. The modulation index, m>1. Hence, overmodulation occur which in turns causing distortion. However it still can be seen that at modulated signal there is difference in frequency in the modulated signal when going from 1 to 0. Conclusions: Matlab code obtained for ASK modulated signal can be altered to produce Matlab code for FSK signal. Higgher frequency of carrier will produce distortion and noise, however the FSK modulated signal is still can be seen when it is shifted from 1 to 0. The most common form of FSK is binary FSK (BFSK), in which the two binary values are represented by two different frequencies near the carrier frequency. There are three common form of FSK, that is Binary Frequency Shift Keying, BFSK, Multiple Frequency Shift Keying, BFSK. BFSK literally implies using a pair of discrete frequencies to transmit binary (0s and 1s) information. With this scheme, the "1" is called the mark frequency and the "0" is called the space frequency. BFSK is less susceptible to error than ASK. On voice-grade lines, it is typically used up to 1200 bps. It is also commonly used for high-frequency (3 to 30 MHz) radio transmission, also be used at even higher frequencies on local area networks that use coaxial cable.
  • 13. TASK 3 M-PSK Simulink Block Diagram: Graph Results: i)Noise ii)
  • 14. Results After Troubleshooting: Changes that have been made i)Change Bernoulli Binary Generator to Random Integer Generator Change sample time to 1e-7 ii)AWGN Channel Change symbol period to Symbol period=log2(M)*1e-7
  • 15. iii)Error Rate Calculation Change maximum number of symbols=1e8 Simulink block diagram:
  • 16. Graph Results: Discussions PSK is a modulation where there is only one carrier so that two numerical values 1 and 0 are coupled to two different phases of the same frequency 0° and 180° respectively. In this lab, the Simulink is triggered to produce a 8-PSK modulator. When troubleshooting, the Bernoulli Binary Generator is changed to Random Integer Generator. Also the value of sample time is changed to 1e-7. The reasons Random Integer Generator is used instead of Bernoulli Binary Generator is because it generates random integers in the range [0, M-1], where M is the M-ary number defined in the dialog box. As in this lab, 8ary is need to be generated. Meanwhile, Bernoulli Binary Generator only can generate m binary numbers using a Bernoulli distribution. That is why before we troubleshoot, the results is only 2-PSK instead of 8-PSK. This is generally because it could not produce other than m-binary numbers. Next the sample time is changed to 1e-7 because a smaller sample time can produce a more precise result. This is also the same as in AWGN Channel and Error Rate Calculation where the sample time/ maximum number of symbols is changed. The output at discrete time plot shows a 8 plotted M-PSK. This plot refers as 8 phase. The phase start with 0 degree, and it changes every 45 degree. M-ary number refers to the 8-PSK. In PSK, the phase of the carrier is shifted to represent data. It use two phase (0 and 180) to represent the two binary digits. When M=8, so the output of binary bit is equal to 3 bit. This 3 bit encoded, formatting titbits and producing 3 different output phase. The data next to the scatter plot is Gaussian Noise that presents to process zero mean and single-side power density spectral.
  • 17. Conclusions: Using Simulink can create a Phase Shift Keying modulation. In PSK, the phase of the carrier signal is shifted to represent data. M-PSK where M=8 is popular on straight-forward extension of QPSK. 8=2^3. Hence,3 bits fit into every symbol. If M>8, the distance between constellation point is small and Eb/No ratio has to become larger to attain target BER. The mapping from the data bits arbitrary but generally some data bits are used. In M-PSK constellation, every constellation point is always has two neighbors with equal probabilities of an error to either neighbor. BER is for every symbol error there is one bit error assumed but there are 4 bits per symbol. In PSK, the demodulator must be able to determine the phase of received sinusoid with respect to some reference phase. PSK is less susceptible to errors than ASK, while it requires the same bandwidths as ASK. Besides, it is more efficient to use bandwidth which is a high data rate. One of the disadvantages of PSK includes it is more complex signal detection or recovery process than ASK and FSK. 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) Blake: Electronics Communications System 2nd Edition, CENGAGE Learning, Delmar, 2002 4) N Vlajic: www.cse.yorku.ca/course...11/.../CSE3213_07_ShiftKeying_F2010.pdf , ASK,FSK,PSK,QAM, Fall 2010. 5) Harjot Kaur: www.iject.org/vol2issue3/2/harjot.pdf Comparative Performance Analysis of M-ary PSK Modulation Schemes using Simulink, September 2011