Docsity

Channel Coding Principle - Lecture Slides | ECE 599, Study notes of Electrical and Electronics Engineering

Toggle sidebar
bg1
Jan 2008 142
Channel Coding Principle
– An average input sequence
x
1:n corresponds to about
2nH(
y
|
x
)typical output sequences
Noisy
Channel
x
1:n
y
1:n
2nH(
x
)2nH(
y
|
x
)
2nH(
y
)
• Consider blocks of nsymbols:
Channel Coding Theorem: for large n, can transmit at any rate R < Cwith negligible errors
– Random Codes: Choose 2nR random code vectors x(w)
• their typical output sequences are unlikely to overlap much.
– Joint Typical Decoding: A received vector yis very
likely to be in the typical output set of the transmitted
x(w)and no others. Decode as this w.
pf3
pf4
pf5

Partial preview of the text

Download Channel Coding Principle - Lecture Slides | ECE 599 and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

142

Channel Coding Principle

  • An average input sequence

x1:n

corresponds to about

nH 2

(^ y

|^ x)

typical output sequences

NoisyChannel

x1:

n

y1:

n

nH 2 (^ x)^

nH 2 (^ y |^ x

)

nH 2 (^ y)

-^

Consider blocks of

n

symbols:

Channel Coding Theorem: for large

n , can transmit at any rate

R

<

C

with negligible errors

  • Random Codes: Choose

nR

random code vectors

x

( w

  • their typical output sequences are unlikely to overlap much.
    • Joint Typical Decoding: A received vector

y

is very

likely to be in the typical output set of the transmitted x (

w

)^

and no others. Decode as this

w

Random

nR

, n

Code

•^

Choose

ε ≈

error prob, joint typicality

N

, chooseε

n>N

ε

( )

−

=^

C

C
C
E

nR w

w

nR

p

p

2 1

λ

(a) since error averaged over all possible codes is independent of

w

•^

Choose

p

so that x

I (

x^

;^ y

C , the information capacity

•^

Use

p

to choose a code x

C

with random

x

( w

n X ,^ w

nR

-^

the receiver knows this code and also the transition matrix

Q

•^

Assume (for now) the message

W

nR

is uniformly distributed

•^

If received value is

y

; decode the message by seeing how many

x (

w )

’s are jointly typical with

y

-^

if^

x (

k )

is the only one then

k^

is the decoded message

-^

if there are

0

or

≥

2

possible

k

’s then

1

is the decoded message

-^

we calculate error probability averaged over all

C

and all

W

−

nR w

w

nR^

p

2 1

C
C

C

λ^

(^

1

)(

C
C

C

=^

p a

(^

) 1

|^

w

E

p

Error Probability for Random Code

-^

We transmit x(1), receive y and decode using joint typicality

-^

We have an error if either

e^1

false or

e w

true for

w

(^

)^

(^

)^

(^

)^

∑=

nR

nR

w

w

p

p

W

p

2

e

e

e

e

e e^

E

•^

Since average of

P

( ne )^ over all codes is

ε^

there must be at least

one code for which this is true: this code has

ε

λ^

2

2

≤

∑ −

w

w

nR

•^

Now throw away the worst half of the codewords; the remainingones must all have

λw

ε. The resultant code has rate

R
  • n
R.

= proved on next page

(1) Joint typicality

(2) Joint AEP

p(A

∪

B)

≤p(A)+p(B)

(^

)^

(^

)ε

ε^

ε^

(^3) ) ; (

2 2

(^3) ) ; (^

2 2

2

−

−

=

−

−^

=

≤^

∑

y x

yx

In

nR

i

In

nR^ (

)

ε ε

ε

ε

ε

ε

log

3 ); (

≤^

− −

−

R C n C R R

In

and

for

yx

Code Selection & Expurgation

•^

Since average of

P

( ne )^ over all codes is

ε^

there must be at least

one code for which this is true.

M

w M

M

M

w

M

M

M w

M

M w

w

M w

w

½

4

4

½

2

½

½

½

1

½

1

½

1 1

1 1

> ∀ ≤ ⇒ ≤ ⇒

≥

≥

≥

≥^

= − = − = −

ε

λ

ε

λ

λ

λ

λ

λ

ε

(^

)^

(^

( ,

1

)( ,

1

1

)( ,

1

min

min

2

n ie i

K i

n ie i

K i

n ie

P

P

K

P

K^

=

≥

≥^

= −

= −

ε

1

1 log

2 ½

−

−^

− ′=

′=

⇒

× ′^ =

n R M n R n M

nR

uses

channel in

messages

K

= num of codes

Proof:

-^

Expurgation: Throw away the worst half of the codewords; theremaining ones must all have

λ w

≤^

Proof: Assume

λ w

are in descending order

149

Converse of Coding Theorem

•^

Fano’s Inequality: if

P

( ne )^ is error prob when estimating

w from

y

)(

1

log

1 ) | (^

n e

n e

nRP

P

H

=

≤^

W

y w

•^

Hence

(^

y

y

w

w

w

I

H

H

nR

-^

Hence for large

n

,^ P

( ne )^ has a lower bound of

( R–C

)/ R

if

w equiprobable

-^

If^

R>C

was achievable for small

n , it could be achieved also for large

n^

by

concatenation. Hence it cannot be achieved for any

n

.

n -use DMC capacity

Fano

w

w^

ˆ → → →

y x

:

Markov

Definition of

I

(^

y

x

y

w

w

I
H

)(

y x I

nRP

n (^) e

nC

nRP

n (^) e

≤^

)(

R
C
R
R

n C R

P^

n

n e

∞→

−^1

)(