730 likes | 1.21k Views
Data Communications . 2. ERROR Any unwanted signal Any rem val or attenuation of a signal Any unwanted chhaangee in a signal. Richard W. Hamming . Data Communications . 3. Objectives. . After reading this chapter, you should be able to:Identify the different types of noise commonly found in computer networksSpecify the different error-prevention techniques, and be able to apply an error-prevention technique to a type of noiseCompare the different error-detection techniques in terms of efficiency and efficacy.
E N D
1. Chapter 6:
Errors, Error Detection, and Error Control
2. Data Communications 2 ERRORAny unwanted signalAny rem val or attenuation of a signalAny unwanted chhaangee in a signal Richard W. Hamming
3. Data Communications 3
4. Data Communications 4
5. Data Communications 5
6. Data Communications 6
7. Data Communications 7
8. Data Communications 8
9. Data Communications 9 Real Noise
10. Data Communications 10
11. Data Communications 11
12. Data Communications 12 The bottom figure should show much more distortion, completely blowing out one or two bits of information.The bottom figure should show much more distortion, completely blowing out one or two bits of information.
13. Data Communications 13
14. Data Communications 14
15. Data Communications 15
16. Data Communications 16
17. Data Communications 17
18. Data Communications 18
19. Data Communications 19 Real Jitter
20. Data Communications 20
21. Data Communications 21
22. Data Communications 22
23. Data Communications 23
24. Data Communications 24
25. Data Communications 25
26. Data Communications 26
27. Data Communications 27
28. Data Communications 28
29. Data Communications 29
30. Data Communications 30
31. Data Communications 31
32. Data Communications 32
33. Data Communications 33
34. Data Communications 34
35. Data Communications 35
36. Data Communications 36
37. Data Communications 37
38. Data Communications 38
39. Data Communications 39
40. Data Communications 40
41. Data Communications 41
42. Data Communications 42
43. Data Communications 43
44. Data Communications 44
45. Data Communications 45
46. Data Communications 46
47. Data Communications 47
48. Data Communications 48
49. Data Communications 49 Block Interleaving In fading channels received data can experience burst errors that destroy large number of consecutive bits. This is harmful for channel coding
Interleaving distributes burst errors along data stream
A problem of interleaving is introduced extra delay
Example below shows block interleaving:
50. Data Communications 50 Detect Error On Credit Card
51. Data Communications 51 Formula for detecting error
52. Data Communications 52 Detect Error On Credit Card
53. Data Communications 53 Now the test
54. Data Communications 54 Credit Card Summary
55. Data Communications 55 The purpose of error correcting codes A message can become distorted through a wide range of unpredictable errors.
Humans
Equipment failure
Lighting interference
Scratches in a magnetic tape
56. Data Communications 56 Encoding
57. Data Communications 57 Why error-correcting code? To add redundancy to a message so the original message can be recovered if it has been garbled.
e.g. message = 10
code = 1010101010
58. Data Communications 58 Send a message
59. Data Communications 59 Take Naïve approach
60. Data Communications 60 Hamming [7,4] Code
61. Data Communications 61 Diagram of Hamming CodeUsing Odd Parity
62. Data Communications 62 Hamming Code with DataP1 protects D1, D2 and D3
63. Data Communications 63 Practice Hamming #1
64. Data Communications 64 Practice Hamming #1
65. Data Communications 65 Practice Hamming #2
66. Data Communications 66 Practice Hamming #2
67. Data Communications 67 Remember ! Hamming Code finds errors
Hamming Code lets you fix errors without retransmission
Hamming code has lots of overhead so only use when retransmission is difficult (It’s only 0.57142857142857…… efficient)
68. Data Communications 68 Hamming [7,4] Encoding
69. Data Communications 69 Hamming [7,4] Codes
70. Data Communications 70 Minimum Weight Theorem
71. Data Communications 71 Definitions
72. Data Communications 72 Definitions
73. Data Communications 73 END 6