You are on page 1of 2

0112EC071102 EC-2 (BIST)

EXPERIMENT 3

OBJECT:
To design and simulate a rate 2/3 feed forward convolutional Encoder .

INTODUCTION:
Convolutional coding is a special case of error-control coding. Unlike a block coder, a
convolutional coder is not a memoryless device. Even though a convolutional coder accepts a
fixed number of message symbols and produces a fixed number of code symbols, its
computations depend not only on the current set of input symbols but on some of the previous
input symbols.

LAB WORK:

To build the model, gather and configure these blocks:


 Bernoulli Binary Generator, in the Comm Sources library
o Set Probability of a zero to .5.
o Set Initial seed to any positive integer scalar, preferably the output of the
randseed function.
o Set Sample time to .5.
o Check the Frame-based outputs check box.
o Set Samples per frame to 2.
 Convolutional Encoder
o Set Trellis structure to poly2trellis([5 4],[23 35 0; 0 5 13]).
 Binary Symmetric Channel, in the Channels library

BANSAL INSTITUTE OF SCIENCE AND TECHNOLOGY,BHOPAL


0112EC071102 EC-2 (BIST)
o Set Error probability to 0.02.
o Set Initial seed to any positive integer scalar, preferably the output of the
randseed function.
o Clear the Output error vector check box.
 Viterbi Decoder
o Set Trellis structure to poly2trellis([5 4],[23 35 0; 0 5 13]).
o Set Decision type to Hard Decision.
 Error Rate Calculation, in the Comm Sinks library
o Set Receive delay to 68.
o Set Output data to Port.
o Check the Stop simulation check box.
o Set Target number of errors to 100.
 Display, in the Simulink Sinks library
o Drag the bottom edge of the icon to make the display big enough for three entries.
Connect the blocks as in the figure. From the model window's Simulation menu, select
Configuration parameters. In the Configuration Parameters dialog box, set Stop time to inf.

Result:-

Here we get without 2/3 feed forward convolutional Encoder there is :


Bit Error Rate:- 0.0099
Total Error :- 100
Total Symbol :- 1.01e + 004

And with Hamming Block


Bit Error Rate:- 5.2e-005
Total Error :- 52
Total Symbol :- 1e+006

BANSAL INSTITUTE OF SCIENCE AND TECHNOLOGY,BHOPAL

You might also like