Professional Documents
Culture Documents
q
M-/. =
)
* 0
2
* 0 * 1
q
M-/. = )-
)
* 0
2
* 0 * 1.
=
L
* 0
J
* 0
A
*
)
Thu" the remainder i", :-. =
2
*
: = -1 1 0.
The "y"tematic form of the codeword i" gi$en a",
= = -m
)
m
2
m
1
m
0
: c
2
c
1
c
0
.
= -1 0 0 1 : 1 1 0.
Thi" i" the required tran"mitted codeword%
3. E<3'a!) -,).r(&" a). !t- 3r(3"rt!"-. /92 /M01-132
i% &uge "torage memory -and "earching time. i" required #y "tandard array
decoding%
ii% Hefine the "yndrome
- = CH
T
= -% * ". H
T
= "H
T
iii% The "yndrome deend" only on the error attern and not on the tran"mitted
codeword%
i$% Therefore, each co"et in the array i" a""ociated with a unique "yndrome%
The "yndrome roertie" are,
i% 6yndrome i" o#tained #y 6 = ?&
T
ii% 7f ? = = then 6 = 0 i%e%, no error in outut
iii% 7f ? = = then 6 d 0 i%e%, there i" an error in outut%
i$% 6yndrome deend" uon the error attern only, i%e%, 6 = 1&
T
5. E<3'a!) -,).r(&" ."%(.!): !) '!)"ar 7'(%B %(."- 8!t# "<a&3'". /62 /M01-132
&amming :ode i" a (inear ;lock :ode% (inear ;lock :ode mean" that the
codeword i" generated #y multilying the me""age $ector with the generator matri!%
Minimum weight a" large a" o""i#le% 7f minimum weight i" 2t+1, caa#le of detecting 2t
error #it" and correcting t error #it"%
6yndrome decoding i" a more efficient method of decoding a linear code o$er a noi"y
channel% 6yndrome decoding i" minimum distance decoding u"ing a reduced looku
ta#le%
6. E<3'a!) t#" Ha&&!): %(."- 8!t# "<a&3'". /192 /N0D-122
&amming :ode" are "till widely u"ed in comuting, telecommunication, and other
alication"% &amming :ode" al"o alied in
i% Hata comre""ion
ii% 6ome "olution" to the oular u22le The &at 9ame
iii% ;lock Tur#o :ode"
' TQ,AU #inary &amming :ode
i% (et our codeword #e -!
1
!
2
e !
Q
. g +
2
Q
ii% !
)
, !
J
, !
L
, !
Q
are cho"en according to the me""age -erha" the me""age it"elf i"
-!
)
!
J
!
L
!
Q
..%
iii% !
A
:= !
J
* !
L
* !
Q
-mod 2.
i$% !
2
:= !
)
* !
L
* !
Q
$% !
1
:= !
)
* !
J
* !
Q
$i% 7f -y
1
y
2
e y
Q
. i" recei$ed and a#c d 000, then we a""ume the #it a#c i" in error
and "witch it% 7f a#c=000, we a""ume there were no error" -"o if there are three or
more error" we may reco$er the wrong codeword.%
$ii% +or an Tn, kU linear code, the generator matri! i" a khn matri! for which the row
"ace i" the gi$en code%
$iii% ' check matri! for an Tn, kU i" a generator matri! for the dual code% 7n
other word", an -n-k.hk matri! M for which M< = 0 for all ! in the code%
i!% +or a gi$en r, form an r h 2
r
-1 matri! M, the column" of which are the #inary
rere"entation" -r #it" long. of 1, e, 2
r
-1%
!% The linear code for which thi" i" the check matri! i" a T2
r
-1, 2
r
-1 0 rU #inary
&amming :ode = C<=-!
1
!
2
e !
n
. : M<
T
= 0E%
9. E<3'a!) !) ."ta!', C,%'!% %(."-. /192 /N0D-122
They o""e"" rich alge#raic "tructure that can #e utili2ed in a $ariety of way"%
They ha$e e!tremely conci"e "ecification"% They can #e efficiently imlemented u"ing
"imle "hift regi"ter"% Many ractically imortant code" are cyclic% :on$olution code"
allow to encode "tream" od data -#it".%
i. &amming code i" u"eful #ut there e!i"t code" that off /olynomial rere"entation
of cyclic code"%
C(x) = C
n-1
x
n-1
+ C
n-2
x
n-2
+ + C
1
x
1
+ C
0
x
0
,
where, in thi" cour"e, the coefficient" #elong to the #inary field {0,1}%
ii% That i", if the codeword i" (1010011) -c6 fir"t, c0 la"t., we write it a" x
6
+ x
4
+ x
+ 1
iii% 'ddition and "u#traction of olynomial" 0 Hone #y doing #inary addition or
"u#traction on each #it indi!idua""#, no carry and no #orrow%
i$% Hi$i"ion and multilication of olynomial"% Try di$ide x
$
+ x
2
+ x
+ 1 #y x
+ 1%
$% 6ame -if not larger. error control caa#ilitie" while can #e imlemented much
"imler%
$i% :yclic code i" a linear code that any cyclic "hift of a codeword i" "till a codeword%
$ii% Make" encoding4decoding much "imler, no need of matri! multilication%
$iii% ' (n,k) cyclic code can #e generated #y a olynomial g(x) which ha" degree n-k
and i" a factor of x
n
- 1%
:all it the generator olynomial%
i% 9i$en me""age #it", -m
k-1
m
1
m
0
), the code i" generated "imly a":
ii% 7n other word", C(x) can #e con"idered a" the roduct of m(x) and g(x)%
DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI
DEPARTMENT OF INFORMATION TECHNOLOGY
IT2302 - INFORMATION THEORY AND CODING
UNIT - J
Part A
1% #at ar" %()C")t!()a' %(."-4 H(8 ar" t#", .!$$"r")t $r(& 7'(%B %(."-4 /N0D-102
:on$olution code" are error detecting code" u"ed to relia#ly tran"mit digital data
o$er unrelia#le communication channel "y"tem to channel noi"e%
2% Stat" t#" 3r!)%!3'" ($ T+r7( %(.!):. /N0D-102
The "ignificance of Tur#o coding i",
i. High weight code words
ii. 'ecoder generates estimates of codewords in two stages of decoding and
interleaving.deinter leaving.
iii. This is li/e circulation of air in turbo engine for better performance. Hence these
codes called turbo codes
)% #at ar" t#" r"a-()- t( +-" a) !)t"r '"aC"r !) a t+r7( %(."4 /A0M-112
'n interlea$er i" a de$ice that rearrange" the ordering of "equence of "ym#ol" in a
determini"tic manner% The two main i""ue" in the interlea$er "i2e and the interlea$er ma%
7nterlea$er i" u"ed to feed the encoder" with ermutation" "o that the generated
redundancy "equence" can #e a""umed indeendent%
A% D"$!)" %()-tra!)t '"):t# /A0M-112
The con"traint length -K. of a con$olutional code i" defined a" the num#er of
"hift" a "ingle me""age #it to enter the "hift regi"ter and finally come" out of the encoder
outut%
K= M * 1
J% #at ar" t#" .!$$"r")%"- 7"t8"") 7'(%B a). %()C('+t!() %(."-4 /M01-132
6%<o ;lock code" :on$olution code"
1%
2%
)%
The information #it" are followed #y
the arity #it"%
There i" no data deendency
#etween #lock"
5"eful for data communication"%
The information #it" are "read along
the "equence
Hata a""e" through con$olutional
code" in a continuou" "tream%
5"eful for low 0 latency
communication"%
L% D"$!)" C()-tra!)t L"):t# ($ a C()C('+t!()a' C(.". /N0D-132
:on"traint length i" the num#er of "hift" o$er which the "ingle me""age #it can
influence the encoder outut% 7t i" e!re""ed in term" of me""age #it"%
Q% #at ar" %()C('+t!()a' %(."-4 /N0D-122
A convolutional code in which parity bits are continuously interleaved by
information (or message bits.
M% D"$!)" T+r7( %(." /N0D-122
The /arallel :oncatenated :on$olutional :ode"-/:::., called Tur#o :ode", ha"
"ol$ed the dilemma of "tructure and randomne"" through concatenation and interlea$ing
re"ecti$ely% The introduction of tur#o code" ha" gi$en mo"t of the gain romi"ed #y the
channel 0 coding theorem%
Part D
1. E<3'a!) !) ."ta!', t#" J!t"r7! a':(r!t#& $(r ."%(.!): ($ %()C('+t!()a' %(."-, 8!t# a
-+!ta7'" "<a&3'". /192 /N0D-102
The Viter#i algorithm erform" Ma!imum likelihood decoding%7t find a ath through
trelli" with the large"t metric -minimum &amming di"tance4minimum 1uclidean
di"tance.%
i% 't each "te in the trelli", it comare" the metric of all ath" entering each "tate,
and kee" only the ath with the large"t metric -minimum &amming di"tance.
together with it" metric% The "elected ath i" known a" "ur$i$or ath%
ii% 7t roceed" in the trelli" #y eliminating the lea"t likely ath"%
' :on$olutional code i" "ecified #y three arameter" -n,k,K. or -k4n,K. where
i% Bc=k4n i" the rate efficiency, determining the num#er of data #it" er coded #it%
ii% % i" the "i2e of the "hift regi"ter%
iii% :on"traint length = nZK, i%e% the effect of each #it ha$e it" influence on nZK #it"%
Pr(7'"&- () J!t"r7! A':(r!t#&A
i% :omutational comle!ity increa"e" e!onentially with con"traint length%
ii% The u"ually u"ed &amming di"tance in V' i" "u#-otimum and therefore lo"e
"ome erformance%
iii% Viter#i algorithm i" a M( -otimum. algorithm if 1uclidean di"tance i" u"ed%
A33'!%at!() ($ J!t"r7! A'(:(r!t#!&A
i% :on$olutional decoding and channel trelli" decoding%
ii% 6eech and character recognition %
iii% Gtical character recognition%
i$% H<' "equence analy"i" %
2. C()-tr+%t a %()C('+t!() ")%(."r $(r t#" $(''(8!): -3"%!$!%at!()- A rat" "$$!%!")%,
102, %()-tra!)t '"):t# 3, t#" %())"%t!()- $r(& t#" -#!$t r":!-t"r t( &(.+'(-2 a.."r
ar" ."-%r!7". 7, t#" $(''(8!): "*+at!()-, g
1
/x2 = 1 K x K x
2
, g
2
/x2 = 1 K x
2
.
D"t"r&!)" t#" (+t3+t %(."8(r. $(r t#" &"--a:" L10011M. /192 /A0M-112
9i$en:
g
1
-x. = 1 * x * x
2
g
2
-x. = 1 * x
2
&ere g
1
-x. and g
2
-x. ha" only two inut"% &ence we mu"t interret the con"traint length
a" nM%
&ere rate efficiency = k 4 n = 1 4 2
n = 2
6ince con"traint length i" gi$en a",
nM = A
2 h M = A
M = A 6ince n = 2
Thu" there are two "torage location"%
g
-1.
-. = 1 * and g
-2.
-. =
m = -1 1 1 0.
m-. =
)
*
2
*
!
-1.
-. = g
-1.
-. m-.
= -1 * .-
)
*
2
* .
=
A
*
= 0 * * 0 * 0 *
A
=
i
-1. = C0 1 0 0 1E
'nd, !
-2.
-. = g
-2.
-. % m-.
= -
)
*
2
* .
=
A
*
)
*
2
= 0 * 0 *
2
*
)
*
A
=
i
-2. = C0 0 1 1 1E
&ence outut "equence after multile!ing !
i
-1. and !
i
-2. will #e
=
i
= C0 0 1 0 0 1 0 1 1 1E
3. E<3'a!) !) ."ta!', T+r7( ."%(.!):. /192 /A0M-112
D"$!)!t!()
i% &igh weight code word"
ii% Hecoder generate" e"timate" of codeword" in two "tage" of decoding and
interlea$ing-deinter lea$ing%
iii% Thi" i" like circulation of air in tur#o engine for #etter erformance% &ence
the"e code" called tur#o code"
T+r7( ")%(."r .!a:ra&
T+r7( ."%(."r
:riterion
0 +or n ro#a#ili"tic roce""or" working together to e"timate common "ym#ol", all
of them "hould agree on the "ym#ol" with the ro#a#ilitie" a" a "ingle decoder
could do
5. H(8 !- .
$r""
."t"r&!)" +-!): Tr"''!- a':(r!t#&4 E<3'a!). /52 /N0D-132
Tr"''!- R"3r"-")tat!() ($ C()C('+t!()a' C(."
6tate diagram i" ]unfolded^ a function of time
Time indicated #y mo$ement toward" right
:ontent" of "hift regi"ter" make u S"tateS of code:
i% Mo"t recent inut i" mo"t "ignificant #it of "tate%
ii% Glde"t inut i" lea"t "ignificant #it of "tate%
iii% 'llowa#le tran"ition" are denoted #y connect" #etween "tate"
i$% tran"ition" may #e la#eled with tran"mitted #it"
E<a&3'" ($ Tr"''!- D!a:ra&
k=1, n=2, %=$ con$olutional code
6. E<3'a!) !) ."ta!', %()C('+t!()a' %(." a). %(&3ar" !t 8!t# 7'(%B %(."-./?2/N0D-122
D'(%B J"r-+- C()C('+t!()a' C(."-
;lock code" take k inut #it" and roduce n outut #it", where k and n are large there i"
no data deendency #etween #lock" u"eful for data communication"%
:on$olutional code" take a "mall num#er of inut #it" and roduce a "mall num#er of
outut #it" each time eriod%
i% data a""e" through con$olutional code" in a continuou" "tream
ii% u"eful for low- latency communication"
iii% k #it" are inut, n #it" are outut
i$% <ow k a n are $ery "mall -u"ually k=1-), n=2-L.
$% 7nut deend" not only on current "et of k inut #it", #ut al"o on a"t inut% The
num#er of #it" which inut deend" on i" called the Scon"traint lengthS %
$i% +requently, we will "ee that k=1
9. E<3'a!) !) ."ta!', T+r7( %(."- a). t#"!r +-"-. /192 /N0D-122
T+r7( C(."-
7111 7nternational :omm conf 1KK) in 9ene$a;errou, 9la$ieu!% : b<ear 6hannon
(imit 1rror-:orrecting :oding: Tur#o code"c ro$ided $irtually error free communication
at data date4ower efficiencie" #eyond mo"t e!ert" though Tur#o code" )0 year" ago%
i% <on"y"tematic
ii% <onrecur"i$e com#ination of con$% 1ncoder" ;errou et al at 1KK)
iii% Becur"i$e 6y"tematic
i$% ;a"ed on "eudo random
$% 3ork" #etter for high rate" or high le$el of noi"e
$i% Beturn to 2ero "equence"
T+r7( E)%(."r
i% The k-#it #lock i" encoded < time" with different $er"ion" -order.
ii% /ro the "equence remain" BTO i" 142
<$
% Bandomne"" with 2 encoder"> error ro of
10
-J
%/ermutation" are to fi! d
min
% Becur"i$e 6y"tematic :oder% Beturn to 2ero
"equence% <on recur"i$e encoder "tate goe" to 2ero after $ b0c% B6: goe" to 2ero with
/= 142
$
if one want" to tran"form con$% into #lock code> it i" automatically #uilt in%
7nitial "tate i will reeat after encoding k %
C()C('+t!() E)%(."r-
i% Tur#o Hecoding
ii% Tur#o Hecoding
+or n ro#a#ili"tic roce""or" working together to e"timate common "ym#ol", all of them
"hould agree on the "ym#ol" with the ro#a#ilitie" a" a "ingle decoder could do
The inut" to the decoder" are the (og likelihood ratio -((B. for the indi$idual "ym#ol d%
((B $alue for the "ym#ol d i" defined - ;errou. a" Tur#o Hecoder%
The 676G decoder ree$aluate" the ((B utili2ing the local ?1 and ?2 redundancie" to
imro$e the confidence
Tur#o Hecoding
i% 5
i
: modulating #it C0,1E
ii% ?
i
: recei$ed #it, outut of a correlator% :an take any $alue -"oft.%
iii% Tur#o Hecoder inut i" the log likelihood ratio
i$% B-u
i
. = log T /-?
i
i5
i
=1.4-/-?
i
i5
i
=0.U
$% +or ;/6K, B-u
i
. =2 ?i4 -$ar.
2
$i% +or each data #it, calculate the ((B gi$en that a "equence of #it were "ent Tur#o
Hecoding
;. E<3'a!) %()C('+t!()a' ")%(."r 8!t# a) "<a&3'". /92 /A0M-102
:on$olutional :ode":
:on$olution code" are error detecting code" u"ed to relia#ly tran"mit digital data o$er
unrelia#le communication channel "y"tem to channel noi"e%
i% The information #it" are "read along the "equence
ii% Hata a""e" through con$olutional code" in a continuou" "tream
iii% 5"eful for low 0 latency communication"%
7nterlea$ing
3e ha$e a""umed "o far that #it error" are indeendent from one #it to the ne!t
7nterlea$ing
3e ha$e assumed "o far that #it error" are indeendent from one
#it to the ne!t
7n mo#ile radio, fading make" bursts of error likely%
7nterlea$ing i" u"ed to try to make the"e error" indeendent again
1rror :ontrol :oding , j ;rian H% 3oerner , reroduced #y: 1rhan '% 7<:1
Heth
Gf
7nterlea$ing
1
1
L
2
11
)
1L
A
21
J
)1
Q
2L
L
J
2K
10
)0
)0
)A
)J
)J
(ength
Grder
;it"
Tran"mitted
Grder
;it"
Becei$ed
i% ;oth code" con"tructed o$er 9+-2JL. -M-#it"4"ym#ol.
ii% Guter code i" a -2M,2A. "hortened B6 code
iii% 7nner code i" a -)2,2M. e!tended B6 code
i$% 7n #etween coder" i" a -2M,A. cro""-interlea$er
$% G$erall code rate i" r = 0%QJ
$i% Mo"t commercial :H layer" donct e!loit full ower of the error correction
coder
$ii% 7nner code rate i" k, con"traint length Q con$olutinal encoder
$iii% Guter :ode -2JJ,22). B6 code o$er 9+-2JL. 0 correct" any #ur"t error"
from con$olutional code"
i!% G$erall :ode Bate i" r= 0%A)Q
!% ' #lock interlea$er held 2B6 :ode word"
!i% Hee "ace channel i" "e$erely energy limited #ut not #andwidth limited