Correlation (Packet detection)

Slides:



Advertisements
Similar presentations
An Approach in Reproducing the Auto-Tune Effect Mentees: Dong-San Choi & Tejas Rawal Mentor: David Jun.
Advertisements

Correlation of Discrete-Time Signals Transmitted Signal, x(n) Reflected Signal, y(n) = x(n-D) + w(n) 0T.
OFDM Transmission over Wideband Channel
EE578 Assignment #5 Abdul-Aziz.M Al-Yami November 8 th 2010.
Spread Spectrum Chapter 7.
Spread Spectrum Chapter 7. Spread Spectrum Input is fed into a channel encoder Produces analog signal with narrow bandwidth Signal is further modulated.
Doc.: IEEE /0115r0 Submission January 2012 Ron Porat, Broadcom 32FFT STF/LTF Sequences Date: Authors: Slide 1.
Digital transmission over a fading channel Narrowband system (introduction) Wideband TDMA (introduction) Wideband DS-CDMA (introduction) Rake receiver.
Human Visual System Neural Network Stanley Alphonso, Imran Afzal, Anand Phadake, Putta Reddy Shankar, and Charles Tappert.
1 Signal Processing Mike Doggett Staffordshire University.
The National Centres of Competence in Research are managed by the Swiss National Science Foundation on behalf of the Federal Authorities NCCR MICS review.
Communication Systems
1 Lecture 9: Diversity Chapter 7 – Equalization, Diversity, and Coding.
Systems: Definition Filter
ECE 8443 – Pattern Recognition ECE 8423 – Adaptive Signal Processing Objectives: Adaptive Noise Cancellation ANC W/O External Reference Adaptive Line Enhancement.
Review of Probability.
Presented by: Kamakhaya Argulewar Guided by: Prof. Shweta V. Jain
1 Introduction to. 2 Contents: DEFINITION OF SPREAD SPECTRUM ( SS ) CHARACTERISTICS OF SPREAD SPECTRUM BASIC PRINCIPLES OF DIRECT SEQUENCE SPREAD SPECTRUM.
Digital transmission over a fading channel Narrowband system (introduction) Wideband TDMA (introduction) Wideband DS-CDMA (introduction) Rake receiver.
Baseband Transmissions (1) Transmission Medium Sender Receiver Transmission Digital Signals Signals all same shape CS 590/490 Wireless Networks.
Correlated and Uncorrelated Signals Problem: we have two signals and. How “close” are they to each other? Example: in a radar (or sonar) we transmit a.
1 Lab. 13 SISO Wireless System I  In a typical communication system, receiving starts with synchronization.  For a packet-based system, it includes –
Automatic Gain Control Response Delay and Acquisition in Direct- Sequence Packet Radio Communications Sure 2007 Stephanie Gramc Dr. Noneaker.
A Power Independent Detection (PID) Method for Ultra Wide Band Impulse Radio Networks Alaeddine EL-FAWAL Joint work with Jean-Yves Le Boudec UWB4SN 2005:
CS 590/490 Wireless Networks Baseband Transmissions (1)
A Novel one-tap frequency domain RLS equalizer combined with Viterbi decoder using channel state information in OFDM systems Advisor: Yung-an Kao Student:
Signals CY2G2/SE2A2 Information Theory and Signals Aims: To discuss further concepts in information theory and to introduce signal theory. Outcomes:
Receiver Designs for Unknown Fading Channels University of Toronto Fumihiro Hasegawa Dr. S. Pasupathy, Dr. K. N. Plataniotis.
Data Link Layer : Services, Framing, Error Detection and Correction2.
Versatile Low Power Media Access for Wireless Sensor Networks Sarat Chandra Subramaniam.
Gain (dB) Benefits –Resistance to jamming –Resistance to detection –Sharing of channels among multiple users Applications –Cellular code-division multiple-access.
COMP322/S2000/L171 Robot Vision System Major Phases in Robot Vision Systems: A. Data (image) acquisition –Illumination, i.e. lighting consideration –Lenses,
Autonomous Robots Vision © Manfred Huber 2014.
Data Link Layer and Ethernet COM211 Communications and Networks CDA College Theodoros Christophides
A Power Independent Detection (PID) Method for Ultra Wide Band Impulse Radio Networks Alaeddine EL-FAWAL Joint work with Jean-Yves Le Boudec ICU 2005:
COMMUNICATION SYSTEM EECB353 Chapter 7 Part III MULTIPLE ACCESS Intan Shafinaz Mustafa Dept of Electrical Engineering Universiti Tenaga Nasional
INFOCOM What is MMAC? ▣ Multi-Channel MAC  Channel negotiation and assignment (sender – destination pair)  Destination discovery (same channel)
Stallings, Wireless Communications & Networks, Second Edition, © 2005 Pearson Education, Inc. All rights reserved Multiple Access Techniques.
1/30/ :20 PM1 Chapter 6 ─ Digital Data Communication Techniques CSE 3213 Fall 2011.
CIS 6930 Powerline Communications Special Issues (c) 2013 Richard Newman.
Doc.: IEEE a Submission May 2005 Francois Chin (I 2 R) Slide 1 Project: IEEE P Working Group for Wireless Personal Area Networks.
Stallings, Wireless Communications & Networks, Second Edition, © 2005 Pearson Education, Inc. All rights reserved Spread Spectrum Chapter.
FD-MMAC: Combating Multi-channel Hidden and Exposed Terminals Using a Single Transceiver Yan Zhang, Loukas Lazos, Kai Chen, Bocan Hu, and Swetha Shivaramaiah.
July 2009 Slide 1 Michael McLaughlin, DecaWave IEEE f Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs)
April 25th 2005Doc: IEEE a Zafer Sahinoglu, Mitsubishi Electric SlideTG4a1 Project: IEEE P Working Group for Wireless Personal Area.
Doc.: IEEE −05−0393−00−004a Submission July, 2005 Mc Laughlin, DecawaveSlide 1 Project: IEEE P Working Group for Wireless Personal Area Networks.
Outline Introduction Type of Multiplexing FDMA TDMA CDMA Future Work
1.) Acquisition Phase Task:
Basic Principles Photogrammetry V: Image Convolution & Moving Window:
Correlation Signal Processing ES & BM.
Digital transmission over a fading channel
10-March-2003 Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs) Submission Title: [The ParthusCeva Ultra Wideband PHY proposal]
WUR Preamble SYNC Field Design
Spread Spectrum Chapter 7.
Model Functions Input x 6 = Output Input x 3 = Output
Dhanushiya. R I YEAR BSc COMPUTER TECHNOLOGY.  Error is a condition when the output information does not match with the input information. During transmission,
WUR SYNC Preamble Design
Consideration on WUR sync preamble
Chapter 7 Probability of Error for Coherent Bandpass Systems
Hidden Terminal Decoding and Mesh Network Capacity
WUR SYNC Preamble Design
WUR SYNC Preamble Design
UWB Receiver Algorithm
Submission Title: FPP-SUN Bad Urban GFSK vs OFDM
Submission Title: FPP-SUN Bad Urban GFSK vs OFDM
Submission Title: [Codes for preamble and data]
Wireless Networks Fall 2007
Spread Spectrum Chapter 7.
Correlation, Energy Spectral Density and Power Spectral Density
Preambles for MIMO channel estimation
Presentation transcript:

Correlation (Packet detection)

Cross Correlation A simple, yet powerful technique for detecting known patterns A key physical layer technique for detecting packets Detecting cell tower ID based on known sequences Detecting gene sequences Other broad applications in - pattern recognition, single particle analysis, electron tomography, averaging, cryptanalysis, and neurophysiology preamble payload channel is idle

Cross Correlation Consider a sequence of complex numbers – 𝑍= 𝑠 1 𝑒 𝑖 𝜃 1 , 𝑠 2 𝑒 𝑖 𝜃 2 , 𝑠 3 𝑒 𝑖 𝜃 3 , 𝑠 4 𝑒 𝑖 𝜃 4 Consider its complex conjugate 𝑍 ∗ = 𝑠 1 𝑒 −𝑖 𝜃 1 , 𝑠 2 𝑒 −𝑖 𝜃 2 , 𝑠 3 𝑒 −𝑖 𝜃 3 , 𝑠 4 𝑒 −𝑖 𝜃 4 𝑍 ∗ 𝑍 𝑇 = = 𝑠 1 + 𝑠 2 + 𝑠 3 + 𝑠 4 𝑠 1 𝑒 𝑖 𝜃 1 𝑠 2 𝑒 𝑖 𝜃 2 𝑠 3 𝑒 𝑖 𝜃 3 𝑠 4 𝑒 𝑖 𝜃 4 𝑠 1 𝑒 −𝑖 𝜃 1 𝑠 2 𝑒 −𝑖 𝜃 2 𝑠 3 𝑒 −𝑖 𝜃 3 𝑠 4 𝑒 −𝑖 𝜃 4

Cross Correlation 𝑍 ∗ 𝑍 𝑇 = = 𝑠 1 + 𝑠 2 + 𝑠 3 + 𝑠 4 𝑍 ∗ 𝑁 𝑇 = 𝑠 1 𝑒 −𝑖 𝜃 1 𝑠 2 𝑒 −𝑖 𝜃 2 𝑠 3 𝑒 −𝑖 𝜃 3 𝑠 4 𝑒 −𝑖 𝜃 4 𝑠 1 𝑒 𝑖 𝜃 1 𝑠 2 𝑒 𝑖 𝜃 2 𝑠 3 𝑒 𝑖 𝜃 3 𝑠 4 𝑒 𝑖 𝜃 4 Phase match, the sum is high 𝑍 ∗ 𝑍 𝑇 = = 𝑠 1 + 𝑠 2 + 𝑠 3 + 𝑠 4 𝑍 ∗ 𝑁 𝑇 = = 𝑠 1 𝑛 1 𝑒 −𝑖( 𝜃 1 + 𝜙 1 ) + 𝑠 2 𝑛 2 𝑒 −𝑖( 𝜃 2 + 𝜙 2 ) + 𝑠 3 𝑛 3 𝑒 −𝑖( 𝜃 3 + 𝜙 3 ) + 𝑠 4 𝑛 4 𝑒 −𝑖( 𝜃 4 + 𝜙 4 ) 𝑠 1 𝑒 −𝑖 𝜃 1 𝑠 2 𝑒 −𝑖 𝜃 2 𝑠 3 𝑒 −𝑖 𝜃 3 𝑠 4 𝑒 −𝑖 𝜃 4 𝑛 1 𝑒 𝑖 𝜙 1 𝑛 2 𝑒 𝑖 𝜙 2 𝑛 3 𝑒 𝑖 𝜙 3 𝑛 4 𝑒 𝑖 𝜙 4 Phase mis-match, the sum is low magnitude

Cross Correlation The phase match results in strong detection of the known pattern even in presence of noise. For example The sequence Z is a subsequence of another large sequence Noise has been added to it Cross correlation helps detects this submerged sequence 𝑎 1 𝑒 𝑖 𝜓 1 , 𝑎 2 𝑒 𝑖 𝜓 2 , 𝑎 3 𝑒 𝑖 𝜓 3 , 𝑎 4 𝑒 𝑖 𝜓 4 , , 𝑠 1 𝑒 𝑖 𝜃 1 , 𝑠 2 𝑒 𝑖 𝜃 2 , 𝑠 3 𝑒 𝑖 𝜃 3 , 𝑠 4 𝑒 𝑖 𝜃 4 , 𝑎 5 𝑒 𝑖 𝜃 1 , 𝑎 6 𝑒 𝑖 𝜃 2 , 𝑎 7 𝑒 𝑖 𝜃 3 , 𝑎 8 𝑒 𝑖 𝜃 4 𝑎 1 𝑒 𝑖 𝜓 1 , 𝑎 2 𝑒 𝑖 𝜓 2 , 𝑎 3 𝑒 𝑖 𝜓 3 , 𝑎 4 𝑒 𝑖 𝜓 4 , 𝑠 1 𝑒 𝑖 𝜃 1 + 𝑛 1 , 𝑠 2 𝑒 𝑖 𝜃 2 + 𝑛 2 , 𝑠 3 𝑒 𝑖 𝜃 3 + 𝑛 3 , 𝑠 4 𝑒 𝑖 𝜃 4 + 𝑛 4 , 𝑎 5 𝑒 𝑖 𝜃 1 , 𝑎 6 𝑒 𝑖 𝜃 2 , 𝑎 7 𝑒 𝑖 𝜃 3 , 𝑎 8 𝑒 𝑖 𝜃 4

Detecting patterns Cross-correlation can be used to detect the submerged sequence Specifically, it answers following questions Does the known sequence (Z) exist in the input sequence Where in the input sequence does Z appear? 𝑎 1 𝑒 𝑖 𝜓 1 , 𝑎 2 𝑒 𝑖 𝜓 2 , 𝑎 3 𝑒 𝑖 𝜓 3 , 𝑎 4 𝑒 𝑖 𝜓 4 , 𝑠 1 𝑒 𝑖 𝜃 1 + 𝑛 1 , 𝑠 2 𝑒 𝑖 𝜃 2 + 𝑛 2 , 𝑠 3 𝑒 𝑖 𝜃 3 + 𝑛 3 , 𝑠 4 𝑒 𝑖 𝜃 4 + 𝑛 4 , 𝑎 5 𝑒 𝑖 𝜃 1 , 𝑎 6 𝑒 𝑖 𝜃 2 , 𝑎 7 𝑒 𝑖 𝜃 3 , 𝑎 8 𝑒 𝑖 𝜃 4

Methodology 𝑎 1 𝑒 𝑖 𝜓 1 , 𝑎 2 𝑒 𝑖 𝜓 2 , 𝑎 3 𝑒 𝑖 𝜓 3 , 𝑎 4 𝑒 𝑖 𝜓 4 , 𝑠 1 𝑒 𝑖 𝜃 1 + 𝑛 1 , 𝑠 2 𝑒 𝑖 𝜃 2 + 𝑛 2 , 𝑠 3 𝑒 𝑖 𝜃 3 + 𝑛 3 , 𝑠 4 𝑒 𝑖 𝜃 4 + 𝑛 4 , 𝑎 5 𝑒 𝑖 𝜃 1 , 𝑎 6 𝑒 𝑖 𝜃 2 , 𝑎 7 𝑒 𝑖 𝜃 3 , 𝑎 8 𝑒 𝑖 𝜃 4 Input sequence 𝑍= 𝑠 1 𝑒 −𝑖 𝜃 1 𝑠 2 𝑒 −𝑖 𝜃 2 𝑠 3 𝑒 −𝑖 𝜃 3 𝑠 4 𝑒 −𝑖 𝜃 4 Template sequence

Methodology 𝑎 1 𝑒 𝑖 𝜓 1 , 𝑎 2 𝑒 𝑖 𝜓 2 , 𝑎 3 𝑒 𝑖 𝜓 3 , 𝑎 4 𝑒 𝑖 𝜓 4 , 𝑠 1 𝑒 𝑖 𝜃 1 + 𝑛 1 , 𝑠 2 𝑒 𝑖 𝜃 2 + 𝑛 2 , 𝑠 3 𝑒 𝑖 𝜃 3 + 𝑛 3 , 𝑠 4 𝑒 𝑖 𝜃 4 + 𝑛 4 , 𝑎 5 𝑒 𝑖 𝜃 1 , 𝑎 6 𝑒 𝑖 𝜃 2 , 𝑎 7 𝑒 𝑖 𝜃 3 , 𝑎 8 𝑒 𝑖 𝜃 4 𝑠 1 𝑒 −𝑖 𝜃 1 𝑠 2 𝑒 −𝑖 𝜃 2 𝑠 3 𝑒 −𝑖 𝜃 3 𝑠 4 𝑒 −𝑖 𝜃 4

Methodology 𝑎 1 𝑒 𝑖 𝜓 1 , 𝑎 2 𝑒 𝑖 𝜓 2 , 𝑎 3 𝑒 𝑖 𝜓 3 , 𝑎 4 𝑒 𝑖 𝜓 4 , 𝑠 1 𝑒 𝑖 𝜃 1 + 𝑛 1 , 𝑠 2 𝑒 𝑖 𝜃 2 + 𝑛 2 , 𝑠 3 𝑒 𝑖 𝜃 3 + 𝑛 3 , 𝑠 4 𝑒 𝑖 𝜃 4 + 𝑛 4 , 𝑎 5 𝑒 𝑖 𝜃 1 , 𝑎 6 𝑒 𝑖 𝜃 2 , 𝑎 7 𝑒 𝑖 𝜃 3 , 𝑎 8 𝑒 𝑖 𝜃 4 𝑠 1 𝑒 −𝑖 𝜃 1 𝑠 2 𝑒 −𝑖 𝜃 2 𝑠 3 𝑒 −𝑖 𝜃 3 𝑠 4 𝑒 −𝑖 𝜃 4

Methodology 𝑎 1 𝑒 𝑖 𝜓 1 , 𝑎 2 𝑒 𝑖 𝜓 2 , 𝑎 3 𝑒 𝑖 𝜓 3 , 𝑎 4 𝑒 𝑖 𝜓 4 , 𝑠 1 𝑒 𝑖 𝜃 1 + 𝑛 1 , 𝑠 2 𝑒 𝑖 𝜃 2 + 𝑛 2 , 𝑠 3 𝑒 𝑖 𝜃 3 + 𝑛 3 , 𝑠 4 𝑒 𝑖 𝜃 4 + 𝑛 4 , 𝑎 5 𝑒 𝑖 𝜃 1 , 𝑎 6 𝑒 𝑖 𝜃 2 , 𝑎 7 𝑒 𝑖 𝜃 3 , 𝑎 8 𝑒 𝑖 𝜃 4 𝑠 1 𝑒 −𝑖 𝜃 1 𝑠 2 𝑒 −𝑖 𝜃 2 𝑠 3 𝑒 −𝑖 𝜃 3 𝑠 4 𝑒 −𝑖 𝜃 4

Methodology 𝑎 1 𝑒 𝑖 𝜓 1 , 𝑎 2 𝑒 𝑖 𝜓 2 , 𝑎 3 𝑒 𝑖 𝜓 3 , 𝑎 4 𝑒 𝑖 𝜓 4 , 𝑠 1 𝑒 𝑖 𝜃 1 + 𝑛 1 , 𝑠 2 𝑒 𝑖 𝜃 2 + 𝑛 2 , 𝑠 3 𝑒 𝑖 𝜃 3 + 𝑛 3 , 𝑠 4 𝑒 𝑖 𝜃 4 + 𝑛 4 , 𝑎 5 𝑒 𝑖 𝜃 1 , 𝑎 6 𝑒 𝑖 𝜃 2 , 𝑎 7 𝑒 𝑖 𝜃 3 , 𝑎 8 𝑒 𝑖 𝜃 4 𝑠 1 𝑒 −𝑖 𝜃 1 𝑠 2 𝑒 −𝑖 𝜃 2 . 𝑠 3 𝑒 −𝑖 𝜃 3 𝑠 4 𝑒 −𝑖 𝜃 4

Methodology 𝑎 1 𝑒 𝑖 𝜓 1 , 𝑎 2 𝑒 𝑖 𝜓 2 , 𝑎 3 𝑒 𝑖 𝜓 3 , 𝑎 4 𝑒 𝑖 𝜓 4 , 𝑠 1 𝑒 𝑖 𝜃 1 + 𝑛 1 , 𝑠 2 𝑒 𝑖 𝜃 2 + 𝑛 2 , 𝑠 3 𝑒 𝑖 𝜃 3 + 𝑛 3 , 𝑠 4 𝑒 𝑖 𝜃 4 + 𝑛 4 , 𝑎 5 𝑒 𝑖 𝜃 1 , 𝑎 6 𝑒 𝑖 𝜃 2 , 𝑎 7 𝑒 𝑖 𝜃 3 , 𝑎 8 𝑒 𝑖 𝜃 4 𝑠 1 𝑒 −𝑖 𝜃 1 . 𝑠 2 𝑒 −𝑖 𝜃 2 . 𝑠 3 𝑒 −𝑖 𝜃 3 𝑠 4 𝑒 −𝑖 𝜃 4 board

Methodology 𝑎 1 𝑒 𝑖 𝜓 1 , 𝑎 2 𝑒 𝑖 𝜓 2 , 𝑎 3 𝑒 𝑖 𝜓 3 , 𝑎 4 𝑒 𝑖 𝜓 4 , 𝑠 1 𝑒 𝑖 𝜃 1 + 𝑛 1 , 𝑠 2 𝑒 𝑖 𝜃 2 + 𝑛 2 , 𝑠 3 𝑒 𝑖 𝜃 3 + 𝑛 3 , 𝑠 4 𝑒 𝑖 𝜃 4 + 𝑛 4 , 𝑎 5 𝑒 𝑖 𝜃 1 , 𝑎 6 𝑒 𝑖 𝜃 2 , 𝑎 7 𝑒 𝑖 𝜃 3 , 𝑎 8 𝑒 𝑖 𝜃 4 𝑠 1 𝑒 −𝑖 𝜃 1 . 𝑠 2 𝑒 −𝑖 𝜃 2 . 𝑠 3 𝑒 −𝑖 𝜃 3 𝑠 4 𝑒 −𝑖 𝜃 4

Methodology 𝑎 1 𝑒 𝑖 𝜓 1 , 𝑎 2 𝑒 𝑖 𝜓 2 , 𝑎 3 𝑒 𝑖 𝜓 3 , 𝑎 4 𝑒 𝑖 𝜓 4 , 𝑠 1 𝑒 𝑖 𝜃 1 + 𝑛 1 , 𝑠 2 𝑒 𝑖 𝜃 2 + 𝑛 2 , 𝑠 3 𝑒 𝑖 𝜃 3 + 𝑛 3 , 𝑠 4 𝑒 𝑖 𝜃 4 + 𝑛 4 , 𝑎 5 𝑒 𝑖 𝜃 1 , 𝑎 6 𝑒 𝑖 𝜃 2 , 𝑎 7 𝑒 𝑖 𝜃 3 , 𝑎 8 𝑒 𝑖 𝜃 4 𝑠 1 𝑒 −𝑖 𝜃 1 .𝑠 2 𝑒 −𝑖 𝜃 2 𝑠 3 𝑒 −𝑖 𝜃 3 𝑠 4 𝑒 −𝑖 𝜃 4

A matlab example Pattern Noise

Pattern embedded in noise – visually not detectable

Correlation can detect the hidden pattern

Correlation output when the pattern is absent

Dealing with multipath Received signal is a convolution of transmitted signal and the wireless channel Consider a preamble transmission 𝑋 𝑝 𝑌 𝑝 = 𝑋 𝑝 ∗𝐻 Correlation between 𝑋 𝑝 and 𝑌 𝑝 would be small because 𝑌 𝑝 is polluted by wireless multipath (𝐻) Auto-correlation is used to deal with multipath effects

Autocorrelation 𝑋 𝑝 𝑋 𝑝 Transmit repeated copies of the preamble 𝑋 𝑝 𝑌 𝑝 = 𝑋 𝑝 ∗𝐻 𝑌 𝑝 Distorted but repeated copies the preamble are received

Autocorrelation 𝑌 𝑝 𝑌 𝑝 Cross correlate the two copies to detect the preamble Strong cross correlation indicates the presence of a preamble Such repeated sequence does not appear elsewhere in the packet, so no false positives