







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








1
2
3
4
State diagram –
cont’d
Next output state
Current input state
S 0
S 1
S 2
S 3
S 0
S 2
S 0
S 2
S 1
S 3
S 3
S 1
10 01
00
11
Input
Output (Branch word)
m
u 1
u 2
u 1 u 2
Input bit 0 Input bit 1
rate ½ code
7
The Viterbi algorithm - cont’d
B. Then, do the following:
t i
t i
i L K i
t (^) L K
8
t (^) 1 t (^) 2 t (^) 3 t (^) 4 t 5 t 6
S 0 00
S 1 01
S 2 10
S 3 11
11 00 10 10 01
Z
m
u 1
u 2
u 1 u 2
9
t (^) 1 t (^) 2 t (^) 3 t (^) 4 t 5 t 6
0
S ( ti ), ti 11 00 10 10 01
Z
S 0 00
S 1 01
S 2 10
S 3 (^) 11
Branch metric
10
t (^) 1 t (^) 2 t (^) 3 t (^) 4 t 5 t 6
0 2
0
11 00 10 10 01
Z
S 0 00
S 1 01
S 2 10
S 3 11
S ( ti ), ti
Partial metric
Branch metric
13
t (^) 1 t (^) 2 t (^) 3 t (^) 4 t 5 t 6
0 2 2 2 3
3
2
1
1 2
1
0 4
11 00 10 10 01
Z
S 0 00
S 1 01
S 2 10
S 3 11
14
t (^) 1 t (^) 2 t (^) 3 t (^) 4 t 5 t 6
0 2 2 2 3 3
3
2
1
1 2
1
0 4
11 00 10 10 01
Z
S 0 00
S 1 01
S 2 10
S 3 11
15
Example of Hard decision Viterbi
decoding-cont’d
t (^) 1 t (^) 2 t (^) 3 t (^) 4 t 5 t 6
0 2 2 2 3 3
3
2
1
1 2
1
0 4
S 0 00
S 1 01
S 2 10
S 3 11
16
Since a Convolutional encoder generates codewords with various sizes (as opposite to the block codes), the following approach is used to find the minimum distance between all pairs of codewords: Since the code is linear, the minimum distance of the code is the minimum distance between any of the codewords and the all-zero codeword. This is the minimum distance in the set of all arbitrary long paths along the trellis that diverge and remerge to the all-zero path. It is called the minimum free distance or the free distance of the
19
TABLE 7.3: Measured Coding Gains (dB) for soft-
decision Viterbi decoding compared with un-coded coherent BPSK
Upper bound 7. 0 7. 3 6. 0 7. 0
3 10 6. 2 6. 5 5. 3 5. 8
6 10 5. 7 5. 9 4. 6 5. 1
8 10 4. 2 4. 4 3. 5 3. 8
(dB) 7 8 6 7
/
Uncoded Coderate 1 / 3 1 / 2
7
5
3
0
P K
E N
B
b
20
Systematic Convolutional codes
Input Output
k / n
Example: rate ½, K = 3 systematic encoder
21
Catastrophic Convolutional Codes
Input Output
For Input = 11111111... Output = 11010000...
For Input = 00000000... Output = 00000000...
Assume all-ones sequence transmitted & 3 coded bits are in error This sequence would be decoded as all-zeros sequence which differs from transmitted sequence in every bit position!
22
Catastrophic Convolutional Codes
- Cont’d
g 1 (x) = 1 + X g 2 (X) = 1+ X^2 =(1 + X)(1 + X)
Note: See encoder circuit on previous slide
a 00
b 10
c 01 d 11
11
10
01 10
(^0111) 00
25
Popular concatenated codes: Convolutional codes with Viterbi decoding as the inner code and Reed-Solomon codes as the outer code
Interleaver (^) Modulate
Deinterleaver
Inner encoder
Inner decoder
Demodulate
Channel
Outer encoder
Outer decoder
Input data
Output data