Wireless Mesh Networks

Slides:



Advertisements
Similar presentations
IE 419/519 Wireless Networks Lecture Notes #6 Spread Spectrum.
Advertisements

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.
Lecture 7: Spread Spectrum
April 25, 2005ECE 457 Cellular Communication ECE 457 Spring 2005.
Lecture 8: Spread Spectrum
Cellular Communications
Lecture 4: Spread Spectrum and Coding Anders Västberg Slides are a selection from the slides from chapter 7 and 8 from:
Spread Spectrum Input is fed into a channel encoder
William Stallings Data and Computer Communications 7th Edition
Data and Computer Communications Eighth Edition by William Stallings Chapter 9 – Spread Spectrum.
SPREAD SPECTRUM In spread spectrum (SS), we combine signals from different sources to fit into a larger bandwidth, but our goals are to prevent eavesdropping.
3. Encoding Techniques and Spread Spectrum
1 CMPT 371 Data Communications and Networking Spread Spectrum.
Wireless & Mobile Networking: Multiple Division Techniques
Wireless Networks Spring 2005 Spread Spectrum. Wireless Networks Spring 2005 Spread Spectrum  Input is fed into a channel encoder oProduces analog signal.
Spread Spectrum Techniques
King Fahd University of Petroleum & Minerals  Electrical Engineering Department EE 578 Simulation of Wireless Systems Code Division Multiple Access Transmission.
Spread Spectrum Lecture 21.
CELLULAR COMMUNICATIONS 4. Modulation. Modulation  Radio signals can be used to carry information  Audio, data, video  Information is used to modify.
1 Introduction to. 2 Contents: DEFINITION OF SPREAD SPECTRUM ( SS ) CHARACTERISTICS OF SPREAD SPECTRUM BASIC PRINCIPLES OF DIRECT SEQUENCE SPREAD SPECTRUM.
Lecture 8: Spread Spectrum
Modulation-Why? 1. Low frequency signal has less energy, which means it can travel less distance. 2. Practibility of antenna.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 9 – Spread Spectrum.
Signal Encoding, Spread Spectrum. Basic Encoding Techniques Digital data to analog signal Amplitude-shift keying (ASK) Amplitude difference of carrier.
Spread Spectrum Spread-spectrum techniques are methods by which energy generated in a particular bandwidth is deliberately spread in the frequency domain,
Spread Spectrum Modulation Dr. Teerasit Kasetkasem.
From Stallings, modified and added1 Spread Spectrum Session 5 Nilesh Jha.
Chapter 13. Spread Spectrum Park Dong-Hyun Department of Information and Communications Engineering The Graduate School of Sejong University.
1 Chapter 7. Spread Spectrum Wen-Shyang Hwang KUAS EE.
Spread Spectrum Chapter 7. Spread Spectrum Form of communication Can be used to transmit analog or digital data using an ANALOG signal Idea: spread the.
Lecture 4 Spread Spectrum.
1 William Stallings Data and Computer Communications 7 th Edition Chapter 9 Spread Spectrum.
Stallings, Wireless Communications & Networks, Second Edition, © 2005 Pearson Education, Inc. All rights reserved Multiple Access Techniques.
Code Division Multiple Access (CDMA) Transmission Technology
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 9 – Spread Spectrum.
Data and Computer Communications Ninth Edition by William Stallings Chapter 9 – Spread Spectrum Data and Computer Communications, Ninth Edition by William.
1 Spread Spectrum Technology. 2 What is Spread Spectrum(SS) Spread Spectrum (SS) technology was first introduced by military as a way of sending secure.
Lecture 12-13: Multi-access Aliazam Abbasfar. Outline.
Code Division Multiple Access (CDMA) Transmission Technology
Stallings, Wireless Communications & Networks, Second Edition, © 2005 Pearson Education, Inc. All rights reserved Spread Spectrum Chapter.
Prof. Reuven Aviv Dept. of Computer Science Computer Networks Improved Usage of Bandwidth.
TUNALIData Communication1 Spread Spectrum Chapter 9.
Wireless LAN Technology Chapter 13. Wireless LAN  Wireless LAN is one that make use of a wireless transmission medium.  Wireless LAN use infrared or.
DATA AND COMPUTER COMMUNICATIONS Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 9 – Spread Spectrum.
William Stallings Data and Computer Communications 7th Edition
CSE 5345 – Fundamentals of Wireless Networks
Lecture 7 CSMA and Spread Spectrum Dr. Ghalib A. Shah
Chapter 5: Third generation systems-Wideband Digital Modulation
Mobile Communications
Outline Introduction Type of Multiplexing FDMA TDMA CDMA Future Work
Subject Name: Digital Communication Subject Code: 10EC61
DIRECT SEQUENCE SPREAD SPECTRUM WITH FREQUENCY HOPPING
TLEN 5830 Wireless Systems Lecture Slides 28-Sep-2017
Wireless & Mobile Networking: Multiple Division Techniques
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 9 – Spread Spectrum.
Spread Spectrum Chapter 7.
Chapter 4: Digital Transmission
Spread Spectrum L.Tahani Aljehani.
Chapter 5: Third generation systems-Wideband Digital Modulation
Spread Spectrum A signal that occupies a bandwidth of B, is spread out to occupy a bandwidth of Bss All signals are spread to occupy the same bandwidth.
CSE 4215/5431: Mobile Communications Winter 2010
CSE 4215/5431: Mobile Communications Winter 2011
Wireless Networks Fall 2007
3. Encoding Techniques and Spread Spectrum
Spread Spectrum Chapter 7.
William Stallings Data and Computer Communications 7th Edition
Multiplexing & Multiple Access
William Stallings Data and Computer Communications 7th Edition
Spread Spectrum Analog or digital data Analog signal
Presentation transcript:

Wireless Mesh Networks Anatolij Zubow (zubow@informatik.hu-berlin.de) Spread Spectrum

Contents Frequency Hopping Spread Spectrum Direct Sequence Spread Spectrum Code Division Multiple Access Generation of Spreading Sequences 2

Spread Spectrum Input is fed into a channel encoder Produces analog signal with narrow bandwidth Signal is further modulated using sequence of digits Spreading code or spreading sequence Generated by pseudonoise, or pseudo-random number generator Effect of modulation is to increase bandwidth of signal to be transmitted On receiving end, digit sequence is used to demodulate the spread spectrum signal Signal is fed into a channel decoder to recover data 3

General Model of a Spread Spectrum System 4

Spread Spectrum What can be gained from apparent waste of spectrum? Initially developed for military use; spread the information signal over a wider bandwidth to make jamming and interception difficult Immunity from various kinds of noise and multipath distortion (unknown spreading code) Can be used for hiding and encrypting signals Several users can independently use the same higher bandwidth with very little interference (CDMA-based cellular networks) 5

Frequency Hoping Spread Spectrum (FHSS) Signal is broadcast over seemingly random series of radio frequencies A number of channels allocated for the FH signal Width of each channel corresponds to bandwidth of input signal Signal hops from frequency to frequency at fixed intervals Transmitter operates in one channel at a time (dwell time) Bits are transmitted using some encoding scheme At each successive interval, a new carrier frequency is selected 6

Frequency Hoping Spread Spectrum Channel sequence dictated by spreading code Receiver, hopping between frequencies in synchronization with transmitter, picks up message Advantages Eavesdroppers hear only unintelligible blips Attempts to jam signal on one frequency succeed only at knocking out a few bits 7

802.11 FH Systems ISM band is divided into a series of 1-MHz channels (EU: 2 to 79 (2.402-2.479 GHz)) dwell time is 390 time units, which is almost 0.4 s Hopping seq. {3, 26, 65, 11, 46, 19, 74, 50, 22, ...} 8

FHSS and Multiple Access User 1: hopping pattern is {2,8,4,6} Avoiding interference with frequency hopping Orthogonal hopping sequences Hopping sequences that do not overlap are called orthogonal User 2 uses narrow frequency band User 1: {2,8,4,7} User 2: {6,3,7,2} User 1: {2,8,4,7} 9

FHSS Using MFSK MFSK signal is translated to a new frequency every Tc seconds by modulating the MFSK signal with the FHSS carrier signal For data rate of R: duration of a bit: T = 1/R seconds duration of signal element: Ts = LT seconds Tc  Ts - slow-frequency-hop spread spectrum Tc < Ts - fast-frequency-hop spread spectrum 10

FHSS Using MFSK Example Slow Frequency Hop Spread Spectrum Using MFSK (M=4, k=2) 11

FHSS Performance Considerations Large number of frequencies used (WS >> Wd) Results in a system that is quite resistant to jamming Jammer must jam all frequencies With fixed power Sj, this reduces the jamming power in any one frequency band to Sj/2k 12

Direct Sequence Spread Spectrum (DSSS) Each bit in original signal is represented by multiple bits in the transmitted signal, using a spreading code Spreading code spreads signal across a wider frequency band Spread is in direct proportion to number of bits used One technique combines digital information stream with the spreading code bit stream using XOR (exclusive-OR) 13

DSSS Example Combination bit stream has the data rate of the original spreading code sequence  wider bandwidth than the information stream 14

DSSS Using BPSK We use +1/-1 to represent the 2 binary digits Multiply BPSK signal, sd(t) = A d(t) cos(2 fct) by c(t) [PN sequence takes values +1, -1] to get s(t) = A d(t)c(t) cos(2 fct) A = amplitude of signal fc = carrier frequency d(t) = discrete function [+1, -1] At receiver, incoming signal multiplied by c(t) Since, c(t) x c(t) = 1, incoming signal is recovered 15

DSSS Using BPSK 16

DSSS Spectrum Spectrum spreading achieved by DSSS Information signal has a bit width of T (rate of 1/T)  spectrum is ≈2/T Spectrum of PN signal is 2/TC Amount of spreading that is achieved is a direct result of the data rate of the PN stream 17

Code-Division Multiple Access (CDMA) CDMA is a multiplexing technique used with spread spectrum Basic Principles of CDMA D = rate of data signal (= bit data rate) Break each bit into k chips Chips are a user-specific fixed pattern (user’s code) Chip data rate of new channel = kD 18

CDMA Example 19

CDMA Example If k=6 and code is a sequence of 1s and -1s For a ‘1’ bit, A sends code as chip pattern <c1, c2, c3, c4, c5, c6> For a ‘0’ bit, A sends complement of code <-c1, -c2, -c3, -c4, -c5, -c6> Receiver knows sender’s (u) code and performs electronic decode function <d1, d2, d3, d4, d5, d6> = received chip pattern <c1, c2, c3, c4, c5, c6> = sender’s code 20

CDMA Example User A code = <1, –1, –1, 1, –1, 1> To send a 1 bit = <1, –1, –1, 1, –1, 1> To send a 0 bit = <–1, 1, 1, –1, 1, –1> User B code = <1, 1, –1, – 1, 1, 1> To send a 1 bit = <1, 1, –1, –1, 1, 1> Receiver receiving with A’s code (A’s code) x (received chip pattern) SA(1,-1,-1,1,-1,1) = [1 x 1] + [(-1) x (-1)] + [(-1) x (-1)] + [1 x 1] + [(-1) x (-1)] + [1 x 1] = 6 User A ‘1’ bit: 6 -> 1 User A ‘0’ bit: -6 -> 0 -6 ≤ SA(d) ≤ 6 Decoding with the wrong code (user B is sending and we are using SA) User B ‘1’ bit: 0 -> unwanted signal ignored 21

CDMA Example If the decoder is linear and if A and B transmit signals sA and sB at the same time, then SA(sA + sB) = SA(sA) + SA(sB) = SA(sA)  decoder ignores B when using A’s code Orthogonal codes: SA(sB) = SB(sA) = 0  only a few codes have this property SX(sY) should be small when X x Y, then it is possible to distinguish when X=Y and when X≠Y SA(sC) = SC(sA) = 0 but SB(sC) = SC(sB) = 2 Using decoder SU the receiver can sort out transmission from u even when there may be other user broadcasting in same cell. 22

23

CDMA for DSSS 24

Categories of Spreading Sequences Spreading Sequence Categories PN sequences Orthogonal codes For FHSS systems PN sequences most common For DSSS systems not employing CDMA For DSSS CDMA systems 25

PN Sequences PN generator produces periodic sequence that appears to be random Why we are not using a true random source? PN Sequences Generated by an algorithm using initial seed Sequence isn’t statistically random but will pass many test of randomness Sequences referred to as pseudorandom numbers or pseudonoise sequences Unless algorithm and seed are known, the sequence is impractical to predict 26

Important PN Properties Randomness Uniform distribution Balance property Run property Independence Correlation property Unpredictability 27

Linear Feedback Shift Register Implementation 28

Properties of M-Sequences Property 1: Has 2n-1 ones and 2n-1-1 zeros Property 2: For a window of length n slid along output for N (=2n-1) shifts, each n-tuple appears once, except for the all zeros sequence Property 3: Sequence contains one run of ones, length n One run of zeros, length n-1 One run of ones and one run of zeros, length n-2 Two runs of ones and two runs of zeros, length n-3 2n-3 runs of ones and 2n-3 runs of zeros, length 1 29

Properties of M-Sequences Property 4: The periodic autocorrelation of a ±1 m-sequence is 30

Definitions Correlation Cross correlation The concept of determining how much similarity one set of data has with another Range between –1 and 1 1 The second sequence matches the first sequence 0 There is no relation at all between the two sequences -1 The two sequences are mirror images Cross correlation The comparison between two sequences from different sources rather than a shifted copy of a sequence with itself 31

Advantages of Cross Correlation The cross correlation between an m-sequence and noise is low This property is useful to the receiver in filtering out noise The cross correlation between two different m-sequences is low This property is useful for CDMA applications Enables a receiver to discriminate among spread spectrum signals generated by different m-sequences 32

Gold Sequences Gold sequences constructed by the XOR of two m-sequences with the same clocking Codes have well-defined cross correlation properties Only simple circuitry needed to generate large number of unique codes In following example two shift registers generate the two m-sequences and these are then bitwise XORed 33

Gold Sequences 34

Orthogonal Codes Orthogonal codes Types All pairwise cross correlations are zero Fixed- and variable-length codes used in CDMA systems For CDMA application, each mobile user uses one sequence in the set as a spreading code Provides zero cross correlation among all users Types Welsh codes Variable-Length Orthogonal codes 35

Walsh Codes Set of Walsh codes of length n consists of the n rows of an n ´ n Walsh matrix: W1 = (0) n = dimension of the matrix Every row is orthogonal to every other row and to the logical not of every other row Requires tight synchronization Cross correlation between different shifts of Walsh sequences is not zero 36

Walsh Codes 37

Typical Multiple Spreading Approach Spread data rate by an orthogonal code (channelization code) Provides mutual orthogonality among all users in the same cell Further spread result by a PN sequence (scrambling code) Provides mutual randomness (low cross correlation) between users in different cells 38

Resources William Stallings, Wireless Communications and Networks, Prentice-Hall, 2005. 39