Professional Documents
Culture Documents
errordetection
errordetection
1 Introduction 2
2 Error Detection 3
2.1 Eectiveness of Error-Detection Codes . . . . . . . . . . . . . 5
2.1.1 1. Random Error Vector Model . . . . . . . . . . . . . 5
2.1.2 2. Random Bit Error Model . . . . . . . . . . . . . . . 5
2.1.3 3. Burst Errors . . . . . . . . . . . . . . . . . . . . . . 6
1
1 Introduction
In most communication channels there would be a probability of bit errors
in transmission. These bit rate errors are usually very small, for example for
modern bre optic transmission channels it is about 10−9 th order. However,
in some cases it would be as high as 10−3 .The minimum or the standard
amount of bit rate error depends on the particular application of the com-
munication transmission.
In order to improve the performance of bit rate errors there are two main
error-control approaches:
The rst approach assumes the availability of a retun channel over which
the retransmission request can be made. For example, it is widely used in
computer communication systems that use telephone lines. It is also widley
used to provide reliable data transmission over the Internet.
The second approach, FEC is appropriate when a return channel is not
available, retransmission requests are not easliy accommodated, or a large
amount of data is sent and a retransmission to correct a few errors is very
inecient. FEC is used in satellite and deep-space communications.
The dierence between these two approaches is that ARQ wastes band-
width by using retransmissions, whereas FEC in general requires additional
redundancy in the transmitted information and incurs signicant processing
complexity in performing the error correction.
2
2 Error Detection
3
detect any error patterns that introduce an even number of errors, since the
resulting binary vector will have even parity.
An alternative method of looking at the opertaion of this exapmle(even
parity error detection) is shown in Figure 02.
For the single parity check code, an even number of transmission errors
will always convert a valid codeword to another valid codeword.
4
2.1 Eectiveness of Error-Detection Codes
The eectiveness of an error-detection code is measured by the probability
that the system fails to detect an error.
Now, inorder to calculate this probability of error-detection failure, it is
required to know the probability of occuring various errors, which in return
depend in the particular properties of the given communication channel.
For this purpose three models of error channels are introduced:
Suppose we transmit a codeword that has n bits. Dene the error vector
e = (e1 , e2 , . . . , en ) where ei = 1 if an error occurs in the ith transmitted bit
and ei = 0 otherwise.
In this model, all 2n possible error vectors are equally likely to occur. In this
channel model the probability of e does not depend on the number of errors
it contains. Thus the error vector (1, 0, . . . , 0) has the same probability of
occurrence as the error vector (1, 1, . . . , 1).
The single parity check code will fail when the error vector has an even
number of 1s. Thus for the random error vector channel model, the proba-
bility of error detection failure is 1/2.
In this model, the bit errors occur independently of each other. A typical
example is Satellite communication.
Let p be the probability of an error in a single-bit transmission.T he
probability of an error vector that has j errors is pj (1−p)n−j ,since each of the
j errors occurs with probability p and each of the n − j correct transmissions
occurs with probability 1 − p. By rewriting this probability we obtain:
w(e)
n−w(e) w(e) n p
p[e] = (1 − p) p = (1 − p)
1−p
where the weight w(e) is dened as the number of 1s in e . For any useful
communication channel, the probability of bit error is much smaller than 1,
and so p < 1/2 and p/(1 − p) < 1. This implies that for the random bit error
channel the probability of e decreases with the weight w(e), that is, as the
number of errors (1s) increases. In other words, an error pattern with given
number of bit errors is more likely than an error pattern with a larger number
5
of bit errors. Therefore this channel tends to map a transmitted codeword
into binary blocks that are clustered around the codeword.
The single parity check code will fail if the error pattern has even number
of 1s. Therefore, in the random bit error model: