LEC.3 channel coding
LEC.3 channel coding
INTRODUCTION
• The purpose of error control coding is to
enable the receiver to detect or correct the
errors by adding redundancy in to the data
to be transmitted.
• Error control codes are classified into:
Block coding.
Convolutional coding.
TYPES OF ECC (Error Code Channel)
•
Basic Definitions
• Systematic codes : any linear block can be put in
systematic form.
The structure of code word in systematic form is :
n=k+r
E.X :-
•
The structure of encoder and decoder
Block coding
•
Example :
let us consider (7 , 4) linear code where data=(1101)
solution :
k=4 ; n=7 ; r=3
G=p*I
G=
C=m*G
C = [1101] *
C = [ 1001101 ]
Detect & correct the error
• Now define the parity check matrix to be :
• If S = 0 ; NO error
• s = 1 ; found error
Example:
data = [ 0 1 1]
code word = [ 0 1 1 1 1 0 ]
now we get H :
1 0 0 0 1 1
H 0 1 0 1 0 1
0
0 0 1 1 1
1 0 0
0 1 0
0 0 1
S = [ 0 1 1 1 1 0 ] * 0
1
1
0
1
1
1 1 0
= [ 1 0 1 ]
C = [ 0 1 1 1 0 0 ]
Example:-Determine the set of code words for the (6,3)
code with generator matrix , M =[ 0 1 1 ].
• We get
• SO :
Determine the syndrome table for the (6,3) single error correcting
code.
The parity-check matrix of the (6,3) code is
Example : the generator matrix of a (6,3) block code is
given below .Find all code words of this code.
•
2-Hamming`s single error correction code:
•
Where :- send data [ 1 0 1 1 ]
1 0 1 1
•
We can do a mistake to detect and correct it:
D= [1 0 1 1] ;
Then:
•
3. Linear block code:
Cyclic code.
•
Example : let (7,4) cyclic code , D= 1101 encode
the message data, or(find the 16 code word of this code).
Step 1:wright the data in polynomial form Non systematic
Step 2:multiply
Communications :
Satellite and deep space communications.
Digital audio and video transmissions.
Storage :
Computer memory (RAM).
Single error correcting and double error detecting code.
Advantages Disadvantages
It is the easiest and simplest technique to detect Transmission bandwidth requirement is more.
and correct errors .
Error probability is reduced. Extra bits reduces bit rate of transmitter and
also reduces its power .
Reference :