SlideShare a Scribd company logo
ERROR DETECTION&ERROR CORRECTION 1 MSRIT INFORMATION SCIENCE
AMAK A-> ANKITA (1MS07IS133) M-> MAYANK (1MS07IS047) A-> ANSHUJ (1MS07IS011) K-> KRISH (1MS07IS038) 2 MSRIT INFORMATION SCIENCE
INTRODUCTION TO ERROR REDUNDANCY CODING ,[object Object]
HAMMING CODE
CYCLIC REDUNDANCY CHECK(CRC)
IMPLEMENTATION OF HAMMING CODETABLE OF CONTENTS: 3 MSRIT INFORMATION SCIENCE
What is an error??? Unpredictable change of bits from 1->0 or 0->1. Types ,[object Object]
Burst error(Multiple)
Redundancy: Correction or detection of errors. INTRODUCTION  4 MSRIT INFORMATION SCIENCE
Forward error correction: Method of Guessing the actual message using the redundant bits. Retransmission: Repeated sending of message until error free. Modulo Arithmetic: ,[object Object]
Modulo 3- Remainder after division can be either 0,1 or 2.. . . ,[object Object],5 MSRIT INFORMATION SCIENCE
Adding :       0+0=0   0+1=1   1+0=1  1+1=0 Subt:           0-0=0   0-1=1   1-0=1   1-1=0 XOR operation: 	    1  0  1  1  0 1  1  1  0  0       0  1  0   1  0 6 MSRIT INFORMATION SCIENCE
CODING: Redundancy is achieved through coding. ,[object Object]
   k bit datawords
   r redundant bits
   n= k+r, n>k,n bit codeword.
   2k total datawords(equal to number of valid         codewords.)
   2n total codewords
   2n -2k invalid codewords7 MSRIT INFORMATION SCIENCE
ERROR DETECTION ,[object Object]
If multiple errors in the codeword result in valid codeword.ERROR CORRECTION ,[object Object]
Need more number of redundant bits than for detection.
Involves error detection as well as finding the position(s) where error has occurred.8 MSRIT INFORMATION SCIENCE
Generation of codewords for each dataword:    C(7,4)       n ,k Codeword is generated by the generator which appends 3 redundant bits at the end of the dataword. Ro =a2 + a1 + a0    Modulo-2 R1= a3 + a2 + a1      Modulo-2 R2= a1+ a0 + a3     Modulo-2 HAMMING CODE GENERATION 9 MSRIT INFORMATION SCIENCE
A CRC CODE WITH C(7,4) 10 MSRIT INFORMATION SCIENCE
checker on the receiver side will generate a 3bit syndrome by the formulae given below:  s0 = b2 + b1 + b0 + q0    modulo-2  s1 = b3 + b2 + b1 + q1     modulo-2  s2 = b1 + b0 + b3 + q2    modulo-2 If the syndrome i.e s2s1s0 is 000 then data is error free…or undetected. Otherwise, received codeword has an error(s). 11 MSRIT INFORMATION SCIENCE
MAGIC TABLE Depending upon the value of syndrome we can find the position of occurrence of error and then the bit position where error has occurred is flipped. 12 MSRIT INFORMATION SCIENCE
CODEWORD NOTATION ON SENDER’S AND RECEIVER’S SIDE a3   a2   a1   a0  R2  R1  R0 b3b2 b1  b0  q2  q1   q0  13 MSRIT INFORMATION SCIENCE
Number of bit change occurring between two codewords. 		0 1 1 1 0 1 0 1 0 1 1 1  1 1         0 1 0 0 1 0 1 The total number of ones is equal to the number of bit changes between two codewords.  HAMMING DISTANCE 14 MSRIT INFORMATION SCIENCE

More Related Content

What's hot

Error Detection N Correction
Error Detection N CorrectionError Detection N Correction
Error Detection N Correction
Ankan Adhikari
 
Digital Communication: Channel Coding
Digital Communication: Channel CodingDigital Communication: Channel Coding
Digital Communication: Channel Coding
Dr. Sanjay M. Gulhane
 
Ch 6 data and computer communicationwilliam stallings
Ch 6 data and computer communicationwilliam stallingsCh 6 data and computer communicationwilliam stallings
Ch 6 data and computer communicationwilliam stallings
bheemsain
 
Chapter 10
Chapter 10Chapter 10
Chapter 10
Faisal Mehmood
 
Error detection and correction
Error detection and correctionError detection and correction
Error detection and correction
Maria Akther
 
Data Link Layer| Error Detection
Data Link Layer| Error DetectionData Link Layer| Error Detection
Data Link Layer| Error Detection
Taimoor Muzaffar Gondal
 
Error Detection and Correction presentation
Error Detection and Correction presentation Error Detection and Correction presentation
Error Detection and Correction presentation
Badrul Alam
 
TWO STAGE NETWORKS
TWO STAGE NETWORKSTWO STAGE NETWORKS
TWO STAGE NETWORKS
AakankshaR
 
Chapter 10: Error Correction and Detection
Chapter 10: Error Correction and DetectionChapter 10: Error Correction and Detection
Chapter 10: Error Correction and Detection
JeoffnaRuth
 
Error detection correction (CRC)
Error detection correction  (CRC)Error detection correction  (CRC)
Error detection correction (CRC)
Karam Munir Butt
 
Linear Block Codes
Linear Block CodesLinear Block Codes
Linear Block Codes
NilaNila16
 
Part 2
Part 2Part 2
Convolutional codes
Convolutional codesConvolutional codes
Convolutional codes
Abdullaziz Tagawy
 
DIGITAL ELECTRONICS- Minimization Technique Karnaugh Map
DIGITAL ELECTRONICS- Minimization TechniqueKarnaugh MapDIGITAL ELECTRONICS- Minimization TechniqueKarnaugh Map
DIGITAL ELECTRONICS- Minimization Technique Karnaugh Map
Trinity Dwarka
 
Satellite error detection and correction presentation
Satellite error detection and correction presentationSatellite error detection and correction presentation
Satellite error detection and correction presentation
AhmedMuhumed2
 
Encoders and decoders
Encoders and decodersEncoders and decoders
Encoders and decoders
Gaditek
 
Karnaugh Map
Karnaugh MapKarnaugh Map
Karnaugh Map
GargiKhanna1
 
Error correction error detection in digital communication
Error correction error detection in digital communicationError correction error detection in digital communication
Error correction error detection in digital communication
swatihalunde
 
Error detection & correction codes
Error detection & correction codesError detection & correction codes
Error detection & correction codes
Revathi Subramaniam
 
Computer Networks - Error Detection & Error Correction
Computer Networks - Error Detection & Error CorrectionComputer Networks - Error Detection & Error Correction
Computer Networks - Error Detection & Error Correction
Saikrishna Tanguturu
 

What's hot (20)

Error Detection N Correction
Error Detection N CorrectionError Detection N Correction
Error Detection N Correction
 
Digital Communication: Channel Coding
Digital Communication: Channel CodingDigital Communication: Channel Coding
Digital Communication: Channel Coding
 
Ch 6 data and computer communicationwilliam stallings
Ch 6 data and computer communicationwilliam stallingsCh 6 data and computer communicationwilliam stallings
Ch 6 data and computer communicationwilliam stallings
 
Chapter 10
Chapter 10Chapter 10
Chapter 10
 
Error detection and correction
Error detection and correctionError detection and correction
Error detection and correction
 
Data Link Layer| Error Detection
Data Link Layer| Error DetectionData Link Layer| Error Detection
Data Link Layer| Error Detection
 
Error Detection and Correction presentation
Error Detection and Correction presentation Error Detection and Correction presentation
Error Detection and Correction presentation
 
TWO STAGE NETWORKS
TWO STAGE NETWORKSTWO STAGE NETWORKS
TWO STAGE NETWORKS
 
Chapter 10: Error Correction and Detection
Chapter 10: Error Correction and DetectionChapter 10: Error Correction and Detection
Chapter 10: Error Correction and Detection
 
Error detection correction (CRC)
Error detection correction  (CRC)Error detection correction  (CRC)
Error detection correction (CRC)
 
Linear Block Codes
Linear Block CodesLinear Block Codes
Linear Block Codes
 
Part 2
Part 2Part 2
Part 2
 
Convolutional codes
Convolutional codesConvolutional codes
Convolutional codes
 
DIGITAL ELECTRONICS- Minimization Technique Karnaugh Map
DIGITAL ELECTRONICS- Minimization TechniqueKarnaugh MapDIGITAL ELECTRONICS- Minimization TechniqueKarnaugh Map
DIGITAL ELECTRONICS- Minimization Technique Karnaugh Map
 
Satellite error detection and correction presentation
Satellite error detection and correction presentationSatellite error detection and correction presentation
Satellite error detection and correction presentation
 
Encoders and decoders
Encoders and decodersEncoders and decoders
Encoders and decoders
 
Karnaugh Map
Karnaugh MapKarnaugh Map
Karnaugh Map
 
Error correction error detection in digital communication
Error correction error detection in digital communicationError correction error detection in digital communication
Error correction error detection in digital communication
 
Error detection & correction codes
Error detection & correction codesError detection & correction codes
Error detection & correction codes
 
Computer Networks - Error Detection & Error Correction
Computer Networks - Error Detection & Error CorrectionComputer Networks - Error Detection & Error Correction
Computer Networks - Error Detection & Error Correction
 

Viewers also liked

Error Detection And Correction
Error Detection And CorrectionError Detection And Correction
Error Detection And Correction
Renu Kewalramani
 
Error detection and correction
Error detection and correctionError detection and correction
Error detection and correction
Siddique Ibrahim
 
Error Detection and Correction - Data link Layer
Error Detection and Correction - Data link LayerError Detection and Correction - Data link Layer
Error Detection and Correction - Data link Layer
Abdullaziz Tagawy
 
Errror Detection and Correction
Errror Detection and CorrectionErrror Detection and Correction
Errror Detection and Correction
Mahesh Kumar Attri
 
Parity check(Error Detecting Codes)
Parity check(Error Detecting Codes)Parity check(Error Detecting Codes)
Parity check(Error Detecting Codes)
Imesha Perera
 
Hypothesis testing ppt final
Hypothesis testing ppt finalHypothesis testing ppt final
Hypothesis testing ppt final
piyushdhaker
 
ASCII-EBCDIC-HEX
ASCII-EBCDIC-HEXASCII-EBCDIC-HEX
ASCII-EBCDIC-HEX
Remo Morettini
 
Ebcdic code 24 1
Ebcdic code 24 1Ebcdic code 24 1
Ebcdic code 24 1
myrajendra
 
Lecture ascii and ebcdic codes
Lecture ascii and ebcdic codesLecture ascii and ebcdic codes
Lecture ascii and ebcdic codes
Yazdan Yousafzai
 
Error control
Error controlError control
Error control
Bhupendra sahu
 
Error detection in Data Communication System
Error detection in Data Communication SystemError detection in Data Communication System
Error detection in Data Communication System
Ishan Sharma
 
Personality and lifestyles consumer behavior
Personality and  lifestyles consumer behaviorPersonality and  lifestyles consumer behavior
Personality and lifestyles consumer behavior
Seçkin Aygül
 
IEEE standards and Data Link Layer Protocol
IEEE standards and Data Link Layer ProtocolIEEE standards and Data Link Layer Protocol
IEEE standards and Data Link Layer Protocol
Sajith Ekanayaka
 
oil gas industry guidelines | Michael Bowen
 oil gas industry guidelines | Michael Bowen oil gas industry guidelines | Michael Bowen
oil gas industry guidelines | Michael Bowen
Michael Bowen oil and gas
 
Hfm intro
Hfm introHfm intro
Hfm intro
Amit Sharma
 
PSY810_KENDRICK_KIM_BIOPSYCHOSOCIAL MODEL FOR THE MIND_PAPER
PSY810_KENDRICK_KIM_BIOPSYCHOSOCIAL MODEL FOR THE MIND_PAPERPSY810_KENDRICK_KIM_BIOPSYCHOSOCIAL MODEL FOR THE MIND_PAPER
PSY810_KENDRICK_KIM_BIOPSYCHOSOCIAL MODEL FOR THE MIND_PAPER
Professor Kendrick Kim
 
Mobile wireless-networks
Mobile wireless-networksMobile wireless-networks
Mobile wireless-networks
Peter R. Egli
 
bowlbys theory of attachment
bowlbys theory of attachmentbowlbys theory of attachment
bowlbys theory of attachment
Silke Force
 
Datalinklayer tanenbaum
Datalinklayer tanenbaumDatalinklayer tanenbaum
Datalinklayer tanenbaum
Mahesh Kumar Chelimilla
 
Intranet 47
Intranet 47Intranet 47
Intranet 47
myrajendra
 

Viewers also liked (20)

Error Detection And Correction
Error Detection And CorrectionError Detection And Correction
Error Detection And Correction
 
Error detection and correction
Error detection and correctionError detection and correction
Error detection and correction
 
Error Detection and Correction - Data link Layer
Error Detection and Correction - Data link LayerError Detection and Correction - Data link Layer
Error Detection and Correction - Data link Layer
 
Errror Detection and Correction
Errror Detection and CorrectionErrror Detection and Correction
Errror Detection and Correction
 
Parity check(Error Detecting Codes)
Parity check(Error Detecting Codes)Parity check(Error Detecting Codes)
Parity check(Error Detecting Codes)
 
Hypothesis testing ppt final
Hypothesis testing ppt finalHypothesis testing ppt final
Hypothesis testing ppt final
 
ASCII-EBCDIC-HEX
ASCII-EBCDIC-HEXASCII-EBCDIC-HEX
ASCII-EBCDIC-HEX
 
Ebcdic code 24 1
Ebcdic code 24 1Ebcdic code 24 1
Ebcdic code 24 1
 
Lecture ascii and ebcdic codes
Lecture ascii and ebcdic codesLecture ascii and ebcdic codes
Lecture ascii and ebcdic codes
 
Error control
Error controlError control
Error control
 
Error detection in Data Communication System
Error detection in Data Communication SystemError detection in Data Communication System
Error detection in Data Communication System
 
Personality and lifestyles consumer behavior
Personality and  lifestyles consumer behaviorPersonality and  lifestyles consumer behavior
Personality and lifestyles consumer behavior
 
IEEE standards and Data Link Layer Protocol
IEEE standards and Data Link Layer ProtocolIEEE standards and Data Link Layer Protocol
IEEE standards and Data Link Layer Protocol
 
oil gas industry guidelines | Michael Bowen
 oil gas industry guidelines | Michael Bowen oil gas industry guidelines | Michael Bowen
oil gas industry guidelines | Michael Bowen
 
Hfm intro
Hfm introHfm intro
Hfm intro
 
PSY810_KENDRICK_KIM_BIOPSYCHOSOCIAL MODEL FOR THE MIND_PAPER
PSY810_KENDRICK_KIM_BIOPSYCHOSOCIAL MODEL FOR THE MIND_PAPERPSY810_KENDRICK_KIM_BIOPSYCHOSOCIAL MODEL FOR THE MIND_PAPER
PSY810_KENDRICK_KIM_BIOPSYCHOSOCIAL MODEL FOR THE MIND_PAPER
 
Mobile wireless-networks
Mobile wireless-networksMobile wireless-networks
Mobile wireless-networks
 
bowlbys theory of attachment
bowlbys theory of attachmentbowlbys theory of attachment
bowlbys theory of attachment
 
Datalinklayer tanenbaum
Datalinklayer tanenbaumDatalinklayer tanenbaum
Datalinklayer tanenbaum
 
Intranet 47
Intranet 47Intranet 47
Intranet 47
 

Similar to GROUP03_AMAK:ERROR DETECTION AND CORRECTION PPT

13-DataLink_02.ppt
13-DataLink_02.ppt13-DataLink_02.ppt
13-DataLink_02.ppt
WinterSnow16
 
Data links
Data links Data links
Data links
EshaAfzal5
 
lect5.ppt
lect5.pptlect5.ppt
lect5.ppt
DrDeepakBhatia
 
Error Detection and correction concepts in Data communication and networks
Error Detection and correction concepts in Data communication and networksError Detection and correction concepts in Data communication and networks
Error Detection and correction concepts in Data communication and networks
Nt Arvind
 
Encoder for (7,3) cyclic code using matlab
Encoder for (7,3) cyclic code using matlabEncoder for (7,3) cyclic code using matlab
Encoder for (7,3) cyclic code using matlab
SneheshDutta
 
5. Error Coding
5. Error Coding5. Error Coding
5. Error Coding
Napier University
 
CRC implementation
CRC implementation CRC implementation
CRC implementation
ajay singh
 
BCH Codes
BCH CodesBCH Codes
BCH Codes
AakankshaR
 
Error detection.
Error detection.Error detection.
Error detection.
Wasim Akbar
 
4_Datalink__Error_Detection_and Correction.pdf
4_Datalink__Error_Detection_and Correction.pdf4_Datalink__Error_Detection_and Correction.pdf
4_Datalink__Error_Detection_and Correction.pdf
kenilpatel65
 
5 linear block codes
5 linear block codes5 linear block codes
5 linear block codes
Jagruti_Ingale
 
error control coding
error control coding error control coding
error control coding
Suhad Malayshi
 
Oth1
Oth1Oth1
Oth1
b137
 
Ch3 datalink
Ch3 datalinkCh3 datalink
Ch3 datalink
Ramesh Kumar
 
The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)
theijes
 
Channel Coding (Error Control Coding)
Channel Coding (Error Control Coding)Channel Coding (Error Control Coding)
Channel Coding (Error Control Coding)
Ola Mashaqi @ an-najah national university
 
Chapter 10
Chapter 10Chapter 10
Chapter 10
bheemsain
 
N byte error detecting and correcting code using reedsolomon
N byte error detecting and correcting code using reedsolomonN byte error detecting and correcting code using reedsolomon
N byte error detecting and correcting code using reedsolomon
eSAT Publishing House
 
N byte error detecting and correcting code using reed-solomon and cellular au...
N byte error detecting and correcting code using reed-solomon and cellular au...N byte error detecting and correcting code using reed-solomon and cellular au...
N byte error detecting and correcting code using reed-solomon and cellular au...
eSAT Journals
 
New error-detection
New error-detectionNew error-detection
New error-detection
Nitesh Singh
 

Similar to GROUP03_AMAK:ERROR DETECTION AND CORRECTION PPT (20)

13-DataLink_02.ppt
13-DataLink_02.ppt13-DataLink_02.ppt
13-DataLink_02.ppt
 
Data links
Data links Data links
Data links
 
lect5.ppt
lect5.pptlect5.ppt
lect5.ppt
 
Error Detection and correction concepts in Data communication and networks
Error Detection and correction concepts in Data communication and networksError Detection and correction concepts in Data communication and networks
Error Detection and correction concepts in Data communication and networks
 
Encoder for (7,3) cyclic code using matlab
Encoder for (7,3) cyclic code using matlabEncoder for (7,3) cyclic code using matlab
Encoder for (7,3) cyclic code using matlab
 
5. Error Coding
5. Error Coding5. Error Coding
5. Error Coding
 
CRC implementation
CRC implementation CRC implementation
CRC implementation
 
BCH Codes
BCH CodesBCH Codes
BCH Codes
 
Error detection.
Error detection.Error detection.
Error detection.
 
4_Datalink__Error_Detection_and Correction.pdf
4_Datalink__Error_Detection_and Correction.pdf4_Datalink__Error_Detection_and Correction.pdf
4_Datalink__Error_Detection_and Correction.pdf
 
5 linear block codes
5 linear block codes5 linear block codes
5 linear block codes
 
error control coding
error control coding error control coding
error control coding
 
Oth1
Oth1Oth1
Oth1
 
Ch3 datalink
Ch3 datalinkCh3 datalink
Ch3 datalink
 
The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)
 
Channel Coding (Error Control Coding)
Channel Coding (Error Control Coding)Channel Coding (Error Control Coding)
Channel Coding (Error Control Coding)
 
Chapter 10
Chapter 10Chapter 10
Chapter 10
 
N byte error detecting and correcting code using reedsolomon
N byte error detecting and correcting code using reedsolomonN byte error detecting and correcting code using reedsolomon
N byte error detecting and correcting code using reedsolomon
 
N byte error detecting and correcting code using reed-solomon and cellular au...
N byte error detecting and correcting code using reed-solomon and cellular au...N byte error detecting and correcting code using reed-solomon and cellular au...
N byte error detecting and correcting code using reed-solomon and cellular au...
 
New error-detection
New error-detectionNew error-detection
New error-detection
 

Recently uploaded

Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
PsychoTech Services
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
imrankhan141184
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
EduSkills OECD
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
IGCSE Biology Chapter 14- Reproduction in Plants.pdf
IGCSE Biology Chapter 14- Reproduction in Plants.pdfIGCSE Biology Chapter 14- Reproduction in Plants.pdf
IGCSE Biology Chapter 14- Reproduction in Plants.pdf
Amin Marwan
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47
MysoreMuleSoftMeetup
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
HajraNaeem15
 
ZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptxZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptx
dot55audits
 
Constructing Your Course Container for Effective Communication
Constructing Your Course Container for Effective CommunicationConstructing Your Course Container for Effective Communication
Constructing Your Course Container for Effective Communication
Chevonnese Chevers Whyte, MBA, B.Sc.
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
MJDuyan
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
 
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Leena Ghag-Sakpal
 

Recently uploaded (20)

Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
IGCSE Biology Chapter 14- Reproduction in Plants.pdf
IGCSE Biology Chapter 14- Reproduction in Plants.pdfIGCSE Biology Chapter 14- Reproduction in Plants.pdf
IGCSE Biology Chapter 14- Reproduction in Plants.pdf
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
 
ZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptxZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptx
 
Constructing Your Course Container for Effective Communication
Constructing Your Course Container for Effective CommunicationConstructing Your Course Container for Effective Communication
Constructing Your Course Container for Effective Communication
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
 
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
 

GROUP03_AMAK:ERROR DETECTION AND CORRECTION PPT

  • 1. ERROR DETECTION&ERROR CORRECTION 1 MSRIT INFORMATION SCIENCE
  • 2. AMAK A-> ANKITA (1MS07IS133) M-> MAYANK (1MS07IS047) A-> ANSHUJ (1MS07IS011) K-> KRISH (1MS07IS038) 2 MSRIT INFORMATION SCIENCE
  • 3.
  • 6. IMPLEMENTATION OF HAMMING CODETABLE OF CONTENTS: 3 MSRIT INFORMATION SCIENCE
  • 7.
  • 9. Redundancy: Correction or detection of errors. INTRODUCTION 4 MSRIT INFORMATION SCIENCE
  • 10.
  • 11.
  • 12. Adding : 0+0=0 0+1=1 1+0=1 1+1=0 Subt: 0-0=0 0-1=1 1-0=1 1-1=0 XOR operation: 1 0 1 1 0 1 1 1 0 0 0 1 0 1 0 6 MSRIT INFORMATION SCIENCE
  • 13.
  • 14. k bit datawords
  • 15. r redundant bits
  • 16. n= k+r, n>k,n bit codeword.
  • 17. 2k total datawords(equal to number of valid codewords.)
  • 18. 2n total codewords
  • 19. 2n -2k invalid codewords7 MSRIT INFORMATION SCIENCE
  • 20.
  • 21.
  • 22. Need more number of redundant bits than for detection.
  • 23. Involves error detection as well as finding the position(s) where error has occurred.8 MSRIT INFORMATION SCIENCE
  • 24. Generation of codewords for each dataword: C(7,4) n ,k Codeword is generated by the generator which appends 3 redundant bits at the end of the dataword. Ro =a2 + a1 + a0 Modulo-2 R1= a3 + a2 + a1 Modulo-2 R2= a1+ a0 + a3 Modulo-2 HAMMING CODE GENERATION 9 MSRIT INFORMATION SCIENCE
  • 25. A CRC CODE WITH C(7,4) 10 MSRIT INFORMATION SCIENCE
  • 26. checker on the receiver side will generate a 3bit syndrome by the formulae given below: s0 = b2 + b1 + b0 + q0 modulo-2 s1 = b3 + b2 + b1 + q1 modulo-2 s2 = b1 + b0 + b3 + q2 modulo-2 If the syndrome i.e s2s1s0 is 000 then data is error free…or undetected. Otherwise, received codeword has an error(s). 11 MSRIT INFORMATION SCIENCE
  • 27. MAGIC TABLE Depending upon the value of syndrome we can find the position of occurrence of error and then the bit position where error has occurred is flipped. 12 MSRIT INFORMATION SCIENCE
  • 28. CODEWORD NOTATION ON SENDER’S AND RECEIVER’S SIDE a3 a2 a1 a0 R2 R1 R0 b3b2 b1 b0 q2 q1 q0 13 MSRIT INFORMATION SCIENCE
  • 29. Number of bit change occurring between two codewords. 0 1 1 1 0 1 0 1 0 1 1 1 1 1 0 1 0 0 1 0 1 The total number of ones is equal to the number of bit changes between two codewords. HAMMING DISTANCE 14 MSRIT INFORMATION SCIENCE
  • 30. Smallest Hamming Distance between all sets of codewords. Ex- d(0000000,0001101) = 3 d(0001100,0111001) = 4 d(0110100,0111001) =3 d(11111111,0000000) =7…. & so on.. Dmin= 3 for the above set of codewords. MINIMUM HAMMING DISTANCE 15 MSRIT INFORMATION SCIENCE
  • 31. Suppose ‘s’ errors are to be detected, then dmin should be s+1. for the example taken, it can detect upto a maximum of 2 errors. Suppose ‘t’ errors are to be corrected, then the dmin should be 2t+1. in the above example, it can correct upto only 1 error. 16 MSRIT INFORMATION SCIENCE
  • 32. Linear block code? Linear block code with an extra property: code word is cyclically rotated that generates another codeword. 1010110 is a codeword on rotating 0101101 which is another codeword. CYCLIC CODE 17 MSRIT INFORMATION SCIENCE
  • 33. Type of linear block code which only detects errors. Its computation resembles a long division operation in which the quotient is discarded and the remainder becomes the result. CYCLIC REDUNDANCY CHECK(CRC) 18 MSRIT INFORMATION SCIENCE
  • 34. CRC ENCODER AND DECODER 19 MSRIT INFORMATION SCIENCE
  • 35. Encoder on sender’s side generates codeword. Dataword size is k bits. Desired codeword is n bits. Augment dataword by appending n-k 0’s. Divisor (predefined) of size n-k+1, divides augmented dataword in generator. Obtained remainder is appended to dataword. 20 MSRIT INFORMATION SCIENCE
  • 36. The generated codeword is sent to receiver via some transmission medium. Decoder on receiver’s side checks for errors. The checker divides the codeword by the same divisor. This generates a remainder which is called a syndrome. If the syndrome is 0 then there is no error or the error is undetected. If syndrome is non zero, error has been detected and data is discarded. 21 MSRIT INFORMATION SCIENCE
  • 37. Cyclic codes can be represented using polynomials. Special polynomials in which co-efficient can be either 0 or 1. The bit position of dataword indicates power of the polynomial. Ex:- 1 0 0 1 1 0 1 1 x7 x6 x5 x4 x3 x2 x1 x0 equivalent polynomial expression x7+x4+x3+x+1. POLYNOMIAL REPRESENTATION 22 MSRIT INFORMATION SCIENCE
  • 38. The given dataword can be represented in polynomial terms. Multiply the dataword with xn-kto generate augmented dataword. The augmented dataword is divided by the generator polynomial g(x) and the resulting remainder is added to the augmented dataword. Note in division when we subtract we actually perform XOR operation. CODEWORD GENERATION 23 MSRIT INFORMATION SCIENCE
  • 39. The divisor on the receiving side divides the received code word and generates a remainder. Remainder is also called as a syndrome. If the syndrome generated is 0 then there is no error in transmission or undetected error. Non zero syndrome means that error has been detected. No error correction is possible using CRC. ERROR DETECTION 24 MSRIT INFORMATION SCIENCE
  • 40.
  • 41.
  • 42. To catch error of 1+xt the generator polynomial should not divide 1+xt for 0
  • 43. Odd number of errorsGenerator polynomial should be a factor of x+1. 26 MSRIT INFORMATION SCIENCE
  • 44. Polynomial should contain more than one term. Polynomial should have the x0 term equal to 1. Polynomial should contain x+1 as a factor. Polynomial should not divide 1+xt for 0<t<n-1. PROPERTIES OF GOOD GENERATOR POLYNOMIAL 27 MSRIT INFORMATION SCIENCE
  • 45.
  • 46.