SlideShare a Scribd company logo
2
Most read
3
Most read
9
Most read
ERROR
DETECTION
&
CORRECTION
Mr. Rohan Bhatkar
Ayushi Jain
Mayur Sancheti
Rohan Bhatkar

Mohammed driver
Apeksha Mehta
Mohammed Ali Dhaga
Yash Rawani
Introduction To Error Detection And Correction
When a transmission of digital signal takes place between two systems such as computers
as shown in given figure. The get contaminated due to the addition of NOISE to it.
It is necessary to detect and correct errors because these errors can become a serious threat
To the accuracy of the digital system.
Binary signal

Binary signal
contaminated
by noise

Computer 1

Computer 2

TYPES OF ERRORSThere are two types of errors1.CONTENT ERRORS
2.FLOW INTEGRITY ERRORS
The content errors are nothing but errors in the content of a message For e.g. ”0” may
Receive as “1“or vice versa. Such errors are introduced due to noise added into the in data
signals during its transmission.
Types Of Bit Errors
1.SINGLE BIT ERROR
2.BURST ERROR

SINGLE BIT ERROR:• The term single bit error suggests that only one bit in the given data unit such as a
byte is in a error.
• That means only one bit can be change from 1 to 0 or 0 to 1, as shown in the figure.
0 1 1 1 0 0 1 1

Medium

Transmitted Byte

0 1 1 1 0 0 1 0
Received Byte

Error

BURST ERRORS:• If two or more bits from a data unit such as byte change from 1 to 0 or from 0 to 1
then burst errors are said to have occurred.
• The length of the burst is measured from the first corrupted bit to the last corrupted
bit. Some of the bits in between may not have been corrupted.
• Burst errors are illustrated in the given figure.
Errors

0 1 1 1 0 0 1 1
Transmitted Byte

Medium

0 1 0 1 1 0 0 1
Received Byte
Important Definitions Related To Codes
CodewordThe Codeword is the encoded block of bits. As already seen it contains message bits &
parity or redundant, as shown in given figure.
Code word

Code rate-

Data bits

Parity bits

The code rate is defined as the Ratio of the number of message bits(k) to the total number
of bits(n) in a codeword.

Code rate (r) = k
n
Code efficiencyThe Code efficiency is defined as the ratio as the ratio of message bits to the number of
transmitted bits per block.

Code efficiency = Code rate = k
n
Error Detection
When a code word is transmitted, one or more number of transmitted bits will be reserved
(0 & 1 or vice versa) due to transmission impairments. Thus the errors will be introduced.
It is possible for the receiver to detect these errors if the received codeword (corrupted) is
not one of the valid codeword's.
When the errors are introduced, the distance between the transmitted & received
codeword's will be equal to the number of errors as illustrated in given figure.
Transmitted
code word

10101100

11101011

00100101

Received code
word

11101100

01111011

10110001

error

error

error

Number of
errors

1

2

3

Distance

1

2

3

Hence to detect the errors at the receiver, the valid codeword's should be separated by a
distance of more than 1.
Otherwise the incorrect received codeword’s will also become some other valid codeword’s
& the error detection will be impossible.
Error Detection Methods
What is ERROR DECTECTION METHODS?
Before thinking of correcting the errors introduced in the data bits is necessary to first
detect them.
For error detection & correction it is necessary to add some check bit to a block of data
bits. These check bits are also known as “Redundant bits” because they do not carry any
useful information.
Some of the most important error detection methods are as follows1. Parity Checking.
2. Checksum Error Detection.
3. Cyclic Redundancy Check (CRC).

Error Detection Methods

Parity Checking

Checksum Error
Detection

Cyclic Redundancy
Check (CRC)
PARITY
The simplest technique foe detecting errors is add an extra bit known as PARITY
bit to each word being transmitted.
As shown in given figure generally the MSB of an 8-bit word is used as the parity
bit & the remaining 7 bits are used as data or message bits.
MSB
P
Parity bits

LSB
d6

d5 d4 d3 d2 d1 d0
7- data bits

The parity of the 8-bit transmitted word can be either even parity or odd parity.
Even Parity means the number of 1’s in the given word including the parity bit
should be even (2,4,6,8,…..).
Odd Parity means the number of 1’s in the given word including the parity bit
should be odd (1,3,5,7,…..).
Two Dimensional Check
When a large number of binary words are being transmitted or
received in succession, the resulting collection of bits is considered
as a block of data, with rows & columns as shown in given figure.
The parity bits are produced for each row & column of such block of
data.
The two sets of parity bits so generated are known as:
• Longitudinal Redundancy Check (LRC) bits.
• Vertical Redundancy Check (VRC) bits.
Cyclic Redundancy Check (CRC)
This is a type of polynomial code in which a bit string is represented in the form of
polynomials with coefficient of 0 and 1 only
Polynomial arithmetic uses a modulo-2 arithmetic i.e. addition and subtraction
are identical to EXOR.
For CRC code the sender and receiver should agree upon a generator polynomial
G(x). A codeword can be generated for a given data word (message)
polynomial M(x) with the help of long division.
This technique is more powerful than the parity check and checksum error
detection.
CRC is based on binary division. A sequence of redundant bits called CRC or CRC
remainder is appended at the end of a data unit such as byte.
The resulting data unit after adding CRC remainder becomes exactly divisible by
another predetermined binary number.
At the receiver, this data unit is divided by the same binary number.
There is no error if this division does not yield any remainder. But a non-zero
remainder indicates presence of errors in the received data unit.
Such an erroneous data unit is then rejected.
Error Correction Technique
Codes are generated by adding a group of parity bits or check bits.
The source generates the binary data which is accepted by encoder to add the
check bits to them to produce the code words.
The check bits are used by decoder to detect and correct the errors.

Data source

Data bits

Encoder

Decoder

Code words
Data bits

Destination

Data bits

Check bits

The encoder adds check bits to the data bits according to the prescribed rule.
Decoder uses parity bits to detect and correct errors after separating data and
check bits.
The data bits are then applied to the destination.
FEC (Forward Error Correction)
In FEC the receiver searches for the most likely correct code word.
When a Error is detected, the distance between the received invalid code word &
all the possible valid code words in measured.
The nearest valid code word (the one having minimum distance) is the most likely
correct version of the received code word as shown in given figure.
Concept of FEC

Valid Code Word 1
Distance

1
Received Code Word

11001100

Distance

2
Distance

3

11011100
Valid Code Word 2

11101101
Valid Code Word 3

11110100

In given figure, The valid code word 1 has the minimum distance (1), hence it is
the most likely correct code word.
CRC Checker
The codeword at the receiver of data & CRC.
The receiver treats it as one unit & divides it by the same (n+1) bit divider which
was used at the transmitter.
The reminder of this division is then checked.
If the reminder is Zero, then the received codeword is error free & hence should
be accepted.
Nut non-zero reminder presence of errors hence the corresponding codeword
should be rejected.
Received Codeword

Data

CRC
Data

(n+1) bits

If reminder is 0 then no errors.

CRC

Divisor
Reminder
ARQ Technique (Retransmission)
There are two basic systems of error detection & correction they are
•Automatic repeat request (ARQ).
•Forward error correction (FEC).
In ARQ system when error is detected, a request is made for the retransmission of
that signal.
The points differs ARQ & FEC are:•In ARQ system less number of check bits (parity bits) are required to be sent. This
will increase the (k/n) ratio for an (n,k) block code if transmitted using the ARQ
system.
•A return transmission path & additional hardware in order to implement repeat
transmission of codeword's will be needed.
•The bit rate of forward transmission must make allowance for the backward
repeat transmission.
Block Diagram of the basic ARQ System
Feedback channel
Message
Input

Encoder

Input buffer &
controller

Forward
Transmission
channel
Detector

Output
buffer &
Controller
Return
Transmission
channel
Feedback path

ACK / NAK
Operations of ARQ System
The encoder produces codeword's for each message signal and its input. Each
codeword at the encoder output is stored temporarily and transmitted over the
forward transmission channel.
At the destination a decoder will decode the code words and look for errors.
If decoder doesn’t get a error than it is positive (ACK), and if he gets negative than
its negative (NAK).
If its NAK than its will return back to “controller” and it will correct the word and
pass it back to input buffer.
A word can be retransmitted twice or more no of times.
The output will be displayed as the errors are being cleared.
DCN Error Detection & Correction

More Related Content

PPT
Lecture 20
PPTX
Error detection and correction
PPT
Hamming codes
PPT
Error detection and correction
PPTX
Error Detection and correction concepts in Data communication and networks
PPTX
Hamming code system
PPT
Error correction error detection in digital communication
PPT
Error Detection And Correction
Lecture 20
Error detection and correction
Hamming codes
Error detection and correction
Error Detection and correction concepts in Data communication and networks
Hamming code system
Error correction error detection in digital communication
Error Detection And Correction

What's hot (20)

PPTX
Code Converters & Parity Checker
PPT
Error Correction And Hamming Code Ibrar
PPTX
Number system in Digital Electronics
PPT
10 Error Detection_and_Correction
PPTX
Convolutional codes
PPSX
Issues in Data Link Layer
PPT
Digital Communication: Channel Coding
PPT
Routing
PPT
Error detection and correction unit-05
PDF
Binary codes
PPT
Error Detection and Correction
PPTX
Quick tutorial on IEEE 754 FLOATING POINT representation
PPTX
Parity Generator and Parity Checker
PPT
Error detection correction (CRC)
PPT
Number systems ppt
PPTX
3.codes( binary code ,excess 3, gray code )
PPTX
HDLC(High level Data Link Control)
PPT
signal encoding techniques
PPT
Lecture 08
Code Converters & Parity Checker
Error Correction And Hamming Code Ibrar
Number system in Digital Electronics
10 Error Detection_and_Correction
Convolutional codes
Issues in Data Link Layer
Digital Communication: Channel Coding
Routing
Error detection and correction unit-05
Binary codes
Error Detection and Correction
Quick tutorial on IEEE 754 FLOATING POINT representation
Parity Generator and Parity Checker
Error detection correction (CRC)
Number systems ppt
3.codes( binary code ,excess 3, gray code )
HDLC(High level Data Link Control)
signal encoding techniques
Lecture 08
Ad

Viewers also liked (20)

PPTX
Error Detection and Correction - Data link Layer
PPT
Error detection and correction
PPTX
Computer Networks - Error Detection & Error Correction
PPT
Error Detection and Correction in Data Communication DC18
PPT
Errror Detection and Correction
PPT
Error correction, ARQ, FEC
PPT
Full error detection and correction
PPT
Error Detection And Correction
PPTX
Error Detection N Correction
PPTX
Error detection and correction, flow and error control and trasmission media
PPTX
Parity check(Error Detecting Codes)
PPTX
FEC-Forward Error Correction for Optics Professionals..www.mapyourtech.com
PPT
The Spark
PPT
PPT
Chapter 10
PPSX
Error Correction Teacher Training
PPTX
Error detection in Data Communication System
PPTX
CRC Error coding technique
PDF
The Data Link Layer
PPTX
GROUP03_AMAK:ERROR DETECTION AND CORRECTION PPT
Error Detection and Correction - Data link Layer
Error detection and correction
Computer Networks - Error Detection & Error Correction
Error Detection and Correction in Data Communication DC18
Errror Detection and Correction
Error correction, ARQ, FEC
Full error detection and correction
Error Detection And Correction
Error Detection N Correction
Error detection and correction, flow and error control and trasmission media
Parity check(Error Detecting Codes)
FEC-Forward Error Correction for Optics Professionals..www.mapyourtech.com
The Spark
Chapter 10
Error Correction Teacher Training
Error detection in Data Communication System
CRC Error coding technique
The Data Link Layer
GROUP03_AMAK:ERROR DETECTION AND CORRECTION PPT
Ad

Similar to DCN Error Detection & Correction (20)

PDF
07 Data Link LayerError Control.pdf
PPT
Error correction and detection th
PPTX
Parity check, redundancy, and errors
PDF
Error detection and correction
PDF
1.4.pdf 1.4.pdf 1.4.pdf1.4.pdf1.4.pdf1.4.pdf
PPTX
ERROR DETECTION IN DATA COMMUNICATION AND NETWORKING-1.pptx
PPTX
M3 Error detection & correction in data communication.pptx
PPTX
Satellite error detection and correction presentation
PPTX
Coding Scheme/ Information theory/ Error coding scheme
PDF
اسس شبكات الفصل الثاني اسسس الشبكات الفصل الثاني.
PPT
Chapter 10 Error Detection and Correction 267 10.1 INTRODUCTION 267 Types of ...
PPTX
Error detection.
PPT
computer Networks Error Detection and Correction.ppt
PPTX
Error control coding
PPTX
Block coding, error detection (Parity checking, Cyclic redundancy checking (C...
PPTX
Computer_Communication_Networking_L07Data_Link_Error_control.pptx
DOCX
Error dectation and correction
PPT
Skr+3200+chapter+3+(kweh)
PDF
Data links
PPT
13-DataLink_02.ppt
07 Data Link LayerError Control.pdf
Error correction and detection th
Parity check, redundancy, and errors
Error detection and correction
1.4.pdf 1.4.pdf 1.4.pdf1.4.pdf1.4.pdf1.4.pdf
ERROR DETECTION IN DATA COMMUNICATION AND NETWORKING-1.pptx
M3 Error detection & correction in data communication.pptx
Satellite error detection and correction presentation
Coding Scheme/ Information theory/ Error coding scheme
اسس شبكات الفصل الثاني اسسس الشبكات الفصل الثاني.
Chapter 10 Error Detection and Correction 267 10.1 INTRODUCTION 267 Types of ...
Error detection.
computer Networks Error Detection and Correction.ppt
Error control coding
Block coding, error detection (Parity checking, Cyclic redundancy checking (C...
Computer_Communication_Networking_L07Data_Link_Error_control.pptx
Error dectation and correction
Skr+3200+chapter+3+(kweh)
Data links
13-DataLink_02.ppt

More from Rohan Bhatkar (9)

PPTX
Report writing
PPT
Software engineering
PPT
Audio and video streaming
PPTX
Considreation
PPTX
Car lambo
PPTX
Qt random variables notes
PPTX
Operating system windows XP
PPTX
Dcn Networking Between Server And Client Machine
PPTX
Quantitative Techniques random variables
Report writing
Software engineering
Audio and video streaming
Considreation
Car lambo
Qt random variables notes
Operating system windows XP
Dcn Networking Between Server And Client Machine
Quantitative Techniques random variables

Recently uploaded (20)

PDF
Sports Quiz easy sports quiz sports quiz
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
RMMM.pdf make it easy to upload and study
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Pre independence Education in Inndia.pdf
PDF
01-Introduction-to-Information-Management.pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
master seminar digital applications in india
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
GDM (1) (1).pptx small presentation for students
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
Cell Structure & Organelles in detailed.
PDF
Complications of Minimal Access Surgery at WLH
Sports Quiz easy sports quiz sports quiz
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Module 4: Burden of Disease Tutorial Slides S2 2025
RMMM.pdf make it easy to upload and study
Renaissance Architecture: A Journey from Faith to Humanism
102 student loan defaulters named and shamed – Is someone you know on the list?
STATICS OF THE RIGID BODIES Hibbelers.pdf
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Final Presentation General Medicine 03-08-2024.pptx
Pre independence Education in Inndia.pdf
01-Introduction-to-Information-Management.pdf
O7-L3 Supply Chain Operations - ICLT Program
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
master seminar digital applications in india
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
GDM (1) (1).pptx small presentation for students
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Cell Structure & Organelles in detailed.
Complications of Minimal Access Surgery at WLH

DCN Error Detection & Correction

  • 2. Ayushi Jain Mayur Sancheti Rohan Bhatkar Mohammed driver Apeksha Mehta Mohammed Ali Dhaga Yash Rawani
  • 3. Introduction To Error Detection And Correction When a transmission of digital signal takes place between two systems such as computers as shown in given figure. The get contaminated due to the addition of NOISE to it. It is necessary to detect and correct errors because these errors can become a serious threat To the accuracy of the digital system. Binary signal Binary signal contaminated by noise Computer 1 Computer 2 TYPES OF ERRORSThere are two types of errors1.CONTENT ERRORS 2.FLOW INTEGRITY ERRORS The content errors are nothing but errors in the content of a message For e.g. ”0” may Receive as “1“or vice versa. Such errors are introduced due to noise added into the in data signals during its transmission.
  • 4. Types Of Bit Errors 1.SINGLE BIT ERROR 2.BURST ERROR SINGLE BIT ERROR:• The term single bit error suggests that only one bit in the given data unit such as a byte is in a error. • That means only one bit can be change from 1 to 0 or 0 to 1, as shown in the figure. 0 1 1 1 0 0 1 1 Medium Transmitted Byte 0 1 1 1 0 0 1 0 Received Byte Error BURST ERRORS:• If two or more bits from a data unit such as byte change from 1 to 0 or from 0 to 1 then burst errors are said to have occurred. • The length of the burst is measured from the first corrupted bit to the last corrupted bit. Some of the bits in between may not have been corrupted. • Burst errors are illustrated in the given figure. Errors 0 1 1 1 0 0 1 1 Transmitted Byte Medium 0 1 0 1 1 0 0 1 Received Byte
  • 5. Important Definitions Related To Codes CodewordThe Codeword is the encoded block of bits. As already seen it contains message bits & parity or redundant, as shown in given figure. Code word Code rate- Data bits Parity bits The code rate is defined as the Ratio of the number of message bits(k) to the total number of bits(n) in a codeword. Code rate (r) = k n Code efficiencyThe Code efficiency is defined as the ratio as the ratio of message bits to the number of transmitted bits per block. Code efficiency = Code rate = k n
  • 6. Error Detection When a code word is transmitted, one or more number of transmitted bits will be reserved (0 & 1 or vice versa) due to transmission impairments. Thus the errors will be introduced. It is possible for the receiver to detect these errors if the received codeword (corrupted) is not one of the valid codeword's. When the errors are introduced, the distance between the transmitted & received codeword's will be equal to the number of errors as illustrated in given figure. Transmitted code word 10101100 11101011 00100101 Received code word 11101100 01111011 10110001 error error error Number of errors 1 2 3 Distance 1 2 3 Hence to detect the errors at the receiver, the valid codeword's should be separated by a distance of more than 1. Otherwise the incorrect received codeword’s will also become some other valid codeword’s & the error detection will be impossible.
  • 7. Error Detection Methods What is ERROR DECTECTION METHODS? Before thinking of correcting the errors introduced in the data bits is necessary to first detect them. For error detection & correction it is necessary to add some check bit to a block of data bits. These check bits are also known as “Redundant bits” because they do not carry any useful information. Some of the most important error detection methods are as follows1. Parity Checking. 2. Checksum Error Detection. 3. Cyclic Redundancy Check (CRC). Error Detection Methods Parity Checking Checksum Error Detection Cyclic Redundancy Check (CRC)
  • 8. PARITY The simplest technique foe detecting errors is add an extra bit known as PARITY bit to each word being transmitted. As shown in given figure generally the MSB of an 8-bit word is used as the parity bit & the remaining 7 bits are used as data or message bits. MSB P Parity bits LSB d6 d5 d4 d3 d2 d1 d0 7- data bits The parity of the 8-bit transmitted word can be either even parity or odd parity. Even Parity means the number of 1’s in the given word including the parity bit should be even (2,4,6,8,…..). Odd Parity means the number of 1’s in the given word including the parity bit should be odd (1,3,5,7,…..).
  • 9. Two Dimensional Check When a large number of binary words are being transmitted or received in succession, the resulting collection of bits is considered as a block of data, with rows & columns as shown in given figure. The parity bits are produced for each row & column of such block of data. The two sets of parity bits so generated are known as: • Longitudinal Redundancy Check (LRC) bits. • Vertical Redundancy Check (VRC) bits.
  • 10. Cyclic Redundancy Check (CRC) This is a type of polynomial code in which a bit string is represented in the form of polynomials with coefficient of 0 and 1 only Polynomial arithmetic uses a modulo-2 arithmetic i.e. addition and subtraction are identical to EXOR. For CRC code the sender and receiver should agree upon a generator polynomial G(x). A codeword can be generated for a given data word (message) polynomial M(x) with the help of long division. This technique is more powerful than the parity check and checksum error detection. CRC is based on binary division. A sequence of redundant bits called CRC or CRC remainder is appended at the end of a data unit such as byte. The resulting data unit after adding CRC remainder becomes exactly divisible by another predetermined binary number. At the receiver, this data unit is divided by the same binary number. There is no error if this division does not yield any remainder. But a non-zero remainder indicates presence of errors in the received data unit. Such an erroneous data unit is then rejected.
  • 11. Error Correction Technique Codes are generated by adding a group of parity bits or check bits. The source generates the binary data which is accepted by encoder to add the check bits to them to produce the code words. The check bits are used by decoder to detect and correct the errors. Data source Data bits Encoder Decoder Code words Data bits Destination Data bits Check bits The encoder adds check bits to the data bits according to the prescribed rule. Decoder uses parity bits to detect and correct errors after separating data and check bits. The data bits are then applied to the destination.
  • 12. FEC (Forward Error Correction) In FEC the receiver searches for the most likely correct code word. When a Error is detected, the distance between the received invalid code word & all the possible valid code words in measured. The nearest valid code word (the one having minimum distance) is the most likely correct version of the received code word as shown in given figure. Concept of FEC Valid Code Word 1 Distance 1 Received Code Word 11001100 Distance 2 Distance 3 11011100 Valid Code Word 2 11101101 Valid Code Word 3 11110100 In given figure, The valid code word 1 has the minimum distance (1), hence it is the most likely correct code word.
  • 13. CRC Checker The codeword at the receiver of data & CRC. The receiver treats it as one unit & divides it by the same (n+1) bit divider which was used at the transmitter. The reminder of this division is then checked. If the reminder is Zero, then the received codeword is error free & hence should be accepted. Nut non-zero reminder presence of errors hence the corresponding codeword should be rejected. Received Codeword Data CRC Data (n+1) bits If reminder is 0 then no errors. CRC Divisor Reminder
  • 14. ARQ Technique (Retransmission) There are two basic systems of error detection & correction they are •Automatic repeat request (ARQ). •Forward error correction (FEC). In ARQ system when error is detected, a request is made for the retransmission of that signal. The points differs ARQ & FEC are:•In ARQ system less number of check bits (parity bits) are required to be sent. This will increase the (k/n) ratio for an (n,k) block code if transmitted using the ARQ system. •A return transmission path & additional hardware in order to implement repeat transmission of codeword's will be needed. •The bit rate of forward transmission must make allowance for the backward repeat transmission.
  • 15. Block Diagram of the basic ARQ System Feedback channel Message Input Encoder Input buffer & controller Forward Transmission channel Detector Output buffer & Controller Return Transmission channel Feedback path ACK / NAK
  • 16. Operations of ARQ System The encoder produces codeword's for each message signal and its input. Each codeword at the encoder output is stored temporarily and transmitted over the forward transmission channel. At the destination a decoder will decode the code words and look for errors. If decoder doesn’t get a error than it is positive (ACK), and if he gets negative than its negative (NAK). If its NAK than its will return back to “controller” and it will correct the word and pass it back to input buffer. A word can be retransmitted twice or more no of times. The output will be displayed as the errors are being cleared.