1 Wireless Sensor Networks Akyildiz/Vuran Chapter 6: Error Control.

Slides:



Advertisements
Similar presentations
Nick Feamster CS 4251 Computer Networking II Spring 2008
Advertisements

A 2 -MAC: An Adaptive, Anycast MAC Protocol for Wireless Sensor Networks Hwee-Xian TAN and Mun Choon CHAN Department of Computer Science, School of Computing.
Mohmmad Khalily Dermany Islamic Azad University. Goals – Link layer tasks in general Framing – group bit sequence into frames Important: format, size.
EIE325: Telecommunication TechnologiesMaciej J. Ogorza ł ek, PolyU, EIE Telecommunication Technologies Week 8 Flow Control Error Control.
Computer Networks Group Universität Paderborn Ad hoc and Sensor Networks Chapter 6: Link layer protocols Holger Karl.
Computer Networks Group Universität Paderborn Ad hoc and Sensor Networks Chapter 6: Link layer protocols Holger Karl.
1 Wireless Sensor Networks Akyildiz/Vuran Administration Issues  Take home Mid-term Exam  Assign April 2, Due April 7  Individual work is required 
CSE 461: Error Detection and Correction. Next Topic  Error detection and correction  Focus: How do we detect and correct messages that are garbled during.
Flow and Error Control. Flow Control Flow control coordinates the amount of data that can be sent before receiving acknowledgement It is one of the most.
Monday, June 01, 2015 ARRIVE: Algorithm for Robust Routing in Volatile Environments 1 NEST Retreat, Lake Tahoe, June
Coding and Error Control
Lecture 9-10: Error Detection and Correction Anders Västberg Slides are a selection from the slides from chapter 8 from:
An Energy-efficient MAC protocol for Wireless Sensor Networks
William Stallings Data and Computer Communications 7 th Edition (Selected slides used for lectures at Bina Nusantara University) Error Control.
Chapter 6 Errors, Error Detection, and Error Control
Adaptive Self-Configuring Sensor Network Topologies ns-2 simulation & performance analysis Zhenghua Fu Ben Greenstein Petros Zerfos.
How to Turn on The Coding in MANETs Chris Ng, Minkyu Kim, Muriel Medard, Wonsik Kim, Una-May O’Reilly, Varun Aggarwal, Chang Wook Ahn, Michelle Effros.
On the Energy Efficient Design of Wireless Sensor Networks Tariq M. Jadoon, PhD Department of Computer Science Lahore University of Management Sciences.
Digital Data Communications Techniques Updated: 2/9/2009.
Matthew C. Valenti (presenter)
Communication Theory as Applied to Wireless Sensor Networks muse.
A Framework for Energy- Scalable Communication in High-Density Wireless Networks Telvis Calhoun Wireless Sensor Networks CSC Dr. Li 8/27/2008.
Go-Back-N ARQ  packets transmitted continuously (when available) without waiting for ACK, up to N outstanding, unACK’ed packets  a logically different.
An Energy Efficient MAC Protocol for Wireless Sensor Networks “S-MAC” Wei Ye, John Heidemann, Deborah Estrin Presentation: Deniz Çokuslu May 2008.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 11 Data Link Control Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
Power Save Mechanisms for Multi-Hop Wireless Networks Matthew J. Miller and Nitin H. Vaidya University of Illinois at Urbana-Champaign BROADNETS October.
Lecture 10: Error Control Coding I Chapter 8 – Coding and Error Control From: Wireless Communications and Networks by William Stallings, Prentice Hall,
Improving QoS Support in Mobile Ad Hoc Networks Agenda Motivations Proposed Framework Packet-level FEC Multipath Routing Simulation Results Conclusions.
Wireless Sensor Networks COE 499 Energy Aware Routing
TOBB ETÜ ELE46/ELE563 Communications Networks Lecture 01 May 6, 2014 Fall 2011 Tuesday 10:30 – 12:20 (310) Thursday 15:30 – 17:20 (372) İsrafil Bahçeci.
Tufts University. EE194-WIR Wireless Sensor Networks. April 21, 2005 Increased QoS through a Degraded Channel using a Diverse, Cross-Layered Protocol Elliot.
MAC Protocols In Sensor Networks.  MAC allows multiple users to share a common channel.  Conflict-free protocols ensure successful transmission. Channel.
ECS 152A 4. Communications Techniques. Asynchronous and Synchronous Transmission Timing problems require a mechanism to synchronize the transmitter and.
Tufts University. EE194-WIR Wireless Sensor Networks. March 3, 2005 Increased QoS through a Degraded Channel using a Cross-Layered HARQ Protocol Elliot.
Computer Networks Group Universität Paderborn TANDEM project meeting Protocols, oversimplification, and cooperation or: Putting wireless back into WSNs.
Lecture 3-2: Coding and Error Control (Cont.) ECE
Cross-layer Packet Size Optimization for Wireless Terrestrial, Underwater, and Underground Sensor Networks IEEE INFOCOM 2008 Mehmet C. Vuran and Ian F.
1 Chapter 8. Coding and Error Control Wen-Shyang Hwang KUAS EE.
Minimizing Energy Consumption in Sensor Networks Using a Wakeup Radio Matthew J. Miller and Nitin H. Vaidya IEEE WCNC March 25, 2004.
Coding Theory. 2 Communication System Channel encoder Source encoder Modulator Demodulator Channel Voice Image Data CRC encoder Interleaver Deinterleaver.
TI Cellular Mobile Communication Systems Lecture 4 Engr. Shahryar Saleem Assistant Professor Department of Telecom Engineering University of Engineering.
Error/Flow Control Modeling (ARQ Modeling). © Tallal Elshabrawy 2 Data Link Layer  Data Link Layer provides a service for Network Layer (transfer of.
TCP-Cognizant Adaptive Forward Error Correction in Wireless Networks
Tufts Wireless Laboratory School Of Engineering Tufts University Paper Review “An Energy Efficient Multipath Routing Protocol for Wireless Sensor Networks”,
We hope that it is more important to know where you are going than to get there quickly. SNU INC Lab. A Survey of Energy Efficient Network Protocols for.
KAIS T Medium Access Control with Coordinated Adaptive Sleeping for Wireless Sensor Network Wei Ye, John Heidemann, Deborah Estrin 2003 IEEE/ACM TRANSACTIONS.
Digital Communications I: Modulation and Coding Course Term Catharina Logothetis Lecture 9.
Tufts University. EE194-WIR Wireless Sensor Networks. February 17, 2005 Increased QoS through a Degraded Channel using a Cross-Layered HARQ Protocol Elliot.
Background of Wireless Communication Wireless Communication Technology Wireless Networking and Mobile IP Wireless Local Area Networks Wireless Communication.
An ARQ Technique Using Related Parallel and Serial Concatenated Convolutional Codes Yufei Wu formerly with: Mobile and Portable Radio Research Group Virginia.
RM-MAC: A Routing-Enhanced Multi-Channel MAC Protocol in Duty-Cycle Sensor Networks Ye Liu, Hao Liu, Qing Yang, and Shaoen Wu In Proceedings of the IEEE.
An Enhanced Cross-Layer Protocol for Energy Efficiency in Wireless Sensor Networks Jaehyun Kim, Dept. of Electrical & Electronic Eng., Yonsei University;
CS541 Advanced Networking 1 Contention-based MAC Protocol for Wireless Sensor Networks Neil Tang 4/20/2009.
Coding and Error Control
Wireless and Mobile Networks (ELEC6219) Session 4: Efficiency of a link. Data Link Protocols. Adriana Wilde and Jeff Reeve 22 January 2015.
PPR: Partial Packet Recovery Brad Karp UCL Computer Science CS 4038 / GZ06 23 rd January, 2008.
Communication Theory as Applied to Wireless Sensor Networks muse.
Power-Efficient Rendez- vous Schemes for Dense Wireless Sensor Networks En-Yi A. Lin, Jan M. Rabaey Berkeley Wireless Research Center University of California,
Chi-Cheng Lin, Winona State University CS412 Introduction to Computer Networking & Telecommunication Data Link Layer Part II – Sliding Window Protocols.
Computer Networks Group Universität Paderborn Ad hoc and Sensor Networks Chapter 6: Link layer protocols Holger Karl.
Digital Communications Chapter 6. Channel Coding: Part 1
Powerpoint Templates Data Communication Muhammad Waseem Iqbal Lec # 15.
1 Wireless Networks Lecture 5 Error Detecting and Correcting Techniques (Part II) Dr. Ghalib A. Shah.
Go-Back-N ARQ packets transmitted continuously (when available) without waiting for ACK, up to N outstanding, unACK’ed packets a logically different sender.
Computer Communication & Networks
Data Link Layer What does it do?
Wireless Sensor Networks 5th Lecture
Chapter 6.
Coding and Error Control
Multi-rate Medium Access Control
Presentation transcript:

1 Wireless Sensor Networks Akyildiz/Vuran Chapter 6: Error Control

2 Wireless Sensor Networks Akyildiz/Vuran Error Control PURPOSE:  Error-free  In-sequence  Duplicate-free  Loss-free

3 Wireless Sensor Networks Akyildiz/Vuran Wireless Errors  Causes: Fading, interference, loss of bit synchronization  Results in bit errors, sometimes bursty  For low power wireless communication  sometimes quite high average bit error rates (BERs) (10 -2 … possible!)

4 Wireless Sensor Networks Akyildiz/Vuran Error Control Approaches  Automatic Repeat reQuest (ARQ)  Forward Error Correction (FEC)  Hybrid ARQ (Type I and II)

5 Wireless Sensor Networks Akyildiz/Vuran ARQ (Quick Recap)  Basic procedure  Put header information before the payload  Compute a checksum and add it to the end of the packet  Typically: Cyclic redundancy check (CRC),  quick, low overhead, low residual error rate  Provide feedback from receiver to sender  Send positive or negative acknowledgement (ACK/NACK)

6 Wireless Sensor Networks Akyildiz/Vuran ARQ  Sender uses timer to detect that ACKs have not arrived  Assumes packet has not arrived  Optimal timer setting?  If sender infers that a packet has not been received correctly, sender can retransmit it  What is maximum number of retransmission attempts?

7 Wireless Sensor Networks Akyildiz/Vuran Standard ARQ protocols  Alternating bit – at most one packet outstanding, single bit sequence number  Go-back-N – send up to N packets, if a packet has not been ACKed when timer goes off, retransmit all packets after the first unacknowledged packet  Selective Repeat – when timer goes off, only send the unacknowledged packet(s)

8 Wireless Sensor Networks Akyildiz/Vuran How to use ACKs ?  Be careful about ACKs from different layers  A MAC ACK (e.g., S-MAC) does not necessarily imply buffer space in the link layer  Do not (necessarily) ACK every packet – use cumulative ACKs  Tradeoff against buffer space  Tradeoff against number of negative ACKs to send

9 Wireless Sensor Networks Akyildiz/Vuran When to Retransmit ?  Assuming sender has decided to retransmit a packet – when to do so?  For a good channel, any time is as good as any  For fading channels, try to avoid bad channel states – postpone transmissions  Instead (e.g.): send a packet to another node if in queue (exploit multi-user diversity)  REMARK: If the previous packet was corrupted then the channel was bad

10 Wireless Sensor Networks Akyildiz/Vuran When to Retransmit ?  How long to wait?  Example solution: Probing protocol  Idea: reflect channel state by two protocol modes, “normal” and “probing”  When error occurs, go from normal to probing mode  In probing mode, periodically send short packets (ACKed by receiver) – when successful, go to normal mode

11 Wireless Sensor Networks Akyildiz/Vuran Forward Error Control (FEC)  Idea: Endow symbols in a packet with additional redundancy to withstand a limited amount of random permutations  Additionally: interleaving – change order of symbols to withstand burst errors Header Payload Redundant Bits  l DATA n-k k n

12 Wireless Sensor Networks Akyildiz/Vuran Forward Error Control

13 Wireless Sensor Networks Akyildiz/Vuran Popular Block Code FECs  Reed-Solomon Codes (RS)  Bose-Chaudhuri-Hocquenghem Codes (BCH)

14 Wireless Sensor Networks Akyildiz/Vuran Popular Block Codes  Energy Consumption:  Encoding: Negligible overhead (linear-feedback shift register)  Decoding: depends on block length (n) and Hamming distance (t) Eng. Consumption for multiplication Eng. Consumption for addition

15 Wireless Sensor Networks Akyildiz/Vuran Convolutional Codes  Code rate: ratio of k user bits mapped onto n coded bits  Constraint length k determines coding gain  Energy  Encoding: cheap  Decoding: Viterbi algorithm, energy & memory depends exponentially (!) on constraint length

16 Wireless Sensor Networks Akyildiz/Vuran Hybrid ARQ (HARQ)  ARQ  Efficient when channel is good - No redundant bits are sent  Inefficient when channel is bad – whole packet is sent again  FEC  Inefficient when channel is good – Redundant bits sent anyway  Efficient when channel is bad – No retransmissions  Hybrid ARQ  Marry ARQ and FEC  Get advantages from both techniques

17 Wireless Sensor Networks Akyildiz/Vuran Hybrid ARQ  Send uncoded or lightly coded packet first  If in error, retransmit with a stronger code  Two types based on retransmission technique  HARQ Type I  HARQ Type II

18 Wireless Sensor Networks Akyildiz/Vuran Hybrid ARQ Type I (HARQ-I) Header + Payload Redundant Bits e.g. BCH(128,106,3) Packet in error Send NACK Send uncoded packet NACK Send coded packet No errors No ACK sent

19 Wireless Sensor Networks Akyildiz/Vuran Hybrid ARQ Type I (HARQ-I) Header + Payload e.g. BCH(128,78,7) Packet in error Send NACK Send lightly coded packet NACK Send more powerful coded packet No errors No ACK sent Redundant Bits e.g. BCH(128,106,3)

20 Wireless Sensor Networks Akyildiz/Vuran Hybrid ARQ Type II (HARQ-II) Header + Payload Redundant Bits e.g. BCH(128,106,3) Packet in error Send NACK Send uncoded packet NACK Send redundant bits No errors No ACK sent

21 Wireless Sensor Networks Akyildiz/Vuran Hybrid ARQ  Type I – Does not require previous packet to be stored  Type II – Reduces bandwidth usage

22 Wireless Sensor Networks Akyildiz/Vuran Error Control through Transmit Power Control  Higher transmission power reduces the packet error rate by improving SNR.  Energy consumption and interference is increased  Radio should support different power levels (may not be applicable in many WSNs (low cost nodes)

23 Wireless Sensor Networks Akyildiz/Vuran Cross-Layer Comparison: FEC, ARQ, HARQ  Investigate the tradeoffs between ARQ, FEC, and HARQ in terms of  Energy consumption  Latency  Packet error rate  The first work that jointly considers  Broadcast wireless channel  Multi-hop communication  Realistic channel model  2-D topology  Realistic hardware models (Mica2 and MicaZ) M. C. Vuran and I. F. Akyildiz, “Cross-layer Analysis of Error Control in Wireless Sensor Networks, IEEE SECON ‘06, September M. C. Vuran and I. F. Akyildiz, “Error Control in Wireless Sensor Networks: A Cross Layer Analysis”, IEEE Trans. on Networking, vol. 17, no. 4, pp , April 2009.

24 Wireless Sensor Networks Akyildiz/Vuran Cross-Layer Effects  Multi-hop communication affects  End-to-end packet error rate  Energy consumption  Latency  Broadcast wireless channel  Nodes other than communicating parties are affected (overhearing)  Wireless channel  Channel characteristics drastically influence BER performance Cross-layer analysis of error control is necessary

25 Wireless Sensor Networks Akyildiz/Vuran Motivation  ARQ  Reactive error control  Send redundancy in case of errors (lack of ACK)  FEC  Proactive error control  Incorporate redundancy to correct errors  Improves the error resiliency of a single packet

26 Wireless Sensor Networks Akyildiz/Vuran Error Resiliency  Packet Error Rate (PER) is a function of signal to noise ratio (SNR), i.e., channel quality  ARQ vs. FEC: FEC codes provide the same PER with lower SNR, i.e., lower channel quality  For PER *, SNR ARQ >SNR FEC  As error correction capability, t, increases, error resiliency improves

27 Wireless Sensor Networks Akyildiz/Vuran Error Resiliency  How can error resiliency be exploited in multi-hop WSN? d ARQ P t,ARQ -P n SNR ARQ  PER * Path Loss ARQ case Transmit Power Noise Power

28 Wireless Sensor Networks Akyildiz/Vuran Error Resiliency  How can this be exploited in multi-hop WSN?  Hop-length Extension (increase hop length for FEC)  P t,FEC = P t,ARQ, d FEC > d ARQ d FEC P t,ARQ -P n SNR FEC  PER * Path Loss FEC case

29 Wireless Sensor Networks Akyildiz/Vuran Error Resiliency  How can this be exploited in multi-hop WSN?  Hop-length Extension (increase hop length for FEC)  P t,FEC = P t,ARQ, d FEC > d ARQ  Transmit Power Control (decrease transmit power)  P t,FEC < P t,ARQ, d FEC = d ARQ d ARQ P t,FEC -P n SNR FEC  PER * Path Loss FEC case

30 Wireless Sensor Networks Akyildiz/Vuran Cost  FEC codes improve error resiliency at the cost of  Encoding/decoding (energy + latency)  Tx/Rx longer packets (energy + latency) Header Payload Redundant Bits a l DATA n-k

31 Wireless Sensor Networks Akyildiz/Vuran Network Model  Channel-aware routing  Next hop j is selected if received SNR,  j >  Th (SNR threshold)  Contention-based medium access  RTS-CTS-DATA(-ACK) exchange  Duty cycle operation  Nodes are active δ fraction of the time

32 Wireless Sensor Networks Akyildiz/Vuran Cross-layer Analysis  Channel model Transmit Power Received Power Path loss exponent Log-normal Shadow fading

33 Wireless Sensor Networks Akyildiz/Vuran Cross-layer Analysis  Channel model then, Received SNR SNR threshold Variance of log-normal fading (usually ~3.5) Noise power

34 Wireless Sensor Networks Akyildiz/Vuran  Total energy consumed as a flow-based energy consumption analysis  Expected number of hops from a source to sink with distance D E[d next-hop ] is the expected hop distance. R inf is the approximated transmission range. Energy Consumption

35 Wireless Sensor Networks Akyildiz/Vuran Effect of Duty Cycle  Consumed energy per hop in one hop for transmitting a packet Detailed derivations for ARQ, FEC, and HARQ in the paper Eng. consumption of the transmitter node Eng. consumption of the receiver node Eng. consumption of the neighbor nodes

36 Wireless Sensor Networks Akyildiz/Vuran Latency Analysis  Expected end-to-end latency Expected number of hops Expected latency per hop

37 Wireless Sensor Networks Akyildiz/Vuran Decoding Latency and Energy  Encoding for block codes is negligible  Decoding latency for a (n,k,t) block code  Both Mica2 and MicaZ use 8-bit microcontrollers  Decoding energy Processor cycle latency (250ns) Processor current (8mA) Voltage (3V)

38 Wireless Sensor Networks Akyildiz/Vuran Bit Error Rate  Mica2 nodes use frequency shift keying (FSK)  MicaZ nodes use offset quadrature phase shift keying (O- QPSK) with direct sequence spread spectrum (DSSS) Bandwidth Bit rate # of chips per bit (16) =2 for MicaZ

39 Wireless Sensor Networks Akyildiz/Vuran Numerical Evaluations  Energy consumption, latency and PER are found for Mica2 and MicaZ, and ARQ, FEC, and HARQ schemes

40 Wireless Sensor Networks Akyildiz/Vuran Numerical Evaluations  FEC Codes  BCH (n,k,t) - (128,50,13), (128,78,7), (128,106,3)  RS (n,k,t) – (7,3,2), (15,9,3), (31,19,6)  Hybrid ARQ (I & II) Notation:  HARQ-I (t 1,t 2 ) means:  Hybrid ARQ type I  t 1 : error correction capability for 1 st transmission (t 1 = 0  uncoded packet)  t 2 : 2 nd transmission  BCH codes are used for coded transmission

41 Wireless Sensor Networks Akyildiz/Vuran Hop Length Extension  Energy consumption vs. SNR threshold  Lower SNR threshold leads to longer hop length  BCH and RS achieve the same PER for lower SNR threshold compared to ARQ  BCH (t=7) consumes less energy than ARQ  RS (t=3) consumes more energy than ARQ Energy Consumption (MicaZ) PER ARQ =10 -2 PER BCH =10 -2 PER RS =10 -2

42 Wireless Sensor Networks Akyildiz/Vuran Hop Length Extension  Compared to ARQ, BCH and RS achieve lower latency for the same PER  Lower SNR threshold  longer hops  less number of hops  lower latency Latency (MicaZ) PER ARQ =10 -2 PER BCH =10 -2 PER RS =10 -2

43 Wireless Sensor Networks Akyildiz/Vuran Hop Length Extension  Taxonomy function  Received bit per consumed resources (time*energy) i.e., resource efficiency

44 Wireless Sensor Networks Akyildiz/Vuran Hop Length Extension  For MicaZ nodes, FEC is more resource efficient than ARQ  BCH is 30% more efficient than RS MicaZ

45 Wireless Sensor Networks Akyildiz/Vuran Hop Length Extension  For Mica2, ARQ is more resource efficient  Why?  Lower bit rate (16 kbps vs. 250 kbps – MicaZ)  Packet transmission duration is more important than hop length extension in Mica2  ARQ outperforms FEC since shorter packets are sent Taxonomy function, T (Mica2)

46 Wireless Sensor Networks Akyildiz/Vuran Transmit Power Control  Significant reduction in energy consumption with transmit power control for BCH  RS codes are not energy efficient with transmit power control  BCH is more energy efficient than ARQ Energy Consumption (Mica2)

47 Wireless Sensor Networks Akyildiz/Vuran Transmit Power Control  Trade off latency  Decrease in transmit power  increase in # of hops  ARQ has lower latency when transmit power is decreased for FEC codes Latency (Mica2)

48 Wireless Sensor Networks Akyildiz/Vuran Hybrid ARQ  HARQ-II outperforms ARQ and FEC schemes  HARQ-I is less energy efficient – whole packet is retransmitted  For HARQ-II, energy efficiency improves if error correction capability (t) increases  HARQ-II implementation cost is also lower than HARQ-I Energy Consumption (MicaZ)

49 Wireless Sensor Networks Akyildiz/Vuran Hybrid ARQ  HARQ-II, BCH, and RS provide lower latency compared to ARQ  HARQ-I latency is significantly higher – Retransmission + Encoding/Decoding overhead  HARQ-II and RS most suitable for delay sensitive traffic

50 Wireless Sensor Networks Akyildiz/Vuran Conclusions  A cross-layer analysis of ARQ, FEC, and HARQ is performed  Developed framework enables a generic analysis with various parameters (e.g. BCH, RS, Mica2, MicaZ)  Careful selection of FEC parameters improve latency without hampering energy consumption (HARQ and RS suitable for multimedia traffic)  Hardware support for FEC will improve performance