Graph
Error-Correcting Code

🛡️Error-Correcting Code

NEW

Also known as: Forward Error Correction, FEC

A coding scheme that adds redundancy so receivers can detect and correct errors without retransmission.

DESCRIPTION

Error-correcting codes enable reliable communication and storage by adding structured redundancy to data. Their capabilities depend on minimum distance and decoder performance. Linear block codes and convolutional codes are classic families, while LDPC and Turbo codes achieve near-capacity performance with iterative decoding. Reed–Solomon codes excel at burst-error and erasure correction in storage and broadcast. Design choices trade rate, latency, complexity, and error performance based on channel conditions. Standards across wireless, optical, satellite, and storage systems embed error-correcting codes for robustness.

ALTERNATIVE DEFINITIONS

Wikipedia

An error correction code (ECC) is a method of detecting and correcting errors in data transmission or storage.

Defines ECC by its detect-and-correct purpose across transmission and storage.

Source

NIST CSRC

A method of encoding data to facilitate the detection and correction of errors.

Concise glossary focus on encoding to enable correction.

Source

Coding Theory Channel Coding Hamming Code Reed–Solomon Code LDPC Code Turbo Codes Parity-Check Matrix Generator Matrix Minimum Distance Viterbi Algorithm

COMPETING TERMS

Error-Detecting Code

RELATIONS

KNOWLEDGE AREAS

Mathematics IoT & Edge Data Infrastructure Data Storage & Operations Real-time & Streaming Data

TARGET AUDIENCE

Hardware Engineer Software Developer Data Engineer Cloud Architect Cybersecurity Engineer

EXTERNAL SOURCES

  • Wikipedia - Error correction code
  • IETF - Reed–Solomon FEC schemes overview
  • CCSDS - Space link channel coding standards
  • ITU-T - FEC for optical transport networks

TOP QUESTIONS

Why are Error-Correcting Codes essential?

They provide reliability over noisy channels and imperfect storage, reducing retransmissions and achieving target error rates and latencies.

Category: Relevancy

How do Error-Correcting Codes work?

They add redundant symbols according to code structure so decoders can detect and correct likely error patterns.

Category: Concept

What is minimum distance in an Error-Correcting Code?

It is the smallest Hamming distance between distinct codewords and determines error-detecting and correcting capability.

Category: Concept

What are common types of Error-Correcting Codes?

Linear block codes, convolutional codes, BCH, Reed–Solomon, LDPC, Turbo, and Polar codes are common families.

Category: Overview

When should I choose Reed–Solomon over LDPC?

Choose Reed–Solomon for burst errors/erasures and short block lengths; choose LDPC for long blocks and near-capacity performance with iterative decoding.

Category: BestPractice

What is a common mistake with Error-Correcting Codes?

Using overly strong codes that waste bandwidth or increase latency without matching channel requirements is common.

Category: Mistakes

How do Error-Correcting Codes relate to ARQ protocols?

FEC corrects errors without retransmissions, while ARQ uses acknowledgments and retransmissions; hybrid schemes combine both.

Category: Comparison

Where are Error-Correcting Codes used in storage?

They protect SSDs, HDDs, RAID systems, tapes, and distributed storage systems against bit flips and erasures.

Category: Application

What is the risk of misconfigured decoders?

Mismatched channel models or early stopping can degrade performance, causing undetected errors or wasted complexity.

Category: Risks