Convolutional Codes
Convolutional Codes
The operation of a convolutional encoder can be explained in several but equivalent ways
such as, by a) state diagram representation. b) Tree diagram representation. c) trellis
diagram representation.
Convolutional codes:
The operation of a convolutional encoder can be explained in several but equivalent ways
such as, by
Each new block of k input bits causes a transition into new state.
Assuming encoder zero initial state, encoded word for any input of k bits
can thus be obtained. For instance, below for u=(1 1 1 0 1), encoded word
v=(1 1, 1 0, 0 1, 0 1, 1 1, 1 0, 1 1, 1 1) is produced:
- Encoder state diagram for (n,k,L)=(2,1,2) code
- Note that the number of states is 2L+1 = 8.
Distance for some convolutional codes:
The trellis diagram of a convolutional code is obtained from its state diagram.
All state transitions at each time step are explicitly shown in the diagram to
retain the time dimension, as is present in the corresponding tree diagram.
Usually, supporting descriptions on state transitions, corresponding input and
output bits etc. are labelled in the trellis diagram. It is interesting to note that the
trellis diagram, which describes the operation of the encoder, is very convenient
for describing the behaviour of the corresponding decoder, especially when the
famous Viterbi Algorithm (VA) is followed.
Hamming Code Example:
Transmission vector x
Error Correction:
Each encoded bit is a function of the present input bits and their past ones.