







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








1
2
3
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.
Simplex connection, error correction codes The receiver tries to correct some errors
Full-duplex, error detection and correction codes
4
Format
Format
Channel encoder
Pulse modulate
Bandpass modulate
Channel decoder
Demod. Sample Detect
Digital modulation Channel
Digital demodulation
7
Why use error correction coding?
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.
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 distance Distance 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
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
Fields :
a , b F a b b a F
a , b F a b b a F
a ( b c )( a b )( a c )
13
Some definitions – cont’d
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:
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
Format
Format
Channel encoder
Pulse modulate
Bandpass modulate
Channel decoder
Demod. Sample Detect
Digital modulation Channel
Digital demodulation
15
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
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
19
Linear block codes – cont’d
i j i j i
20
d min 1 t
e d 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).
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
(^) ( 1 )
1
p
P M
25
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
messagebits
1 2 paritybits
k
P is the parity array portion of the generator matrix, pij = (0 or 1)
U mG
Generation of Codewords in Linear block codes – cont’d