Sub topic 1
Why Frames Get Corrupted: Single-Bit and Burst Errors
Prerequisites
This chapter assumes that you know the layered network model, the role of the data link layer, and the difference between a bit and a frame. You should also know that a frame carries a sequence of binary digits, called bits, across a physical channel.
The Working Model
A sender converts a frame into electrical, optical, or radio signals. Noise and interference can change the signal while it travels. The receiver then converts the signal back into bits. If one or more received bits differ from the transmitted bits, a transmission error has occurred.
The data link layer usually does not try to understand the meaning of every bit. Instead, it checks whether the received frame has the expected structure. If the check fails, the receiver can discard the frame or request retransmission, depending on the protocol.
An error pattern describes which bit positions changed. For example:
Sent: 10110010
Received: 10100010
^Here, only one bit changed. The fifth bit changed from 1 to 0.
Single-Bit Errors
A single-bit error changes exactly one bit in a frame. It may be caused by a short noise pulse, clocking problem, or temporary interference.
For a frame with n bits, there are n possible single-bit error positions. A reliable detection method must distinguish the original frame from every frame formed by changing one bit.
Single-bit errors are relatively simple to describe, but a detection method that catches them may also need to handle several changed bits.
Burst Errors
A burst error affects a sequence of bits. The first and last bits in the sequence are corrupted, and any number of bits between them may also be corrupted. The positions inside the span do not all need to change.
Original: 110101001011
Received: 110010111011
<---->The burst length is the distance from the first corrupted bit to the last corrupted bit, inclusive. It is not necessarily the number of changed bits.
Burst errors are common on physical links. A burst of interference can affect consecutive transmitted bits, while a damaged signal or synchronization loss can produce a longer run of errors. For this reason, data link protocols normally choose checks that detect burst patterns well.
| Error type | Meaning | Typical cause |
|---|---|---|
| Single-bit | Exactly one bit changes | Short noise pulse |
| Burst | Errors occur within a span of consecutive positions | Interference or signal loss |
Why the Pattern Matters
A receiver cannot detect an error merely by looking at one received bit. It needs redundancy, which is extra information derived from the frame. The sender adds this information, and the receiver recomputes it.
Different checks detect different sets of error patterns. A good check should detect all common single-bit errors and most burst errors while adding little overhead. Later chapters compare parity, checksums, and cyclic redundancy checks using this idea.
Exercise
A frame changes from 10011010 to 10001010. Is this a single-bit error or a burst error?
Show answer
It is a single-bit error because exactly one bit changed.