ECE511FL - Activity 7 (Error Control Coding)
ECE511FL - Activity 7 (Error Control Coding)
LABORATORY MANUAL
ACTIVITY NO. 7
ERROR CONTROL CODING
ACTIVITY OBJECTIVE:
At the end of this experiment, the student should be able to demonstrate error control coding
using Vertical Redundancy Check (VRC), Longitudinal Redundancy Check (LRC), and Cyclic
Redundancy Check (CRC).
EQUIPMENT NEEDED:
PC with Scilab
PROBLEM SET:
1. Determine the transmitted bit stream for the message ←Dgc5 if 7-bit ASCII is used for
encoding with odd-parity VRC.
2. Determine the transmitted bit stream for the message ←Dgc5 if 7-bit ASCII is used for
encoding with odd-parity VRC and even-parity LRC.
3. Determine the transmitted bit stream for the message ←X3 if 7-bit ASCII is used for
encoding with CRC in which the generator polynomial is G(x)=x 4+x3+x+1.
4. Determine the transmitted bit stream for the message ←X3 if 7-bit ASCII is used for
encoding with CRC in which the generator polynomial is G(x)=x 5+x4+x2+1.
LABORATORY MANUAL
(b) Use the appropriate SCILAB function to generate the transmitted bit stream with
VRC bits.
Does the function for extracting the ASCII codes detect the presence of error in the
received bit stream? ___
(d) Introduce errors in the received bit stream (by changing some of the bits) and use the
function for extracting the received ASCII codes. Do this 50 times.
LABORATORY MANUAL
Does the function for extracting the ASCII codes always detect the presence of error in
the received bit stream? ___
If no, how many times did the function not able to detect the presence of errors? ___
Does the function for extracting the ASCII codes detect the presence of error in the
received bit stream? ___
(c) Introduce errors in the received bit stream (by changing some of the bits) and use the
function for extracting the received ASCII codes. Do these 50 times.
Does the function for extracting the ASCII codes always detect the presence of error in
the received bit stream? ___
If no, how many times did the function not able to detect the presence of errors? ___
LABORATORY MANUAL
(a) Use the appropriate SCILAB functions to encode the message ←X3 using ASCII code
and then generate the transmitted bit stream with CRC bits with the generator polynomial
G(x)= x5+x4+x2+1.
Does the function for extracting the ASCII codes detect the presence of error in the
received bit stream? ___
(c) Introduce errors in the received bit stream (by changing some of the bits) and use the
function for extracting the received ASCII codes. Do these 50 times.
Does the function for extracting the ASCII codes always detect the presence of error in
the received bit stream? ___
If no, how many times did the function not able to detect the presence of errors? ___
OBSERVATIONS:
_________________________________________________________________________
_________________________________________________________________________
CONCLUSIONS:
__________________________________________________________________________
__________________________________________________________________________