SlideShare a Scribd company logo
1 of 18
Information Theory & Coding
Unit V :
Measure of Information, Source Encoding, Error Free Communication over a Noisy Channel capacity of
a discrete and Continuous Memoryless channel Error Correcting codes: Hamming sphere, Hamming
distance and Hamming bound, relation between minimum distance and error detecting and correcting
capability, Linear block codes, encoding & syndrome decoding; Cyclic codes, encoder and decoders for
systematic cycle codes; convolution codes, code tree & Trellis diagram, Viterbi and sequential decoding,
burst error correction, Turbo codes.
4/2/2018 1
NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering,
JETGI, (JIT Jahangirabad)
Measure of Information
4/2/2018 2
NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering,
JETGI, (JIT Jahangirabad)
Let a finite alphabet set  of K symbols emits a symbol per signalling interval
={s0, s1,-----, sK-1}
with probabilities p(S=si)=pi, i= 0,1,2,-----K-1
such that
1
0
1 and 0 1
K
i i
i
p p


  
If pi=1, a certain event or no surprise → No information
• Thus uncertainty, surprise, and information are all related
• more surprise → more information
• Thus Information is inversely proportional to probability of occurrence
Measure of Information
4/2/2018 3
NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering,
JETGI, (JIT Jahangirabad)
Information in emitting of a symbol Si is defined as
For base=2, unit is “bit”
For base= 3, unit is “trit”
For base= 10, unit is “digit” or “dit”
For base= e, unit is “nit” or “nepit”
One bit is the amount of information that we gain when one of two equiprobable events
occurs.
2 2
1
( ) log = -log bitsi i
i
I S s p
p
 
Entropy
4/2/2018 4
NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering,
JETGI, (JIT Jahangirabad)
The entropy of a discrete random variable, representing the output of a source of
information, is a measure of the average information content per source symbol.
1 1
2
0 0
( ) log ( )
K K
i i i i
i i
H p I p p
 
 
    
20 ( ) log ( ) where K is number of symbols in source alphabetH K  
Entropy is positive and is limited by
As 0≤pi ≤1,→ Ii≥0, → H()≥0
Entropy of Extended Source: If a discrete memoryless source  with K symbols is
extended by considering n block of symbols, It can be viewed as a source n with Kn
symbols with H(n)=nH()
Entropy
4/2/2018 5
NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering,
JETGI, (JIT Jahangirabad)
Let pi and qi are two distributions and qi =1/K is an equiprobable distribution, then
relative probability
1 1
2 2 2
0 0
1 1
2
0 0
1
( / ) log log log ( )
1
( / ) log 1 = 0 (as ln 1, 0)
ln 2
Thus ( / ) 0, i.e relative information is no
K K
i
i i i i
i ii i
K K
i i
i i i i
i ii i
i i
p
D p q p p K H
q Kp
q q
D p q p p x x x
p p
D p q
 
 
 
 
   
        
   
   
         
   

 
 
2
n negative
. . ( ) logi e H K 
x
1
-1
ln x
X-1
Entropy: Bernaulli Random Variable
4/2/2018 6
NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering,
JETGI, (JIT Jahangirabad)
Let a random variable has two outcomes ‘0’ and ‘1’ with probabilities p0 and 1-p0
respectively. The Entropy function
   
1
0 2 0 2 0 0 2 0
0
( ) log log 1 log 1i i
i
H p p p p p p p

      
p0
H(p0)
1
0.8
0.6
0.4
0.2
0
0.2 0.4 0.6 0.8 1
 0 2 0 2 0 0
0
1
( ) 1 log 1 log 1 0
2
d
H p p p p
dp
          
2
02
0 0 0
1 1
( ) 0
1
d
H p
dp p p
 
    
 
2
1 1 1 1 1
2 log 1
2 2 2 2 2
H
   
       
   
Source Encoding
4/2/2018 7
NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering,
JETGI, (JIT Jahangirabad)
Given a discrete memoryless source of entropy H(), the average code word length Ꝉ
is bounded as
Ꝉ ≥H()
Efficiency of coding scheme =H() / Ꝉ
A code has to be uniquely decodable
i.e each codeword (or set of symbol) is different from other
Prefix Coding
4/2/2018 8
NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering,
JETGI, (JIT Jahangirabad)
Prefix Coding
A coding in which no codeword is prefix to any other codeword.
Initial state
0
0
0
1
1
1
S0
S1
S2
S3
Symbol Prefix Code
S0 0
S1 10
S2 110
S3 111
Decision tree of Prefix code
• initial state is split in two branches
•branch ‘0’ ends at first symbol
•branch ‘1’ is split further in same way
•If last symbol branch ‘1’ ends at last symbol
• Symbol codes are read from initial state
Prefix code is always uniquely decodable
Prefix code is also referred as instantaneous code
For prefix code H() ≤ Ꝉ ≤ H()+1
Huffman Coding
4/2/2018 9
NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering,
JETGI, (JIT Jahangirabad)
Huffman Code is optimum such that average code word length approach to
fundamental limit
• List the symbols with decreasing probability
•Two symbols with lowest probability are assigned as ‘0’ and ‘1’
•The two symbols are combined (probabilities added) and new list is made with
decreasing probability
•Process is repeated till only two symbol marked as ‘0’ and ‘1’
• Symbol codes are read backword for each symbol
Huffman Coding
4/2/2018 10
NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering,
JETGI, (JIT Jahangirabad)
Huffman Code is optimum such that average code word length approach to
fundamental limit
• List the symbols with decreasing probability
• Symbol codes are read backword for each symbol
0
1
0
1
0
1
0
1
S0
S1
S2
S3
S5
0.4
0.2
0.2
0.1
0.1
0.4
0.2
0.2
0.2
0.4
0.4
0.2
0.6
0.4
si pi Ii piIi Code Li LiPi
S0 0.4 1.322 0.5288 00 2 0.8
S1 0.2 2.322 0.4644 10 2 0.4
S2 0.2 2.322 0.4644 11 2 0.4
S3 0.1 3.322 0.3322 010 3 0.3
S3 0.1 3.322 0.3322 011 3 0.3
H() =∑ piIi 2.1220 Ꝉ=LiPi 2.2
Shannon Fano Coding
4/2/2018 11
NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering,
JETGI, (JIT Jahangirabad)
Similar to Huffman code
• List the symbols with decreasing probability and divide the list in
nearly two equal part and assign ‘0’ to symbols in one part and ‘1’
to symbols in other part
• Continue dividing each part and assigning 0/1 till one symbol
remains in each part
• Read code from left to right
S0
S1
S2
S3
S5
0.4
0.2
0.2
0.1
0.1
0
0
1
1
1
0
1
0
1
1
0
1
S0
S1
S2
S3
S5
0.4
0.2
0.2
0.1
0.1
0
1
1
1
1
0
1
1
1
0
1
1
0
1
Shannon Fano Coding
4/2/2018 12
NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering,
JETGI, (JIT Jahangirabad)
si pi Ii piIi
Code 1 Code 2
Code Li LiPi Code Li LiPi
S0 0.4 1.322 0.5288 00 2 0.8 0 1 0.4
S1 0.2 2.322 0.4644 01 2 0.4 10 2 0.4
S2 0.2 2.322 0.4644 10 2 0.4 110 3 0.6
S3 0.1 3.322 0.3322 010 3 0.3 1110 4 0.3
S3 0.1 3.322 0.3322 011 3 0.3 1111 4 0.3
H() =∑ piIi 2.1220 Ꝉ1=LiPi 2.2 Ꝉ2=LiPi 2.2
• Average codeword length is same in both cases
• Variance of Code 2 is more than Code 1
• So Code with low variance is preferred
 
2
2
Variance i
i
L L  
Discrete Memoryless Channel
4/2/2018 13
NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering,
JETGI, (JIT Jahangirabad)
Discrete memoryless channel is given by set of transition probabilities
P(yj/xk)= P(Y=yj, given X=xk) for all k and j
P(yj/xk)
x0
x1
-
-
xJ-1
y0
y1
-
-
yK-1
X
Y
YX
P(y0 /x0) P(y1 /x0) - - P(yK-1 /x0)
P(y0 /x1) P(y1 /x1) - - P(yK-1 /x1)
-
-
P(y0 /xJ-1) P(y1 /xJ-1) - - P(yK-1 /xJ-1)
Transition matrix P(Y /X)=
1
0
1 1 1
0 0 0
( ) ( ) ( / ) ( ) for all k=0,1,----,K-1
Probability of error ( )= ( / ) ( )
J
k k k j j
j
k J k
e k k j j
k j k
k j k j
p y p Y y p y x p x
p p Y y p y x p x


  
  
 
  
 

 
Mutual Information
Channel Capacity
4/2/2018 14
NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering,
JETGI, (JIT Jahangirabad)
If Y is symbol set at the output of discrete memoryless channel in response to the input
symbol set X, then mutual information is given by
I(X;Y) = H(X)-H(X/Y)
• Mutual information is symmetric I(X;Y)= I(Y;X)
• Mutual information is non-negative I(X;Y)≥0
• I(X;Y) = H(X) + H(Y) - H(X,Y), where H(X,Y) is joint entropy
Channel capacity of discrete memoryless channel is given as maximum average mutual
information I(X;Y) in a single use, where maximization is over all possible distribution p(xj)
{ ( )}
max ( ; ) bits per channel use
jp x
C I X Y
Channel Coding Theorem
4/2/2018 15
NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering,
JETGI, (JIT Jahangirabad)
Let a discrete memoryless source have entropy H() produce symbol per Ts second, and
let a discrete memoryless channel of capacity C and be used every TC second, then if
( )
s C
H C
T T


Thus Channel capacity is fundamental limit on the rate over which error free reliable
transmission is possible over discrete memoryless channel
Channel Capacity Theorem
4/2/2018 16
NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering,
JETGI, (JIT Jahangirabad)
Capacity of a channel of bandwidth B Hz, perturbed by additive white
Gaussian noise of power NO/2 Watts, limited to bandwidth B, and signal
power P Watts is given as
2log 1 bits/s
O
P
C B
N B
 
  
 
Ideal system: bit rate Rb=C, and if energy/ bit is Eb, so P= Eb C
2
2 1
log 1
ln 2 0.693 1.59 dB
C
B
b b
C
O O B
b
O B
E EC C
B N B N
E
N 
  
    
 
 
     
 
•(Eb/NO)B→ =-1.59 dB is called Shannon limit for error free transmission
• Eb/NO can be traded with bandwidth B for a channel capacity C
Channel Capacity Theorem or Shannon Hartley Law
4/2/2018 17
NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering,
JETGI, (JIT Jahangirabad)
Capacity of a channel of bandwidth B Hz, perturbed by additive white Gaussian noise of
power NO/2 Watts, limited to bandwidth B, and signal power P Watts is given as
2log 1 bits/s
O
P
C B
N B
 
  
 
Error Free Communication over a Noisy
Channel
4/2/2018 18
NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering,
JETGI, (JIT Jahangirabad)
Ideal system: bit rate Rb=C, and if energy/ bit is Eb, so P= Eb C
2log 1
2 1
ln 2 0.693 1.59 dB
b
O
C
B
b
C
O B
b
O B
EC C
B N B
E
N
E
N 
 
  
 

 
 
     
 
•(Eb/NO)B→=-1.59 dB is called Shannon limit for error free transmission
• Eb/NO can be traded with bandwidth B for a channel capacity C
C/B bits/s/Hz
-1.59 0 10 20 30 40
Capacity boundary Rb=C
Rb<C
Practical
systems
Rb>C
Error
region
16
8
4
2
1
1/2
Eb/NO dB

More Related Content

What's hot

Noise in communication system
Noise in communication systemNoise in communication system
Noise in communication systemfirdous006
 
Orthogonal Frequency Division Multiplexing (OFDM)
Orthogonal Frequency Division Multiplexing (OFDM)Orthogonal Frequency Division Multiplexing (OFDM)
Orthogonal Frequency Division Multiplexing (OFDM)Gagan Randhawa
 
pulse shaping and equalization
pulse shaping and equalizationpulse shaping and equalization
pulse shaping and equalizationremyard
 
Binary symmetric channel review
Binary symmetric channel reviewBinary symmetric channel review
Binary symmetric channel reviewShilpaDe
 
Optical Fiber Communication Part 3 Optical Digital Receiver
Optical Fiber Communication Part 3 Optical Digital ReceiverOptical Fiber Communication Part 3 Optical Digital Receiver
Optical Fiber Communication Part 3 Optical Digital ReceiverMadhumita Tamhane
 
Linear block coding
Linear block codingLinear block coding
Linear block codingjknm
 
Eye diagram in Communication
Eye diagram in CommunicationEye diagram in Communication
Eye diagram in CommunicationSivanesh M
 
DPSK(Differential Phase Shift Keying) transmitter and receiver
DPSK(Differential Phase Shift Keying) transmitter and receiverDPSK(Differential Phase Shift Keying) transmitter and receiver
DPSK(Differential Phase Shift Keying) transmitter and receiverSumukh Athrey
 

What's hot (20)

Information theory
Information theoryInformation theory
Information theory
 
Noise in communication system
Noise in communication systemNoise in communication system
Noise in communication system
 
Matched filter
Matched filterMatched filter
Matched filter
 
Orthogonal Frequency Division Multiplexing (OFDM)
Orthogonal Frequency Division Multiplexing (OFDM)Orthogonal Frequency Division Multiplexing (OFDM)
Orthogonal Frequency Division Multiplexing (OFDM)
 
pulse shaping and equalization
pulse shaping and equalizationpulse shaping and equalization
pulse shaping and equalization
 
Binary symmetric channel review
Binary symmetric channel reviewBinary symmetric channel review
Binary symmetric channel review
 
Shannon Fano
Shannon FanoShannon Fano
Shannon Fano
 
Optical Fiber Communication Part 3 Optical Digital Receiver
Optical Fiber Communication Part 3 Optical Digital ReceiverOptical Fiber Communication Part 3 Optical Digital Receiver
Optical Fiber Communication Part 3 Optical Digital Receiver
 
Linear block coding
Linear block codingLinear block coding
Linear block coding
 
Convolution Codes
Convolution CodesConvolution Codes
Convolution Codes
 
Reed solomon codes
Reed solomon codesReed solomon codes
Reed solomon codes
 
BCH Codes
BCH CodesBCH Codes
BCH Codes
 
Lecture 11
Lecture 11Lecture 11
Lecture 11
 
Channel coding
Channel codingChannel coding
Channel coding
 
Dcs unit 2
Dcs unit 2Dcs unit 2
Dcs unit 2
 
Convolutional codes
Convolutional codesConvolutional codes
Convolutional codes
 
Eye diagram in Communication
Eye diagram in CommunicationEye diagram in Communication
Eye diagram in Communication
 
Source coding
Source coding Source coding
Source coding
 
Channel Coding (Error Control Coding)
Channel Coding (Error Control Coding)Channel Coding (Error Control Coding)
Channel Coding (Error Control Coding)
 
DPSK(Differential Phase Shift Keying) transmitter and receiver
DPSK(Differential Phase Shift Keying) transmitter and receiverDPSK(Differential Phase Shift Keying) transmitter and receiver
DPSK(Differential Phase Shift Keying) transmitter and receiver
 

Similar to information theory

Unit I DIGITAL COMMUNICATION-INFORMATION THEORY.pdf
Unit I DIGITAL COMMUNICATION-INFORMATION THEORY.pdfUnit I DIGITAL COMMUNICATION-INFORMATION THEORY.pdf
Unit I DIGITAL COMMUNICATION-INFORMATION THEORY.pdfvani374987
 
Hamming net based Low Complexity Successive Cancellation Polar Decoder
Hamming net based Low Complexity Successive Cancellation Polar DecoderHamming net based Low Complexity Successive Cancellation Polar Decoder
Hamming net based Low Complexity Successive Cancellation Polar DecoderRSIS International
 
Study of the operational SNR while constructing polar codes
Study of the operational SNR while constructing polar codes Study of the operational SNR while constructing polar codes
Study of the operational SNR while constructing polar codes IJECEIAES
 
Tele4653 l9
Tele4653 l9Tele4653 l9
Tele4653 l9Vin Voro
 
cp467_12_lecture14_image compression1.pdf
cp467_12_lecture14_image compression1.pdfcp467_12_lecture14_image compression1.pdf
cp467_12_lecture14_image compression1.pdfshaikmoosa2003
 
エンドツーエンド音声合成に向けたNIIにおけるソフトウェア群 ~ TacotronとWaveNetのチュートリアル (Part 2)~
エンドツーエンド音声合成に向けたNIIにおけるソフトウェア群 ~ TacotronとWaveNetのチュートリアル (Part 2)~エンドツーエンド音声合成に向けたNIIにおけるソフトウェア群 ~ TacotronとWaveNetのチュートリアル (Part 2)~
エンドツーエンド音声合成に向けたNIIにおけるソフトウェア群 ~ TacotronとWaveNetのチュートリアル (Part 2)~Yamagishi Laboratory, National Institute of Informatics, Japan
 
Itblock2 150209161919-conversion-gate01
Itblock2 150209161919-conversion-gate01Itblock2 150209161919-conversion-gate01
Itblock2 150209161919-conversion-gate01Xuan Phu Nguyen
 

Similar to information theory (20)

Error Control coding
Error Control codingError Control coding
Error Control coding
 
Unit I DIGITAL COMMUNICATION-INFORMATION THEORY.pdf
Unit I DIGITAL COMMUNICATION-INFORMATION THEORY.pdfUnit I DIGITAL COMMUNICATION-INFORMATION THEORY.pdf
Unit I DIGITAL COMMUNICATION-INFORMATION THEORY.pdf
 
Hamming net based Low Complexity Successive Cancellation Polar Decoder
Hamming net based Low Complexity Successive Cancellation Polar DecoderHamming net based Low Complexity Successive Cancellation Polar Decoder
Hamming net based Low Complexity Successive Cancellation Polar Decoder
 
Coding
CodingCoding
Coding
 
3320 cyclic codes.ppt
3320 cyclic codes.ppt3320 cyclic codes.ppt
3320 cyclic codes.ppt
 
Lecture 5
Lecture 5Lecture 5
Lecture 5
 
Study of the operational SNR while constructing polar codes
Study of the operational SNR while constructing polar codes Study of the operational SNR while constructing polar codes
Study of the operational SNR while constructing polar codes
 
Tele4653 l9
Tele4653 l9Tele4653 l9
Tele4653 l9
 
ECAD lab manual
ECAD lab manualECAD lab manual
ECAD lab manual
 
Ppt.final.phd thesis
Ppt.final.phd thesisPpt.final.phd thesis
Ppt.final.phd thesis
 
Ch6 information theory
Ch6 information theoryCh6 information theory
Ch6 information theory
 
cp467_12_lecture14_image compression1.pdf
cp467_12_lecture14_image compression1.pdfcp467_12_lecture14_image compression1.pdf
cp467_12_lecture14_image compression1.pdf
 
Thesis_Presentation
Thesis_PresentationThesis_Presentation
Thesis_Presentation
 
Er24902905
Er24902905Er24902905
Er24902905
 
Encoding in sc
Encoding in scEncoding in sc
Encoding in sc
 
VLSI & E-CAD Lab Manual
VLSI & E-CAD Lab ManualVLSI & E-CAD Lab Manual
VLSI & E-CAD Lab Manual
 
エンドツーエンド音声合成に向けたNIIにおけるソフトウェア群 ~ TacotronとWaveNetのチュートリアル (Part 2)~
エンドツーエンド音声合成に向けたNIIにおけるソフトウェア群 ~ TacotronとWaveNetのチュートリアル (Part 2)~エンドツーエンド音声合成に向けたNIIにおけるソフトウェア群 ~ TacotronとWaveNetのチュートリアル (Part 2)~
エンドツーエンド音声合成に向けたNIIにおけるソフトウェア群 ~ TacotronとWaveNetのチュートリアル (Part 2)~
 
Kailash(13EC35032)_mtp.pptx
Kailash(13EC35032)_mtp.pptxKailash(13EC35032)_mtp.pptx
Kailash(13EC35032)_mtp.pptx
 
40120130406011 2-3
40120130406011 2-340120130406011 2-3
40120130406011 2-3
 
Itblock2 150209161919-conversion-gate01
Itblock2 150209161919-conversion-gate01Itblock2 150209161919-conversion-gate01
Itblock2 150209161919-conversion-gate01
 

More from Dr Naim R Kidwai

Asynchronous sequential circuit analysis
Asynchronous sequential circuit analysisAsynchronous sequential circuit analysis
Asynchronous sequential circuit analysisDr Naim R Kidwai
 
synchronous Sequential circuit counters and registers
synchronous Sequential circuit counters and registerssynchronous Sequential circuit counters and registers
synchronous Sequential circuit counters and registersDr Naim R Kidwai
 
Clocked Sequential circuit analysis and design
Clocked Sequential circuit analysis and designClocked Sequential circuit analysis and design
Clocked Sequential circuit analysis and designDr Naim R Kidwai
 
Sequential circuit-flip flops
Sequential circuit-flip flopsSequential circuit-flip flops
Sequential circuit-flip flopsDr Naim R Kidwai
 
Project financial feasibility
Project financial feasibilityProject financial feasibility
Project financial feasibilityDr Naim R Kidwai
 
financing infrastructure projects
financing infrastructure projectsfinancing infrastructure projects
financing infrastructure projectsDr Naim R Kidwai
 
multiple projects and constraints
multiple projects and constraintsmultiple projects and constraints
multiple projects and constraintsDr Naim R Kidwai
 
Nec 602 unit ii Random Variables and Random process
Nec 602 unit ii Random Variables and Random processNec 602 unit ii Random Variables and Random process
Nec 602 unit ii Random Variables and Random processDr Naim R Kidwai
 
spread spectrum communication
spread spectrum communicationspread spectrum communication
spread spectrum communicationDr Naim R Kidwai
 
Rec101 unit ii (part 2) bjt biasing and re model
Rec101 unit ii (part 2) bjt biasing and re modelRec101 unit ii (part 2) bjt biasing and re model
Rec101 unit ii (part 2) bjt biasing and re modelDr Naim R Kidwai
 
Rec101 unit ii (part 3) field effect transistor
Rec101 unit ii (part 3) field effect transistorRec101 unit ii (part 3) field effect transistor
Rec101 unit ii (part 3) field effect transistorDr Naim R Kidwai
 
Rec101 unit ii (part 1) bjt characteristics
Rec101 unit ii (part 1) bjt characteristicsRec101 unit ii (part 1) bjt characteristics
Rec101 unit ii (part 1) bjt characteristicsDr Naim R Kidwai
 
Rec101 unit v communication engg
Rec101 unit v communication enggRec101 unit v communication engg
Rec101 unit v communication enggDr Naim R Kidwai
 
Rec101 unit iii operational amplifier
Rec101 unit iii operational amplifierRec101 unit iii operational amplifier
Rec101 unit iii operational amplifierDr Naim R Kidwai
 
Rec101 unit 1 (part iii) diode applications
Rec101 unit 1 (part iii) diode applicationsRec101 unit 1 (part iii) diode applications
Rec101 unit 1 (part iii) diode applicationsDr Naim R Kidwai
 

More from Dr Naim R Kidwai (20)

Asynchronous sequential circuit analysis
Asynchronous sequential circuit analysisAsynchronous sequential circuit analysis
Asynchronous sequential circuit analysis
 
synchronous Sequential circuit counters and registers
synchronous Sequential circuit counters and registerssynchronous Sequential circuit counters and registers
synchronous Sequential circuit counters and registers
 
Clocked Sequential circuit analysis and design
Clocked Sequential circuit analysis and designClocked Sequential circuit analysis and design
Clocked Sequential circuit analysis and design
 
Sequential circuit-flip flops
Sequential circuit-flip flopsSequential circuit-flip flops
Sequential circuit-flip flops
 
Sampling Theorem
Sampling TheoremSampling Theorem
Sampling Theorem
 
Moodle introduction
Moodle introductionMoodle introduction
Moodle introduction
 
Project financial feasibility
Project financial feasibilityProject financial feasibility
Project financial feasibility
 
financing infrastructure projects
financing infrastructure projectsfinancing infrastructure projects
financing infrastructure projects
 
financing projects
financing projectsfinancing projects
financing projects
 
multiple projects and constraints
multiple projects and constraintsmultiple projects and constraints
multiple projects and constraints
 
project risk analysis
project risk analysisproject risk analysis
project risk analysis
 
Nec 602 unit ii Random Variables and Random process
Nec 602 unit ii Random Variables and Random processNec 602 unit ii Random Variables and Random process
Nec 602 unit ii Random Variables and Random process
 
spread spectrum communication
spread spectrum communicationspread spectrum communication
spread spectrum communication
 
Rec101 unit ii (part 2) bjt biasing and re model
Rec101 unit ii (part 2) bjt biasing and re modelRec101 unit ii (part 2) bjt biasing and re model
Rec101 unit ii (part 2) bjt biasing and re model
 
Rec101 unit ii (part 3) field effect transistor
Rec101 unit ii (part 3) field effect transistorRec101 unit ii (part 3) field effect transistor
Rec101 unit ii (part 3) field effect transistor
 
Rec101 unit ii (part 1) bjt characteristics
Rec101 unit ii (part 1) bjt characteristicsRec101 unit ii (part 1) bjt characteristics
Rec101 unit ii (part 1) bjt characteristics
 
Rec101 unit v communication engg
Rec101 unit v communication enggRec101 unit v communication engg
Rec101 unit v communication engg
 
Rec101 unit iv emi
Rec101 unit iv emiRec101 unit iv emi
Rec101 unit iv emi
 
Rec101 unit iii operational amplifier
Rec101 unit iii operational amplifierRec101 unit iii operational amplifier
Rec101 unit iii operational amplifier
 
Rec101 unit 1 (part iii) diode applications
Rec101 unit 1 (part iii) diode applicationsRec101 unit 1 (part iii) diode applications
Rec101 unit 1 (part iii) diode applications
 

Recently uploaded

APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxvipinkmenon1
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2RajaP95
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 

Recently uploaded (20)

APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptx
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 

information theory

  • 1. Information Theory & Coding Unit V : Measure of Information, Source Encoding, Error Free Communication over a Noisy Channel capacity of a discrete and Continuous Memoryless channel Error Correcting codes: Hamming sphere, Hamming distance and Hamming bound, relation between minimum distance and error detecting and correcting capability, Linear block codes, encoding & syndrome decoding; Cyclic codes, encoder and decoders for systematic cycle codes; convolution codes, code tree & Trellis diagram, Viterbi and sequential decoding, burst error correction, Turbo codes. 4/2/2018 1 NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering, JETGI, (JIT Jahangirabad)
  • 2. Measure of Information 4/2/2018 2 NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering, JETGI, (JIT Jahangirabad) Let a finite alphabet set  of K symbols emits a symbol per signalling interval ={s0, s1,-----, sK-1} with probabilities p(S=si)=pi, i= 0,1,2,-----K-1 such that 1 0 1 and 0 1 K i i i p p      If pi=1, a certain event or no surprise → No information • Thus uncertainty, surprise, and information are all related • more surprise → more information • Thus Information is inversely proportional to probability of occurrence
  • 3. Measure of Information 4/2/2018 3 NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering, JETGI, (JIT Jahangirabad) Information in emitting of a symbol Si is defined as For base=2, unit is “bit” For base= 3, unit is “trit” For base= 10, unit is “digit” or “dit” For base= e, unit is “nit” or “nepit” One bit is the amount of information that we gain when one of two equiprobable events occurs. 2 2 1 ( ) log = -log bitsi i i I S s p p  
  • 4. Entropy 4/2/2018 4 NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering, JETGI, (JIT Jahangirabad) The entropy of a discrete random variable, representing the output of a source of information, is a measure of the average information content per source symbol. 1 1 2 0 0 ( ) log ( ) K K i i i i i i H p I p p          20 ( ) log ( ) where K is number of symbols in source alphabetH K   Entropy is positive and is limited by As 0≤pi ≤1,→ Ii≥0, → H()≥0 Entropy of Extended Source: If a discrete memoryless source  with K symbols is extended by considering n block of symbols, It can be viewed as a source n with Kn symbols with H(n)=nH()
  • 5. Entropy 4/2/2018 5 NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering, JETGI, (JIT Jahangirabad) Let pi and qi are two distributions and qi =1/K is an equiprobable distribution, then relative probability 1 1 2 2 2 0 0 1 1 2 0 0 1 ( / ) log log log ( ) 1 ( / ) log 1 = 0 (as ln 1, 0) ln 2 Thus ( / ) 0, i.e relative information is no K K i i i i i i ii i K K i i i i i i i ii i i i p D p q p p K H q Kp q q D p q p p x x x p p D p q                                                 2 n negative . . ( ) logi e H K  x 1 -1 ln x X-1
  • 6. Entropy: Bernaulli Random Variable 4/2/2018 6 NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering, JETGI, (JIT Jahangirabad) Let a random variable has two outcomes ‘0’ and ‘1’ with probabilities p0 and 1-p0 respectively. The Entropy function     1 0 2 0 2 0 0 2 0 0 ( ) log log 1 log 1i i i H p p p p p p p         p0 H(p0) 1 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1  0 2 0 2 0 0 0 1 ( ) 1 log 1 log 1 0 2 d H p p p p dp            2 02 0 0 0 1 1 ( ) 0 1 d H p dp p p          2 1 1 1 1 1 2 log 1 2 2 2 2 2 H                
  • 7. Source Encoding 4/2/2018 7 NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering, JETGI, (JIT Jahangirabad) Given a discrete memoryless source of entropy H(), the average code word length Ꝉ is bounded as Ꝉ ≥H() Efficiency of coding scheme =H() / Ꝉ A code has to be uniquely decodable i.e each codeword (or set of symbol) is different from other
  • 8. Prefix Coding 4/2/2018 8 NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering, JETGI, (JIT Jahangirabad) Prefix Coding A coding in which no codeword is prefix to any other codeword. Initial state 0 0 0 1 1 1 S0 S1 S2 S3 Symbol Prefix Code S0 0 S1 10 S2 110 S3 111 Decision tree of Prefix code • initial state is split in two branches •branch ‘0’ ends at first symbol •branch ‘1’ is split further in same way •If last symbol branch ‘1’ ends at last symbol • Symbol codes are read from initial state Prefix code is always uniquely decodable Prefix code is also referred as instantaneous code For prefix code H() ≤ Ꝉ ≤ H()+1
  • 9. Huffman Coding 4/2/2018 9 NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering, JETGI, (JIT Jahangirabad) Huffman Code is optimum such that average code word length approach to fundamental limit • List the symbols with decreasing probability •Two symbols with lowest probability are assigned as ‘0’ and ‘1’ •The two symbols are combined (probabilities added) and new list is made with decreasing probability •Process is repeated till only two symbol marked as ‘0’ and ‘1’ • Symbol codes are read backword for each symbol
  • 10. Huffman Coding 4/2/2018 10 NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering, JETGI, (JIT Jahangirabad) Huffman Code is optimum such that average code word length approach to fundamental limit • List the symbols with decreasing probability • Symbol codes are read backword for each symbol 0 1 0 1 0 1 0 1 S0 S1 S2 S3 S5 0.4 0.2 0.2 0.1 0.1 0.4 0.2 0.2 0.2 0.4 0.4 0.2 0.6 0.4 si pi Ii piIi Code Li LiPi S0 0.4 1.322 0.5288 00 2 0.8 S1 0.2 2.322 0.4644 10 2 0.4 S2 0.2 2.322 0.4644 11 2 0.4 S3 0.1 3.322 0.3322 010 3 0.3 S3 0.1 3.322 0.3322 011 3 0.3 H() =∑ piIi 2.1220 Ꝉ=LiPi 2.2
  • 11. Shannon Fano Coding 4/2/2018 11 NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering, JETGI, (JIT Jahangirabad) Similar to Huffman code • List the symbols with decreasing probability and divide the list in nearly two equal part and assign ‘0’ to symbols in one part and ‘1’ to symbols in other part • Continue dividing each part and assigning 0/1 till one symbol remains in each part • Read code from left to right S0 S1 S2 S3 S5 0.4 0.2 0.2 0.1 0.1 0 0 1 1 1 0 1 0 1 1 0 1 S0 S1 S2 S3 S5 0.4 0.2 0.2 0.1 0.1 0 1 1 1 1 0 1 1 1 0 1 1 0 1
  • 12. Shannon Fano Coding 4/2/2018 12 NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering, JETGI, (JIT Jahangirabad) si pi Ii piIi Code 1 Code 2 Code Li LiPi Code Li LiPi S0 0.4 1.322 0.5288 00 2 0.8 0 1 0.4 S1 0.2 2.322 0.4644 01 2 0.4 10 2 0.4 S2 0.2 2.322 0.4644 10 2 0.4 110 3 0.6 S3 0.1 3.322 0.3322 010 3 0.3 1110 4 0.3 S3 0.1 3.322 0.3322 011 3 0.3 1111 4 0.3 H() =∑ piIi 2.1220 Ꝉ1=LiPi 2.2 Ꝉ2=LiPi 2.2 • Average codeword length is same in both cases • Variance of Code 2 is more than Code 1 • So Code with low variance is preferred   2 2 Variance i i L L  
  • 13. Discrete Memoryless Channel 4/2/2018 13 NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering, JETGI, (JIT Jahangirabad) Discrete memoryless channel is given by set of transition probabilities P(yj/xk)= P(Y=yj, given X=xk) for all k and j P(yj/xk) x0 x1 - - xJ-1 y0 y1 - - yK-1 X Y YX P(y0 /x0) P(y1 /x0) - - P(yK-1 /x0) P(y0 /x1) P(y1 /x1) - - P(yK-1 /x1) - - P(y0 /xJ-1) P(y1 /xJ-1) - - P(yK-1 /xJ-1) Transition matrix P(Y /X)= 1 0 1 1 1 0 0 0 ( ) ( ) ( / ) ( ) for all k=0,1,----,K-1 Probability of error ( )= ( / ) ( ) J k k k j j j k J k e k k j j k j k k j k j p y p Y y p y x p x p p Y y p y x p x                  
  • 14. Mutual Information Channel Capacity 4/2/2018 14 NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering, JETGI, (JIT Jahangirabad) If Y is symbol set at the output of discrete memoryless channel in response to the input symbol set X, then mutual information is given by I(X;Y) = H(X)-H(X/Y) • Mutual information is symmetric I(X;Y)= I(Y;X) • Mutual information is non-negative I(X;Y)≥0 • I(X;Y) = H(X) + H(Y) - H(X,Y), where H(X,Y) is joint entropy Channel capacity of discrete memoryless channel is given as maximum average mutual information I(X;Y) in a single use, where maximization is over all possible distribution p(xj) { ( )} max ( ; ) bits per channel use jp x C I X Y
  • 15. Channel Coding Theorem 4/2/2018 15 NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering, JETGI, (JIT Jahangirabad) Let a discrete memoryless source have entropy H() produce symbol per Ts second, and let a discrete memoryless channel of capacity C and be used every TC second, then if ( ) s C H C T T   Thus Channel capacity is fundamental limit on the rate over which error free reliable transmission is possible over discrete memoryless channel
  • 16. Channel Capacity Theorem 4/2/2018 16 NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering, JETGI, (JIT Jahangirabad) Capacity of a channel of bandwidth B Hz, perturbed by additive white Gaussian noise of power NO/2 Watts, limited to bandwidth B, and signal power P Watts is given as 2log 1 bits/s O P C B N B        Ideal system: bit rate Rb=C, and if energy/ bit is Eb, so P= Eb C 2 2 1 log 1 ln 2 0.693 1.59 dB C B b b C O O B b O B E EC C B N B N E N                      •(Eb/NO)B→ =-1.59 dB is called Shannon limit for error free transmission • Eb/NO can be traded with bandwidth B for a channel capacity C
  • 17. Channel Capacity Theorem or Shannon Hartley Law 4/2/2018 17 NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering, JETGI, (JIT Jahangirabad) Capacity of a channel of bandwidth B Hz, perturbed by additive white Gaussian noise of power NO/2 Watts, limited to bandwidth B, and signal power P Watts is given as 2log 1 bits/s O P C B N B       
  • 18. Error Free Communication over a Noisy Channel 4/2/2018 18 NEC 602 by Dr Naim R Kidwai, Professor, F/o Engineering, JETGI, (JIT Jahangirabad) Ideal system: bit rate Rb=C, and if energy/ bit is Eb, so P= Eb C 2log 1 2 1 ln 2 0.693 1.59 dB b O C B b C O B b O B EC C B N B E N E N                      •(Eb/NO)B→=-1.59 dB is called Shannon limit for error free transmission • Eb/NO can be traded with bandwidth B for a channel capacity C C/B bits/s/Hz -1.59 0 10 20 30 40 Capacity boundary Rb=C Rb<C Practical systems Rb>C Error region 16 8 4 2 1 1/2 Eb/NO dB