SlideShare a Scribd company logo
1 of 14
Download to read offline
1
SECURITY IMPROVEMENT IN
FREQUENCY HOPPED SPREAD SIGNAL
Project Report submitted by
Ch.Koteswara Rao – 11BEC1015
M.Vidyanath – 11bec1035
K.Harshavardhan Reddy – 11bec1133
V.Bharadwaj – 11BEC1133
in the
partial fulfillment of the requirements for the completion of course of
Digital Communication (ECE305)
In
BACHELOR OF TECHNOLOGY
(ELECTRONICS AND COMMUNICATION ENGINEERING)
By:
Under the esteemed guidance of
Prof.N.Chandrasekar
2
SL NO CONTENTS Pg NO.
1 ABSTRACT 3
2 THEORY 4
3 BLOCK DIAGRAM 4
4 EXPLANATION 5
5 REALISATION IN MATLAB 5
6 USES 5
7 MATLAB CODE 6
8 OUTPUTS 9
9 RESULT AND CONCLUSION 12
3
ABSTRACT
This project speaks more about FHSS (Frequency Hopped Spread Spectrum) and
one method suggested for Security improvement in it. In this report you can find an
in depth information on FHSS from the basic level to the aim of the project. A
detailed explanation is given about the Modulation, Frequency Hopping, PN-
sequence generation, Frequency table w.r.t PN sequence which form crucial
components in generation of the FH-spread signal. And finally demodulation is
done and the obtained waveforms are analyzed. The whole process is simulated in
the well-known simulator MATLAB. Working code is disclosed in the report for
the viewers. One method is suggested to improve the security in the FHSS.
4
THEORY
DEFINITION:
It is the repeated switching of frequencies during radio transmission, often to
minimize the effectiveness of "electronic warfare" - that is, the unauthorized
interception or jamming of telecommunications.
 Generate a bit pattern.
 The original message modulates the carrier, thus generating a narrow band
signal.
 The frequency of the carrier is periodically modified (hopped) following a
specific spreading code.
 In FHSS systems, the spreading code is a list of frequencies to be used for
the carrier signal.
 The amount of time spent on each hop is known as dwell time.
 Redundancy is achieved in FHSS systems by the possibility to execute re-
transmissions on frequencies (hops) not affected by noise.
FHSS Transmitter Block Diagram:-
5
FHSS Receiver Block Diagram:-
Implemented Block Diagram Of FHSS Transmitter:-
6
EXPLANATION:
The above block diagram is the transmitter block that is used in FHSS. The
improvised block diagram is given above where all the odd bits use the PN
sequence and the even bits use the encrypted PN-sequence (GRAY CODED) for
frequency synthesizing. This makes the jammer harder to find the PN –sequence
because the repetition occurs after several iterations than the un improvised one.
REALISATION IN MATLAB:
With the help of the block diagram we are able to carry out step by step process.
Firstly a bit sequence is generated, and then follows the modulation of the signal
(BPSK). Then PN-sequence is generated and the even bits are replaced with its
gray code and thus now we have an Improvised PN-sequence. This follows the
frequency synthesizing with the help of Improvised PN-sequence. Thus finally
multiply the frequencies with the modulated signal to give out the FH-spread
signal. Using the grid, plot commands we managed to get the plot between
frequencies and PN-sequence.
USES :
 Important form of encoding for wireless comm.
 Transmit either analog or digital data
 Analog signal (transmission)
 Developed initially for military and intelligence requirements
 Spread data over wider bandwidth
 Makes jamming and interception harder
7
MATLAB CODE:
clc
clear all
close all
even=1;
odd=1;
% generate pn sequence
cp=randint(1,20,[1 7]);
for k=1:20
if(mod(k,2))
dualcode(1,k)=cp(1,k);
evenbits(1,even)=cp(1,k);
even=even+1;
else
oddbits(1,odd)=cp(1,k);
odd=odd+1;
const= bin2gray(cp(1,k),'psk',16);
dualcode(1,k)=const;
end
end
s=round(rand(1,20));
signal=[];
carrier=[];
t=[0:2*pi/119:2*pi];
for k=1:20
if s(1,k)==0
8
sig=-ones(1,120);
else
sig=ones(1,120);
end
c=cos(t);
carrier=[carrier c];
signal=[signal sig];
end
subplot(4,1,1);
plot(signal);
axis([-100 2500 -1.5 1.5]);
title('bfit Original Bit Sequence');
bpsk_sig=signal.*carrier;
subplot(4,1,2);
plot(bpsk_sig)
axis([-100 2500 -1.5 1.5]);
title('bfit BPSK Modulated Signal');
t0=[0:2*pi/4:2*pi];
t1=[0:2*pi/9:2*pi];
t2=[0:2*pi/19:2*pi];
t3=[0:2*pi/29:2*pi];
t4=[0:2*pi/39:2*pi];
t5=[0:2*pi/59:2*pi];
t6=[0:2*pi/119:2*pi];
c0=cos(t0);
c0=[c0 c0 c0 c0 c0 c0 c0 c0 c0 c0 c0 c0 c0 c0 c0 c0 c0 c0 c0 c0
c0 c0 c0 c0];
c1=cos(t1);
c1=[c1 c1 c1 c1 c1 c1 c1 c1 c1 c1 c1 c1];
c2=cos(t2);
c2=[c2 c2 c2 c2 c2 c2];
c3=cos(t3);
c3=[c3 c3 c3 c3];
c4=cos(t4);
c4=[c4 c4 c4];
c5=cos(t5);
c5=[c5 c5];
c6=cos(t6);
% Random frequency hopps to form a spread signal
9
spread_signal=[];
for n=1:20
c=dualcode(1,n);
switch(c)
case(1)
spread_signal=[spread_signal c0];
case(2)
spread_signal=[spread_signal c1];
case(3)
spread_signal=[spread_signal c2];
case(4)
spread_signal=[spread_signal c3];
case(5)
spread_signal=[spread_signal c4];
case(6)
spread_signal=[spread_signal c5];
case(7)
spread_signal=[spread_signal c6];
end
end
subplot(4,1,3)
plot([1:2400],spread_signal);
axis([-100 2500 -1.5 1.5]);
title('bfit Spread Signal with 7 frequencies');
% Spreading BPSK Signal into wider band with total of 12
frequencies
freq_hopped_sig=bpsk_sig.*spread_signal;
subplot(4,1,4)
plot([1:2400],freq_hopped_sig);
axis([-100 2500 -1.5 1.5]);
title('bfit Frequency Hopped Spread Spectrum Signal');
% Expressing the FFTs
rec=freq_hopped_sig.*spread_signal;
lpf=fdesign.lowpass('n,fc',50,0.0168,119);
10
d=design(lpf);
j=filter(d,rec);
figure,plot(j);
figure,subplot(2,1,1)
plot([1:2400],freq_hopped_sig);
axis([-100 2500 -1.5 1.5]);
title('bfit Frequency Hopped Spread Spectrum signal and its
FFT');
subplot(2,1,2);
plot([1:2400],abs(fft(freq_hopped_sig)));
cc=zeros(size(dualcode));
cc=dualcode;
figure
fit=[];
for k=1:20
sig=(cc(1,k)-0.5)*ones(1,10);
fit=[fit sig] ;
end
plot(fit,'oblack','linewidth',8);
axis([-10 200 0 8]);
grid on
hold on
for k=10:20:190
stem(k,9,'--','black')
hold on end
11
OUTPUTS
BIT SEQUENCE:
BPSK MODULATED SIGNAL:
BPSK MODULATED SIGNAL :
12
SPREAD SIGNAL WITH SEVEN FREQUENCIES:
FH-SPREAD SIGNAL:
13
FFT OF FH-SPREAD SIGNAL:
DEMODULATED WAVE:
14
FREQUENCY vs PN-SEQUENCE:
RESULT and CONCLUSION:
Thus we have tried hard to reach the aim in getting all the plots as
desired and the results match with the theoretical background. FHSS is
implemented in MATLAB and its fft plot gave us a clear insight on it
regarding the spreading of the signal over the entire spectrum. And the
improvised PN sequence is implemented to improve the security in the
FHSS transmitted signals and is achieved .frequency vs PN-sequence
plot gave a clear picture on how the frequency is allotted for the given
PN sequence.

More Related Content

What's hot

VHDL coding in Xilinx
VHDL coding in XilinxVHDL coding in Xilinx
VHDL coding in XilinxNaveen Kumar
 
Lecture 22 Threshold effects in FM.pptx
Lecture 22 Threshold effects in FM.pptxLecture 22 Threshold effects in FM.pptx
Lecture 22 Threshold effects in FM.pptxinfomerlin
 
Data Communication & Computer Networks : Serial and parellel transmission
Data Communication & Computer Networks : Serial and parellel transmissionData Communication & Computer Networks : Serial and parellel transmission
Data Communication & Computer Networks : Serial and parellel transmissionDr Rajiv Srivastava
 
APB protocol v1.0
APB protocol v1.0APB protocol v1.0
APB protocol v1.0Azad Mishra
 
Memory segmentation-of-8086
Memory segmentation-of-8086Memory segmentation-of-8086
Memory segmentation-of-8086mudulin
 
Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)Dhaval Kaneria
 
Report on Sequential circuit by Appiah Kubi Bright
Report on Sequential circuit by Appiah Kubi BrightReport on Sequential circuit by Appiah Kubi Bright
Report on Sequential circuit by Appiah Kubi BrightAppiah Kubi Bright
 
Binary phase shift keying (bpsk)
Binary phase shift keying (bpsk)Binary phase shift keying (bpsk)
Binary phase shift keying (bpsk)Taief Alaa
 
Serial Peripheral Interface
Serial Peripheral InterfaceSerial Peripheral Interface
Serial Peripheral InterfaceAnurag Tomar
 
Demultiplexing of buses of 8085 microprocessor
Demultiplexing of buses of 8085 microprocessor Demultiplexing of buses of 8085 microprocessor
Demultiplexing of buses of 8085 microprocessor Rajal Patel
 

What's hot (20)

VHDL coding in Xilinx
VHDL coding in XilinxVHDL coding in Xilinx
VHDL coding in Xilinx
 
Addressing modes
Addressing modesAddressing modes
Addressing modes
 
I2 c bus
I2 c busI2 c bus
I2 c bus
 
Lecture 22 Threshold effects in FM.pptx
Lecture 22 Threshold effects in FM.pptxLecture 22 Threshold effects in FM.pptx
Lecture 22 Threshold effects in FM.pptx
 
Vlsi
VlsiVlsi
Vlsi
 
Module 1 8086
Module 1 8086Module 1 8086
Module 1 8086
 
Data Communication & Computer Networks : Serial and parellel transmission
Data Communication & Computer Networks : Serial and parellel transmissionData Communication & Computer Networks : Serial and parellel transmission
Data Communication & Computer Networks : Serial and parellel transmission
 
AMBA AHB 5
AMBA AHB 5AMBA AHB 5
AMBA AHB 5
 
Lecture 11
Lecture 11Lecture 11
Lecture 11
 
APB protocol v1.0
APB protocol v1.0APB protocol v1.0
APB protocol v1.0
 
Memory segmentation-of-8086
Memory segmentation-of-8086Memory segmentation-of-8086
Memory segmentation-of-8086
 
Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)
 
Register & flags
Register & flagsRegister & flags
Register & flags
 
DSB-SC Demodulation using matlab
DSB-SC Demodulation using matlabDSB-SC Demodulation using matlab
DSB-SC Demodulation using matlab
 
Report on Sequential circuit by Appiah Kubi Bright
Report on Sequential circuit by Appiah Kubi BrightReport on Sequential circuit by Appiah Kubi Bright
Report on Sequential circuit by Appiah Kubi Bright
 
I2C Protocol
I2C ProtocolI2C Protocol
I2C Protocol
 
Binary phase shift keying (bpsk)
Binary phase shift keying (bpsk)Binary phase shift keying (bpsk)
Binary phase shift keying (bpsk)
 
Serial Peripheral Interface
Serial Peripheral InterfaceSerial Peripheral Interface
Serial Peripheral Interface
 
Demultiplexing of buses of 8085 microprocessor
Demultiplexing of buses of 8085 microprocessor Demultiplexing of buses of 8085 microprocessor
Demultiplexing of buses of 8085 microprocessor
 
Adder Presentation
Adder PresentationAdder Presentation
Adder Presentation
 

Similar to Security Improvement in FHSS through Encrypted PN Sequence

EEL316: CDMA with DSSS
EEL316: CDMA with DSSSEEL316: CDMA with DSSS
EEL316: CDMA with DSSSUmang Gupta
 
Evaluation of channel estimation combined with ICI self-cancellation scheme i...
Evaluation of channel estimation combined with ICI self-cancellation scheme i...Evaluation of channel estimation combined with ICI self-cancellation scheme i...
Evaluation of channel estimation combined with ICI self-cancellation scheme i...ijcsse
 
Experiment3_DCS-21BEC0384Adityabonnerjee
Experiment3_DCS-21BEC0384AdityabonnerjeeExperiment3_DCS-21BEC0384Adityabonnerjee
Experiment3_DCS-21BEC0384AdityabonnerjeeAdityaBonnerjee21BEC
 
Multi carrier equalization by restoration of redundanc y (merry) for adaptive...
Multi carrier equalization by restoration of redundanc y (merry) for adaptive...Multi carrier equalization by restoration of redundanc y (merry) for adaptive...
Multi carrier equalization by restoration of redundanc y (merry) for adaptive...IJNSA Journal
 
Paper id 22201419
Paper id 22201419Paper id 22201419
Paper id 22201419IJRAT
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)IJERD Editor
 
EC8553 Discrete time signal processing
EC8553 Discrete time signal processing EC8553 Discrete time signal processing
EC8553 Discrete time signal processing ssuser2797e4
 
Multi-carrier Equalization by Restoration of RedundancY (MERRY) for Adaptive ...
Multi-carrier Equalization by Restoration of RedundancY (MERRY) for Adaptive ...Multi-carrier Equalization by Restoration of RedundancY (MERRY) for Adaptive ...
Multi-carrier Equalization by Restoration of RedundancY (MERRY) for Adaptive ...IJNSA Journal
 
EC8395 COMMUNICATION ENGINEERING UNIT V
EC8395 COMMUNICATION ENGINEERING UNIT V EC8395 COMMUNICATION ENGINEERING UNIT V
EC8395 COMMUNICATION ENGINEERING UNIT V ManojKumar791621
 
Matlab fair-record-model
Matlab fair-record-modelMatlab fair-record-model
Matlab fair-record-modelajaydev1111
 
Unit II OFDM.pdf
Unit II OFDM.pdfUnit II OFDM.pdf
Unit II OFDM.pdfvpshinde2
 

Similar to Security Improvement in FHSS through Encrypted PN Sequence (20)

EEL316: CDMA with DSSS
EEL316: CDMA with DSSSEEL316: CDMA with DSSS
EEL316: CDMA with DSSS
 
Final ppt
Final pptFinal ppt
Final ppt
 
Evaluation of channel estimation combined with ICI self-cancellation scheme i...
Evaluation of channel estimation combined with ICI self-cancellation scheme i...Evaluation of channel estimation combined with ICI self-cancellation scheme i...
Evaluation of channel estimation combined with ICI self-cancellation scheme i...
 
Experiment3_DCS-21BEC0384Adityabonnerjee
Experiment3_DCS-21BEC0384AdityabonnerjeeExperiment3_DCS-21BEC0384Adityabonnerjee
Experiment3_DCS-21BEC0384Adityabonnerjee
 
OFDM
OFDMOFDM
OFDM
 
PSK and It's Schemes (using MATLAB)
PSK and It's Schemes (using MATLAB)PSK and It's Schemes (using MATLAB)
PSK and It's Schemes (using MATLAB)
 
2412ijmnct02
2412ijmnct022412ijmnct02
2412ijmnct02
 
Unit IV_SS_MMS.ppt
Unit IV_SS_MMS.pptUnit IV_SS_MMS.ppt
Unit IV_SS_MMS.ppt
 
Multi carrier equalization by restoration of redundanc y (merry) for adaptive...
Multi carrier equalization by restoration of redundanc y (merry) for adaptive...Multi carrier equalization by restoration of redundanc y (merry) for adaptive...
Multi carrier equalization by restoration of redundanc y (merry) for adaptive...
 
Paper id 22201419
Paper id 22201419Paper id 22201419
Paper id 22201419
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
 
EC8553 Discrete time signal processing
EC8553 Discrete time signal processing EC8553 Discrete time signal processing
EC8553 Discrete time signal processing
 
Multi-carrier Equalization by Restoration of RedundancY (MERRY) for Adaptive ...
Multi-carrier Equalization by Restoration of RedundancY (MERRY) for Adaptive ...Multi-carrier Equalization by Restoration of RedundancY (MERRY) for Adaptive ...
Multi-carrier Equalization by Restoration of RedundancY (MERRY) for Adaptive ...
 
Comm lab manual_final-1
Comm lab manual_final-1Comm lab manual_final-1
Comm lab manual_final-1
 
Comm lab manual_final
Comm lab manual_finalComm lab manual_final
Comm lab manual_final
 
EEL316: ASK
EEL316: ASKEEL316: ASK
EEL316: ASK
 
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...
 
EC8395 COMMUNICATION ENGINEERING UNIT V
EC8395 COMMUNICATION ENGINEERING UNIT V EC8395 COMMUNICATION ENGINEERING UNIT V
EC8395 COMMUNICATION ENGINEERING UNIT V
 
Matlab fair-record-model
Matlab fair-record-modelMatlab fair-record-model
Matlab fair-record-model
 
Unit II OFDM.pdf
Unit II OFDM.pdfUnit II OFDM.pdf
Unit II OFDM.pdf
 

Recently uploaded

Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxleah joy valeriano
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
Food processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsFood processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsManeerUddin
 

Recently uploaded (20)

Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
Food processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsFood processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture hons
 

Security Improvement in FHSS through Encrypted PN Sequence

  • 1. 1 SECURITY IMPROVEMENT IN FREQUENCY HOPPED SPREAD SIGNAL Project Report submitted by Ch.Koteswara Rao – 11BEC1015 M.Vidyanath – 11bec1035 K.Harshavardhan Reddy – 11bec1133 V.Bharadwaj – 11BEC1133 in the partial fulfillment of the requirements for the completion of course of Digital Communication (ECE305) In BACHELOR OF TECHNOLOGY (ELECTRONICS AND COMMUNICATION ENGINEERING) By: Under the esteemed guidance of Prof.N.Chandrasekar
  • 2. 2 SL NO CONTENTS Pg NO. 1 ABSTRACT 3 2 THEORY 4 3 BLOCK DIAGRAM 4 4 EXPLANATION 5 5 REALISATION IN MATLAB 5 6 USES 5 7 MATLAB CODE 6 8 OUTPUTS 9 9 RESULT AND CONCLUSION 12
  • 3. 3 ABSTRACT This project speaks more about FHSS (Frequency Hopped Spread Spectrum) and one method suggested for Security improvement in it. In this report you can find an in depth information on FHSS from the basic level to the aim of the project. A detailed explanation is given about the Modulation, Frequency Hopping, PN- sequence generation, Frequency table w.r.t PN sequence which form crucial components in generation of the FH-spread signal. And finally demodulation is done and the obtained waveforms are analyzed. The whole process is simulated in the well-known simulator MATLAB. Working code is disclosed in the report for the viewers. One method is suggested to improve the security in the FHSS.
  • 4. 4 THEORY DEFINITION: It is the repeated switching of frequencies during radio transmission, often to minimize the effectiveness of "electronic warfare" - that is, the unauthorized interception or jamming of telecommunications.  Generate a bit pattern.  The original message modulates the carrier, thus generating a narrow band signal.  The frequency of the carrier is periodically modified (hopped) following a specific spreading code.  In FHSS systems, the spreading code is a list of frequencies to be used for the carrier signal.  The amount of time spent on each hop is known as dwell time.  Redundancy is achieved in FHSS systems by the possibility to execute re- transmissions on frequencies (hops) not affected by noise. FHSS Transmitter Block Diagram:-
  • 5. 5 FHSS Receiver Block Diagram:- Implemented Block Diagram Of FHSS Transmitter:-
  • 6. 6 EXPLANATION: The above block diagram is the transmitter block that is used in FHSS. The improvised block diagram is given above where all the odd bits use the PN sequence and the even bits use the encrypted PN-sequence (GRAY CODED) for frequency synthesizing. This makes the jammer harder to find the PN –sequence because the repetition occurs after several iterations than the un improvised one. REALISATION IN MATLAB: With the help of the block diagram we are able to carry out step by step process. Firstly a bit sequence is generated, and then follows the modulation of the signal (BPSK). Then PN-sequence is generated and the even bits are replaced with its gray code and thus now we have an Improvised PN-sequence. This follows the frequency synthesizing with the help of Improvised PN-sequence. Thus finally multiply the frequencies with the modulated signal to give out the FH-spread signal. Using the grid, plot commands we managed to get the plot between frequencies and PN-sequence. USES :  Important form of encoding for wireless comm.  Transmit either analog or digital data  Analog signal (transmission)  Developed initially for military and intelligence requirements  Spread data over wider bandwidth  Makes jamming and interception harder
  • 7. 7 MATLAB CODE: clc clear all close all even=1; odd=1; % generate pn sequence cp=randint(1,20,[1 7]); for k=1:20 if(mod(k,2)) dualcode(1,k)=cp(1,k); evenbits(1,even)=cp(1,k); even=even+1; else oddbits(1,odd)=cp(1,k); odd=odd+1; const= bin2gray(cp(1,k),'psk',16); dualcode(1,k)=const; end end s=round(rand(1,20)); signal=[]; carrier=[]; t=[0:2*pi/119:2*pi]; for k=1:20 if s(1,k)==0
  • 8. 8 sig=-ones(1,120); else sig=ones(1,120); end c=cos(t); carrier=[carrier c]; signal=[signal sig]; end subplot(4,1,1); plot(signal); axis([-100 2500 -1.5 1.5]); title('bfit Original Bit Sequence'); bpsk_sig=signal.*carrier; subplot(4,1,2); plot(bpsk_sig) axis([-100 2500 -1.5 1.5]); title('bfit BPSK Modulated Signal'); t0=[0:2*pi/4:2*pi]; t1=[0:2*pi/9:2*pi]; t2=[0:2*pi/19:2*pi]; t3=[0:2*pi/29:2*pi]; t4=[0:2*pi/39:2*pi]; t5=[0:2*pi/59:2*pi]; t6=[0:2*pi/119:2*pi]; c0=cos(t0); c0=[c0 c0 c0 c0 c0 c0 c0 c0 c0 c0 c0 c0 c0 c0 c0 c0 c0 c0 c0 c0 c0 c0 c0 c0]; c1=cos(t1); c1=[c1 c1 c1 c1 c1 c1 c1 c1 c1 c1 c1 c1]; c2=cos(t2); c2=[c2 c2 c2 c2 c2 c2]; c3=cos(t3); c3=[c3 c3 c3 c3]; c4=cos(t4); c4=[c4 c4 c4]; c5=cos(t5); c5=[c5 c5]; c6=cos(t6); % Random frequency hopps to form a spread signal
  • 9. 9 spread_signal=[]; for n=1:20 c=dualcode(1,n); switch(c) case(1) spread_signal=[spread_signal c0]; case(2) spread_signal=[spread_signal c1]; case(3) spread_signal=[spread_signal c2]; case(4) spread_signal=[spread_signal c3]; case(5) spread_signal=[spread_signal c4]; case(6) spread_signal=[spread_signal c5]; case(7) spread_signal=[spread_signal c6]; end end subplot(4,1,3) plot([1:2400],spread_signal); axis([-100 2500 -1.5 1.5]); title('bfit Spread Signal with 7 frequencies'); % Spreading BPSK Signal into wider band with total of 12 frequencies freq_hopped_sig=bpsk_sig.*spread_signal; subplot(4,1,4) plot([1:2400],freq_hopped_sig); axis([-100 2500 -1.5 1.5]); title('bfit Frequency Hopped Spread Spectrum Signal'); % Expressing the FFTs rec=freq_hopped_sig.*spread_signal; lpf=fdesign.lowpass('n,fc',50,0.0168,119);
  • 10. 10 d=design(lpf); j=filter(d,rec); figure,plot(j); figure,subplot(2,1,1) plot([1:2400],freq_hopped_sig); axis([-100 2500 -1.5 1.5]); title('bfit Frequency Hopped Spread Spectrum signal and its FFT'); subplot(2,1,2); plot([1:2400],abs(fft(freq_hopped_sig))); cc=zeros(size(dualcode)); cc=dualcode; figure fit=[]; for k=1:20 sig=(cc(1,k)-0.5)*ones(1,10); fit=[fit sig] ; end plot(fit,'oblack','linewidth',8); axis([-10 200 0 8]); grid on hold on for k=10:20:190 stem(k,9,'--','black') hold on end
  • 11. 11 OUTPUTS BIT SEQUENCE: BPSK MODULATED SIGNAL: BPSK MODULATED SIGNAL :
  • 12. 12 SPREAD SIGNAL WITH SEVEN FREQUENCIES: FH-SPREAD SIGNAL:
  • 13. 13 FFT OF FH-SPREAD SIGNAL: DEMODULATED WAVE:
  • 14. 14 FREQUENCY vs PN-SEQUENCE: RESULT and CONCLUSION: Thus we have tried hard to reach the aim in getting all the plots as desired and the results match with the theoretical background. FHSS is implemented in MATLAB and its fft plot gave us a clear insight on it regarding the spreading of the signal over the entire spectrum. And the improvised PN sequence is implemented to improve the security in the FHSS transmitted signals and is achieved .frequency vs PN-sequence plot gave a clear picture on how the frequency is allotted for the given PN sequence.