Académique Documents
Professionnel Documents
Culture Documents
Dirk Wbben
Department of Communications Engineering
Room: N 2380, Phone: 0421/218-2545
Email: wuebben@ant.uni-bremen.de
Lecture Tutor
Tuesday, 08:30 10:00 in N2420 Ronald Bhnke
Room: N2380
Wednesday, 14:00 16:00 in N2250 Phone 218-2545
Dates for exercises will be announced boehnke@ant.uni-bremen.de
during lectures.
http://www.ant.uni-bremen.de/teaching/kc
Preliminaries
Master students:
Channel Coding I and Channel Coding II are elective courses
Written examination at the end of each semester
Diplomstudenten
Kanalcodierung als (Wahl)pflichtfach, mndliche Prfung
Wahlweise dreistndig (Prfung nach 1 Semester)
oder sechsstndig (Prfung nach 2 Semestern)
Documents
Script Kanalcodierung I/II by Volker Khn (in German), these slides and tasks for
exercises are available in the internet http://www.ant.uni-bremen.de/teaching/kc
Exercises
Take place on Wednesday, 14:00-16:00 in Room N2250
Dates will be arranged in the lesson and announced by mailling list
cc@ant.uni-bremen.de
Contain theoretical analysis and tasks to be solved in Matlab
Universitt
Bremen Dirk Wbben Channel Coding I 2
Literature
Books on Channel Coding
B. Friedrichs, Kanalcodierung, Springer Verlag, 1996
M. Bossert, Kanalcodierung, B.G. Teubner Verlag, 1998,
M. Bossert, Channel Coding for Telecommunications, Wiley 1999
R. E. Blahut, Algebraic Codes for Data Transmission, Cambridge University Press, 2003
S. Lin, D. J. Costello, Jr., Error Control Coding: Fundamentals and Applications, Prentice- Hall, 2004
W.C. Huffman, V. Pless, Fundamentals of Error-Correcting Codes, Cambridge University Press, 2003
S. B. Wicker, Error Control Systems for Digital Communications and Storage, Prentice-Hall, 1995
J. Huber, Trelliscodierung, Springer Verlag, 1992
Internet Resources
Universitt
Bremen Dirk Wbben Channel Coding I 3
Outline Channel Coding I
Introduction
Declarations and definitions, general principle of channel coding
Structure of digital communication systems
One Lesson of Information Theory
Probabilities, measure of information
SHANNONs channel capacity for different channels
Linear block codes
Properties of block codes and general decoding principles
Bounds on error rate performance
Representation of block codes with generator and parity check matrices
Cyclic block codes (Reed-Solomon and BCH codes)
Convolutional Codes
Structure, algebraic and graphical presentation
Distance properties and error rate performance
Optimal decoding with Viterbi algorithm
Universitt
Bremen Dirk Wbben Channel Coding I 4
Outline Channel Coding II
Concatenated Codes
Serial Concatenation
Parallel Concatenation (Turbo Codes)
Iterative Decoding with Soft-In/Soft-Out decoding algorithms
Universitt
Bremen Dirk Wbben Channel Coding I 5
Introduction
Discrete Channel
Statistical description
AWGN and fading channel
Discrete Memoryless Channel (DMC)
Binary Symmetric Channel (BSC and BSEC)
Universitt
Bremen Dirk Wbben Channel Coding I 6
General Declarations
Important terms:
Message Amount of transmitted data or symbols by the source
Information Part of message, which is new for the sink
Redundancy Difference of message and information, which is
unknown to the sink
Message = Information + Redundancy
Irrelevance Information, which is not of importance to the sink
Equivocation Information, not stemming from sink of interest
Message is also transmitted in a distinct amount of time
Messageflow Amount of message per time
Informationflow Amount of information per time
Transinformation Amount of error-free information per time transmitted
from the source to the sink
Universitt
Bremen Dirk Wbben Channel Coding I 7
Three Main Areas of Coding
Cryptography
The information is encrypted to make it unreadable to unauthorized persons or to
avoid falsification or deception during transmission.
Decryption is only possible by knowing the encryption key
Universitt
Bremen Dirk Wbben Channel Coding I 8
Basic Principles of Channel Coding
Universitt
Bremen Dirk Wbben Channel Coding I 9
Basic Idea of Channel Coding
Channel Coding
Coder is the mapper
Universitt
Bremen Dirk Wbben Channel Coding I 10
Visualizing Distance Properties with Code Cube
Universitt
Bremen Dirk Wbben Channel Coding I 11
Applications of Channel Coding
Universitt
Bremen Dirk Wbben Channel Coding I 12
Structure of Digital Transmission System
analog
u
analog source
source
source
source encoder
encoder
digital source
Universitt
Bremen Dirk Wbben Channel Coding I 13
Structure of Digital Transmission System
analog
u x
analog source
source channel
channel
source
source encoder
encoder encoder
encoder
digital source
Channel encoder adds redundancy to u so that errors in
x = (x0 x1 xn-1) can be detected or even corrected
Channel encoder may consist of several constituent codes
Code rate: Rc = k / n
Universitt
Bremen Dirk Wbben Channel Coding I 14
Structure of Digital Transmission System
analog
u x
analog source
source channel
channel modulator
modulator
source
source encoder
encoder encoder
encoder
digital source
physical
physical
channel
channel
Modulator maps discrete vector x onto analog waveform
and moves it into the transmission band y
demodulator
demodulator
Physical channel represents transmission medium
Multipath propagation intersymbol interference (ISI) discrete channel
Time varying fading, i.e. deep fades in complex
envelope Discrete channel: comprises analog part of
Additive noise modulator, physical channel and analog part
of demodulator
Demodulator: Moves signal back into baseband and
performs lowpass filtering, sampling, quantization
Universitt
Bremen Dirk Wbben Channel Coding I 15
Structure of Digital Transmission System
analog
u x
analog source
source channel
channel modulator
modulator
source
source encoder
encoder encoder
encoder
digital source
physical
physical
channel
channel
u y
channel
channel demodulator
demodulator
decoder
decoder
discrete channel
Channel decoder:
Estimation of u on the basis of received vector y
y need not to consist of hard quantized values (0,1)
Since encoder may consist of several parts,
decoder may also consist of several modules
Universitt
Bremen Dirk Wbben Channel Coding I 16
Structure of Digital Transmission System
analog
u x
analog source
source channel
channel modulator
modulator
source
source encoder
encoder encoder
encoder
digital source
physical
physical
feedback channel
channel
channel
u y
source
source channel
channel
sink
sink demodulator
demodulator
decoder
decoder decoder
decoder
discrete channel
Citation of Massey:
The purpose of the modulation system is to create a good discrete channel from the
modulator input to the demodulator output, and the purpose of the coding system is
to transmit the information bits reliably through this discrete channel at the highest
practicable rate.
Universitt
Bremen Dirk Wbben Channel Coding I 17
Discrete Channel
discrete
xiAin yiAout
channel
Universitt
Bremen Dirk Wbben Channel Coding I 18
Discrete Channel
X1 Y1
X|A Y|A
in|-1 out|-1
Universitt
Bremen Dirk Wbben Channel Coding I 19
Discrete Channel
Pr { X , Y }
A-posteriori probabilities: {
Pr X Y = } Pr {Y }
For statistical independent elements
Pr { X , Y } Pr { X } Pr {Y }
Pr { X , Y } = Pr { X } Pr {Y } {
Pr X Y = } Pr {Y }
=
Pr {Y }
= Pr { X }
Pr {a } = 1
i
X Ain
Pr { X } =
Y Aout
Pr {Y } = 1
i
Pr {a} = Pr {a, b j } Pr {Y } = Pr { X , Y } Pr { X } = Pr { X , Y }
j X Ain Y Aout
Pr {a , b } = 1
i j
i j
X Ain Y Aout
Pr { X , Y } = 1
Universitt
Bremen Dirk Wbben Channel Coding I 20
Bayes Rule
Bayes Rule
Pr {a, b} Pr {b} Pr {Y }
Pr {b a} =
Pr {a}
= Pr {a b}
Pr {a} {
Pr {Y X } = Pr X Y } Pr { X }
Attention
Pr {Y , X } Pr {Y }
{
Pr X Y = } = =1 and Pr {Y X } = 1
X Ain X Ain Pr {Y } Pr {Y } Y Aout
Pr { X , Y }
but
Y Aout
{
Pr X Y = } Y Aout Pr {Y }
1
Example
Universitt
Bremen Dirk Wbben Channel Coding I 21
Baseband Transmission
XX , NN
n(t ) Es
iTs X2
xi x (t ) yi
N0 / 2 N2
g T (t ) channel
channel g R (t )
f
2B
{ }
i
X2 E
Signal to Noise Ratio (after matched filtering) S/N = 2 = s
N N0 2
Universitt
Bremen Dirk Wbben Channel Coding I 22
Bandpass Transmission
1 ej0 t
2 ej0 t n (t ) 2
xi x (t ) xBP (t ) yBP (t ) y + (t ) yi
g T (t ) Re {i} channel
channel g R (t )
j H {i}
Universitt
Bremen Dirk Wbben Channel Coding I 23
Equivalent Baseband Representation
X BP X BP , N BP N BP
XX , NN
1
2
Es
2 X
X2
1
N2 E = Es 2
r
s N2
2
N0 / 2
N0 2
-f0 f0 f f
B
B B
Equivalent received signal
xBP ( t ) hBP ( t ) + nBP ( t ) e 0 = x ( t ) h ( t ) + n ( t )
1 + j t
y (t ) =
2
X2 2 B Es 2 Es
S/N = 2 = =
N 2B N0 2 N0
In this semester, only real signals are investigated (BPSK)
Signal is only given in the real part X2 E
S/N = 2 = s
Only the real part of noise is of interest N N0 2
Universitt
Bremen Dirk Wbben Channel Coding I 24
Probability Density Functions for AWGN Channel
( y X ) 2
ni
exp
1
p y| x ( y | X ) =
xi yi
2 N
2 2 2
N
0.4 0.4
p y|x ( | = 1) p y|x ( | = +1)
0.2 0.2
0 0
-4 -2 0 2 4 -4 -2 0 2 4
ddd
ddd
Universitt
Bremen Dirk Wbben Channel Coding I 25
Error Probability of AWGN Channel
Signal-to-Noise-Ratio S/N
S Es Ts Es Es : symbol energy
= = N0/2: noise density
N N 0 2 Ts N 0 2
Error Probability for antipodal modulation (+ Es Ts , Es Ts )
Pe = Pr {error xi = 1} = p y| x | = Es Ts d = pn + Es Ts d
0
( ) 0
( )
p ( | = ) p ( )
0 0
= Pr {error xi = +1} = y| x Es Ts d = n Es Ts d
+ E T
exp
( ) d
2
1 s s
=
2 N 0
2 2 N2
Universitt
Bremen Dirk Wbben Channel Coding I 26
Error Probability of AWGN Channel
Es
with error function complement
d = erfc
1 2 1
Pe = 2
0
e erfc ( ) = 1 erf ( ) = e 2
d
Es N 0
2 N
(
or = + Es Ts ) N 0 2 Ts
2 Es
d = Q e
2 2
1 1
Pe = Q ( ) = d
N0
2
e with 2
2 Es N0 2
2
Universitt
Bremen Dirk Wbben Channel Coding I 27
Probability Density Functions for Frequency
Nonselective Rayleigh Fading Channel
2 s2 exp ( 2 s2 ) for 0
i ni
p ( ) =
xi ri yi
0 else
0 0 0
0 2 4 -4 -2 0 2 4 -4 -2 0 2 4
i ri yi
Universitt
Bremen Dirk Wbben Channel Coding I 28
Bit Error Rates for AWGN and Flat Rayleigh
Channel (BPSK modulation)
AWGN channel:
0
10
AWGN
Rayleigh
Pb =
1
2
erfc ( Es / N 0 )
( )
-2
10
=Q 2 Es / N 0
Pb 17 dB
Flat Rayleigh fading channel:
1 Es / N 0
-4
10
Pb = 1
2 1 + Es / N 0
-6
Channel coding for fading
10
0 10 20 30
channels essential
Es / N0 in dB (time diversity)
Universitt
Bremen Dirk Wbben Channel Coding I 29
Rice Fading Channel
If line-of-sight connection exist for , its real part is non-central Gaussian distributed
Rice factor K determines power ratio between line-of-sight path and scattered paths
K = 0 : Rayleigh fading channel
K : AWGN channel ni
K
(no fading)
1+ K
xi
yi
1
1+ K
' ai = K
1+ K
+ 1
1+ K
'[k ]
0 else
Universitt
Bremen Dirk Wbben Channel Coding I 30
Discrete Memoryless Channel (DMC)
Transition probabilities of a discrete memoryless channel (DMC)
n 1
Pr {y x} = Pr { y0 , y1 ,, yn 1 x0 , x1 ,, xn 1} = Pr { yi xi }
i =0
Probability, that in a sequence of length n exactly m errors occur (at any place)
n m
Pr {m error in a sequence of length n} = Pe (1 Pe )
nm
With n =
n! giving the number of possibilities to choose m
m m ! ( n m ) ! elements out of n different elements, without
regarding the succession (combinations)
Universitt
Bremen Dirk Wbben Channel Coding I 31
Binary Symmetric Channel (BSC and BSEC)
Pr { x y} =
Pq
Pe
y =?
Pq
Y2
Pe
Pq Pe yx
X1 Y1
1-Pe-Pq
Universitt
Bremen Dirk Wbben Channel Coding I 32