Skip to main content

Convolutional vs block coder; (7,4) cyclic code for 1010

Short answer

Convolutional coders handle continuous streams with memory and enable efficient soft-decition Viterbi decoding, unlike block coders. For (7,4) code with g(x)=1+x+x^3 and message 1010, non-systematic: 1110010; systematic: 0011010.

Why convolution coder are better suited than block coder? Determine systematic and non-systematic code vector for a (7,4) cyclic hamming code for message vector {1010} with generator polynomial g(x) = 1 + x + x³

Why convolutional coders are better suited than block coders

  • Continuous operation: they encode a serial bit stream directly; block coders must wait for kk bits, adding delay and buffering.
  • Memory: each output depends on the present and K−1K-1 previous bits, so redundancy is spread over a long span, giving good performance against random noise.
  • Soft-decision decoding: the Viterbi algorithm easily uses soft (analog) values, giving about 2 dB extra gain, which is hard for algebraic block decoders.
  • Simple hardware: shift registers and XOR gates; widely used in satellite, GSM and Wi-Fi links.

(7,4) cyclic Hamming code, g(x)=1+x+x3g(x)=1+x+x^3, message 1010

Convention (Haykin): (m0m1m2m3)=1010(m_0m_1m_2m_3)=1010, ascending powers:

m(x)=1+x2m(x)=1+x^2

Non-systematic:

c(x)=m(x)g(x)=(1+x2)(1+x+x3)=1+x+x3+x2+x3+x5=1+x+x2+x5\begin{aligned} c(x)&=m(x)g(x)=(1+x^2)(1+x+x^3)\\ &=1+x+x^3+x^2+x^3+x^5\\ &=1+x+x^2+x^5 \end{aligned}

(c0c1…c6)(c_0c_1\dots c_6) = 1110010

Systematic:

  1. xn−km(x)=x3(1+x2)=x3+x5x^{n-k}m(x)=x^3(1+x^2)=x^3+x^5
  2. Divide by g(x)g(x):
              x^2
          ------------------
x^3+x+1 ) x^5 +       x^3
          x^5 +       x^3 + x^2
          ---------------------
                            x^2   <- remainder
  1. b(x)=x2b(x)=x^2, parity bits (b0b1b2)=001(b_0b_1b_2)=001.
  2. c(x)=b(x)+x3m(x)=x2+x3+x5c(x)=b(x)+x^3m(x)=x^2+x^3+x^5.

(b0b1b2 m0m1m2m3)(b_0b_1b_2\,m_0m_1m_2m_3) = 001 1010

Check: c(x)=x2g(x)=x2+x3+x5c(x)=x^2g(x)=x^2+x^3+x^5, divisible by g(x)g(x), so valid.

FormCode vector
Non-systematic1110010
Systematic0011010

✓ Answer checked by Claude Opus 5.5 (high effort)

All Communication Systems chapter 8 questions →