FSK Demodulation: Name:Bushra Batool ROLLNO:170811 Class:Beet Section:6-A FSK
FSK Demodulation: Name:Bushra Batool ROLLNO:170811 Class:Beet Section:6-A FSK
NAME:BUSHRA BATOOL
ROLLNO:170811
CLASS :BEET
SECTION:6-A
Fsk:
Frequency-shift keying (FSK) is the frequency modulation system in which digital information is
transmitted through the discrete frequency change of a carrier wave. The technology is used in
communication systems such as amateur radio, caller ID, and urgent situation broadcasts. The
simplest FSK is binary FSK (BFSK). BFSK uses a pair of discrete frequencies to transmit binary
(0s and 1s) information.
Fsk demodulation:
Fsk demodulation circuit’s input is a modulated signal which is formed by multiplying the
unipolar non-return to zero line code with the carrier signal and at the end, we add .this
modulated signal is given to the demodulator and the again multiply with the carrier at the
correlator detector and then add them at a time only one signal is achieved after with the help of
decision-making device we decide either zero or ones.
MATLAB CODE:
clc
clear all
close all
T=1;
Rb=4;
delta=10;
Fc=20;
Fc1=Fc+delta;
Fc2=Fc-delta;
Fs=20*Fc;
Ts=1/Fs;
Nspb=Fs/Rb;
Nb=Rb*T;
t=0:Ts:T-Ts;
bits=randi([0,1],1,Nb);
pulse=ones(Nspb,1);
uni_p=reshape(bits.*pulse,1,[]);
uni_p_i=not(uni_p);
X1=sin(2*pi*Fc1*t);
X2=sin(2*pi*Fc2*t);
FSK_sig=uni_p.*X1+uni_p_i.*X2;
%////demodulation////
Tb=Nspb*Ts;
t1=0:Ts:Tb-Ts;
Xc1=sin(2*pi*Fc1*t1);
Xc2=sin(2*pi*Fc2*t1);
j=0;
for i=1:Nspb:length(t)
j=j+1;
out(:,j)=sum(Xc1.*FSK_sig(i:Nspb*j));
out1(:,j)=sum(Xc2.*FSK_sig(i:Nspb*j));
res=abs(out)-abs(out1);
res=res>0;
end
rec_bits=res
RECOVER BITS:
PROTEUS SIMULATION:
The main concept that is with fsk demodulation is that the modulatd signal is passed through the
low pass filter.Then it is rectified and atlast it is compared with the threshod value to obtaion the
pluses back
Conclusion:
In this lab we studied the main concept of fsk demodulation which is done in three steps, first of
all, it is passed through low pass filter, then rectifier and at the end, it is compared with the
threshold value we implement them on proteus as well as on matlab.all the results are attached
above