Information Theory and Coding
Information Theory and Coding
Module 6
KTUStudents.in
ktustudents.in
KTUStudents.in
KTUStudents.in
KTUStudents.in
k input
(n,k,m)
n output
bits bits
m bits in memory
KTUStudents.in
• Convolutional code differs from block codes in
that
– Encoder contains memory
– At any given time the n-outputs depends on the k-
inputs at that time and m previous input blocks.
• n and k are small integers with k<n
• m must be large for low error probability.
For more study materials: WWW.KTUSTUDENTS.IN
Example 1: (2,1,3) Convolutional
Encoder
KTUStudents.in
KTUStudents.in
KTUStudents.in
• For example 1,
KTUStudents.in
KTUStudents.in
KTUStudents.in
KTUStudents.in
In general
KTUStudents.in
KTUStudents.in
KTUStudents.in
KTUStudents.in
KTUStudents.in
KTUStudents.in
KTUStudents.in
KTUStudents.in
KTUStudents.in
KTUStudents.in
– Draw the encoder diagram.
– Draw the state diagram
KTUStudents.in
KTUStudents.in
0 1 0 0 1 s2 1 0
1 1 0 1 1 s3 0 1
0 0 1 0 0 1 1
1 0 1 1 0 0 0
0 1 1 0 1 0 1
1 1 1 1 1 1 0
KTUStudents.in
KTUStudents.in
Message: 11011
Code Word:
11 01 01 00 01
KTUStudents.in
KTUStudents.in
KTUStudents.in
• The levels of Trellis are labeled as j=0,1,……,L+K-1
• Input 0 is drawn as a solid line. Input 1 is drawn as a
dashed line.
• For message, 10011 output sequences 11 10 11 11
01.
KTUStudents.in
KTUStudents.in
each state.
Step 2:Increment the level j by 1.Compute the partial hamming
distance for all paths entering a state by adding the branch
hamming distance entering that state to the hamming distance of
the connecting states at the preceding time unit. For each state,
store the path with the smallest hamming distance, together with
the hamming distance and eliminate all other paths.
Step 3: If j< L+m repeat step 2.Other wise stop.
KTUStudents.in
KTUStudents.in
KTUStudents.in
• A convolutional code with free distance dfree can
correct t errors if and only if dfree is greater than
2t.
• If the errors are more than above condition, then
Viterbi algorithm will break down in its operation
resulting same hamming distance for many
number of paths.
KTUStudents.in
node. Store the path and its metric for each state.
Step 2:Increment the level j by 1.Compute the partial metric for all
paths entering a state by adding the branch metric entering that
state to the metric of the connecting states at the preceding time
unit. For each state, store the path with the largest metric, together
with the metric and eliminate all other paths.
Step 3: If j< L+m repeat step 2.Other wise stop.
KTUStudents.in
KTUStudents.in
KTUStudents.in
KTUStudents.in
KTUStudents.in
KTUStudents.in
KTUStudents.in
KTUStudents.in
KTUStudents.in
KTUStudents.in
Where R is code rate.
KTUStudents.in
path with the smallest metric is selected as the
maximum likelihood path.
Now consider partial path metric for two paths
different lengths.
eg:
KTUStudents.in
KTUStudents.in
KTUStudents.in
KTUStudents.in