1 Wireless Sensor Networks Akyildiz/Vuran Administration Issues  Take home Mid-term Exam  Assign April 2, Due April 7  Individual work is required 

Slides:



Advertisements
Similar presentations
Network Operations & administration CS 4592 Lecture 15 Instructor: Ibrahim Tariq.
Advertisements

Mohmmad Khalily Dermany Islamic Azad University. Goals – Link layer tasks in general Framing – group bit sequence into frames Important: format, size.
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.
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.
8-Reliability and Channel Coding Dr. John P. Abraham Professor UTPA.
Chapter 6 Errors, Error Detection, and Error Control
Chapter 6 Errors, Error Detection, and Error Control.
Coding and Error Control
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 12 Introduction to Computer Networks.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 13 Introduction to Computer Networks.
The Data Link Layer Chapter 3. Position of the data-link layer.
Chapter 9: Data Link Control Business Data Communications, 4e.
Chapter 6: Errors, Error Detection, and Error Control
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
Error Checking continued. Network Layers in Action Each layer in the OSI Model will add header information that pertains to that specific protocol. On.
1 Wireless Sensor Networks Akyildiz/Vuran Chapter 6: Error Control.
Coding and Error Control
Go-Back-N ARQ  packets transmitted continuously (when available) without waiting for ACK, up to N outstanding, unACK’ed packets  a logically different.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 11 Data Link Control Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
Coding and Error Control
Lecture 10: Error Control Coding I Chapter 8 – Coding and Error Control From: Wireless Communications and Networks by William Stallings, Prentice Hall,
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.
ECE 6332, Spring, 2014 Wireless Communication Zhu Han Department of Electrical and Computer Engineering Class 18 March. 26 th, 2014.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved. 1 Communication Reliability Asst. Prof. Chaiporn Jaikaeo, Ph.D.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 14.
Chapter 5 Peer-to-Peer Protocols and Data Link Layer PART I: Peer-to-Peer Protocols ARQ Protocols and Reliable Data Transfer Flow Control.
Lecture 3-2: Coding and Error Control (Cont.) ECE
1 Chapter 8. Coding and Error Control Wen-Shyang Hwang KUAS EE.
CS3505: DATA LINK LAYER. data link layer  phys. layer subject to errors; not reliable; and only moves information as bits, which alone are not meaningful.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Layer PART III.
Data Communications & Computer Networks, Second Edition1 Chapter 6 Errors, Error Detection, and Error Control.
Coding Theory. 2 Communication System Channel encoder Source encoder Modulator Demodulator Channel Voice Image Data CRC encoder Interleaver Deinterleaver.
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
CHAPTER 3: DATA LINK CONTROL Flow control, Error detection – two dimensional parity checks, Internet checksum, CRC, Error control, Transmission efficiency.
Data Link Layer. Data Link Layer Topics to Cover Error Detection and Correction Data Link Control and Protocols Multiple Access Local Area Networks Wireless.
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.
An ARQ Technique Using Related Parallel and Serial Concatenated Convolutional Codes Yufei Wu formerly with: Mobile and Portable Radio Research Group Virginia.
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.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Principles of reliable data transfer 0.
COSC 3213: Computer Networks I Instructor: Dr. Amir Asif Department of Computer Science York University Section M Topics: 1.Flow Control and ARQ Protocols.
Chi-Cheng Lin, Winona State University CS412 Introduction to Computer Networking & Telecommunication Data Link Layer Part II – Sliding Window Protocols.
DATA LINK CONTROL. DATA LINK LAYER RESPONSIBILTIES  FRAMING  ERROR CONTROL  FLOW CONTROL.
Computer Networking Lecture 16 – Reliable Transport.
Chapter 9: Data Link Control Business Data Communications, 4e.
NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS ( NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS (PRACTICAL PART) Tutorial 4 : Chapter 7 Data & computer.
Computer Networks Group Universität Paderborn Ad hoc and Sensor Networks Chapter 6: Link layer protocols Holger Karl.
Powerpoint Templates Computer Communication & Network Week # 10.
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
2.10 Flow and Error Control Before that ...
Chapter 9: Data Link Control
Data Link Layer Flow Control.
Part III Datalink Layer 10.
Data Link Layer What does it do?
Overview Jaringan Komputer (2)
Chapter 6.
Coding and Error Control
CSE 461: Framing, Error Detection and Correction
Chapter 5 Peer-to-Peer Protocols and Data Link Layer
Lecture 4 Peer-to-Peer Protocols and Data Link Layer
Chapter 9: Data Link Control
Presentation transcript:

1 Wireless Sensor Networks Akyildiz/Vuran Administration Issues  Take home Mid-term Exam  Assign April 2, Due April 7  Individual work is required  Proposal and progress presentation  5-10 mins  March 31

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

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

4 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!)

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

6 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)

7 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?

8 Wireless Sensor Networks Akyildiz/Vuran Standard ARQ protocols  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)

9 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

10 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

11 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

12 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

13 Wireless Sensor Networks Akyildiz/Vuran Forward Error Control

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

15 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

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 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)