SlideShare a Scribd company logo
2
Most read
4
Most read
5
Most read
REED SOLOMON
CODES
B.Tech CS B1
Aditi Anup B001
Rhea Acharya B002
Samreen Reyaz B005
Introduction
❖ Introduced by Irving S. Reed and Gustave Solomon in 1960
❖ Error correcting codes
❖ One of the oldest but still widely used
❖ Reed Solomon code is a linear cyclic systematic non-binary block code.
❖ It is capable of correcting both burst errors and erasures.
❖ Wide range of applications in digital communications and storage.
❖ Storage devices
❖ Wireless or mobile communications
❖ Satellite communications
❖ Digital television / DVB
❖ High-speed modems
❖ QR codes
❖ Bar Codes
Applications
❖ Encoder takes a block of digital data and adds extra "redundant" bits.
❖ Errors occur during transmission or storage for a number of reasons
❖ Decoder processes each block and attempts to correct errors and recover the
original data.
❖ The number and type of errors that can be corrected depends on the
characteristics of the Reed-Solomon code.
Procedure
Communications
Channel or
storage
device
Reed-Solomon
encoder
Reed-Solomon
decoder
Data
Source
Data
Output
Noise/Errors
Properties
❖ A Reed-Solomon code is specified as RS(n,k) with s-bit symbols.
❖ Maximum codeword length (n) for a Reed-Solomon code is n = 2s – 1
❖ This means that the encoder takes k data symbols of s bits each and adds parity
symbols to make an n symbol codeword.
❖ There are n-k parity symbols of s bits each.
❖ A Reed-Solomon decoder can correct up to t symbols that contain errors in a
codeword, where 2t = n-k.
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
p = 255 - 223 = 32
2t = 32, t = 16
❖ The decoder can correct any 16 symbol errors in the code word: i.e. errors in up to 16
bytes anywhere in the codeword can be automatically corrected.
Symbol Errors
❖ Reed Solomon Encoder and Decoder falls in the category of forward error
correction encoders and it is optimized for burst errors rather than bit errors.
❖ One symbol error occurs when 1 bit in a symbol is wrong or when all the bits in
a symbol are wrong.
❖ Example: RS(255,223) can correct 16 symbol errors.
➢ In the worst case, 16 bit errors may occur, each in a separate symbol (byte)
so that the decoder corrects 16 bit errors.
➢ In the best case, 16 complete byte errors occur so that the decoder
corrects 16 x 8 bit errors.
Decoding
Reed-Solomon algebraic decoding procedures can correct errors(s) and erasures(r).
An erasure occurs when the position of an erred symbol is known.
A decoder can correct up to t errors or up to 2t erasures.
Erasure information can often be supplied by the demodulator in a digital
communication system, i.e. the demodulator "flags" received symbols that are likely to
contain errors.
When a codeword is decoded, there are three possible outcomes:
1. If 2s + r < 2t (s errors, r erasures), then the original transmitted codeword will
always be recovered,
2. The decoder will detect that it cannot recover the original code word and indicate
this fact.
3. The decoder will mis-decode and recover an incorrect code word without any
indication.
The probability of each of the three possibilities depends on the particular Reed-
Solomon code and on the number and distribution of errors.
Coding Gain
❖ Probability of error remaining in the decoded data when Reed- Solomon is used
is lower.
❖ This probability is often described as Coding Gain.
Example
A digital communication system is designed to operate at a Bit Error Ratio (BER) of
10-9, i.e. no more than 1 in 109 bits are received in error. This can be achieved by
boosting the power of the transmitter or by adding Reed-Solomon. Reed-Solomon
allows the system to achieve this target BER with a lower transmitter output power.
The power "saving" given by Reed-Solomon (in decibels) is the coding gain.
Finite(Galois) Field Arithmetic
❖ Reed-Solomon codes are based on a specialist area of mathematics known as
Galois fields or finite fields.
❖ A finite field has the property that arithmetic operations (+,-,x,/ etc.) on field
elements always have a result in the field.
❖ A Reed-Solomon encoder or decoder needs to carry out these arithmetic
operations.
❖ These operations require special hardware or software functions to implement.
Implementation of Reed-
Solomon
❖ Hardware Implementation
❖ Software Implementation
Hardware Implementation
❖ Many existing systems use "off-the-shelf" integrated circuits that encode and
decode Reed-Solomon codes.
❖ These ICs tend to support a certain amount of programmability (for example,
RS(255,k) where k = 1 to 16 symbols).
❖ A recent trend is towards VHDL or Verilog designs (logic cores or intellectual
property cores). These have a number of advantages over standard ICs.
❖ A logic core can be integrated with other VHDL or Verilog components and
synthesized to a Field Programmable Gate Array or an Application Specific
Integrated Circuit – this enables System on Chip designs where multiple
modules can be combined in a single IC.
❖ Depending on production volumes, logic cores can often give significantly lower
system costs than "standard" ICs. By using logic cores, a designer avoids the
potential need to do a "lifetime buy" of a Reed-Solomon IC.
Software Implementation
❖ Until recently, software implementations in "real-time" required too much
computational power for all but the simplest of Reed-Solomon codes (i.e. codes
with small values of t).
❖ The major difficulty in implementing Reed-Solomon codes in software is that
general purpose processors do not support Galois field arithmetic operations.
❖ For example, to implement a Galois field multiply in software requires a test for
0, two log table look-ups, modulo add and anti-log table look-up.
❖ However, careful design together with increases in processor performance mean
that software implementations can operate at relatively high data rates.
Example
❖ Concept of “reduced dictionary”
1) detect which words are corrupted (as they are not in our reduced dictionary)
2) correct corrupted words by finding the most similar word in our dictionary.
❖ Reduced dictionary has: this, that and corn
corrupted word received: co**, can be corrected
corrupted word received: th**, cannot be corrected
❖ Making sure that any 2 words of the dictionary share only a minimum number of
letters at the same position is called maximum separability.
❖ We generate only a reduced dictionary containing only words with maximum
separability
❖ Reed–Solomon is a way to automatically create a reduced dictionary
❖ If a word gets corrupted in the communication, it can be easily fixed
❖ Longer the words, more the separability
❖ More characters can be corrupted without impact
Reed solomon codes
Append a unique set of characters so that there are no duplicate characters at any of
the appended positions, and add one more word to help with the explanation:
Note that each word in this dictionary differs from every other word by at least 5
characters, so the distance is 5. This allows up to 4 errors in known positions, which
are called erasures or 2 errors in unknown positions to be corrected.
Webliography
https://www.cs.cmu.edu/~guyb/realworld/reedsolomon/reed_solomon_codes.html
https://en.wikiversity.org/wiki/Reed–Solomon_codes_for_coders
https://en.wikipedia.org/wiki/Reed–Solomon_error_correction
Thank You
Aditi Anup B001
Rhea Acharya B002
Samreen Reyaz B005

More Related Content

PPTX
Reed solomon Encoder and Decoder
Ameer H Ali
 
PDF
Understanding Reed-Solomon code
继顺(Jeffrey) 王
 
PPTX
Reed solomon code
Melaku Bayih Demessie
 
PPTX
Reed Soloman and convolution codes
Shailesh Tanwar
 
PDF
Reed solomon explained v1 0
Simona Grigoras
 
PDF
Error control coding bch, reed-solomon etc..
Madhumita Tamhane
 
PPTX
Reed Solomon encoder and decoder \ ريد سلمون
Muhammed Abdulmahdi
 
PPTX
Bch codes
Gaurav Thakur
 
Reed solomon Encoder and Decoder
Ameer H Ali
 
Understanding Reed-Solomon code
继顺(Jeffrey) 王
 
Reed solomon code
Melaku Bayih Demessie
 
Reed Soloman and convolution codes
Shailesh Tanwar
 
Reed solomon explained v1 0
Simona Grigoras
 
Error control coding bch, reed-solomon etc..
Madhumita Tamhane
 
Reed Solomon encoder and decoder \ ريد سلمون
Muhammed Abdulmahdi
 
Bch codes
Gaurav Thakur
 

What's hot (20)

PPTX
Implementation of reed solomon codes basics
Ram Singh Yadav
 
PPTX
BCH Codes
AakankshaR
 
PPTX
Turbo codes.ppt
Prasant Barik
 
PPTX
Linear block coding
jknm
 
PPTX
Digital modulation techniques...
Nidhi Baranwal
 
PDF
Linear Block code.pdf
SuryaRamVM
 
PPTX
Error control coding techniques
DhanashriNandre
 
PPT
UNIT-3 : CHANNEL CODING
abhishek reddy
 
PDF
LDPC Codes
Sahar Foroughi
 
PPT
Matched filter
srkrishna341
 
PPTX
linear codes and cyclic codes
saigopinadh bodigiri
 
PPTX
Linear Block Codes
NilaNila16
 
PPT
Turbo Codes
vasanth_mtech
 
DOCX
Turbo code
Prasant Barik
 
PPTX
Turbo Code
SudhanshuSaini5
 
PPT
error control coding
Suhad Malayshi
 
PPTX
Convolution Codes
Pratishtha Ram
 
PPTX
Hamming code system
DILSHAD AHMAD
 
PPTX
WCDMA
Harshal Tiwari
 
PPT
Hamming codes
GIGI JOSEPH
 
Implementation of reed solomon codes basics
Ram Singh Yadav
 
BCH Codes
AakankshaR
 
Turbo codes.ppt
Prasant Barik
 
Linear block coding
jknm
 
Digital modulation techniques...
Nidhi Baranwal
 
Linear Block code.pdf
SuryaRamVM
 
Error control coding techniques
DhanashriNandre
 
UNIT-3 : CHANNEL CODING
abhishek reddy
 
LDPC Codes
Sahar Foroughi
 
Matched filter
srkrishna341
 
linear codes and cyclic codes
saigopinadh bodigiri
 
Linear Block Codes
NilaNila16
 
Turbo Codes
vasanth_mtech
 
Turbo code
Prasant Barik
 
Turbo Code
SudhanshuSaini5
 
error control coding
Suhad Malayshi
 
Convolution Codes
Pratishtha Ram
 
Hamming code system
DILSHAD AHMAD
 
Hamming codes
GIGI JOSEPH
 
Ad

Similar to Reed solomon codes (20)

PDF
International Journal of Computational Engineering Research(IJCER)
ijceronline
 
PDF
Reed Solomon Coding For Error Detection and Correction
inventionjournals
 
PDF
Review paper on Reed Solomon (204,188) Decoder for Digital Video Broadcasting...
IRJET Journal
 
PDF
Performance Study of RS (255, 239) and RS (255.233) Used Respectively in DVB-...
IJERA Editor
 
PDF
The International Journal of Engineering and Science (The IJES)
theijes
 
PDF
art_sklar7_reed-solomon
aniruddh Tyagi
 
PDF
art_sklar7_reed-solomon
Aniruddh Tyagi
 
PDF
art_sklar7_reed-solomon
aniruddh Tyagi
 
PDF
Analysis of Error Correcting Code Algorithms used in WiMax Communications
William Chipman
 
PPTX
rs_1.pptx
MaddulaCharishma
 
PDF
Reed_Solomon_Implementation
ramya c b
 
PDF
Hardware Implementations of RS Decoding Algorithm for Multi-Gb/s Communicatio...
RSIS International
 
PDF
Decoding algorithms
⌨️ Andrey Goder
 
PDF
It3416071612
IJERA Editor
 
PDF
2010_09_rs_ea
Hamed Salah
 
PPTX
Infromation & Coding Theory -Linear Feedback Shift.pptx
logeswarisaravanan
 
PPTX
Error Correcting and Error Detecting Codes.pptx
Sudhanshu Janwadkar
 
PPTX
reed-solomon-encoder-and-decoder for correction
MayankArdeshana
 
PPT
CompactDisc.ppt
MaddulaCharishma
 
PPT
f33-ft-computing-lec09-correct.ppt
MaddulaCharishma
 
International Journal of Computational Engineering Research(IJCER)
ijceronline
 
Reed Solomon Coding For Error Detection and Correction
inventionjournals
 
Review paper on Reed Solomon (204,188) Decoder for Digital Video Broadcasting...
IRJET Journal
 
Performance Study of RS (255, 239) and RS (255.233) Used Respectively in DVB-...
IJERA Editor
 
The International Journal of Engineering and Science (The IJES)
theijes
 
art_sklar7_reed-solomon
aniruddh Tyagi
 
art_sklar7_reed-solomon
Aniruddh Tyagi
 
art_sklar7_reed-solomon
aniruddh Tyagi
 
Analysis of Error Correcting Code Algorithms used in WiMax Communications
William Chipman
 
rs_1.pptx
MaddulaCharishma
 
Reed_Solomon_Implementation
ramya c b
 
Hardware Implementations of RS Decoding Algorithm for Multi-Gb/s Communicatio...
RSIS International
 
Decoding algorithms
⌨️ Andrey Goder
 
It3416071612
IJERA Editor
 
2010_09_rs_ea
Hamed Salah
 
Infromation & Coding Theory -Linear Feedback Shift.pptx
logeswarisaravanan
 
Error Correcting and Error Detecting Codes.pptx
Sudhanshu Janwadkar
 
reed-solomon-encoder-and-decoder for correction
MayankArdeshana
 
CompactDisc.ppt
MaddulaCharishma
 
f33-ft-computing-lec09-correct.ppt
MaddulaCharishma
 
Ad

Recently uploaded (20)

PPTX
Victory Precisions_Supplier Profile.pptx
victoryprecisions199
 
PDF
Cryptography and Information :Security Fundamentals
Dr. Madhuri Jawale
 
PDF
CAD-CAM U-1 Combined Notes_57761226_2025_04_22_14_40.pdf
shailendrapratap2002
 
PPTX
Civil Engineering Practices_BY Sh.JP Mishra 23.09.pptx
bineetmishra1990
 
PDF
Unit I Part II.pdf : Security Fundamentals
Dr. Madhuri Jawale
 
PDF
Advanced LangChain & RAG: Building a Financial AI Assistant with Real-Time Data
Soufiane Sejjari
 
PDF
Construction of a Thermal Vacuum Chamber for Environment Test of Triple CubeS...
2208441
 
PPTX
MT Chapter 1.pptx- Magnetic particle testing
ABCAnyBodyCanRelax
 
PPTX
22PCOAM21 Session 1 Data Management.pptx
Guru Nanak Technical Institutions
 
PDF
Zero Carbon Building Performance standard
BassemOsman1
 
PDF
Zero carbon Building Design Guidelines V4
BassemOsman1
 
PPTX
Chapter_Seven_Construction_Reliability_Elective_III_Msc CM
SubashKumarBhattarai
 
PPTX
Tunnel Ventilation System in Kanpur Metro
220105053
 
PDF
2010_Book_EnvironmentalBioengineering (1).pdf
EmilianoRodriguezTll
 
PPTX
quantum computing transition from classical mechanics.pptx
gvlbcy
 
PDF
Biodegradable Plastics: Innovations and Market Potential (www.kiu.ac.ug)
publication11
 
PDF
STUDY OF NOVEL CHANNEL MATERIALS USING III-V COMPOUNDS WITH VARIOUS GATE DIEL...
ijoejnl
 
PPTX
FUNDAMENTALS OF ELECTRIC VEHICLES UNIT-1
MikkiliSuresh
 
PPTX
business incubation centre aaaaaaaaaaaaaa
hodeeesite4
 
DOCX
SAR - EEEfdfdsdasdsdasdasdasdasdasdasdasda.docx
Kanimozhi676285
 
Victory Precisions_Supplier Profile.pptx
victoryprecisions199
 
Cryptography and Information :Security Fundamentals
Dr. Madhuri Jawale
 
CAD-CAM U-1 Combined Notes_57761226_2025_04_22_14_40.pdf
shailendrapratap2002
 
Civil Engineering Practices_BY Sh.JP Mishra 23.09.pptx
bineetmishra1990
 
Unit I Part II.pdf : Security Fundamentals
Dr. Madhuri Jawale
 
Advanced LangChain & RAG: Building a Financial AI Assistant with Real-Time Data
Soufiane Sejjari
 
Construction of a Thermal Vacuum Chamber for Environment Test of Triple CubeS...
2208441
 
MT Chapter 1.pptx- Magnetic particle testing
ABCAnyBodyCanRelax
 
22PCOAM21 Session 1 Data Management.pptx
Guru Nanak Technical Institutions
 
Zero Carbon Building Performance standard
BassemOsman1
 
Zero carbon Building Design Guidelines V4
BassemOsman1
 
Chapter_Seven_Construction_Reliability_Elective_III_Msc CM
SubashKumarBhattarai
 
Tunnel Ventilation System in Kanpur Metro
220105053
 
2010_Book_EnvironmentalBioengineering (1).pdf
EmilianoRodriguezTll
 
quantum computing transition from classical mechanics.pptx
gvlbcy
 
Biodegradable Plastics: Innovations and Market Potential (www.kiu.ac.ug)
publication11
 
STUDY OF NOVEL CHANNEL MATERIALS USING III-V COMPOUNDS WITH VARIOUS GATE DIEL...
ijoejnl
 
FUNDAMENTALS OF ELECTRIC VEHICLES UNIT-1
MikkiliSuresh
 
business incubation centre aaaaaaaaaaaaaa
hodeeesite4
 
SAR - EEEfdfdsdasdsdasdasdasdasdasdasdasda.docx
Kanimozhi676285
 

Reed solomon codes

  • 1. REED SOLOMON CODES B.Tech CS B1 Aditi Anup B001 Rhea Acharya B002 Samreen Reyaz B005
  • 2. Introduction ❖ Introduced by Irving S. Reed and Gustave Solomon in 1960 ❖ Error correcting codes ❖ One of the oldest but still widely used ❖ Reed Solomon code is a linear cyclic systematic non-binary block code. ❖ It is capable of correcting both burst errors and erasures. ❖ Wide range of applications in digital communications and storage.
  • 3. ❖ Storage devices ❖ Wireless or mobile communications ❖ Satellite communications ❖ Digital television / DVB ❖ High-speed modems ❖ QR codes ❖ Bar Codes Applications
  • 4. ❖ Encoder takes a block of digital data and adds extra "redundant" bits. ❖ Errors occur during transmission or storage for a number of reasons ❖ Decoder processes each block and attempts to correct errors and recover the original data. ❖ The number and type of errors that can be corrected depends on the characteristics of the Reed-Solomon code. Procedure Communications Channel or storage device Reed-Solomon encoder Reed-Solomon decoder Data Source Data Output Noise/Errors
  • 5. Properties ❖ A Reed-Solomon code is specified as RS(n,k) with s-bit symbols. ❖ Maximum codeword length (n) for a Reed-Solomon code is n = 2s – 1 ❖ This means that the encoder takes k data symbols of s bits each and adds parity symbols to make an n symbol codeword. ❖ There are n-k parity symbols of s bits each. ❖ A Reed-Solomon decoder can correct up to t symbols that contain errors in a codeword, where 2t = n-k.
  • 6. 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 p = 255 - 223 = 32 2t = 32, t = 16 ❖ The decoder can correct any 16 symbol errors in the code word: i.e. errors in up to 16 bytes anywhere in the codeword can be automatically corrected.
  • 7. Symbol Errors ❖ Reed Solomon Encoder and Decoder falls in the category of forward error correction encoders and it is optimized for burst errors rather than bit errors. ❖ One symbol error occurs when 1 bit in a symbol is wrong or when all the bits in a symbol are wrong. ❖ Example: RS(255,223) can correct 16 symbol errors. ➢ In the worst case, 16 bit errors may occur, each in a separate symbol (byte) so that the decoder corrects 16 bit errors. ➢ In the best case, 16 complete byte errors occur so that the decoder corrects 16 x 8 bit errors.
  • 8. Decoding Reed-Solomon algebraic decoding procedures can correct errors(s) and erasures(r). An erasure occurs when the position of an erred symbol is known. A decoder can correct up to t errors or up to 2t erasures. Erasure information can often be supplied by the demodulator in a digital communication system, i.e. the demodulator "flags" received symbols that are likely to contain errors.
  • 9. When a codeword is decoded, there are three possible outcomes: 1. If 2s + r < 2t (s errors, r erasures), then the original transmitted codeword will always be recovered, 2. The decoder will detect that it cannot recover the original code word and indicate this fact. 3. The decoder will mis-decode and recover an incorrect code word without any indication. The probability of each of the three possibilities depends on the particular Reed- Solomon code and on the number and distribution of errors.
  • 10. Coding Gain ❖ Probability of error remaining in the decoded data when Reed- Solomon is used is lower. ❖ This probability is often described as Coding Gain.
  • 11. Example A digital communication system is designed to operate at a Bit Error Ratio (BER) of 10-9, i.e. no more than 1 in 109 bits are received in error. This can be achieved by boosting the power of the transmitter or by adding Reed-Solomon. Reed-Solomon allows the system to achieve this target BER with a lower transmitter output power. The power "saving" given by Reed-Solomon (in decibels) is the coding gain.
  • 12. Finite(Galois) Field Arithmetic ❖ Reed-Solomon codes are based on a specialist area of mathematics known as Galois fields or finite fields. ❖ A finite field has the property that arithmetic operations (+,-,x,/ etc.) on field elements always have a result in the field. ❖ A Reed-Solomon encoder or decoder needs to carry out these arithmetic operations. ❖ These operations require special hardware or software functions to implement.
  • 13. Implementation of Reed- Solomon ❖ Hardware Implementation ❖ Software Implementation
  • 14. Hardware Implementation ❖ Many existing systems use "off-the-shelf" integrated circuits that encode and decode Reed-Solomon codes. ❖ These ICs tend to support a certain amount of programmability (for example, RS(255,k) where k = 1 to 16 symbols). ❖ A recent trend is towards VHDL or Verilog designs (logic cores or intellectual property cores). These have a number of advantages over standard ICs.
  • 15. ❖ A logic core can be integrated with other VHDL or Verilog components and synthesized to a Field Programmable Gate Array or an Application Specific Integrated Circuit – this enables System on Chip designs where multiple modules can be combined in a single IC. ❖ Depending on production volumes, logic cores can often give significantly lower system costs than "standard" ICs. By using logic cores, a designer avoids the potential need to do a "lifetime buy" of a Reed-Solomon IC.
  • 16. Software Implementation ❖ Until recently, software implementations in "real-time" required too much computational power for all but the simplest of Reed-Solomon codes (i.e. codes with small values of t). ❖ The major difficulty in implementing Reed-Solomon codes in software is that general purpose processors do not support Galois field arithmetic operations. ❖ For example, to implement a Galois field multiply in software requires a test for 0, two log table look-ups, modulo add and anti-log table look-up. ❖ However, careful design together with increases in processor performance mean that software implementations can operate at relatively high data rates.
  • 17. Example ❖ Concept of “reduced dictionary” 1) detect which words are corrupted (as they are not in our reduced dictionary) 2) correct corrupted words by finding the most similar word in our dictionary. ❖ Reduced dictionary has: this, that and corn corrupted word received: co**, can be corrected corrupted word received: th**, cannot be corrected ❖ Making sure that any 2 words of the dictionary share only a minimum number of letters at the same position is called maximum separability.
  • 18. ❖ We generate only a reduced dictionary containing only words with maximum separability ❖ Reed–Solomon is a way to automatically create a reduced dictionary ❖ If a word gets corrupted in the communication, it can be easily fixed ❖ Longer the words, more the separability ❖ More characters can be corrupted without impact
  • 20. Append a unique set of characters so that there are no duplicate characters at any of the appended positions, and add one more word to help with the explanation:
  • 21. Note that each word in this dictionary differs from every other word by at least 5 characters, so the distance is 5. This allows up to 4 errors in known positions, which are called erasures or 2 errors in unknown positions to be corrected.
  • 23. Thank You Aditi Anup B001 Rhea Acharya B002 Samreen Reyaz B005

Editor's Notes

  • #3: sdgshtrytdujygfuik