You are on page 1of 32

AIN SHAMS UNIVERSITY

FACULTY OF ENGINEERING

ELECTRONICS AND COMMUNICATIONS ENG. DEPT.

(ECE)

COMMUNICATIONS LABORATORY

FOURTH YEAR

EXPERIMENT (C8)

BCH and Convolutional Coding

ATTENDANCE REPORT

C9 DIGTIAL Modulation USING LabVIEW AND NI-USRP Page |0


k= # of information bits
n= total # of bits (word code length)
(n-k)= # of redundancy parity check bits

Codeword

n bits
k bits

data
The relations of C0, C1, C2 and “1” bit address are as follow:
C0 = 1 , 3 , 5 , 7 (9-5)
C1 = 2 , 3 , 6 , 7 (9-6)
C2 = 4 , 5 , 6 , 7 (9 -7)
From the figure 9-3, we know that the 1, 2, 4 bits are the check bits, which do not include in the
calculation. Then equations (9-5), (9-6) and (9-7) can be modified as shown in equations (9-5a),
(9-6a) and (9-7a), where these equations are the equations of (7,4) BCH encoder

C0 = D0 D1 D3 (9-5a)
C1 = D0 D2 D3 (9-6b)
C2 = D1 D2 D3 (9-7a)

Example: Find the output word code of BCH, assume that the data signal is 1001.
Solution: By using equations (9–5a), (9-6a) and (9-7a), the values of check bits are:
C0 = D0 D1 D3  1 0 1 =0
C1 = D0 D2 D3  1 0 1 =0
C2 = D1 D2 D3  0 0 1 =1
According to the format of figure 9-3, let the output of the BCH encoder be 1001100 . Then in
order to compare with table 9-2, the results are equal to each other without errors.

Table 9-2 (7 , 4) BCH word codes


Data word Encoded Word Code Data word Encoded Word code
D1 C1 D1 D1 C1 D1
0000 000 0000 1000 111 1000
0001 011 0001 1001 100 1001
0010 101 0010 1010 010 1010
0011 110 0011 1011 001 1011
0100 110 0100 1100 001 1100
0101 101 0101 1101 010 1101
0110 011 0110 1110 100 1110
0111 000 0111 1111 111 1111

C8-4
Two types that are heat noise & pulse noise

You might also like