Series

How Error Correction Works

From First Principles — Simple to Advanced

Every time data travels — through a cable, over the air, onto a disc — noise can flip bits. Error correction adds structured redundancy so the receiver can detect and fix errors without asking for a retransmission.

  1. 001
    Beginner Repetition & Parity

    The simplest error detection and correction

    11 min
  2. 002
    Intermediate Checksums & CRC

    Compact fingerprints that catch errors

    12 min
  3. 003
    Intermediate Hamming Codes

    Find and fix exactly which bit flipped

    18 min
  4. 004
    Intermediate Reed-Solomon Codes

    Polynomial magic for burst error recovery

    16 min
  5. 005
    Intermediate Interleaving & Burst Errors

    Scatter data so burst errors become single errors

    22 min
  6. 006
    Advanced Convolutional Codes & Viterbi

    Codes with memory, decoded by finding the best path

    18 min
  7. 007
    Advanced Turbo & LDPC Codes

    Iterative decoding that approaches Shannon's limit

    22 min
  8. 008
    Advanced Polar & Fountain Codes

    The cutting edge of error correction

    20 min
  9. 009
    Intermediate QR Codes: How They Work and How They're Generated

    From HELLO WORLD to a scannable symbol by hand: encoding modes, Reed-Solomon over GF(256), the zigzag, the eight masks and the format bits

    45 min