Channel Coding
Channel Coding
BY
Dr. Ejidokun T. O .
Lectures No. 13 and 14: Channel Coding
Overview
These lectures will look at the following:
Channel coding
Block codes
Hamming distance
Repetition codes
Single parity check codes
Cross word error correction
DT008/2 Digital Communications Engineering II Slide: 1
Lectures No. 13 and 14: Channel Coding
Introduction
Channel coding deals with error control techniques. If the
data at the output of a communications system has errors
that are too frequent for the desired use, the errors can
often be reduced by the use of a number of techniques.
Coding permits an increased rate of information transfer
at a fixed error rate, or a reduced error rate for a fixed
transfer rate. The two main methods of error control are:
Automatic Repeat Request (ARQ) when a re-
ceiver circuit detects errors in a block of data, it re-
Channel Coding
The two main categories of channel codes are:
Block codes a block of k information bits is encoded
to give a codeword of n bits (n > k). For each se-
quence of k information bits, there is a a distinct
codeword of n bits. Examples of block codes include
Hamming Codes and Cyclic Codes. A Cyclic
Redundancy Check (CRC) code can detect any
error burst up to the length of the CRC code itself.
Convolutional Codes the coded sequence of n bits
DT008/2 Digital Communications Engineering II Slide: 4
Lectures No. 13 and 14: Channel Coding
Block codes
The block coder input is a stream of information bits.
The coder segments this bit stream into blocks of k in-
formation bits and for each block it calculates a number of r
check bits, or it picks the r check bits from a tabu- lated set
of values. It then transmits the entire block, or codeword
of n = k + r channelbits. This is called an (n,k) block code.
Hamming Distance
The minimum number of positions in which any two code-
words in any particular block differ from each other is
called the Hamming distance, dmin .
Consider the following set of codewords:
C1 = 0000, C2 = 0101, C3 = 1010, C4 = 1111
The distance, d:
between C2 and C3 is 4
between C2 and C4 is 2
between C3 and C2 is 2
DT008/2 Digital Communications Engineering II Slide: 8
Lectures No. 13 and 14: Channel Coding
Repetition Codes
These are the simplest type of block codes.
One way to detect an error in an information block is to
send the information twice. The two received blocks are
compared bit by bit and if there is a difference an error
has occurred.
This method may be extended by sending the information
block three times. If one block differs from the other two,
assume an error has occurred in that block and discard
it.
DT008/2 Digital Communications Engineering II Slide: 11
Lectures No. 13 and 14: Channel Coding
in all cases where the channel noise changes less than half
the bits in any one block.
Conclusion
These lectures have looked at the following:
Channel coding
Block codes
Hamming distance
Repetition codes
Single parity check codes
Cross word error correction
DT008/2 Digital Communications Engineering II Slide: 21