- 2081 Chaitra · 5 marks
Short note: Trellis diagram of convolutional encoder
Short answer
A trellis diagram shows encoder states over time with branches for each input. For a rate-1/2, K=3 encoder (generators 111, 101), message 1010 with two flushing zeros produces output 11 10 00 10 11 00, tracing a unique path through states a→b→c→b→c→a→a.
Write a short note on trellis diagram of a message 1010 using a ½ rate 3-state memory block convolutional encoder.
A trellis diagram is a time-expanded state diagram of a convolutional encoder. The encoder states (contents of the memory) are drawn as rows of nodes, time runs left to right, and each branch shows the transition caused by one input bit, labelled with the output bits. Each message traces one path through the trellis; the Viterbi decoder searches the trellis for the closest path.
Assumed encoder ("3-state memory" read as a three-stage shift register, i.e. constraint length : the present bit plus 2 memory flip-flops, giving states), rate 1/2, generators , :
States : a = 00, b = 10, c = 01, d = 11.
Encoding 1010 (with two 0s to flush)
| Input | State before | Output | State after |
|---|---|---|---|
| 1 | a (00) | 11 | b (10) |
| 0 | b (10) | 10 | c (01) |
| 1 | c (01) | 00 | b (10) |
| 0 | b (10) | 10 | c (01) |
| 0 (flush) | c (01) | 11 | a (00) |
| 0 (flush) | a (00) | 00 | a (00) |
Encoded sequence: 11 10 00 10 11 00.
Trellis with the message path
t0 t1 t2 t3 t4 t5 t6
a 00 * o o o o *======*
\ /
\ /
b 10 o * o * o / o o
\ / \ /
\ / \ /
c 01 o o * o * o o
d 11 o o o o o o o
in: 1 0 1 0 0 0
out: 11 10 00 10 11 00
In the full trellis every state has two branches leaving it (input 0 and input 1). After steps the pattern of branches repeats at every stage. The path marked with * (= for a horizontal branch) is the unique path for 1010; any received sequence is decoded by finding the path with the minimum Hamming distance from it.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Error detection vs correction; rate ½ convolutional encoder · Communication Systems, chapter 8
- Rate 1/3 convolutional encoder: encode 10011 · Communication Systems, chapter 8
- Convolutional vs block coder; (7,4) cyclic code for 1010 · Communication Systems, chapter 8 · asked 2×
- Convolutional encoding of 10011 with state and trellis · Communication Systems, chapter 8
- Hamming distance and weight; rate 1/3 convolutional encoder · Communication Systems, chapter 8
- Stereo FM encoder and decoder block diagram · Communication Systems, chapter 3
- Trellis decoding of 1/2 rate conv. code (3-bit errors) · Data Communication, chapter 8 · asked 2×
- Trellis decoding of 1/2 rate conv. code (2-bit errors) · Data Communication, chapter 8 · asked 2×
- Convolutional encoder c(3,1,3), input 00110 · Data Communication, chapter 8
- Convolutional encoder c(3,1,3), input 111011 · Data Communication, chapter 8