0% found this document useful (0 votes)
13 views

Ubaid DC Lab Assignment#2

The document is a student assignment on amplitude shift keying (ASK) modulation. It includes: 1) An overview of ASK modulation where the amplitude of the carrier signal is varied according to the amplitude levels of the digital signal. 2) A description of ASK modulation and demodulation. 3) Advantages and disadvantages of ASK. 4) Applications of ASK including satellite links. 5) MATLAB code to simulate the modulation and demodulation of a binary signal using ASK.
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)
13 views

Ubaid DC Lab Assignment#2

The document is a student assignment on amplitude shift keying (ASK) modulation. It includes: 1) An overview of ASK modulation where the amplitude of the carrier signal is varied according to the amplitude levels of the digital signal. 2) A description of ASK modulation and demodulation. 3) Advantages and disadvantages of ASK. 4) Applications of ASK including satellite links. 5) MATLAB code to simulate the modulation and demodulation of a binary signal using ASK.
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
You are on page 1/ 4

FOUNDATION UNIVERSITY RAWALPINDI CAMPUS

ELECTRICAL ENGINEERING DEPARTMENT


DIGITAL COMMUNICATION (LAB)
ASSIGNMENT # 2

NAME: Ubaid Ullah


REG # 049
SECTION: BSEE-6B
DATE: 26-03-2017

SUBMITTED TO: Eng. Fawad Khan


AMPLITUDE SHIFT KEYING
ASK means Amplitude Shift Keying. In this type of modulation, the amplitude of the carrier
signal is varied with respect to amplitude levels in the digital signal.

MODULATION & DEMODULATION


In this type of modulation, the Digital signal is added to the carrier by multiplying it with carrier
and the resultant is the Ask modulated wave. This signal is then transmitted over long distances.
In ASK Demodulation, the ASK signal is allowed to passed Low Pass Filter and the digital signal
is recovered back.

Amplitude Shift Keying

ADVANTAGES DISADVANTAGES
High Efficiency High Bandwidth
Low Noise Interference High Power Consumption
Not suitable for wireless
communication

APPLICATIONS
It is used in satellite Link.
MATLAB CODE FOR ASK
clc;
clear all;
close all;

x=[ 1 0 0 1 1 0 1]; % Binary Information


bp=.000001; % bit period
disp(' Binary information at Transmitter :');
disp(x);

bit=[];
for n=1:1:length(x)
if x(n)==1;
se=ones(1,100);
else x(n)==0;
se=zeros(1,100);
end
bit=[bit se];

end
t1=bp/100:bp/100:100*length(x)*(bp/100);
subplot(2,1,1);
plot(t1,bit,'lineWidth',2.5);grid on;
axis([ 0 bp*length(x) -.5 1.5]);
ylabel('amplitude(volt)');
xlabel(' time(sec)');
title('Modulated Wave');

A1=10; % Amplitude of carrier signal for information 1


A2=5; % Amplitude of carrier signal for information 0
br=1/bp; % bit rate
f=br*10; % carrier frequency
t2=bp/99:bp/99:bp;
ss=length(t2);
m=[];
for (i=1:1:length(x))
if (x(i)==1)
y=A1*cos(2*pi*f*t2);
else
y=A2*cos(2*pi*f*t2);
end
m=[m y];
end
t3=bp/99:bp/99:bp*length(x);
subplot(2,1,2);
plot(t3,m);
xlabel('time(sec)');
ylabel('amplitude(volt)');
title('Binary Waveform');
MATLAB OUTPUT

You might also like