14
SISTEM KOMUNIKASI LINEAR BLOCK CODE Program Studi D3 Teknik Telekomunikasi FAKULTAS ILMU TERAPAN

LINEAR BLOCK - yuyunsitirohmah's blog · Linear block codes – cont’d The information bit stream is chopped into blocks of k bits. Each block is encoded to a larger block of n

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: LINEAR BLOCK - yuyunsitirohmah's blog · Linear block codes – cont’d The information bit stream is chopped into blocks of k bits. Each block is encoded to a larger block of n

SISTEM KOMUNIKASI

LINEAR BLOCK

CODE

Program Studi D3 Teknik Telekomunikasi

FAKULTAS ILMU TERAPAN

Page 2: LINEAR BLOCK - yuyunsitirohmah's blog · Linear block codes – cont’d The information bit stream is chopped into blocks of k bits. Each block is encoded to a larger block of n

Letak Channel Code

Page 3: LINEAR BLOCK - yuyunsitirohmah's blog · Linear block codes – cont’d The information bit stream is chopped into blocks of k bits. Each block is encoded to a larger block of n

What are Linear Block Codes?

Information sequence is segmented into message

blocks of fixed length.

Each k-bit information message is encoded into

an n-bit codeword (n>k)

Linear Block Codes

Binary Block

Encoder

2k

k-bit Messages

2k

n-bit DISTINCT

codewords

Page 4: LINEAR BLOCK - yuyunsitirohmah's blog · Linear block codes – cont’d The information bit stream is chopped into blocks of k bits. Each block is encoded to a larger block of n

What are Linear Block Codes?

Modulo-2 sum of any two codewords is ………

also a codeword

Each codeword v that belongs to a block code C

is a linear combination of k linearly independent

codewords in C, i.e.,

Linear Block Codes

U=m0.g0+m1.g1+…+mk-1.gk-1

gi=[gi0 gi1 …. gi,n-1]

Page 5: LINEAR BLOCK - yuyunsitirohmah's blog · Linear block codes – cont’d The information bit stream is chopped into blocks of k bits. Each block is encoded to a larger block of n

Some definitions

Binary field :

The set {0,1}, under modulo 2 binary

addition and multiplication forms a field.

Binary field is also called Galois field, GF(2).

011

101

110

000

111

001

010

000

Addition Multiplication

Page 6: LINEAR BLOCK - yuyunsitirohmah's blog · Linear block codes – cont’d The information bit stream is chopped into blocks of k bits. Each block is encoded to a larger block of n

Linear block codes – cont’d

The information bit stream is chopped into blocks of k bits.

Each block is encoded to a larger block of n bits.

The coded bits are modulated and sent over channel.

The reverse procedure is done at the receiver.

Data block Channel

encoder Codeword

k bits n bits

rate Code

bits Redundant

n

kR

n-k

c

Page 7: LINEAR BLOCK - yuyunsitirohmah's blog · Linear block codes – cont’d The information bit stream is chopped into blocks of k bits. Each block is encoded to a larger block of n

Linear block codes – cont’d

The Hamming weight of vector U, denoted by

w(U), is the number of non-zero elements in

U.

The Hamming distance between two vectors

U and V, is the number of elements in which

they differ.

The minimum distance of a block code is

)()( VUVU, wd

)(min),(minmin ii

jiji

wdd UUU

Page 8: LINEAR BLOCK - yuyunsitirohmah's blog · Linear block codes – cont’d The information bit stream is chopped into blocks of k bits. Each block is encoded to a larger block of n

Linear block codes – cont’d

Error detection capability is given by

Error correcting-capability t of a code, which is

defined as the maximum number of

guaranteed correctable errors per codeword, is

2

1mindt

1min de

Page 9: LINEAR BLOCK - yuyunsitirohmah's blog · Linear block codes – cont’d The information bit stream is chopped into blocks of k bits. Each block is encoded to a larger block of n

Linear block codes – cont’d

Encoding in (n,k) block code

The rows of G, are linearly independent.

mGU

kn

k

kn

mmmuuu

mmmuuu

VVV

V

V

V

2221121

2

1

2121

),,,(

),,,(),,,(

Page 10: LINEAR BLOCK - yuyunsitirohmah's blog · Linear block codes – cont’d The information bit stream is chopped into blocks of k bits. Each block is encoded to a larger block of n

Linear block codes – cont’d

Example: Block code (n,k)=(6,3)

1

0

0

0

1

0

0

0

1

1

1

0

0

1

1

1

0

1

V

V

V

G

3

2

1

3

2

1

g

g

g

1

1

1

1

1

0

0

0

0

1

0

1

1

1

1

1

1

0

1

1

0

0

0

1

1

0

1

1

1

1

1

0

0

0

1

1

1

1

0

0

0

1

1

0

1

0

0

0

1

0

0

0

1

0

1

0

0

1

1

0

0

1

0

0

0

0

1

0

0

0

1

0

Message

vector (m) Codeword (U)

Page 11: LINEAR BLOCK - yuyunsitirohmah's blog · Linear block codes – cont’d The information bit stream is chopped into blocks of k bits. Each block is encoded to a larger block of n

Example: Block code (n,k)=(7,4)

0

1

3

1 1 0 1 0 0 0

0 1 1 0 1 0 0

1 1 1 0 0 1 0

1 0 1 0 0 0 1

2

g

gG=

g

g

Message (m) Codeword

0000 0000000

0001 1010001

0010 1110010

0011 0100011

0100 0110100

0101 1100101

0110 1000110

0111 0010111

1000 1101000

1001 0111001

1010 0011010

1011 1001011

1100 1011100

1101 0001101

1110 0101110

1111 1111111

g0

g1

g2

g3

m= [0 1 1 0]

Linear Block

Encoder (U=m.G)

U= g1+g2

U= [1 0 0 0 1 1 0]

Page 12: LINEAR BLOCK - yuyunsitirohmah's blog · Linear block codes – cont’d The information bit stream is chopped into blocks of k bits. Each block is encoded to a larger block of n

Example

0

1

3

1 1 0 1 0 0 0

0 0 1 0 1 1 1

1 1 1 1 1 1 1

1 0 1 0 0 0 1

2

g

gG=

g

g

m= [0 1 1 1]

Block Encoder

(U=m.G)

U= g1+g2+g3

U= [0 1 1 1 0 0 1]

Linearly

Dependent

m= [1 0 0 1]

Block Encoder

(U=m.G)

U= g0+g3

U= [0 1 1 1 0 0 1] NOT DISTINCT

Page 13: LINEAR BLOCK - yuyunsitirohmah's blog · Linear block codes – cont’d The information bit stream is chopped into blocks of k bits. Each block is encoded to a larger block of n

Tugas, Dikumpulkan !

Page 14: LINEAR BLOCK - yuyunsitirohmah's blog · Linear block codes – cont’d The information bit stream is chopped into blocks of k bits. Each block is encoded to a larger block of n

TERIMA KASIH