Error detection and correction Flashcards
How do errors occur?
Errors will occur on links when a bit flips
What is the trade off with regards to error control?
There is a trade off between error control and link utilisation when there is limited link capacity.
What is the issue when there is no error control and an error occurs?
Every string of bits is an allowed message so the receiver doesn’t know there is an error and accepts any data.
What are some methods of error control?
Reduce the set of allowed messages
What is the benefit of reducing the number of allowed messages?
If a disallowed string is received then it will be discarded. This means that that not every string of bits is allowed.
What are allowed messages called?
Codewords
What are disallowed messages called?
Space
What is the problem with reducing the number of allowed messages?
It reduces the messages we can send and we want to send any message
What is two-repetition code?
> The transmitter repeats every bit once after each bit (e.g. 0011001111)
The receiver decodes the message (e.g. 01011)
If there is a single bit error then it can be detected and the message can be resent.
If there is a two bit error then we cannot detect it as the error has jumped over the space between code words.
[IMAGE]
What is hamming distance?
This is a measure of the minimum number of bit flips to change one codeword into another.
What is the hamming distance for two-repetition code?
2
00⇒01 or 10⇒11
What is the symbol for minimum hamming distance?
dmin
How many errors can we detect?
Errors = dmin - 1
How does a receiver decode error correcting codes?
- Match the received bits to code words
2. Map codeword to source bits
How can a receiver correct errors in error correcting codes?
A receiver choses the closest codeword to the received bits.