- 2080 Chaitra · 8 marks
Convolutional encoding of 10011 with state and trellis
Short answer
For input 10011 with generators 111 and 101, the encoded sequence is 11 10 11 11 01 01 11. The state and trellis diagrams show transitions and outputs for each state.
Determine the encoded sequence for the following input message (m₀, m₁, m₂, m₃, m₄) = (1 0 0 1 1) using convolutional encoder having shift registers with three flip flops. Draw state and trellis diagrams.
Assumption: the encoder is the standard rate-1/2 encoder with a three-stage shift register (present bit and two delay flip-flops, constraint length ) and generator sequences , .
Encoder: g1 = 111, g2 = 101 (K = 3, rate 1/2)
m -->[ m_i ]-->[ m_i-1 ]-->[ m_i-2 ]
| | |
+---(+)----+-----------+---> c1 = mi+mi-1+mi-2
| |
+---(+)----------------+---> c2 = mi+mi-2
output per bit: c1 c2
Encoded sequence
Message , followed by two 0s to return the register to 00.
| 0 | 1 | 0 | 0 | 1 | 1 |
| 1 | 0 | 1 | 0 | 1 | 0 |
| 2 | 0 | 0 | 1 | 1 | 1 |
| 3 | 1 | 0 | 0 | 1 | 1 |
| 4 | 1 | 1 | 0 | 0 | 1 |
| 5 | 0 | 1 | 1 | 0 | 1 |
| 6 | 0 | 0 | 1 | 1 | 1 |
By polynomials: and , which give the same bits.
Encoded sequence: 11 10 11 11 01 01 11
State diagram
State = previous two inputs : a = 00, b = 10, c = 01, d = 11.
| Present state | Input | Output | Next state |
|---|---|---|---|
| a (00) | 0 | 00 | a (00) |
| a (00) | 1 | 11 | b (10) |
| b (10) | 0 | 10 | c (01) |
| b (10) | 1 | 01 | d (11) |
| c (01) | 0 | 11 | a (00) |
| c (01) | 1 | 00 | b (10) |
| d (11) | 0 | 01 | c (01) |
| d (11) | 1 | 10 | d (11) |
+--0/00--+
v |
[ a 00 ]---+
^ \
0/11 | \ 1/11
| v
[ c 01 ]<--0/10--[ b 10 ]
| ----1/00---> |
^ | 1/01
0/01 | v
+-------------[ d 11 ]--+
^ | 1/10
+------+
label = input/output bits
Trellis diagram
t0 t1 t2 t3 t4 t5 t6 t7
a 00 * o o * o o o *
\ / \ /
\ / \ /
b 10 o * o / o * o o / o
\ / \ /
\ / \ /
c 01 o o * o o \ o * o
\ /
\ /
d 11 o o o o o * o o
in: 1 0 0 1 1 0 0
out: 11 10 11 11 01 01 11
At each stage every state has two branches (input 0 and 1) as in the table; the path for 10011 is marked with *. The output read along the path is 11 10 11 11 01 01 11.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Rate 1/3 convolutional encoder: encode 10011 · Communication Systems, chapter 8
- Short note: Trellis diagram of convolutional encoder · Communication Systems, chapter 8
- Error detection vs correction; rate ½ convolutional encoder · Communication Systems, chapter 8
- Hamming distance and weight; rate 1/3 convolutional encoder · Communication Systems, chapter 8
- Sequence detector 1101 using SR flip-flops · Digital Logic, chapter 9 · asked 7×
- Sequence detector 1101 using T flip-flops · Digital Logic, chapter 9 · asked 7×
- Sequence detector 001 using JK flip-flops · Digital Logic, chapter 9 · asked 7×
- Sequence detector 011 using JK flip-flops · Digital Logic, chapter 9 · asked 7×