Sunteți pe pagina 1din 6

Experiment Number 6

AIM: To study Amplitude Shift Keying (ASK) using MATLAB.


Theory:
Amplitude-shift keying (ASK) is a form of amplitude modulation that
represents digital data as variations in the amplitude of a carrier wave. In an ASK
system, the binary symbol 1 is represented by transmitting a fixed-amplitude carrier
wave and fixed frequency for a bit duration of T seconds. If the signal value is 1
then the carrier signal will be transmitted; otherwise, a signal value of 0 or a signal
of smaller amplitude will be transmitted.
ASK uses a finite number of amplitudes, each assigned a unique pattern
of binary digits. Usually, each amplitude encodes an equal number of bits. Each
pattern of bits forms the symbol that is represented by the particular amplitude. The
demodulator, which is designed specifically for the symbol-set used by the
modulator, determines the amplitude of the received signal and maps it back to the
symbol it represents, thus recovering the original data. Frequency and phase of the
carrier are kept constant.

Block diagram for ASK.


More sophisticated encoding schemes have been developed which
represent data in groups using additional amplitude levels. For instance, a four-level
encoding scheme can represent two bits with each shift in amplitude; an eight-level
scheme can represent three bits; and so on. These forms of amplitude-shift keying
require a high signal-to-noise ratio for their recovery, as by their nature much of the
signal is transmitted at reduced power.
The simplest and most common form of ASK operates as a switch, using the
presence of a carrier wave to indicate a binary one and its absence to indicate a
binary zero. This type of modulation is called on-off keying (OOK), and is used at
radio frequencies to transmit Morse code (referred to as continuous wave
operation).

Advantages:

ASK is a simple and basic technique.


Generation and detection of ASK signals is easy since it is a simple
technique.
ASK is more accurate to noise as compared to AM since it is a digital
modulation technique.

Disadvantages:

ASK has very low noise immunity i.e. it is very sensitive to noise.
Bit Error Rate and Probability of Error is higher in ASK.
It is used at very low bit rates upto 100 bits per second.

Detection of the ASK wave by synchronous detection method

MATLAB CODE
close all;
clear all;
t=0:pi/10:32*pi; %defined the time space
a=sin(8*pi*t/10); %the sin signal is message signal
figure
plot(a);
title('message signal');
xlabel('time');
ylabel('amplitude');
axis([0 300 -2 2]);
b=.5*(square(t)+1);
%generate the square wave in the same
time space
%t is the duration of square wave
figure plot(b);
xlabel('time');
ylabel('amplitude');
axis([0 300 -2 3]);
d=a.*b;
%multiply in a vector way each point
figure; plot(d);
xlabel('time');
ylabel('amplitude');
axis([0 300 -2 3]);

Output of MATLAB code

Message signal waveform

Square waveform for Digital modulation

Amplitude Shift Keying modulated waveform

Discussion on output
The output waveform generated is shown in the Figure 6.5 which is the
ASK waveform from the message signal and the output of the square wave
generator The amplitude or (presence of signal ) is at places where the input
waveform is high and the logic level at the digital waveform is 1 .

Learning Outcome:
The simplest and most common form of ASK operates as a switch, using the
presence of a carrier wave to indicate a binary one and its absence to indicate a binary
zero. This is known as OOK (On/Off Keying).
ASK is commonly used over optical fiber with light-emitting diode (LED) and
LASER transmitters.
The ASK technique is also commonly used to transmit digital data over optical
fiber. For LED transmitters; binary 1 is represented by a short pulse of light and binary 0
by the absence of light.

S-ar putea să vă placă și