SlideShare a Scribd company logo
Implementation of Reed Solomon
Codes
Guided by:
Mr. Madhusudan Singh
Assistant Professor NIT Nagaland
Submitted by:
Mukesh Kumar
Ram Singh Yadav
Contents
 Objective
 Introduction
 Error Detection Schemes
 Classification of Forward Error Correction Codes
 Comparison between some Forward Error Detection Techniques
 Reed Solomon Code
 RS Encoding and Decoding
 Conclusion
 Reference
Objective
 To Implement Reed Solomon error correcting
codes by designing an efficient encoder and decoder for Reed
Solomon Codes. This can be done by programming using MATLAB.
INTRODUCTION

Data Data
Source Communication Sink
Channel
Noisy Channel
Transmitter Reciever
Complete Diagram of Communication System
Error Control Mechanism
Forward Error Control Automatic Repeat Request
(FEC) (ARQ)
FEC :
Channel Recovered
Data __ . . . __ MessageEncoder
Error
Detection
Error
Correction
Decoder
Types of FEC :
- Block Codes
- Convolutional Codes
ARQ :
Data . . . . . .>. . . . . Data
. . . . < . . . . . .
ACK
Encoder
Error
detection Decoder
Linear Block Codes
 The parity bits of linear block codes are linear combination of the message.
 Linearity:
where m is a k-bit information sequence
c is an n-bit codeword.
is a bit-by-bit mod-2 addition without carry
 Linear code: The sum of any two code words is a codeword.
then
andIf
2121
2211
ccmm
cmcm


Error Detection Schemes
 Repetition scheme
 Parity scheme
 Checksum Scheme
 Cyclic Redundancy Check scheme
 Polarity scheme
Classification of Forward Error Correction
Codes
 Linear Vs Non linear
 Cyclic Vs Non-Cyclic
 Systematic Vs Nonsystematic
 Block Vs convolutional
 Binary Vs Non binary
Comparison between some Forward Error Detection
Techniques
 Hamming Code
 Constant weight code
 Low Density Parity check code
 Turbo Code
 Reed Solomon Code
Reed Solomon Codes
 Reed Solomon code is a linear cyclic systematic non-binary
block code.
 RS codes operate on the information by dividing the
message stream into blocks of data, adding redundancy per
block depending only on the current inputs.
It is capable to correct both burst errors and erasures.
RS codes are generally represented as an RS (n, k), with m-bit symbols, where
Block Length: n
No. of Original Message symbols: k
Number of Parity Digits: n - k = 2t
The relationship between the symbol size, m, and the size of the codeword n, is given by
n=2^m-1
k 2t
n
Data Parity
Example:-
A popular Reed-Solomon code is RS(255,223) with 8-bit symbols.
Each codeword contains 255 code word bytes, of which 223 bytes are data
and 32 bytes are parity. For this code:
n = 255, k = 223, s = 8
2t = 32, t = 16
 The decoder can correct any 16 symbol errors in the code word: i.e. errors
in upto 16 bytes anywhere in the codeword can be automatically
corrected.
Reed Solomon Encoding
 A generator polynomial is generated.
 Message signal is multiplied with generator polynomial.
Reed Solomon Decoding
 RS decoding is done in four levels.
 Syndrome calculation --It tells us whether an error has occurred
during the transmission of data.
 The second step includes error location which tells us where the
error is present.
 The third is to calculate magnitude of error.
 Forth one is the error evaluation which corrects the error.
Advantage of Reed Solomon Code
 Reed-Solomon codes are most widely used to correcting burst
errors.
 coding gain is very high and less then LDPC and TURBO codes.
coding gain is the measure in the difference between the signal-to-noise
ratio (SNR) levels between the uncoded system and coded system needed to
achieve a given Bit Error Probability.
 the coding rate is very high for Reed Solomon code so it is suitable
for many applications including storage and transmission.
Coding Rate=k/n
Application of Reed Solomon Code
 Storage devices (including tape, Compact Disk, DVD etc)
 Wireless or mobile communications ( cellular telephones, microwave
links, etc)
 Satellite communications
 Digital television
Conclusion
References
 International Journal of Future Computer and Communication, Vol.
3, No. 1, February 2014 by Aqib Al Azad.
 B.P. Lathi “Modern Digital and Analog Communication System” ,
third Edition.
 S. B. Wicker and V. K. Bhargava; “Reed Solomon Codes and
Their Applications“, Piscataway, NJ: IEEE Press, 1994.
 http://www.cs.cmu.edu/~guyb/realworld/reedsolomon/reed_solom
on_codes
 http://en.wikipedia.org/wiki/Reed%E2%80%93Solomon_error_correct
ion

More Related Content

What's hot

Hamming codes
Hamming codesHamming codes
Hamming codes
GIGI JOSEPH
 
Turbo Code
Turbo Code Turbo Code
Turbo Code
SudhanshuSaini5
 
Convolution codes and turbo codes
Convolution codes and turbo codesConvolution codes and turbo codes
Convolution codes and turbo codesManish Srivastava
 
Turbo codes
Turbo codesTurbo codes
Turbo codes
RAVINDRA GAIKWAD
 
Block coding, error detection (Parity checking, Cyclic redundancy checking (C...
Block coding, error detection (Parity checking, Cyclic redundancy checking (C...Block coding, error detection (Parity checking, Cyclic redundancy checking (C...
Block coding, error detection (Parity checking, Cyclic redundancy checking (C...
Paulo_Vangui
 
Channel Coding (Digital communication)
Channel Coding (Digital communication)Channel Coding (Digital communication)
Channel Coding (Digital communication)
VARUN KUMAR
 
Wavelength division multiplexing
Wavelength division multiplexingWavelength division multiplexing
Wavelength division multiplexing
Nalin Dubey
 
Data Communication & Computer Networks:Digital Signal Encoding
Data Communication & Computer Networks:Digital Signal EncodingData Communication & Computer Networks:Digital Signal Encoding
Data Communication & Computer Networks:Digital Signal Encoding
Dr Rajiv Srivastava
 
AODV (adhoc ondemand distance vector routing)
AODV (adhoc ondemand distance vector routing) AODV (adhoc ondemand distance vector routing)
AODV (adhoc ondemand distance vector routing)
ArunChokkalingam
 
Convolutional Codes And Their Decoding
Convolutional Codes And Their DecodingConvolutional Codes And Their Decoding
Convolutional Codes And Their Decoding
Kakali Saharia
 
Basics of channel coding
Basics of channel codingBasics of channel coding
Basics of channel coding
DrAimalKhan
 
IS-95 Cdma
IS-95 CdmaIS-95 Cdma
IS-95 Cdma
yogesh singh
 
Line Coding.pptx
Line Coding.pptxLine Coding.pptx
Line Coding.pptx
vishal choudhary
 
Distance vector routing
Distance vector routingDistance vector routing
Distance vector routing
Siddique Ibrahim
 
BCH Codes
BCH CodesBCH Codes
BCH Codes
AakankshaR
 
Linear block coding
Linear block codingLinear block coding
Linear block coding
jknm
 

What's hot (20)

Hamming codes
Hamming codesHamming codes
Hamming codes
 
Turbo Code
Turbo Code Turbo Code
Turbo Code
 
Turbo code
Turbo codeTurbo code
Turbo code
 
Convolution codes and turbo codes
Convolution codes and turbo codesConvolution codes and turbo codes
Convolution codes and turbo codes
 
Convolution Codes
Convolution CodesConvolution Codes
Convolution Codes
 
Turbo codes
Turbo codesTurbo codes
Turbo codes
 
Block coding, error detection (Parity checking, Cyclic redundancy checking (C...
Block coding, error detection (Parity checking, Cyclic redundancy checking (C...Block coding, error detection (Parity checking, Cyclic redundancy checking (C...
Block coding, error detection (Parity checking, Cyclic redundancy checking (C...
 
SDH Frame Structure
SDH Frame StructureSDH Frame Structure
SDH Frame Structure
 
Channel Coding (Digital communication)
Channel Coding (Digital communication)Channel Coding (Digital communication)
Channel Coding (Digital communication)
 
error control coding
error control coding error control coding
error control coding
 
Wavelength division multiplexing
Wavelength division multiplexingWavelength division multiplexing
Wavelength division multiplexing
 
Data Communication & Computer Networks:Digital Signal Encoding
Data Communication & Computer Networks:Digital Signal EncodingData Communication & Computer Networks:Digital Signal Encoding
Data Communication & Computer Networks:Digital Signal Encoding
 
AODV (adhoc ondemand distance vector routing)
AODV (adhoc ondemand distance vector routing) AODV (adhoc ondemand distance vector routing)
AODV (adhoc ondemand distance vector routing)
 
Convolutional Codes And Their Decoding
Convolutional Codes And Their DecodingConvolutional Codes And Their Decoding
Convolutional Codes And Their Decoding
 
Basics of channel coding
Basics of channel codingBasics of channel coding
Basics of channel coding
 
IS-95 Cdma
IS-95 CdmaIS-95 Cdma
IS-95 Cdma
 
Line Coding.pptx
Line Coding.pptxLine Coding.pptx
Line Coding.pptx
 
Distance vector routing
Distance vector routingDistance vector routing
Distance vector routing
 
BCH Codes
BCH CodesBCH Codes
BCH Codes
 
Linear block coding
Linear block codingLinear block coding
Linear block coding
 

Viewers also liked

Reed Solomon Code
Reed Solomon CodeReed Solomon Code
Reed Solomon Code
adi234
 
Reed solomon code
Reed solomon codeReed solomon code
Reed solomon codeundeed
 
Error control coding bch, reed-solomon etc..
Error control coding   bch, reed-solomon etc..Error control coding   bch, reed-solomon etc..
Error control coding bch, reed-solomon etc..
Madhumita Tamhane
 
Reed Solomon Frame Structures Revealed
Reed Solomon Frame Structures RevealedReed Solomon Frame Structures Revealed
Reed Solomon Frame Structures Revealed
David Alan Tyner
 
Bch codes
Bch codesBch codes
Bch codes
Gaurav Thakur
 
FEC-Forward Error Correction for Optics Professionals..www.mapyourtech.com
FEC-Forward Error Correction for Optics Professionals..www.mapyourtech.comFEC-Forward Error Correction for Optics Professionals..www.mapyourtech.com
FEC-Forward Error Correction for Optics Professionals..www.mapyourtech.com
MapYourTech
 
Rs(n,k)exploring n and k in reed solomon fec code
Rs(n,k)exploring n and k in reed solomon fec codeRs(n,k)exploring n and k in reed solomon fec code
Rs(n,k)exploring n and k in reed solomon fec code
MapYourTech
 
Preference of Efficient Architectures for GF(p) Elliptic Curve Crypto Operati...
Preference of Efficient Architectures for GF(p) Elliptic Curve Crypto Operati...Preference of Efficient Architectures for GF(p) Elliptic Curve Crypto Operati...
Preference of Efficient Architectures for GF(p) Elliptic Curve Crypto Operati...
CSCJournals
 
Clock Skew 1
Clock Skew 1Clock Skew 1
Clock Skew 1
rchovatiya
 
Query optimization: from 0 to 10 (and up to 5.7)
Query optimization: from 0 to 10 (and up to 5.7)Query optimization: from 0 to 10 (and up to 5.7)
Query optimization: from 0 to 10 (and up to 5.7)
Jaime Crespo
 
Bch codes
Bch codesBch codes
Bch codes
Hirwanto Iwan
 
Econ315 Money and Banking: Learning Unit 14: Stock market Analysis
Econ315 Money and Banking: Learning Unit 14: Stock market Analysis Econ315 Money and Banking: Learning Unit 14: Stock market Analysis
Econ315 Money and Banking: Learning Unit 14: Stock market Analysis
sakanor
 
7 convolutional codes
7 convolutional codes7 convolutional codes
7 convolutional codes
Varun Raj
 
Basic galois field arithmatics required for error control codes
Basic galois field arithmatics required for error control codesBasic galois field arithmatics required for error control codes
Basic galois field arithmatics required for error control codes
Madhumita Tamhane
 

Viewers also liked (20)

Reed Solomon Code
Reed Solomon CodeReed Solomon Code
Reed Solomon Code
 
Reed solomon code
Reed solomon codeReed solomon code
Reed solomon code
 
Reed Solomon
Reed SolomonReed Solomon
Reed Solomon
 
Error control coding bch, reed-solomon etc..
Error control coding   bch, reed-solomon etc..Error control coding   bch, reed-solomon etc..
Error control coding bch, reed-solomon etc..
 
IntrRSCode
IntrRSCodeIntrRSCode
IntrRSCode
 
Reed Solomon Frame Structures Revealed
Reed Solomon Frame Structures RevealedReed Solomon Frame Structures Revealed
Reed Solomon Frame Structures Revealed
 
Bch codes
Bch codesBch codes
Bch codes
 
Chapter 03 cyclic codes
Chapter 03   cyclic codesChapter 03   cyclic codes
Chapter 03 cyclic codes
 
FEC-Forward Error Correction for Optics Professionals..www.mapyourtech.com
FEC-Forward Error Correction for Optics Professionals..www.mapyourtech.comFEC-Forward Error Correction for Optics Professionals..www.mapyourtech.com
FEC-Forward Error Correction for Optics Professionals..www.mapyourtech.com
 
Rs(n,k)exploring n and k in reed solomon fec code
Rs(n,k)exploring n and k in reed solomon fec codeRs(n,k)exploring n and k in reed solomon fec code
Rs(n,k)exploring n and k in reed solomon fec code
 
Preference of Efficient Architectures for GF(p) Elliptic Curve Crypto Operati...
Preference of Efficient Architectures for GF(p) Elliptic Curve Crypto Operati...Preference of Efficient Architectures for GF(p) Elliptic Curve Crypto Operati...
Preference of Efficient Architectures for GF(p) Elliptic Curve Crypto Operati...
 
Clock Skew 1
Clock Skew 1Clock Skew 1
Clock Skew 1
 
Presentation
PresentationPresentation
Presentation
 
Query optimization: from 0 to 10 (and up to 5.7)
Query optimization: from 0 to 10 (and up to 5.7)Query optimization: from 0 to 10 (and up to 5.7)
Query optimization: from 0 to 10 (and up to 5.7)
 
Bch codes
Bch codesBch codes
Bch codes
 
nested-kvm
nested-kvmnested-kvm
nested-kvm
 
I Tlecture 13a
I Tlecture 13aI Tlecture 13a
I Tlecture 13a
 
Econ315 Money and Banking: Learning Unit 14: Stock market Analysis
Econ315 Money and Banking: Learning Unit 14: Stock market Analysis Econ315 Money and Banking: Learning Unit 14: Stock market Analysis
Econ315 Money and Banking: Learning Unit 14: Stock market Analysis
 
7 convolutional codes
7 convolutional codes7 convolutional codes
7 convolutional codes
 
Basic galois field arithmatics required for error control codes
Basic galois field arithmatics required for error control codesBasic galois field arithmatics required for error control codes
Basic galois field arithmatics required for error control codes
 

Similar to Implementation of reed solomon codes basics

Reed Solomon Coding For Error Detection and Correction
Reed Solomon Coding For Error Detection and CorrectionReed Solomon Coding For Error Detection and Correction
Reed Solomon Coding For Error Detection and Correction
inventionjournals
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
ijceronline
 
Performance Comparision of Coded and Un-Coded OFDM for Different Fic Code
Performance Comparision of Coded and Un-Coded OFDM for Different Fic CodePerformance Comparision of Coded and Un-Coded OFDM for Different Fic Code
Performance Comparision of Coded and Un-Coded OFDM for Different Fic Code
IJERA Editor
 
C04922125
C04922125C04922125
C04922125
IOSR-JEN
 
02 ldpc bit flipping_decoding_dark knight
02 ldpc bit flipping_decoding_dark knight02 ldpc bit flipping_decoding_dark knight
02 ldpc bit flipping_decoding_dark knight
Devanshi Piprottar
 
Survey on Error Control Coding Techniques
Survey on Error Control Coding TechniquesSurvey on Error Control Coding Techniques
Survey on Error Control Coding Techniques
IJTET Journal
 
The Reliability in Decoding of Turbo Codes for Wireless Communications
The Reliability in Decoding of Turbo Codes for Wireless CommunicationsThe Reliability in Decoding of Turbo Codes for Wireless Communications
The Reliability in Decoding of Turbo Codes for Wireless Communications
IJMER
 
Paper id 312201514
Paper id 312201514Paper id 312201514
Paper id 312201514
IJRAT
 
Performance Study of RS (255, 239) and RS (255.233) Used Respectively in DVB-...
Performance Study of RS (255, 239) and RS (255.233) Used Respectively in DVB-...Performance Study of RS (255, 239) and RS (255.233) Used Respectively in DVB-...
Performance Study of RS (255, 239) and RS (255.233) Used Respectively in DVB-...
IJERA Editor
 
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
 
Hossein Taghavi : Codes on Graphs
Hossein Taghavi : Codes on GraphsHossein Taghavi : Codes on Graphs
Hossein Taghavi : Codes on Graphs
knowdiff
 
Analysis of Error Correcting Code Algorithms used in WiMax Communications
Analysis of Error Correcting Code Algorithms used in WiMax CommunicationsAnalysis of Error Correcting Code Algorithms used in WiMax Communications
Analysis of Error Correcting Code Algorithms used in WiMax CommunicationsWilliam Chipman
 
PERFORMANCE ESTIMATION OF LDPC CODE SUING SUM PRODUCT ALGORITHM AND BIT FLIPP...
PERFORMANCE ESTIMATION OF LDPC CODE SUING SUM PRODUCT ALGORITHM AND BIT FLIPP...PERFORMANCE ESTIMATION OF LDPC CODE SUING SUM PRODUCT ALGORITHM AND BIT FLIPP...
PERFORMANCE ESTIMATION OF LDPC CODE SUING SUM PRODUCT ALGORITHM AND BIT FLIPP...
Journal For Research
 
Ldpc based error correction
Ldpc based error correctionLdpc based error correction
Ldpc based error correction
Vijay Balaji
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
IJERD Editor
 
Combining cryptography with channel coding to reduce complicity
Combining cryptography with channel coding to reduce complicityCombining cryptography with channel coding to reduce complicity
Combining cryptography with channel coding to reduce complicityIAEME Publication
 
Turbo Codes
Turbo CodesTurbo Codes
Turbo Codes
vasanth_mtech
 
LDPC Encoding and Hamming Encoding
LDPC Encoding and Hamming EncodingLDPC Encoding and Hamming Encoding
LDPC Encoding and Hamming Encoding
Bhagwat Singh Rathore
 
Iisrt jona priyaa(1 5)
Iisrt jona priyaa(1 5)Iisrt jona priyaa(1 5)
Iisrt jona priyaa(1 5)IISRT
 
Belief Propagation Decoder for LDPC Codes Based on VLSI Implementation
Belief Propagation Decoder for LDPC Codes Based on VLSI ImplementationBelief Propagation Decoder for LDPC Codes Based on VLSI Implementation
Belief Propagation Decoder for LDPC Codes Based on VLSI Implementation
inventionjournals
 

Similar to Implementation of reed solomon codes basics (20)

Reed Solomon Coding For Error Detection and Correction
Reed Solomon Coding For Error Detection and CorrectionReed Solomon Coding For Error Detection and Correction
Reed Solomon Coding For Error Detection and Correction
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
 
Performance Comparision of Coded and Un-Coded OFDM for Different Fic Code
Performance Comparision of Coded and Un-Coded OFDM for Different Fic CodePerformance Comparision of Coded and Un-Coded OFDM for Different Fic Code
Performance Comparision of Coded and Un-Coded OFDM for Different Fic Code
 
C04922125
C04922125C04922125
C04922125
 
02 ldpc bit flipping_decoding_dark knight
02 ldpc bit flipping_decoding_dark knight02 ldpc bit flipping_decoding_dark knight
02 ldpc bit flipping_decoding_dark knight
 
Survey on Error Control Coding Techniques
Survey on Error Control Coding TechniquesSurvey on Error Control Coding Techniques
Survey on Error Control Coding Techniques
 
The Reliability in Decoding of Turbo Codes for Wireless Communications
The Reliability in Decoding of Turbo Codes for Wireless CommunicationsThe Reliability in Decoding of Turbo Codes for Wireless Communications
The Reliability in Decoding of Turbo Codes for Wireless Communications
 
Paper id 312201514
Paper id 312201514Paper id 312201514
Paper id 312201514
 
Performance Study of RS (255, 239) and RS (255.233) Used Respectively in DVB-...
Performance Study of RS (255, 239) and RS (255.233) Used Respectively in DVB-...Performance Study of RS (255, 239) and RS (255.233) Used Respectively in DVB-...
Performance Study of RS (255, 239) and RS (255.233) Used Respectively in DVB-...
 
Channel Coding (Error Control Coding)
Channel Coding (Error Control Coding)Channel Coding (Error Control Coding)
Channel Coding (Error Control Coding)
 
Hossein Taghavi : Codes on Graphs
Hossein Taghavi : Codes on GraphsHossein Taghavi : Codes on Graphs
Hossein Taghavi : Codes on Graphs
 
Analysis of Error Correcting Code Algorithms used in WiMax Communications
Analysis of Error Correcting Code Algorithms used in WiMax CommunicationsAnalysis of Error Correcting Code Algorithms used in WiMax Communications
Analysis of Error Correcting Code Algorithms used in WiMax Communications
 
PERFORMANCE ESTIMATION OF LDPC CODE SUING SUM PRODUCT ALGORITHM AND BIT FLIPP...
PERFORMANCE ESTIMATION OF LDPC CODE SUING SUM PRODUCT ALGORITHM AND BIT FLIPP...PERFORMANCE ESTIMATION OF LDPC CODE SUING SUM PRODUCT ALGORITHM AND BIT FLIPP...
PERFORMANCE ESTIMATION OF LDPC CODE SUING SUM PRODUCT ALGORITHM AND BIT FLIPP...
 
Ldpc based error correction
Ldpc based error correctionLdpc based error correction
Ldpc based error correction
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
 
Combining cryptography with channel coding to reduce complicity
Combining cryptography with channel coding to reduce complicityCombining cryptography with channel coding to reduce complicity
Combining cryptography with channel coding to reduce complicity
 
Turbo Codes
Turbo CodesTurbo Codes
Turbo Codes
 
LDPC Encoding and Hamming Encoding
LDPC Encoding and Hamming EncodingLDPC Encoding and Hamming Encoding
LDPC Encoding and Hamming Encoding
 
Iisrt jona priyaa(1 5)
Iisrt jona priyaa(1 5)Iisrt jona priyaa(1 5)
Iisrt jona priyaa(1 5)
 
Belief Propagation Decoder for LDPC Codes Based on VLSI Implementation
Belief Propagation Decoder for LDPC Codes Based on VLSI ImplementationBelief Propagation Decoder for LDPC Codes Based on VLSI Implementation
Belief Propagation Decoder for LDPC Codes Based on VLSI Implementation
 

Recently uploaded

The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
Vijay Dialani, PhD
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
zwunae
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
ongomchris
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 

Recently uploaded (20)

The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 

Implementation of reed solomon codes basics

  • 1. Implementation of Reed Solomon Codes Guided by: Mr. Madhusudan Singh Assistant Professor NIT Nagaland Submitted by: Mukesh Kumar Ram Singh Yadav
  • 2. Contents  Objective  Introduction  Error Detection Schemes  Classification of Forward Error Correction Codes  Comparison between some Forward Error Detection Techniques  Reed Solomon Code  RS Encoding and Decoding  Conclusion  Reference
  • 3. Objective  To Implement Reed Solomon error correcting codes by designing an efficient encoder and decoder for Reed Solomon Codes. This can be done by programming using MATLAB.
  • 4. INTRODUCTION  Data Data Source Communication Sink Channel Noisy Channel Transmitter Reciever
  • 5. Complete Diagram of Communication System
  • 6. Error Control Mechanism Forward Error Control Automatic Repeat Request (FEC) (ARQ) FEC : Channel Recovered Data __ . . . __ MessageEncoder Error Detection Error Correction Decoder
  • 7. Types of FEC : - Block Codes - Convolutional Codes ARQ : Data . . . . . .>. . . . . Data . . . . < . . . . . . ACK Encoder Error detection Decoder
  • 8. Linear Block Codes  The parity bits of linear block codes are linear combination of the message.  Linearity: where m is a k-bit information sequence c is an n-bit codeword. is a bit-by-bit mod-2 addition without carry  Linear code: The sum of any two code words is a codeword. then andIf 2121 2211 ccmm cmcm  
  • 9. Error Detection Schemes  Repetition scheme  Parity scheme  Checksum Scheme  Cyclic Redundancy Check scheme  Polarity scheme
  • 10. Classification of Forward Error Correction Codes  Linear Vs Non linear  Cyclic Vs Non-Cyclic  Systematic Vs Nonsystematic  Block Vs convolutional  Binary Vs Non binary
  • 11. Comparison between some Forward Error Detection Techniques  Hamming Code  Constant weight code  Low Density Parity check code  Turbo Code  Reed Solomon Code
  • 12. Reed Solomon Codes  Reed Solomon code is a linear cyclic systematic non-binary block code.  RS codes operate on the information by dividing the message stream into blocks of data, adding redundancy per block depending only on the current inputs. It is capable to correct both burst errors and erasures.
  • 13. RS codes are generally represented as an RS (n, k), with m-bit symbols, where Block Length: n No. of Original Message symbols: k Number of Parity Digits: n - k = 2t The relationship between the symbol size, m, and the size of the codeword n, is given by n=2^m-1 k 2t n Data Parity
  • 14. Example:- A popular Reed-Solomon code is RS(255,223) with 8-bit symbols. Each codeword contains 255 code word bytes, of which 223 bytes are data and 32 bytes are parity. For this code: n = 255, k = 223, s = 8 2t = 32, t = 16  The decoder can correct any 16 symbol errors in the code word: i.e. errors in upto 16 bytes anywhere in the codeword can be automatically corrected.
  • 15. Reed Solomon Encoding  A generator polynomial is generated.  Message signal is multiplied with generator polynomial.
  • 16. Reed Solomon Decoding  RS decoding is done in four levels.  Syndrome calculation --It tells us whether an error has occurred during the transmission of data.  The second step includes error location which tells us where the error is present.  The third is to calculate magnitude of error.  Forth one is the error evaluation which corrects the error.
  • 17. Advantage of Reed Solomon Code  Reed-Solomon codes are most widely used to correcting burst errors.  coding gain is very high and less then LDPC and TURBO codes. coding gain is the measure in the difference between the signal-to-noise ratio (SNR) levels between the uncoded system and coded system needed to achieve a given Bit Error Probability.  the coding rate is very high for Reed Solomon code so it is suitable for many applications including storage and transmission. Coding Rate=k/n
  • 18. Application of Reed Solomon Code  Storage devices (including tape, Compact Disk, DVD etc)  Wireless or mobile communications ( cellular telephones, microwave links, etc)  Satellite communications  Digital television
  • 20. References  International Journal of Future Computer and Communication, Vol. 3, No. 1, February 2014 by Aqib Al Azad.  B.P. Lathi “Modern Digital and Analog Communication System” , third Edition.  S. B. Wicker and V. K. Bhargava; “Reed Solomon Codes and Their Applications“, Piscataway, NJ: IEEE Press, 1994.  http://www.cs.cmu.edu/~guyb/realworld/reedsolomon/reed_solom on_codes  http://en.wikipedia.org/wiki/Reed%E2%80%93Solomon_error_correct ion