ACT _ Module 4_Convolutional codes
ACT _ Module 4_Convolutional codes
Convolutional codes
The name comes from the fact that redundant (extra) bits are generated using a mathematical
operation called modulo-2 convolution. This operation ensures that even if some bits get
corrupted during transmission, the receiver can still recover the original data.
Code Rate=k/n
where:
For example, if k=1 and n=2, it means that for every 1 input bit, the encoder produces 2
output bits.
The constraint length (L) represents how many previous bits influence the current output bit.
It tells us how much "memory" the encoder has. A larger constraint length means stronger error
correction but increases complexity.
State diagram:
Each branch in the state diagram has a label of the form X=YYY...; where X is the
input bit that causes the state transition and YYY... is the corresponding output bits.
The encoder consists of two memory elements and hence the two binary elements can assume
any one of the four states designated by
S0 00; state a
S2 01; state b
S2 01; state c
S3 11: state d
Trellis Diagram
The state diagram does not contain time information required in decoding. Hence, trellis
diagram is developed to overcome the disadvantage. The trellis diagram is an expansion of
state diagram by adding a time axis for time information.
𝑋1 = 𝑚0 + 𝑚1 + 𝑚2
𝑋2 = 𝑚0 + 𝑚2
𝑠𝑡
1 𝑀𝑒𝑡ℎ𝑜𝑑:
for given input: 1011
i/0 m0 m1 m2 x1 x2
0 0 0 0 0
1 1 0 0 1 1
1 1 1 0 0 1
0 0 1 1 0 1
1 1 0 1 0 0
0 1 0 1 0
0 0 1 1 1
1 1 1 1 0
Tree Diagram:
Encoded sequence: 11 01 10 11
𝑛𝑑
2 𝑀𝑒𝑡ℎ𝑜𝑑: (we use this to make a state diagram)
State diagram:
Here state (𝑚1𝑚2) is inside the circle which is represented by
𝑚1𝑚2= 00; state a
𝑚1𝑚2=01; state b
𝑚1𝑚2= 01; state c
𝑚1𝑚2= 11: state d
0=solid line
1=dashed line
Trellis diagram:
•
Decoding:
•
Q.3
Below figure depicts a rate ½, constraint length L = 1, convolutional encoder. Sketch the Tree
diagram. Also find encoder output for input data: 11101
Q.4
a) Draw the state diagram, trellis diagram for this encoder.
b) Find the outputsequences corresponding to the input msg sequence 1101.
c) Assume that the received sequence is r=10 11 11 10 using the viterbi algorithm find the
transmitted bit sequence. Ans 1001