Channel Coding Exercises: Convolutional Codes and Viterbi Algorithm, Exercises of Advanced Computer Programming

convolutional codes

Typology: Exercises

2011/2012

Uploaded on 08/07/2012

love_nature
love_nature 🇮🇳

1 document

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Exercises 10 - 2011-01-20
Channel Coding
Winter Term 2010/11
Prof. Dr.-Ing. M. Bossert
Dipl.-Ing. Ing. ENST A. Zeh
TAIT, University of Ulm
Exercise 10.1
You are given a convolutional code Cwith the following generator matrix:
G(D) = (1 + D2, D +D2).
a) Draw the shift register of the encoder.
b) Draw the state diagram of the encoder.
c) Is the generator matrix G(D)catastrophic? Why?
d) Determine the free distance dfr ee.
Hint: Use the equivalent noncatastrophic generator matrix Geq(D) = (1 + D, D)and draw
the corresponding shift register and the state diagram.
e) Assume that the word r= (10 11 01 00 11) has been received after transmission of a
codeword of the terminated code Cover a binary symmetric channel (BSC) with p < 0.5.
Decode rusing the Viterbi algorithm.
Hint: Use the trellis corresponding to the encoder given in (a).
Is the desicion of the Viterbi decoder unique? Why?
Exercise 10.2
Given the generator matrix GA(D) = (1 + D2+D3,1 + D+D3,1 + D+D2+D3)of the
convolutional code C.
a) Determine the rate RAand the memory mAof GA(D).
b) Draw the convolutional encoder for the generator matrix GA(D).
c) Determine the submatrices G0,G1,G2, and G3, where GA(D)is given by GA(D) =
G0+G1D+G2D2+G3D3. Write the generator matrix GA(D)in the time domain (at
least the first four rows!).
d) Give the rate Rr
Aof Gr
A, when Gr
Ais generated by terminating the generator matrix in the
time domain GAafter 30 information bits. What is the maximum and the minimum possible
rate obtained by termination?
e) Give the generator matrix GB(D)of rate RB=1
2, where GB(D)is generated by puncturing
the code Cusing the pattern [110], i.e., the third code bit in every block of three code bits
is erased. Determine the memory mBof GB(D). What is the relation between GB(D)and
GA(D)?
Channel Coding 1
pf2

Partial preview of the text

Download Channel Coding Exercises: Convolutional Codes and Viterbi Algorithm and more Exercises Advanced Computer Programming in PDF only on Docsity!

Exercises 10 - 2011-01- Channel Coding Winter Term 2010/

Prof. Dr.-Ing. M. Bossert Dipl.-Ing. Ing. ENST A. Zeh TAIT, University of Ulm

Exercise 10.

You are given a convolutional code C with the following generator matrix: G(D) = (1 + D^2 , D + D^2 ).

a) Draw the shift register of the encoder.

b) Draw the state diagram of the encoder.

c) Is the generator matrix G(D) catastrophic? Why?

d) Determine the free distance df ree.

Hint: Use the equivalent noncatastrophic generator matrix Geq(D) = (1 + D, D) and draw the corresponding shift register and the state diagram.

e) Assume that the word r = (10 11 01 00 11) has been received after transmission of a codeword of the terminated code C over a binary symmetric channel (BSC) with p < 0. 5. Decode r using the Viterbi algorithm. Hint: Use the trellis corresponding to the encoder given in (a). Is the desicion of the Viterbi decoder unique? Why?

Exercise 10.

Given the generator matrix GA(D) = (1 + D^2 + D^3 , 1 + D + D^3 , 1 + D + D^2 + D^3 ) of the convolutional code C.

a) Determine the rate RA and the memory mA of GA(D).

b) Draw the convolutional encoder for the generator matrix GA(D).

c) Determine the submatrices G 0 , G 1 , G 2 , and G 3 , where GA(D) is given by GA(D) = G 0 + G 1 D + G 2 D^2 + G 3 D^3. Write the generator matrix GA(D) in the time domain (at least the first four rows!).

d) Give the rate RrA of GrA, when GrA is generated by terminating the generator matrix in the time domain GA after 30 information bits. What is the maximum and the minimum possible rate obtained by termination?

e) Give the generator matrix GB (D) of rate RB = 12 , where GB (D) is generated by puncturing the code C using the pattern [110], i.e., the third code bit in every block of three code bits is erased. Determine the memory mB of GB (D). What is the relation between GB (D) and GA(D)?

Channel Coding 1

Exercises 10 - 2011-01- Channel Coding Winter Term 2010/

Prof. Dr.-Ing. M. Bossert Dipl.-Ing. Ing. ENST A. Zeh TAIT, University of Ulm

Exercise 10.

You are given a terminated (3 8 , 58 , 78 ) convolutional code C. The code C is terminated after the encoding of three information bits.

a) Give the generator matrix in the time domain of the code C.

b) Draw the trellis of the code C.

c) Assume that the word r = (000 001 110 011 111) has been received after transmission of a codeword over a binary symmetric channel (BSC) with a crossover probability p < 1 / 2. Decode r using the Viterbi algorithm.

Exercise 10.

Consider the convolutional code with generators (7 8 , 58 ) (in octal form). Determine the path enumerator function T (W ) and the free distance of the code with the help of the signal flow diagram.

Channel Coding 2