SlideShare a Scribd company logo
UNIT IV
SOURCE AND ERROR CONTROL CODING
Entropy, Source encoding theorem,
Shannon fano coding, Huffman coding,
mutual information, channel capacity,
Error Control Coding, linear block codes,
cyclic codes - ARQ Techniques.
UNIT IV
SOURCE AND ERROR CONTROL CODING
Information Theory
Mathematical modeling and analysis of a communication
system
Signal Compression and data rate
Entropy and channel capacity
Entropy – Probabilistic behavior of source
Capacity – Ability to convey information
Mutual Information
I(x,y) = H(x)-H(x/y)
I(y,x) = H(y)-H(y/x)
Properties
1. Symmetric ie I(x,y) = I(y,x)
2. Always non negative
3. I(x,y) = H(x)+H(y)-H(x,y)
UNIT IV
SOURCE AND ERROR CONTROL CODING
Channel Capacity
Maximum mutual information in any single use of a channel
C= maxP(xj) I(x,y)
UNIT IV
SOURCE AND ERROR CONTROL CODING
Automatic Repeat Request
Stop and Wait
Continuous ARQ with pullback
Continuous ARQ with selective repeat
UNIT IV
SOURCE AND ERROR CONTROL CODING
Trellis diagram
a a
b b
c c
d d
m2,m
1
m X1=m X2=
m+m1+m2
X3=
m+m2
m1,
m
00 a
0 0 0+0+0= 0 0+0=0 00 a
1 1 1+0+0=1 1+0=1 01 b
01 b
0 0 1 0 10 c
1 1 0 1 11 d
10 c
0 0 1 1 00 a
1 1 0 0 01 b
11 d
0 0 0 1 10 c
1 1 1 0 11 d
State Diagram
b
a d
c
000
001
010
011
100
101
110
111
a
a
b
0
1
c
d
0
1
a
b
0
1
a
b
0
1
c
d
0
1
a
b
0
1
c
d
0
1
Entropy = pklog2(1/pk) where k ranges 1 to 6
= p1log2(1/p1) + p2log2(1/p2) + p3log2(1/p3) +….
p6log2(1/p6)
= 0.3log2(1/0.3) + 0.1log2(1/0.1) +
I R = H* No of symbols
= H*500
= H*9600
Find code efficiency using SF and HM code for the source messages m1= 0.4,
m2= 0.15, m3=0.15, m4=0.15, m5 = 0.15
SF CODE
STEP 1 STEP 2 STEP 3 STEP 4
M1 0.4 M1 0.4 0.4 0 0
M2 0.15 M2 0.15 0.15 1 0.15 0 0.15 0 100
M3 0.15 M3 0.15 0.15 1 0.15 0 0.15 1 101
M4 0.15 M4 0.15 0.15 1 0.15 1 0.15 0 110
M5 0.15 M5 0.15 0.15 1 0.15 1 0.15 1 111
HM CODE
STEP 1 STEP 2 STEP 3 STEP 4 STEP 4
M1 0.4 M1 0.4 0.4 0.4 0.4 0.6 0 1 1
M2 0.15 M2 0.15 0.15 0.3 0.3 0 0.4 1 010 010
M3 0.15 M3 0.15 0.15 0.15 0 0.3 1 110 011
M4 0.15 M4 0.15 0.15 0 0.15 1 000 000
M5 0.15 M5 0.15 0.15 1 100 001
Code Efficiency = Entropy/N
Entropy = pklog2(1/pk)
= p1log2(1/p1)+ p2log2(1/p2)+ p3log2(1/p3)+ p4log2(1/p4)+
p5log2(1/p5)
= 0.4log2(1/0.4)+ 0.15log2(1/0.15)+ 0.15log2(1/0.15)+
0.15log2(1/0.15)+ 0.15log2(1/0.15)
= 2.171
SF Code
N = pknk
= p1n1+ p2n2+ p3n3+ p4n4+ p5n5
= 0.4*1+0.15*3+0.15*3+0.15*3+0.15*3
= 2.2
HM Code
N = pknk
= p1n1+ p2n2+ p3n3+ p4n4+ p5n5
= = 0.4*1+0.15*3+0.15*3+0.15*3+0.15*3
= 2.2
Code efficiency for SF = 0.9868 = 0.9868*100=
98.68 %
Code efficiency for HM = 0.9868 = 98.68 %
M1 M2 M3
G1 = 100, G2 = 111, G3 = 101
G1
G2 G3
Output
Present
State
M3M2
M1 X1 = M1 X2 =
m1+m2+
m3
X3 =
m1+m3
Next
State
M2M1
00 0 0 0 0 00
1 1 1 1 01
01 0 0 1 0 10
1 1 0 1 11
10 0 0 1 1 00
1 1 0 0 01
11 0 0 0 1 10
1 1 1 0 11
Trellis Diagram
Present State Next State
A=00
B=01
C=10
D=11
A=00
B=01
C=10
D=11
0/000
1/111
0/010
1/101
0/011
1/100
0/001
1/110
State diagram
A
B
C
D
0/000
1/111
0/010
1/101
0/011
1/100
0/001
1/110
Code Tree
a
0
1
a
b
0
a
b
1 0
1
c
d

More Related Content

Similar to EC8394 ANALOG AND DIGITAL COMMUNICATION UNIT IV

Misura scariche parziali nei macchinari rotanti - Analizzatori Portatili
Misura scariche parziali nei macchinari rotanti - Analizzatori PortatiliMisura scariche parziali nei macchinari rotanti - Analizzatori Portatili
Misura scariche parziali nei macchinari rotanti - Analizzatori Portatili
GIGA TECH SRL - Distribuzione componenti per impianti di processo
 
Lecture 5 from virtual university of pakistan
Lecture 5 from virtual university of pakistanLecture 5 from virtual university of pakistan
Lecture 5 from virtual university of pakistan
Saba Hanif
 
Automated Traffic Control System
Automated Traffic Control SystemAutomated Traffic Control System
Automated Traffic Control System
Kondala Rao Puvvadi
 
Pic18 f4520 and robotics
Pic18 f4520 and roboticsPic18 f4520 and robotics
Pic18 f4520 and robotics
Siddhant Chopra
 
Networks lab manual ecp62
Networks lab manual ecp62Networks lab manual ecp62
Networks lab manual ecp62
Basil John
 
Improved Reliable Streaming Processing: Apache Storm as example
Improved Reliable Streaming Processing: Apache Storm as exampleImproved Reliable Streaming Processing: Apache Storm as example
Improved Reliable Streaming Processing: Apache Storm as example
DataWorks Summit/Hadoop Summit
 
Computer aided design of communication systems / Simulation Communication Sys...
Computer aided design of communication systems / Simulation Communication Sys...Computer aided design of communication systems / Simulation Communication Sys...
Computer aided design of communication systems / Simulation Communication Sys...
Makan Mohammadi
 
PR-252: Making Convolutional Networks Shift-Invariant Again
PR-252: Making Convolutional Networks Shift-Invariant AgainPR-252: Making Convolutional Networks Shift-Invariant Again
PR-252: Making Convolutional Networks Shift-Invariant Again
Hyeongmin Lee
 
Acquisition of Long Pseudo Code in Dsss Signal
Acquisition of Long Pseudo Code in Dsss SignalAcquisition of Long Pseudo Code in Dsss Signal
Acquisition of Long Pseudo Code in Dsss Signal
IJMER
 
Discussion on 8080 Microprocessor_r1 - Everyting you need to know.pptx
Discussion on 8080 Microprocessor_r1 - Everyting you need to know.pptxDiscussion on 8080 Microprocessor_r1 - Everyting you need to know.pptx
Discussion on 8080 Microprocessor_r1 - Everyting you need to know.pptx
pjmulat
 
"Evaluation of the Hilbert Huang transformation of transient signals for brid...
"Evaluation of the Hilbert Huang transformation of transient signals for brid..."Evaluation of the Hilbert Huang transformation of transient signals for brid...
"Evaluation of the Hilbert Huang transformation of transient signals for brid...
TRUSS ITN
 
Transformer protection from inrush currents: Discrimination of internal fault...
Transformer protection from inrush currents: Discrimination of internal fault...Transformer protection from inrush currents: Discrimination of internal fault...
Transformer protection from inrush currents: Discrimination of internal fault...
Shilpa Shukla
 
Computer archi&mp
Computer archi&mpComputer archi&mp
Computer archi&mp
MSc CST
 
Robust and Tuneable Family of Gossiping Algorithms
Robust and Tuneable Family of Gossiping AlgorithmsRobust and Tuneable Family of Gossiping Algorithms
Robust and Tuneable Family of Gossiping Algorithms
Vincenzo De Florio
 
Project lfsr
Project lfsrProject lfsr
Project lfsr
Harsha Yelisala
 
Sampling and Reconstruction (Online Learning).pptx
Sampling and Reconstruction (Online Learning).pptxSampling and Reconstruction (Online Learning).pptx
Sampling and Reconstruction (Online Learning).pptx
HamzaJaved306957
 

Similar to EC8394 ANALOG AND DIGITAL COMMUNICATION UNIT IV (16)

Misura scariche parziali nei macchinari rotanti - Analizzatori Portatili
Misura scariche parziali nei macchinari rotanti - Analizzatori PortatiliMisura scariche parziali nei macchinari rotanti - Analizzatori Portatili
Misura scariche parziali nei macchinari rotanti - Analizzatori Portatili
 
Lecture 5 from virtual university of pakistan
Lecture 5 from virtual university of pakistanLecture 5 from virtual university of pakistan
Lecture 5 from virtual university of pakistan
 
Automated Traffic Control System
Automated Traffic Control SystemAutomated Traffic Control System
Automated Traffic Control System
 
Pic18 f4520 and robotics
Pic18 f4520 and roboticsPic18 f4520 and robotics
Pic18 f4520 and robotics
 
Networks lab manual ecp62
Networks lab manual ecp62Networks lab manual ecp62
Networks lab manual ecp62
 
Improved Reliable Streaming Processing: Apache Storm as example
Improved Reliable Streaming Processing: Apache Storm as exampleImproved Reliable Streaming Processing: Apache Storm as example
Improved Reliable Streaming Processing: Apache Storm as example
 
Computer aided design of communication systems / Simulation Communication Sys...
Computer aided design of communication systems / Simulation Communication Sys...Computer aided design of communication systems / Simulation Communication Sys...
Computer aided design of communication systems / Simulation Communication Sys...
 
PR-252: Making Convolutional Networks Shift-Invariant Again
PR-252: Making Convolutional Networks Shift-Invariant AgainPR-252: Making Convolutional Networks Shift-Invariant Again
PR-252: Making Convolutional Networks Shift-Invariant Again
 
Acquisition of Long Pseudo Code in Dsss Signal
Acquisition of Long Pseudo Code in Dsss SignalAcquisition of Long Pseudo Code in Dsss Signal
Acquisition of Long Pseudo Code in Dsss Signal
 
Discussion on 8080 Microprocessor_r1 - Everyting you need to know.pptx
Discussion on 8080 Microprocessor_r1 - Everyting you need to know.pptxDiscussion on 8080 Microprocessor_r1 - Everyting you need to know.pptx
Discussion on 8080 Microprocessor_r1 - Everyting you need to know.pptx
 
"Evaluation of the Hilbert Huang transformation of transient signals for brid...
"Evaluation of the Hilbert Huang transformation of transient signals for brid..."Evaluation of the Hilbert Huang transformation of transient signals for brid...
"Evaluation of the Hilbert Huang transformation of transient signals for brid...
 
Transformer protection from inrush currents: Discrimination of internal fault...
Transformer protection from inrush currents: Discrimination of internal fault...Transformer protection from inrush currents: Discrimination of internal fault...
Transformer protection from inrush currents: Discrimination of internal fault...
 
Computer archi&mp
Computer archi&mpComputer archi&mp
Computer archi&mp
 
Robust and Tuneable Family of Gossiping Algorithms
Robust and Tuneable Family of Gossiping AlgorithmsRobust and Tuneable Family of Gossiping Algorithms
Robust and Tuneable Family of Gossiping Algorithms
 
Project lfsr
Project lfsrProject lfsr
Project lfsr
 
Sampling and Reconstruction (Online Learning).pptx
Sampling and Reconstruction (Online Learning).pptxSampling and Reconstruction (Online Learning).pptx
Sampling and Reconstruction (Online Learning).pptx
 

More from ManojKumar791621

EC8395 COMMUNICATION ENGINEERING UNIT III
EC8395   COMMUNICATION ENGINEERING UNIT IIIEC8395   COMMUNICATION ENGINEERING UNIT III
EC8395 COMMUNICATION ENGINEERING UNIT III
ManojKumar791621
 
EC8395 COMMUNICATION ENGINEERING UNIT II
EC8395 COMMUNICATION ENGINEERING UNIT IIEC8395 COMMUNICATION ENGINEERING UNIT II
EC8395 COMMUNICATION ENGINEERING UNIT II
ManojKumar791621
 
EC8395 COMMUNICATION ENGINEERING UNIT I
EC8395  COMMUNICATION ENGINEERING UNIT IEC8395  COMMUNICATION ENGINEERING UNIT I
EC8395 COMMUNICATION ENGINEERING UNIT I
ManojKumar791621
 
EC8395 COMMUNICATION ENGINEERING UNIT V
EC8395 COMMUNICATION ENGINEERING UNIT V EC8395 COMMUNICATION ENGINEERING UNIT V
EC8395 COMMUNICATION ENGINEERING UNIT V
ManojKumar791621
 
EC8394 MULTI USER RADIO COMMUNICATION UNIT V
EC8394  MULTI USER RADIO COMMUNICATION UNIT VEC8394  MULTI USER RADIO COMMUNICATION UNIT V
EC8394 MULTI USER RADIO COMMUNICATION UNIT V
ManojKumar791621
 
EC8394 - ANALOG AND DIGITAL COMMUNICAYION UNIT III
EC8394 - ANALOG AND DIGITAL COMMUNICAYION UNIT IIIEC8394 - ANALOG AND DIGITAL COMMUNICAYION UNIT III
EC8394 - ANALOG AND DIGITAL COMMUNICAYION UNIT III
ManojKumar791621
 
EC8394- ANALOG AND DIGITAL COMMUNICATION unit II
EC8394- ANALOG AND DIGITAL COMMUNICATION  unit IIEC8394- ANALOG AND DIGITAL COMMUNICATION  unit II
EC8394- ANALOG AND DIGITAL COMMUNICATION unit II
ManojKumar791621
 
Ec8394 - Analog and Digital Communication unit I
Ec8394 - Analog and Digital Communication  unit IEc8394 - Analog and Digital Communication  unit I
Ec8394 - Analog and Digital Communication unit I
ManojKumar791621
 

More from ManojKumar791621 (8)

EC8395 COMMUNICATION ENGINEERING UNIT III
EC8395   COMMUNICATION ENGINEERING UNIT IIIEC8395   COMMUNICATION ENGINEERING UNIT III
EC8395 COMMUNICATION ENGINEERING UNIT III
 
EC8395 COMMUNICATION ENGINEERING UNIT II
EC8395 COMMUNICATION ENGINEERING UNIT IIEC8395 COMMUNICATION ENGINEERING UNIT II
EC8395 COMMUNICATION ENGINEERING UNIT II
 
EC8395 COMMUNICATION ENGINEERING UNIT I
EC8395  COMMUNICATION ENGINEERING UNIT IEC8395  COMMUNICATION ENGINEERING UNIT I
EC8395 COMMUNICATION ENGINEERING UNIT I
 
EC8395 COMMUNICATION ENGINEERING UNIT V
EC8395 COMMUNICATION ENGINEERING UNIT V EC8395 COMMUNICATION ENGINEERING UNIT V
EC8395 COMMUNICATION ENGINEERING UNIT V
 
EC8394 MULTI USER RADIO COMMUNICATION UNIT V
EC8394  MULTI USER RADIO COMMUNICATION UNIT VEC8394  MULTI USER RADIO COMMUNICATION UNIT V
EC8394 MULTI USER RADIO COMMUNICATION UNIT V
 
EC8394 - ANALOG AND DIGITAL COMMUNICAYION UNIT III
EC8394 - ANALOG AND DIGITAL COMMUNICAYION UNIT IIIEC8394 - ANALOG AND DIGITAL COMMUNICAYION UNIT III
EC8394 - ANALOG AND DIGITAL COMMUNICAYION UNIT III
 
EC8394- ANALOG AND DIGITAL COMMUNICATION unit II
EC8394- ANALOG AND DIGITAL COMMUNICATION  unit IIEC8394- ANALOG AND DIGITAL COMMUNICATION  unit II
EC8394- ANALOG AND DIGITAL COMMUNICATION unit II
 
Ec8394 - Analog and Digital Communication unit I
Ec8394 - Analog and Digital Communication  unit IEc8394 - Analog and Digital Communication  unit I
Ec8394 - Analog and Digital Communication unit I
 

Recently uploaded

ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
Las Vegas Warehouse
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Sinan KOZAK
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
mamamaam477
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
Anant Corporation
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
RamonNovais6
 
Hematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood CountHematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood Count
shahdabdulbaset
 
Introduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptxIntroduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptx
MiscAnnoy1
 
Textile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdfTextile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdf
NazakatAliKhoso2
 
Transformers design and coooling methods
Transformers design and coooling methodsTransformers design and coooling methods
Transformers design and coooling methods
Roger Rozario
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
171ticu
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
Rahul
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
co23btech11018
 
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
shadow0702a
 
BRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdfBRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdf
LAXMAREDDY22
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
Dr Ramhari Poudyal
 
gray level transformation unit 3(image processing))
gray level transformation unit 3(image processing))gray level transformation unit 3(image processing))
gray level transformation unit 3(image processing))
shivani5543
 

Recently uploaded (20)

ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
 
Hematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood CountHematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood Count
 
Introduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptxIntroduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptx
 
Textile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdfTextile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdf
 
Transformers design and coooling methods
Transformers design and coooling methodsTransformers design and coooling methods
Transformers design and coooling methods
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
 
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
 
BRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdfBRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdf
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
 
gray level transformation unit 3(image processing))
gray level transformation unit 3(image processing))gray level transformation unit 3(image processing))
gray level transformation unit 3(image processing))
 

EC8394 ANALOG AND DIGITAL COMMUNICATION UNIT IV

  • 1. UNIT IV SOURCE AND ERROR CONTROL CODING Entropy, Source encoding theorem, Shannon fano coding, Huffman coding, mutual information, channel capacity, Error Control Coding, linear block codes, cyclic codes - ARQ Techniques.
  • 2. UNIT IV SOURCE AND ERROR CONTROL CODING Information Theory Mathematical modeling and analysis of a communication system Signal Compression and data rate Entropy and channel capacity Entropy – Probabilistic behavior of source Capacity – Ability to convey information
  • 3. Mutual Information I(x,y) = H(x)-H(x/y) I(y,x) = H(y)-H(y/x) Properties 1. Symmetric ie I(x,y) = I(y,x) 2. Always non negative 3. I(x,y) = H(x)+H(y)-H(x,y) UNIT IV SOURCE AND ERROR CONTROL CODING
  • 4. Channel Capacity Maximum mutual information in any single use of a channel C= maxP(xj) I(x,y) UNIT IV SOURCE AND ERROR CONTROL CODING
  • 5. Automatic Repeat Request Stop and Wait Continuous ARQ with pullback Continuous ARQ with selective repeat UNIT IV SOURCE AND ERROR CONTROL CODING
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21. Trellis diagram a a b b c c d d m2,m 1 m X1=m X2= m+m1+m2 X3= m+m2 m1, m 00 a 0 0 0+0+0= 0 0+0=0 00 a 1 1 1+0+0=1 1+0=1 01 b 01 b 0 0 1 0 10 c 1 1 0 1 11 d 10 c 0 0 1 1 00 a 1 1 0 0 01 b 11 d 0 0 0 1 10 c 1 1 1 0 11 d
  • 24. Entropy = pklog2(1/pk) where k ranges 1 to 6 = p1log2(1/p1) + p2log2(1/p2) + p3log2(1/p3) +…. p6log2(1/p6) = 0.3log2(1/0.3) + 0.1log2(1/0.1) + I R = H* No of symbols = H*500 = H*9600
  • 25. Find code efficiency using SF and HM code for the source messages m1= 0.4, m2= 0.15, m3=0.15, m4=0.15, m5 = 0.15 SF CODE STEP 1 STEP 2 STEP 3 STEP 4 M1 0.4 M1 0.4 0.4 0 0 M2 0.15 M2 0.15 0.15 1 0.15 0 0.15 0 100 M3 0.15 M3 0.15 0.15 1 0.15 0 0.15 1 101 M4 0.15 M4 0.15 0.15 1 0.15 1 0.15 0 110 M5 0.15 M5 0.15 0.15 1 0.15 1 0.15 1 111 HM CODE STEP 1 STEP 2 STEP 3 STEP 4 STEP 4 M1 0.4 M1 0.4 0.4 0.4 0.4 0.6 0 1 1 M2 0.15 M2 0.15 0.15 0.3 0.3 0 0.4 1 010 010 M3 0.15 M3 0.15 0.15 0.15 0 0.3 1 110 011 M4 0.15 M4 0.15 0.15 0 0.15 1 000 000 M5 0.15 M5 0.15 0.15 1 100 001
  • 26. Code Efficiency = Entropy/N Entropy = pklog2(1/pk) = p1log2(1/p1)+ p2log2(1/p2)+ p3log2(1/p3)+ p4log2(1/p4)+ p5log2(1/p5) = 0.4log2(1/0.4)+ 0.15log2(1/0.15)+ 0.15log2(1/0.15)+ 0.15log2(1/0.15)+ 0.15log2(1/0.15) = 2.171 SF Code N = pknk = p1n1+ p2n2+ p3n3+ p4n4+ p5n5 = 0.4*1+0.15*3+0.15*3+0.15*3+0.15*3 = 2.2
  • 27. HM Code N = pknk = p1n1+ p2n2+ p3n3+ p4n4+ p5n5 = = 0.4*1+0.15*3+0.15*3+0.15*3+0.15*3 = 2.2 Code efficiency for SF = 0.9868 = 0.9868*100= 98.68 % Code efficiency for HM = 0.9868 = 98.68 %
  • 28. M1 M2 M3 G1 = 100, G2 = 111, G3 = 101 G1 G2 G3 Output
  • 29. Present State M3M2 M1 X1 = M1 X2 = m1+m2+ m3 X3 = m1+m3 Next State M2M1 00 0 0 0 0 00 1 1 1 1 01 01 0 0 1 0 10 1 1 0 1 11 10 0 0 1 1 00 1 1 0 0 01 11 0 0 0 1 10 1 1 1 0 11
  • 30. Trellis Diagram Present State Next State A=00 B=01 C=10 D=11 A=00 B=01 C=10 D=11 0/000 1/111 0/010 1/101 0/011 1/100 0/001 1/110