Simulation of (2,1,2) Convolutional Code Encoder-Decoder

Resource Overview

Simulation of bit error performance for a (2,1,2) convolutional code encoder-decoder in a Binary Symmetric Channel (BSC), plotting the corrected bit error rate versus channel bit error rate curve, with encoder generator polynomials g1=[111] and g2=[101]. The implementation involves convolutional encoding using polynomial generators, BSC channel modeling with crossover probability, and Viterbi decoding algorithm for error correction.

Detailed Documentation

In this simulation, we evaluated the bit error performance of a (2,1,2) convolutional code encoder-decoder system operating over a Binary Symmetric Channel (BSC). The simulation involved generating encoded sequences using convolutional encoding with generator polynomials g1=[111] and g2=[101], transmitting through a BSC with varying crossover probabilities, and performing error correction using the Viterbi decoding algorithm. We plotted the relationship between the corrected bit error rate and the channel bit error rate, which demonstrates the error correction capability of this convolutional code configuration under different channel conditions. The implementation typically involves calculating code trellis structure, metric computation for path selection, and traceback operations for optimal decoding.