EC-23.1 Why a Link Needs Correction, Not Just Detection

The standard opening treatment of error control: retransmission against forward correction, Hamming distance, coding gain, capacity and interleaving, September 2026

What this is and why it exists

The networks module used a checksum to detect a corrupted frame and ask for it again.

That answer fails whenever asking again is impossible or expensive. A deep-space link. A broadcast with a million receivers. A stored disc. A voice call that cannot wait for a repeat.

The alternative is to send structured redundancy, so that the receiver can work out what was sent rather than asking. The surprising result is that this is usually cheaper in energy than transmitting harder.

The vocabulary

  • Detection — noticing that a received word is not a valid one.
  • Correction — determining what was sent, despite the errors.
  • Codeword — a valid transmitted word, chosen from a much larger set of possibilities.
  • Hamming distance — the number of positions in which two words differ.
  • Code rate — the ratio of information symbols to transmitted symbols.
  • Coding gain — the reduction in required signal power that a code buys.
  • Channel capacity — the highest rate at which reliable communication is possible.
  • Soft decision — a demodulator output carrying confidence as well as a value.
  • Interleaving — reordering symbols so that a burst of errors is spread out.

The mental model

Start with the choice. Asking for a repeat is simple and costs a round trip. On a broadcast there is nobody to ask. On a recording the moment has passed. On a satellite link the round trip is long enough to matter. That is a system decision, made before any code is selected.

Forward correction works by using only a small subset of possible words. Choose the codewords so that any two differ in many positions. A few errors then leave the received word closer to what was sent than to anything else. Hamming distance is the currency: more distance buys more correction, and costs rate.

The reward is measured as coding gain, in decibels. It says how much less transmitter power you need to reach the same error rate. Expressing it that way lets a code be compared directly against a bigger amplifier, which is exactly the comparison an engineer has to make.

Capacity is the theoretical backdrop. It says that below a certain rate, communication can be made as reliable as you like. It says nothing about how long the code must be, or how hard it is to decode. Reading capacity as a practical target rather than as a bound is a common error.

Two practical points close the topic. A demodulator that reports how confident it is gives the decoder much more to work with than one reporting only a bit. That soft decision information is worth roughly two decibels, for nothing but arithmetic.

And most codes assume errors are scattered, while real channels often destroy a run of consecutive symbols. Interleaving spreads a codeword across time before transmission, so a burst damages one symbol in each of many codewords rather than many in one.

What you should now be able to explain or do

  • Say when retransmission is the right answer and when it is impossible.
  • Explain how Hamming distance relates to detection and correction ability.
  • Express the benefit of a code as a coding gain, and compare it to more power.
  • State what capacity promises and what it deliberately does not.
  • Say what soft decisions add and roughly what they are worth.
  • Explain what interleaving does to a burst of errors.

Check yourself

Because there is no return path from a million receivers, and no single receiver's request would help the others. Correction has to happen locally.

More errors detected and more corrected. The cost is rate: fewer information symbols for the same number of transmitted ones.

So it can be compared directly against transmitter power. A code giving three decibels of gain saves the same as doubling the transmitted power.

The order of transmission. A burst of channel errors then falls across many codewords, one or two symbols each, which is what the codes are designed for.

Go deeper

Back to Why a Link Needs Correction, Not Just Detection: work through the checklist