Chapter 10
Chapter 10
Error Detection
and Correction
• Types of Errors
• Detection
• Correction
Basic concepts
Networks must be able to transfer data from
one device to another with complete accuracy.
Data can be corrupted during transmission.
For reliable communication, errors must be
detected and corrected.
Error detection and
correction are implemented either
at the data link layer or the
transport layer of the OSI model.
Types of Errors
Single-bit error
Single bit errors are the least likely type of
errors in serial data transmission because
the noise must have a very short duration
which is very rare. However this kind of
errors can happen in parallel transmission.
Example:
If data is sent at 1Mbps then each bit lasts
only 1/1,000,000 sec. or 1 μs.
For a single-bit error to occur, the noise
must have a duration of only 1 μs, which is
very rare.
Burst error
The term burst error means that two or
more bits in the data unit have changed
from 1 to 0 or from 0 to 1.
time.
the slot, and only one frame is allowed to be sent to each slot. And if
the stations are unable to send data to the beginning of the slot, the
CSMA (Carrier Sense Multiple Access)
It is a carrier sense multiple access based on media access protocol
to sense the traffic on a channel (idle or busy) before transmitting the
data. It means that if the channel is idle, the station can send data to
CSMA AccessOtherwise,
the channel. Modes it must wait until the channel becomes idle.
1-Persistent:
Hence, In the
it reduces the 1-Persistent
chances mode on
of a collision of CSMA that defines
a transmission each
medium.
node, first sense the shared channel and if the channel is idle, it
immediately sends the data. Else it must wait and keep track of
the status of the channel to be idle and broadcast the frame
unconditionally as soon as the channel is idle.
Non-Persistent: It is the access mode of CSMA that defines
before transmitting the data, each node must sense the channel,
and if the channel is inactive, it immediately sends the data.
Otherwise, the station must wait for a random time (not
continuously), and when the channel is found to be idle, it
transmits the frames.
P-Persistent: It is the combination of 1-Persistent and Non-
persistent modes. The P-Persistent mode defines that each node
senses the channel, and if the channel is inactive, it sends a frame
with a P probability. If the data is not transmitted, it waits for a (q