PROTOCOL STACK CS5602: Principles and Techniques for Sensors and Information Perception 1 Application Layer Transport Layer Network Layer Link Layer Physical.

Slides:



Advertisements
Similar presentations
Physical Layer: Signals, Capacity, and Coding
Advertisements

Data Communication lecture10
S Digital Communication Systems Multipath Radio Channel Addendum (extracts from J-P Linnartz: Wireless Communication CDROM)
CELLULAR COMMUNICATIONS 2. Radio Wave Propagation.
Wireless Transmission Fundamentals (Physical Layer) Professor Honggang Wang
Chapter Fifteen: Radio-Wave Propagation
Copyright © 2003, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 1 Chapter 3 Mobile Radio Propagation.
Propagation Characteristics
Diversity techniques for flat fading channels BER vs. SNR in a flat fading channel Different kinds of diversity techniques Selection diversity performance.
Copyright © 2011, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 1 Chapter 3 Mobile Radio Propagation.
Radio Propagation Spring 07 CS 527 – Lecture 3. Overview Motivation Block diagram of a radio Signal Propagation  Large scale path loss  Small scale.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks 4th Lecture Christian Schindelhauer.
Antennas and Propagation
1 Mobile Communication Systems 1 Prof. Carlo Regazzoni Prof. Fabio Lavagetto.
Chapter 15: Data Transmission Business Data Communications, 5e.
Advanced Topics in Next- Generation Wireless Networks Qian Zhang Department of Computer Science HKUST Wireless Radio.
EELE 5490, Fall, 2009 Wireless Communications
Lecture 3 Data Encoding and Signal Modulation
Computer Networks Group Universität Paderborn Ad hoc and Sensor Networks Chapter 4: Physical layer Holger Karl.
Wireless Communication Channels: Small-Scale Fading
Propagation Measurements and Models for Wireless Communications Channels Brian Alexander.
EEE440 Modern Communication Systems Wireless and Mobile Communications.
Sep 08, 2005CS477: Analog and Digital Communications1 Example Systems, Signals Analog and Digital Communications Autumn
Propagation characteristics of wireless channels
Module contents Technologies overview Spread Spectrum Modulation
1 Lecture 9: Diversity Chapter 7 – Equalization, Diversity, and Coding.
Lecture 3. 2 Outline Signal fluctuations – fading Interference model – detection of signals Link model.
Modelling and analysis of wireless fading channels Geir E. Øien
Wireless Transmission Fundamentals (Physical Layer) Professor Honggang Wang
NETW 707 Modeling and Simulation Amr El Mougy Maggie Mashaly.
Review: The application layer. –Network Applications see the network as the abstract provided by the transport layer: Logical full mesh among network end-points.
Antennas and Propagation
Chapter 15: Data Transmission Business Data Communications, 6e.
CE 4228 Data Communications and Networking
EE 6332, Spring, 2014 Wireless Communication Zhu Han Department of Electrical and Computer Engineering Class 3 Jan. 22 nd, 2014.
Signal Propagation Propagation: How the Signal are spreading from the receiver to sender. Transmitted to the Receiver in the spherical shape. sender When.
Wireless Communications
Coding No. 1  Seattle Pacific University Modulation Kevin Bolding Electrical Engineering Seattle Pacific University.
W.lilakiatsakun.  Radio Wave Fundamental  Radio Wave Attributes  RF System Component  RF Signal Propagation  RF Mathematics.
1 Physical layer. 2 Goals Get an understanding of the peculiarities of wireless communication “ Wireless channel ” as abstraction of these properties.
The Wireless Channel Lecture 3.
Physical Layer Fundamentals Physical MAC Physical LLC Data Link Network Transport Session Presentation Application OSI Ref ModelWireless Network Network.
EE 6331, Spring, 2009 Advanced Telecommunication Zhu Han Department of Electrical and Computer Engineering Class 7 Feb. 10 th, 2009.
Wireless Communication Fundamentals David Holmer
Applications of Wireless Communication Student Presentations and Research Papers Wireless Communication Technologies Wireless Networking and Mobile IP.
1 Chapter 5. Antennas and Propagations Wen-Shyang Hwang KUAS EE.
Propagation Models Large scale models predict behavior averaged over distances >>  Function of distance & significant environmental features, roughly.
Network Kernel Architectures and Implementation ( ) Physical Layer
Adaphed from Rappaport’s Chapter 5
TI Cellular Mobile Communication Systems Lecture 4 Engr. Shahryar Saleem Assistant Professor Department of Telecom Engineering University of Engineering.
Wireless Communication Fundamentals David Holmer
Mobile Computing and Wireless Networking Lec 02
Antennas and Propagation Chapter 5. Introduction An antenna is an electrical conductor or system of conductors Transmission - radiates electromagnetic.
Outline Transmitters (Chapters 3 and 4, Source Coding and Modulation) (week 1 and 2) Receivers (Chapter 5) (week 3 and 4) Received Signal Synchronization.
Wireless Sensor Networks Akyildiz/Vuran 1 PROTOCOL STACK Application Layer Transport Layer Network Layer Link Layer Physical Layer Power Management Plane.
1 EMLAB EM wave propagation. 2 EMLAB Impulse response Time Radio Propagation : physical model 안테나에서 나온 신호는 지형지물과 반사, 투과, 산란을 거치면서 다양한 진폭과, 시간 지연을 갖는 신호들로.
Signal Propagation Basics
The University of Iowa. Copyright© 2005 A. Kruger 1 Introduction to Wireless Sensor Networks Wireless Terms, FAQ & Glossary 27 January 2005.
By Saneeju m salu. Radio waves are one form of electromagnetic radiation RADIO WAVES.
CS 414 Indian Institute of Technology, Bombay CS 414 RF Propagation Multiplexing and Modulation.
fundamentals of wireless communication
Signal Propagation Basics
KOMUNIKASI DATA Materi Pertemuan 10.
CSE 5345 – Fundamentals of Wireless Networks
Advanced Wireless Networks
expanded by Jozef Goetz, 2014 The McGraw-Hill Companies, Inc., 2007
CSE 5345 – Fundamentals of Wireless Networks
Wireless Channels Y. Richard Yang 01/12/2011.
Radio Propagation Review
fundamentals of wireless communication
Presentation transcript:

PROTOCOL STACK CS5602: Principles and Techniques for Sensors and Information Perception 1 Application Layer Transport Layer Network Layer Link Layer Physical Layer Power Management Plane Mobility Management Plane Task Management Plane

CS5602: Principles and Techniques for Sensors and Information Perception 2 Chapter 4. Chapter 4. PHYSICAL LAYER PHYSICAL LAYER

CS5602: Principles and Techniques for Sensors and Information Perception 3 PHYSICAL LAYER

Source coding (data compression)  At the transmitter end, the information source is first encoded with a source encoder  Exploit the information statistics  Represent the source with a fewer number of bits,   source codeword  Performed at the application layer CS5602: Principles and Techniques for Sensors and Information Perception 4

Channel coding (error control coding)  Source codeword is then encoded by the channel encoder   channel codeword  Goal: address the wireless channel errors that affect the transmitted information CS5602: Principles and Techniques for Sensors and Information Perception 5

Interleaving and modulation  The encoded channel codeword is then interleaved to combat the bursty errors  Channel coding and the interleaving mechanism help the receiver either to  Identify bit errors to initiate retransmission  Correct a limited number of bits in case of errors. CS5602: Principles and Techniques for Sensors and Information Perception 6

Interleaving and modulation  Then, an analog signal (or a set thereof) is modulated by the digital information to create the waveform that will be sent over the channel  Finally, the waveforms are transmitted through the antenna to the receiver CS5602: Principles and Techniques for Sensors and Information Perception 7

Wireless channel propagation  The transmitted waveform travels through the channel  Meanwhile, the waveform is attenuated and distorted by several wireless channel effects CS5602: Principles and Techniques for Sensors and Information Perception 8

Information Processing CS5602: Principles and Techniques for Sensors and Information Perception 9

Wireless Communication Basics CS5602: Principles and Techniques for Sensors and Information Perception 10

Overview  Frequency bands  Modulation  Signal Distortion – Wireless Channel Errors  From waves to bits  Channel models  Transceiver design CS5602: Principles and Techniques for Sensors and Information Perception 11

Wireless channel propagation  Attenuation: As the signal wave propagates through air, the signal strength is attenuated.  Proportional to the distance traveled over the air  Results in path loss for radio waves  Reflection and refraction: When a signal wave is incident at a boundary between two different types of material  a certain fraction of the wave bounces off the surface, reflection.  a certain fraction of the wave propagates through the boundary, refraction. CS5602: Principles and Techniques for Sensors and Information Perception 12

Wireless channel propagation  Diffraction: When signal wave propagates through sharp edges such as the tip of a mountain or a building, the sharp edge acts as a source,  New waves are generated  Signal strength is distributed to the new generated waves.  Scattering: In reality, no perfect boundaries. When a signal wave is incident at a rough surface, it scatters in different directions CS5602: Principles and Techniques for Sensors and Information Perception 13

Wireless Channel Model  Path-loss  Multi-path effects  Channel errors  Signals-to-bits  Bits-to-packets CS5602: Principles and Techniques for Sensors and Information Perception 14

Wireless Channel  Wireless transmission distorts any transmitted signal  Wireless channel describes these distortion effects  Sources of distortion  Attenuation – Signal strength decreases with increasing distance  Reflection/refraction – Signal bounces of a surface; enter material  Diffraction – start “new wave” from a sharp edge  Scattering – multiple reflections at rough surfaces CS5602: Principles and Techniques for Sensors and Information Perception 15

Attenuation  Results in path loss  Received signal strength is a function of the distance d between sender and transmitter  Friis free-space model  Signal strength at distance d relative to some reference distance d 0 < d for which strength is known  d 0 is far-field distance, depends on antenna technology CS5602: Principles and Techniques for Sensors and Information Perception 16

Attenuation  Friis free-space model CS5602: Principles and Techniques for Sensors and Information Perception 17

Non-line-of-sight  Because of reflection, scattering, …, radio communication is not limited to direct line of sight communication  Effects depend strongly on frequency, thus different behavior at higher frequencies CS5602: Principles and Techniques for Sensors and Information Perception 18 Line-of- sight path Non-line-of-sight path

Non-line-of-sight  Different paths have different lengths = propagation time  Results in delay spread of the wireless channel CS5602: Principles and Techniques for Sensors and Information Perception 19 signal at receiver LOS pulses multipath pulses

Multi-path  Brighter color = stronger signal  Simple (quadratic) free space attenuation formula is not sufficient to capture these effects CS5602: Principles and Techniques for Sensors and Information Perception 20

Generalizing the Attenuation Formula  To take into account stronger attenuation than only caused by distance (e.g., walls, …), use a larger exponent  > 2   is the path-loss exponent  Rewrite in logarithmic form (in dB): CS5602: Principles and Techniques for Sensors and Information Perception 21

Generalizing the Attenuation Formula  Obstacles, multi-path, etc?  Experiments show can be represented by a random variable  Equivalent to multiplying with a lognormal distributed r.v. in metric units ! lognormal shadow fading CS5602: Principles and Techniques for Sensors and Information Perception 22

CS5602: Principles and Techniques for Sensors and Information Perception 23 Log-normal Fading Channel model TransmitPowerReceivedPower Path loss exponent Log-normal Shadow fading

Overview  Frequency bands  Modulation  Signal distortion – wireless channels  From waves to bits  Channel models  Transceiver design CS5602: Principles and Techniques for Sensors and Information Perception 24

Noise and interference  So far: only a single transmitter assumed  Only disturbance: self-interference of a signal with multi-path “copies” of itself  In reality, two further disturbances  Noise – due to effects in receiver electronics, depends on temperature  Interference from third parties  Co-channel interference: another sender uses the same spectrum  Adjacent-channel interference: another sender uses some other part of the radio spectrum, but receiver filters are not good enough to fully suppress it CS5602: Principles and Techniques for Sensors and Information Perception 25

Symbols and bit errors  Extracting symbols out of a distorted/corrupted wave form is fraught with errors  Depends essentially on strength of the received signal compared to the corruption  Captured by signal to noise and interference ratio (SINR) CS5602: Principles and Techniques for Sensors and Information Perception 26

CS5602: Principles and Techniques for Sensors and Information Perception 27 Symbols and Bit Errors  For WSN  Interference is usually low  MAC protocols  SINR ~ SNR  SNR = P r – P n (in dB)  P n – Noise power (noise floor)

Noise Floor  Changes with time  Varies according to location (indoor vs. outdoor)  Even if received power is the same, SNR varies with time! CS5602: Principles and Techniques for Sensors and Information Perception 28

Bit Error Rate   p b – Probability that a received bit will be in error   1 sent  0 received   p b is proportional to SNR (channel quality)   Exact relation depends on modulation scheme CS5602: Principles and Techniques for Sensors and Information Perception 29

Overview  Frequency bands  Modulation  Signal distortion – wireless channels  From waves to bits  Channel models  Transceiver design CS5602: Principles and Techniques for Sensors and Information Perception 30

Channel Models CS5602: Principles and Techniques for Sensors and Information Perception 31

Channel Models  Main goal: Stochastically capture the behavior of a wireless channel  Main options: model the SNR or directly the bit errors  Simplest model  Transmission power and attenuation constant  Noise an uncorrelated Gaussian variable  Additive White Gaussian Noise model, results in constant SNR CS5602: Principles and Techniques for Sensors and Information Perception 32

CS5602: Principles and Techniques for Sensors and Information Perception 33 Channel Models  Non-line-of-sight path  Amplitude of resulting signal has a Rayleigh distribution (Rayleigh fading)  One dominant line-of-sight plus many indirect paths  Signal has a Rice distribution (Rice fading)

CS5602: Principles and Techniques for Sensors and Information Perception 34 Channel Model for WSN  Typical WSN properties  Low power communication  Small transmission range  Implies small delay spread (nanoseconds, compared to micro/milliseconds for symbol duration) ! Frequency-non-selective fading, low to negligible inter- symbol interference ! Frequency-non-selective fading, low to negligible inter- symbol interference  Coherence bandwidth often > 50 MHz

Channel Model for WSN  Some example measurements   path loss exponent  Shadowing variance  2 CS5602: Principles and Techniques for Sensors and Information Perception 35 

Channel Model for WSN Marco Zuniga, Bhaskar Krishnamachari, "An Analysis of Unreliability and Asymmetry in Low-Power Wireless Links", ACM Transactions on Sensor Networks, Vol 3, No. 2, June (Conference version: "Analyzing the Transitional Region in Low Power Wireless Links", IEEE SECON 2004)   Log-normal fading channel best characterizes WSN channels   Empirical evaluations for Mica2 CS5602: Principles and Techniques for Sensors and Information Perception 36

Channel Model for WSN Marco Zuniga, Bhaskar Krishnamachari, "An Analysis of Unreliability and Asymmetry in Low-Power Wireless Links", ACM Transactions on Sensor Networks, Vol 3, No. 2, June (Conference version: "Analyzing the Transitional Region in Low Power Wireless Links", IEEE SECON 2004)   PRR – Packet reception rate (1-p b ) k   Transitional region for packet reception   Not too good, not too bad CS5602: Principles and Techniques for Sensors and Information Perception 37

Channel Model for WSN Marco Zuniga, Bhaskar Krishnamachari, "An Analysis of Unreliability and Asymmetry in Low-Power Wireless Links", ACM Transactions on Sensor Networks, Vol 3, No. 2, June (Conference version: "Analyzing the Transitional Region in Low Power Wireless Links", IEEE SECON 2004)   PRR significantly varies in the transitional region   d = 20m   PRR = [0,1]   We cannot operate solely in the connected region   Communication distance too short CS5602: Principles and Techniques for Sensors and Information Perception 38

Channel Model for WSN Marco Zuniga, Bhaskar Krishnamachari, "An Analysis of Unreliability and Asymmetry in Low-Power Wireless Links", ACM Transactions on Sensor Networks, Vol 3, No. 2, June (Conference version: "Analyzing the Transitional Region in Low Power Wireless Links", IEEE SECON 2004) CS5602: Principles and Techniques for Sensors and Information Perception 39

Channel Model for WSN Marco Zuniga, Bhaskar Krishnamachari, "An Analysis of Unreliability and Asymmetry in Low-Power Wireless Links", ACM Transactions on Sensor Networks, Vol 3, No. 2, June (Conference version: "Analyzing the Transitional Region in Low Power Wireless Links", IEEE SECON 2004) CS5602: Principles and Techniques for Sensors and Information Perception 40

Channel Models – Digital  Directly model the resulting bit error behavior (p b )  Each bit is erroneous with constant probability, independent of the other bits  Binary symmetric channel (BSC)  Capture fading models’ property that channel is in different states! Markov models – states with different BERs  Example: Gilbert-Elliot model with “bad” and “good” channel states and high/low bit error rates CS5602: Principles and Techniques for Sensors and Information Perception 41 goodbad p gb p bg p gg p bb

CS5602: Principles and Techniques for Sensors and Information Perception 42 Channel Models – Digital  Fractal channel models describe number of (in-)correct bits in a row by a heavy-tailed distribution  Burst errors (bit errors are NOT independent)

Wireless Communication Basics CS5602: Principles and Techniques for Sensors and Information Perception 43

CS5602: Principles and Techniques for Sensors and Information Perception 44 Wireless Communication Basics

 Frequency bands  Modulation  Signal distortion – wireless channels  From waves to bits  Channel models CS5602: Principles and Techniques for Sensors and Information Perception 45

Radio spectrum for communication  Which part of the electromagnetic spectrum is used for communication  Not all frequencies are equally suitable for all tasks – e.g., wall penetration, different atmospheric attenuation (oxygen resonances, …) CS5602: Principles and Techniques for Sensors and Information Perception 46

Frequency allocation  Some frequencies are allocated to specific uses  Cellular phones, analog television/radio broadcasting, DVB-T, radar, emergency services, radio astronomy, …  Particularly interesting: ISM bands (“Industrial, scientific, medicine”) – license-free operation Some typical ISM bands FrequencyComment 13,553-13,567 MHz 26,957 – 27,283 MHz 40,66 – 40,70 MHz 433 – 464 MHzEurope 900 – 928 MHzAmericas 2,4 – 2,5 GHzWLAN/WPAN 5,725 – 5,875 GHzWLAN 24 – 24,25 GHz CS5602: Principles and Techniques for Sensors and Information Perception 47

Example: US frequency allocation CS5602: Principles and Techniques for Sensors and Information Perception 48

Wireless Communication Basics  Frequency bands  Modulation  Signal distortion – wireless channels  From waves to bits  Channel models CS5602: Principles and Techniques for Sensors and Information Perception 49

Transmitting Data Using Radio Waves  Basics: Wireless communication is performed through radio waves  Transmitter can send a radio wave  Receiver can detect the wave and its parameters  Typical radio wave = sine function:  Parameters: amplitude A(t), frequency f(t), phase  (t)  Modulation: Manipulate these parameters CS5602: Principles and Techniques for Sensors and Information Perception 50

Modulation  Data to be transmitted is used to select transmission parameters as a function of time  These parameters modify a basic sine wave, which serves as a starting point for modulating the signal onto it  This basic sine wave has a center frequency f c  The resulting signal requires a certain bandwidth to be transmitted (centered around center frequency) CS5602: Principles and Techniques for Sensors and Information Perception 51

Modulation (Keying) examples  Use data to modify  Amplitude - Amplitude Shift Keying (ASK)  Frequency - Frequency Shift Keying (FSK)  Phase - Phase Shift Keying (PSK) CS5602: Principles and Techniques for Sensors and Information Perception 52

Receiver: Demodulation  Receiver tries to match the received waveform with the tx’ed data bit  Necessary: one-to-one mapping between data and waveform  Problems (Wireless Channel Errors)  Carrier synchronization: Frequency can vary between sender and receiver (drift, temperature changes, aging, …)  Bit synchronization: When does symbol representing a certain bit start/end?  Frame synchronization: When does a packet start/end?  Biggest problem: Received signal is not the transmitted signal! CS5602: Principles and Techniques for Sensors and Information Perception 53

CS5602: Principles and Techniques for Sensors and Information Perception 54 Bit Error Rate   Mica2 nodes use frequency shift keying (FSK) Bandwidth Bit rate

CS5602: Principles and Techniques for Sensors and Information Perception 55 Bit Error Rate   CC2420 (MicaZ, Tmote, SunSPOT) use offset quadrature phase shift keying (O-QPSK) with direct sequence spread spectrum (DSSS) # of chips per bit (16) =2 for MicaZ

CS5602: Principles and Techniques for Sensors and Information Perception 56 Bit Error Rate   CC2420 (MicaZ, Tmote, SunSPOT) use offset quadrature phase shift keying (O-QPSK) with direct sequence spread spectrum (DSSS)

CS5602: Principles and Techniques for Sensors and Information Perception 57