EITN21, PWC part 2 Lecture: Project overview and cyclic redundancy check (CRC) codes Fredrik Rusek, Lund University.

Slides:



Advertisements
Similar presentations
Noise, Information Theory, and Entropy (cont.) CS414 – Spring 2007 By Karrie Karahalios, Roger Cheng, Brian Bailey.
Advertisements

Computer Interfacing and Protocols
NETWORKING CONCEPTS. ERROR DETECTION Error occures when a bit is altered between transmission& reception ie. Binary 1 is transmitted but received is binary.
Transmission Errors Error Detection and Correction
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 6 – Digital Data Communications Techniques.
Error Detection and Correction
CSCI 4550/8556 Computer Networks Comer, Chapter 7: Packets, Frames, And Error Detection.
Error Detection and Correction
PART III DATA LINK LAYER. Position of the Data-Link Layer.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 12 Introduction to Computer Networks.
Transmission Errors1 Error Detection and Correction.
1 ITC242 – Introduction to Data Communications Week 10 Topic 16 Data link control.
Chapter 9: Data Link Control Business Data Communications, 4e.
Practical Session 11 Codes. Hamming Distance General case: The distance between two code words is the amount of 1-bit changes required to reach from one.
Data Communications Chapter 7 Error Detection. Despite the best prevention techniques, errors may still happen. To detect an error, something extra has.
William Stallings Data and Computer Communications 7 th Edition (Selected slides used for lectures at Bina Nusantara University) Error Control.
Unit 1 Protocols Learning Objectives: Understand the need to detect and correct errors in data transmission.
1/26 Chapter 6 Digital Data Communication Techniques.
Chapter 10 Error Detection and Correction
Transmission Errors Error Detection and Correction
Channel 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,
Data Link Layer - 1 Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing, UNF.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved. 1 Communication Reliability Asst. Prof. Chaiporn Jaikaeo, Ph.D.
CIT 307 Online Data Communications Error Detection Module 11 Kevin Siminski, Instructor.
Data and Computer Communications
Part 2: Packet Transmission Packets, frames Local area networks (LANs) Wide area networks (LANs) Hardware addresses Bridges and switches Routing and protocols.
Data Link Layer: Error Detection and Correction
Data and Computer Communications Chapter 6 – Digital Data Communications Techniques.
Data and Computer Communications by William Stallings Eighth Edition Digital Data Communications Techniques Digital Data Communications Techniques Click.
Lecture 3-2: Coding and Error Control (Cont.) ECE
Unit 5 Lecture 2 Error Control Error Detection & Error Correction.
COSC 3213: Computer Networks I Instructor: Dr. Amir Asif Department of Computer Science York University Section M Topics: 1. Error Detection Techniques:
Chapter 7 - Packets, Frames and Error Detection 1. Concepts of Packets 2. Motivation for Packet Switching 3. Framing 4. Frame Formats 5. Transmission Errors.
Data Link and Flow Control Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by: Copyright 2009 Asia Pacific.
Overview All data can be corrupted, for reliable communications we must be able to detect and correct errors implemented at the data link and transport.
CSCI 465 D ata Communications and Networks Lecture 9 Martin van Bommel CSCI 465 Data Communications & Networks 1.
Error Detection.
1 Error Detection and Correction Martin Weiss. Slide 2 Objectives of this Meeting u Describe the major error detection techniques u Describe forward error.
10.1 Chapter 10 Error Detection and Correction Data can be corrupted during transmission. Some applications require that errors be detected and.
Error Detection. Data can be corrupted during transmission. Some applications require that errors be detected and corrected. An error-detecting code can.
Winter 2007CS244a Handout 141 CS244a: An Introduction to Computer Networks Handout 14: Error Detection and Correction Nick McKeown Professor of Electrical.
1 Kyung Hee University Error Detection and Correction.
Transmission Errors Error Detection and Correction.
10.1 Chapter 10 Error Detection and Correction Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Data Link Layer. Link Layer The data unit to be transmited at the link layer is called a frame. Why link layer? How can it know where a frame begins and.
Data Link Layer 1. 2 Single-bit error 3 Multiple-bit error 4.
Chapter 9: Data Link Control Business Data Communications, 4e.
ERROR DETECTION AND CORRECTION Chapter 8 Data Communications & Networking ERROR DETECTION AND CORRECTION Chapter 8 First Semester 2007/2008.
10.1 Types of Errors 10.2 Detection 10.3 Error Correction.
Coding and Error Control
Lecture 4 Error Detecting and Correcting Techniques Dr. Ghalib A. Shah
Error Detection and Correction
Chapter 9: Data Link Control
ERROR DETECTION AND CORRECTION
Data Link Layer.
Cyclic Redundancy Check (CRC)
Communication Networks: Technology & Protocols
: An Introduction to Computer Networks
Data Link Layer What does it do?
Data Link Layer.
Error Detection Bit Error Rate(BER): It is the ratio of number Ne of errors appearing over a certain time interval t to the number Nt of 1 and 0 pulses.
Chapter 7 Error Detection and Correction
Chapter Nine: Data Transmission
DATA COMMUNICATION Lecture-33.
COMPUTER NETWORKS CS610 Lecture-5 Hammad Khalid Khan.
Error Detection and Correction
Chapter 9: Data Link Control
Data Link Layer. Position of the data-link layer.
Presentation transcript:

EITN21, PWC part 2 Lecture: Project overview and cyclic redundancy check (CRC) codes Fredrik Rusek, Lund University

Project Overview Goal of tasks 1 and 2: Transfer a large file via speakers and mics from one computer to another System should include: OFDM, minimum 64 carriers Packet based system ARQ, i.e., receiver should send ACK/NACK for each packet. Re-transmissions of the incorrectly received packets Cyclic redundancy check (CRC) code Minimum bit-rate during transmissions: 0.5 kbit/s Convolutional code is optional (you need to find out yourself if you need it or not) Minimum size of file: 20kbit Max packet length: 1kbit

Project Overview Main goal is divided into two parts Task 1 – the basic link: Implement the OFDM part and send a data sequence from one computer to the other and decode. Deadline is Friday Nov 22 for task 1. Task 2 – the advanced link: Implement the packet based full duplex system with ARQ. Deadline is Friday Dec 20 for task 2.

A problem to be encountered in task 2 One particular problem with task 2 is that in Matlab, one have to record sound for a pre-defined amount of time. Since this is a ”Matlab-problem” and not a ”communication-theory-problem”, you are allowed to make use of the built in clock-function in matlab. The internal clocks of the receiver and the transmitter are allowed to be synchronized with each other. If you choose to use C/C++, this problem is completely alleviated since one can then record sound ”until something happens” – for example ”until there is no sond to record”. You can also start recording when ”there is something to record” However, the overhead of using C/C++ is rather large if you are not experienced. Meifang will demonstrate how to handle this issue with the clock-function.

CRC A CRC is used for error detection, not for error correction. Example: Single parity check bit Suppose one wants to transmit the 5 bits [ ] If one receives the bits [ ] This error will pass by un-detected. We can fix this by adding a single parity bit so that the total number of 1s is always even. We then have [ ] If we receive [ ] We know that there has been 1 bit error on the channel, and we will ask for a re-transmission

CRC A CRC is used for error detection, not for error correction. Example: Single parity check bit Suppose one wants to transmit the 5 bits [ ] If one receives the bits [ ] This error will pass by un-detected. We can fix this by adding a single parity bit so that the total number of 1s is always even. We then have [ ] If we receive [ ] We know that there has been 1 bit error on the channel, and we will ask for a re-transmission Parity bit Total number of 1s = even

CRC A CRC is used for error detection, not for error correction. Example: Single parity check bit Suppose one wants to transmit the 5 bits [ ] If one receives the bits [ ] This error will pass by un-detected. We can fix this by adding a single parity bit so that the total number of 1s is always even. We then have [ ] If we receive [ ] We know that there has been 1 bit error on the channel, and we will ask for a re-transmission Parity bit Total number of 1s = odd -> not correct

CRC

How to find c(D) The check bits c(D) depend of course on u(D). Question: How to find c(D) given a particular u(D) in a structured fashion?

How to find c(D)

Long Division + +

+ +

+

+

+ +

+ + quotient

CRC

Receiver operation

When does it fail?

Burst errors P g(D) z(D)

Burst errors P g(D) z(D)

What about double errors?

Some known results

CRC in Matlab Luckily, there is Matlab Play around with the CRC-class (just type help crc in Matlab)