Docsity

Channel Coding-Digital Communication Systems-Lecture Slides, Slides of Digital Communication Systems

Partial preview of the text

Download Channel Coding-Digital Communication Systems-Lecture Slides and more Slides Digital Communication Systems in PDF only on Docsity!

1

Digital Communication

Systems

Dr. Shurjeel Wyne

Lecture 12

CH 6 – Channel Coding

2

Today, we are going to talk

about:

 Channel coding to detect/correct errors

 Linear block codes

 Their error detection and correction capability
 Channel Encoding

3

Error control techniques

 Automatic Repeat ReQuest (ARQ)

 Full-duplex connection, error detection codes  On receiving a data packet, the receiver sends feedback to the transmitter : an Acknowledgement (ACK) message is sent if reception is error free, and a Negative-Acknowledgement (NACK) message is sent if an error is detected in the received packet.  The transmitter retransmits the previously sent packet if it receives NACK.

 Forward Error Correction (FEC)

 Simplex connection, error correction codes  The receiver tries to correct some errors

 Hybrid ARQ (ARQ+FEC)

 Full-duplex, error detection and correction codes

4

Block diagram of a DCS

Format

Format

Channel encoder

Pulse modulate

Bandpass modulate

Channel decoder

Demod. Sample Detect

Digital modulation Channel

Digital demodulation

7

Why use error correction coding?

 Error performance vs. bandwidth
 Power vs. bandwidth

Eb / N 0 (dB)

P B

A F B

D

C

E (^) Uncoded

Coded

Coding gain: For a target bit-error probability, the reduction in the Eb/N0 that can be achieved through the use of coding:

[dB] [dB] [dB] (^0) u (^0) c  

  

   

  

  N

E N

E G b b

NOTE: Under the condition that Rb is not allowed to reduce after Channel Coding, more bandwidth (faster symbol rate) is required after Channel Coding.

 Data rate vs. bandwidth

8

Block Codes

 Block coding: parity bits are added to blocks of message bits to make code words or code blocks  A block code is referred to as an (n, k) code, where k information bits are encoded into n code bits  Thus, n – k redundant bits are added to the k information bits for error detection and correction  The code rate of a code is the ratio of data bits to total bits within a codeword = k / n  The ability of a block code to correct errors is a function of the code distanceDistance of a code : the distance between two code words is the number of elements in which two code words differ; the minimum distance for a given set of codewords, is the smallest distance between any two codewords in the set

9

Some definitions

 Binary field :

 The finite set {0,1}, closed under modulo 2 addition and multiplication forms a binary field.

 Binary field is also called Galois (finite) field of order 2, GF(2).

1 1 0

1 0 1

0 1 1

0 0 0

 

 

 

 

11 1

10 0

01 0

0 0 0

 

 

 

 

Addition (^) Multiplication

10

Some definitions – cont’d

 Fields :

 Let F be a set of objects on which two
operations ‘+’ and ‘.’ are defined.
 F is said to be a field if and only if
  1. F forms a commutative group under + operation
  2. An additive identity element exists ( labeled “0”).
  3. F forms a commutative group under. Operation.
  4. A multiplicative identity element exists (labeled “1”)
  5. The operations “+” and “.” distribute:

a , bFabbaF

a , bFabbaF

a ( bc )( ab )( ac )

13

Some definitions – cont’d

 Spanning set:

 A collection of vectors , is said to be a spanning set for the vector space V or to span V if linear combinations of the vectors in G include all vectors in the vector space V,  Example:

 Basis:

 A spanning set of V that has minimal cardinality is called a basis for V.  Cardinality of a set is the number of objects in the set.  Example: ( 1000 ),( 0100 ),( 0010 ),( 0001 ) isabasisfor V 4.

( 1000 ),( 0110 ),( 1100 ),( 0011 ),( 1001 ) spans V 4.

G   v (^) 1 , v 2 ,..., v n

14

Block diagram of a DCS

Format

Format

Channel encoder

Pulse modulate

Bandpass modulate

Channel decoder

Demod. Sample Detect

Digital modulation Channel

Digital demodulation

15

Linear block codes

 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 the channel.  The reverse procedure is done at the receiver.

Data block Channel encoder Codeword k bits n bits n-k Parity (redundant) bits

The code rate is the ratio of data bits to total bits in a codeword, code rate = k / n

16

Linear block codes – cont’d

 Linear block code (n,k)

 A set of n-tuples, C, with cardinality is called a
linear block code if, and only if, it is a subspace
of the vector space.

Members of C are called code-words.  The all-zero word is a codeword.  Any linear combination of codewords is a codeword.

V n

k 2

Vk  C  V n

19

Linear block codes – cont’d

 The Hamming weight of a vector U , denoted by
w( U ), is the number of non-zero elements in U.
 The Hamming distance between two vectors (or
codewords) U and V , is the number of elements in
which they differ.
 The minimum (hamming) distance of a block code
is
d ( U, V ) w ( U  V )

min min ( , ) min ( i^ )

i j i j i

d  d U U  w U

20

Linear block codes – cont’d

 Error detection capability, e , is given by
 Error correcting-capability t of a code is defined as
the maximum number of guaranteed correctable
errors per codeword, is

d min 1 t

ed min  1

21

Linear block codes (Error Performance)

 For analyzing error performance of linear block codes, the combination of modulator , AWGN channel , and demodulator/detector is conventionally considered as an equivalent Binary Symmetric Channel with a (symmetric) cross over probability p

 Note that for a coded system, the code bits are modulated and transmitted over the channel. For example: M-PSK modulation on AWGN channels (M>2):

where is energy per coded bit, given by

  ^ ^    

 

  

  

    

   

  

  

  N M

n ME k Q N M M

ME Q M p c ^ b^ sin

2 log log

2 sin 2 log log

2 0

2 0 2

2 2

E (^) c c Eb n

k E

Tx. bits Rx. bits

1-p

1-p

p

p

1

0 0

1

22

Error performance of Linear block codes – cont’d  For memory less channels, the probability that the decoder commits an erroneous decoding is

 is the transition probability or bit error probability over the channel (before decoding).

 is the message or n-bit block/word error
probability at decoder output

 The probability that a decoded bit is in error is

j n j n

jt

M (^) j p p

n P  

^ 

 (^)  ( 1 ) 1

j n j n

jt

B (^) j p p

n j n

P 



^ 

 (^)  ( 1 )

1

p

P M

25

Generation of Codewords in

Linear block codes – cont’d

 Example: Block code (6,3)

  

  1

0

0

0

1

0

0

0

1

1

1

0

0

1

1

1

0

1

3

2

1

V

V

V G

Message vector Codeword

26

 Systematic block code (n,k)

 For a systematic code, the first (or last) k elements
in the codeword are information bits.&

messagebits

1 2 paritybits

U  u 1 u 2 un  p 1 p 2 pn  k m m mk

( ) matrix

identitymatrix

[ ]

k n k

k k k

k

P

I

G P I

P is the parity array portion of the generator matrix, pij = (0 or 1)

UmG

Generation of Codewords in Linear block codes – cont’d