data and telecommunication problem

22
University of Dhaka DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING, 0 7 / 0 5 / 2 0 2 2 1 Data And Telecommunications Presentation on: CHAPTER 10 (ERROR DETECTION AND CORRECTION) By: Md. Al – Zihad Roll: 35 CSEDU 20 th Batch To: Professor Dr. Md. Abdur Razzaque CSEDU University of Dhaka

Upload: -

Post on 21-Mar-2017

61 views

Category:

Education


0 download

TRANSCRIPT

Page 1: Data and Telecommunication Problem

05/02/2023

1

University of DhakaDEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING,

Data And Telecommunications

Presentation on:CHAPTER 10 (ERROR DETECTION AND CORRECTION)

By: Md. Al – ZihadRoll: 35CSEDU 20th Batch

To: Professor Dr. Md. Abdur RazzaqueCSEDUUniversity of Dhaka

Page 2: Data and Telecommunication Problem

05/02/2023

2Contents

• General Discussion of CRC

• Figure out the problems assigned

• Developing a perfect solution for each of them

Page 3: Data and Telecommunication Problem

05/02/2023

3Cyclic Redundancy Check (CRC)

Error detection mechanism

Simple to implement in binary hardware

Calculated by performing a modulo 2 division of the data by a generator

polynomial and recording the remainder after division.

Page 4: Data and Telecommunication Problem

05/02/2023

4Problem 27

27. Referring to the CRC-8 polynomial in Table 10.7, answer the following questions:

a. Does it detect a single error? Defend your answer. b. Does it detect a burst error of size 6? Defend your answer. c. What is the probability of detecting a burst error of size 9? d. What is the probability of detecting a burst error of size 15?

Page 5: Data and Telecommunication Problem

05/02/2023

5Resources

Page 6: Data and Telecommunication Problem

05/02/2023

6Problem 28

28. Referring to the CRC-32 polynomial in Table 10.7, answer the following questions:

a. Does it detect a single error? Defend your answer. b. Does it detect a burst error of size 16? Defend your answer. c. What is the probability of detecting a burst error of size 33? d. What is the probability of detecting a burst error of size 55?

Page 7: Data and Telecommunication Problem

05/02/2023

7Detecting Single Bit Error

Lets Assume,

Dataword = d(x)Codeword = c(x)Error = e(x)So,

Received Codeword = c(x)+e(x)Generator = g(x)

Page 8: Data and Telecommunication Problem

05/02/2023

8Detecting Single Bit Error Cont…

• If a single-bit error is caught, then xi is not divisible by g(x).

• If the generator has more than one term and the coefficient of x0

is 1, all single errors can be caught

Page 9: Data and Telecommunication Problem

05/02/2023

9Detecting Single Bit Error Cont…

Both In,

The generator has more than one term and the coefficient of x0 is 1, all single errors can be caught

and

Page 10: Data and Telecommunication Problem

05/02/2023

10Detecting Burst Error

e(x) = (x^j + . . . + x^i)Or,e(x) = x^i (x^ (j-i) + . . . + 1)

If our generator can detect a single error (minimum condition for a generator), then it cannot divide xi.

Page 11: Data and Telecommunication Problem

05/02/2023

11Detecting Burst Error Cont…

So our concern is: (x^ (j-i) + . . . + 1) / ( x^r + . . . +1)

If the division has non zero remainder, error can be detected

Page 12: Data and Telecommunication Problem

05/02/2023

12Detecting Burst Error Cont…

• If j - i < r, the remainder can never be zero.• all burst errors with length smaller than or equal to the number

of check bits r will be detected.

Page 13: Data and Telecommunication Problem

05/02/2023

13Detecting Burst Error Cont…

Here in problem 27(b),

• This is a 8 degree polynomial.• Number of check bit is 8

So, it will obviously detect burst error size of 6 as 6 < 8

Page 14: Data and Telecommunication Problem

05/02/2023

14Detecting Burst Error Cont…

Here in problem 27(b),

• This is a 32 degree polynomial.• Number of check bit is 32

So, it will obviously detect burst error size of 16 as 16 < 32

Page 15: Data and Telecommunication Problem

05/02/2023

15Probability of missing detection of Burst error

• If, j - i = r

• Then, L – 1 = r

• So, L = r + 1

Here,r is polynomial size

L is for burst error size

In this case, Probability = (1/2)^(r-1)

Page 16: Data and Telecommunication Problem

05/02/2023

16Detecting Burst Error Cont…

Here in problem 27(c),

So, L = r + 1So, it will miss to detect (1/2)^(8-1) burst errors.

• r = 8• L = 9

Probability of detecting burst error of size 9 = 1 – (1/2)^7.

Page 17: Data and Telecommunication Problem

05/02/2023

17Detecting Burst Error Cont…

Here in problem 28(c),

So, L = r + 1So, it will miss to detect (1/2)^(32-1) burst errors.

• r = 32• L = 33

Probability of detecting burst error of size 33 = 1 – (1/2)^31.

Page 18: Data and Telecommunication Problem

05/02/2023

18Probability of missing detection of Burst error

• If, j - i > r

• Then, L – 1 > r

• So, L > r + 1

Here,r is polynomial size

L is for burst error size

In this case, Probability = (1/2)^(r)

Page 19: Data and Telecommunication Problem

05/02/2023

19Detecting Burst Error Cont…

Here in problem 27(d),

So, L > r + 1So, it will miss to detect (1/2)^(8) burst errors.

• r = 8• L = 15

Probability of detecting burst error of size 15 = 1 – (1/2)^8.

Page 20: Data and Telecommunication Problem

05/02/2023

20Detecting Burst Error Cont…

Here in problem 28(c),

So, L > r + 1So, it will miss to detect (1/2)^(32) burst errors.

• r = 32• L = 55

Probability of detecting burst error of size 33 = 1 – (1/2)^32.

Page 21: Data and Telecommunication Problem

05/02/2023

21Lesson Learned

• All g(x) having multiple terms and X0 = 1, all single bit error will be detected

• All burst errors with L < = r will be detected.

• All burst errors with L = r + 1 will be detected with probability 1 - (1/2)^(r-1)

• All burst errors with L > r + 1 will be detected with probability 1- (1/2)^r

Page 22: Data and Telecommunication Problem

05/02/2023

22

ThanksAny Questions?