SlideShare una empresa de Scribd logo
1 de 27
Introduction
A general overview of signal encoding
You will learn why to use digital encoding, how signal
is transmitted and received and how analog signals
are converted to digital
Some digital encoding methods
OverviewConversion to digital signal from a analog is composed of 4
main stages
Analog signal is filtered by LPF and then sampled w.r.t time ‘T’.
LPF:
 Low Pass Filter, a filter that eliminates the high frequencies of the
input signal.
The samples are distributed over infinite set of values are
converted to final set if M values. Called quantization.
Each of these M values are converted binary representation.
PAM encoding composed of 3 stages.
Why PCM method?
A digital representation of an analog signal where the
magnitude of the signal is sampled regularly at
uniform intervals, then quantized to a series of
symbols in a numeric (usually binary) code.
Answer is the advantages over digitizing.
Part of them is also available in analog systems , but
cost is higher and performance is usually worse.
PCM
Error correction
Retransmit the damaged data again (as in TCP)
Encryption
Encrypted easily advantage in business/military purpose
Compression
Compress data take less memory
Storage
Retrieval of data using cheaper peripherals devices
Transmission
Repeater for long distance to reduce noise and regeneration
Line encoding
PCM signal is not ready to be transmitted requires line encoding
Some formal technique are used to represent data, and narrow
B/W
Analog => Digital
Passing the Analog signal through a LPF and sampling it.
Transferring the sampled signal through a quantizer.
Converting the quantized value to a binary representation.
Sampling and quantization of a signal (red) for 4-bit PCM
LPF and Sampling
Nyquest theorem, an Analog signal can be reconstructed from
a sequence of samples if the sampling rate is, at least, twice as
the highest frequency of the signal.
The LPF must come before the sampling. Filtering the
frequencies higher then the sampling rate, removing the
phenomenon called Aliasing.
Sampling rate help in calculating the time period of each
sample Ts= 1/fs.
Which defines the samples over an infinite set of values,
which is a big problem when it comes to transmission.
What to do then >>>????
We need to Quantize the data
Quantization
Confine the infinite set to finite set of values, defined
by letter M which is an exponential function
M = 2n
It can be easily derived from
the above table that this
quantizer has 8 levels (M=8).
The quantizer used here
is a linear quantizer.
Speech contain lower frequencies then higher
therefore we use more quantization levels then higher
X, the input voltage
[Volt]
Output voltage [Volt]
X >= 6 7
6 > X >= 4 5
4 > X >= 2 3
2 > X >= 0 1
0 > X >= -2 -1
-2 > X >= -4 -3
-4 > X >= -6 -5
-6 > X -7
sampling
When you sample the wave with an analog-to-digital
converter, you have control over two variables:
The sampling rate - Controls how many samples are
taken per second
The sampling precision - Controls how many
different gradations (quantization levels) are possible
when taking the sample
sampling
A/D Conversion
D/A Conversion
Higher rate sampling
Binary conversion
Last stage of PCM is the conversion of the value of
quantization to binary representation.
We used M=8 => the number of bits needed for binary
representation is n=3.
We can use any desired representation, such as octal
or hexadecimal.*
The binary representation designating each quantization
level should be also considered.
Gray codes
Gray code can be very useful here.
In Gray code, every two neighboring words are different
in only one bit.
Thus a error caused due to additive noise will cause only
a minor shift to neighboring frequencies
Decreasing the impact of the
error occurred significantly.
Quantizer output voltage
[Volt]
PCM output [binary
representation]
7 110
5 111
3 101
1 100
-1 000
-3 001
-5 011
-7 010
Problems still exist with PCM
Quantization noise
 The difference between the original samples to their quantized
values is called Quantization noise. This noise will appear at the
reconstruction of the Analog signal.
Bandwidth
 Each sample is represented by n bits, therefore the required
bandwidth is multiplied a factor of, at least, n
ISI (Inter-symbol Interference)
 Each binary representation of the samples, will be transformed at the
end to some shape, usually a pulse, called a symbol. It is very likely
that neighboring symbols will interfere each other, thus adding
difficulties to the reconstruction of the analog signal.
Encodings
Digital data, digital signals
How to represent bits (codes)
Analog data, digital signals
How to represent voltages (sampling)
Digital/Digital Encoding
Issue in comparing various techniques:
Signal spectrum
 High freq-big b/w, no dc – Better isolation
Signal synchronization capability
Signal error detecting capability
Signal interference and noise immunity
Cost and complexity
More A – D modulation
Pulse Amplitude Modulation (PAM)
Delta Modulation (DM)
Quantizing noise
Slope-overload noise
Differential Pulse code Modulation (DPAM)
NRZ-L: Non Return to Zero Level
Zero is represented as no voltage, and one by high
voltage level.
First, it has a DC component, meaning that its average voltage
is not 0 but some positive constant.
Second, it has the inability to carry synchronization
information. Again, if we have a series of ones, we won’t be
able to know how many we got.
Polar NRZ-L: Polar Non Return to Zero Level
Zero is represented as negative voltage level, and one
by positive voltage level.
This code is similar to the previous one. It handles the
DC component issue, meaning the average voltage level
is 0. It still has the synchronization problem.
NRZ-I: Non Return to Zero Inverted
Transition on one only.
Like Polar NRZ no change in voltage in the case of
zeroes sequence and no carry of synchronization
information.
This code doesn’t handle the DC component (average
is not 0).
Bipolar (Multilevel Binary encoding)
No voltage on zero, the first one is a positive voltage,
the second one is a negative voltage, and the voltage
values of subsequent ones alternate.
Here the problem of DC component (average not 0)
was solved by introducing negative voltage level. The
code is not sensitive for polarity but we can lose
synchronization on a long sequence of zeroes.
Manchester (Biphase encoding)
Zero is represented as a transition from high to low
voltage level in the middle of the bit, while one is
represented by the transition from low to high.
Good for timing as we have a transition every cycle,
fully self synchronizing.
Used on 10 Mb/s Ethernet
Differential Manchester (Biphase)
Always a transition in the middle of a bit, transition at the
beginning only for zero.
As in the regular Manchester code, fully self synchronizing
Another advantage here, polarity is not significant.
The drawback of this line code is the same as for the
previous one, double bandwidth.
Scrambling Techniques
For long distance applications, the encoding schemes
that are normally used are known as scrambling tech.
Applied in case of bipolar AMI (Alternate mark
inversion)
Solve problem of long strings of ‘0’
 B8ZS- bipolar 8 zero substitution
HDB3- high density Bipolar 3 zeros
4B/5B
Insert extra bits to break up runs
4 bit vales sent as 5 bit codeword
Codeword have <2 leading 0 and <3 trailing 0; 16 of 32
used (other for ctrl)
Transmittied using NRZI
80% efficiency
Used by FDDI and 100 Mb/s ethernet
Complete communication system
A basic block diagram of a complete communication
system for analog signals.
Receiver
Modulation taking the input bits (called Baseband)
and, loading it on the transmission carrier (RF
carrier).
Detection mainly, receiving only a pre defined
frequency range.
Matched filter a filter that is match to the
transmitted signal, thus enables the best possible
reception.
Decision for every digital value received we should
decide what was the original value that was
transmitted.
D/A Digital to Analog signal convertor.

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Analog communication
Analog communicationAnalog communication
Analog communication
 
Time Division Multiplexing
Time Division MultiplexingTime Division Multiplexing
Time Division Multiplexing
 
Digital Communication: Information Theory
Digital Communication: Information TheoryDigital Communication: Information Theory
Digital Communication: Information Theory
 
Digital communications
Digital communicationsDigital communications
Digital communications
 
Amplitude shift keying (ask)
Amplitude shift keying (ask)Amplitude shift keying (ask)
Amplitude shift keying (ask)
 
M ary psk modulation
M ary psk modulationM ary psk modulation
M ary psk modulation
 
Digital communication unit II
Digital communication unit IIDigital communication unit II
Digital communication unit II
 
Pulse Code Modulation
Pulse Code ModulationPulse Code Modulation
Pulse Code Modulation
 
Source coding
Source coding Source coding
Source coding
 
Pre-emphasis and de-emphasis circuits
Pre-emphasis and de-emphasis circuitsPre-emphasis and de-emphasis circuits
Pre-emphasis and de-emphasis circuits
 
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
 
Delta Modulation
Delta ModulationDelta Modulation
Delta Modulation
 
Delta modulation
Delta modulationDelta modulation
Delta modulation
 
ASk,FSK,PSK
ASk,FSK,PSKASk,FSK,PSK
ASk,FSK,PSK
 
Base band transmission
Base band transmissionBase band transmission
Base band transmission
 
Orthogonal Frequency Division Multiplexing (OFDM)
Orthogonal Frequency Division Multiplexing (OFDM)Orthogonal Frequency Division Multiplexing (OFDM)
Orthogonal Frequency Division Multiplexing (OFDM)
 
Frequency Modulation
Frequency ModulationFrequency Modulation
Frequency Modulation
 
PULSE CODE MODULATION (PCM)
PULSE CODE MODULATION (PCM)PULSE CODE MODULATION (PCM)
PULSE CODE MODULATION (PCM)
 
Comparsion of M-Ary psk,fsk,qapsk.pptx
Comparsion of M-Ary psk,fsk,qapsk.pptxComparsion of M-Ary psk,fsk,qapsk.pptx
Comparsion of M-Ary psk,fsk,qapsk.pptx
 
Amplitude modulation
Amplitude modulationAmplitude modulation
Amplitude modulation
 

Similar a 1 PCM & Encoding

_Pulse-Modulation-Techniqnes.pdf
_Pulse-Modulation-Techniqnes.pdf_Pulse-Modulation-Techniqnes.pdf
_Pulse-Modulation-Techniqnes.pdfSoyallRobi
 
TeleCom Lecture 07.ppt
TeleCom Lecture 07.pptTeleCom Lecture 07.ppt
TeleCom Lecture 07.pptRiyaBatool
 
Pulse code modulation (PCM)
Pulse code modulation (PCM)Pulse code modulation (PCM)
Pulse code modulation (PCM)Mahima Shastri
 
komdat5
komdat5komdat5
komdat5pasca
 
Ch4 1 Data communication and networking by neha g. kurale
Ch4 1 Data communication and networking by neha g. kuraleCh4 1 Data communication and networking by neha g. kurale
Ch4 1 Data communication and networking by neha g. kuraleNeha Kurale
 
DIGITAL TRANSMISSION
DIGITAL TRANSMISSIONDIGITAL TRANSMISSION
DIGITAL TRANSMISSIONAvijeet Negel
 
Lecture7 encodingmodulation
Lecture7 encodingmodulationLecture7 encodingmodulation
Lecture7 encodingmodulationH K
 
PCM and delta modulation.ppt
PCM and delta modulation.pptPCM and delta modulation.ppt
PCM and delta modulation.ppt1637ARUNIMADAS
 
Analog-to Digital Conversion
Analog-to Digital ConversionAnalog-to Digital Conversion
Analog-to Digital Conversionwajahat Gul
 
Data Encoding
Data EncodingData Encoding
Data EncodingLuka M G
 
4. Analog to digital conversation (1).ppt
4. Analog to digital conversation (1).ppt4. Analog to digital conversation (1).ppt
4. Analog to digital conversation (1).ppttest22333
 
L 1 5 sampling quantizing encoding pcm
L 1 5 sampling quantizing encoding pcmL 1 5 sampling quantizing encoding pcm
L 1 5 sampling quantizing encoding pcmDEEPIKA KAMBOJ
 
Digital-transmission.pptx
Digital-transmission.pptxDigital-transmission.pptx
Digital-transmission.pptxDennisA6
 
Te 4 pulse_modulation
Te 4 pulse_modulationTe 4 pulse_modulation
Te 4 pulse_modulationShohan Ean
 

Similar a 1 PCM & Encoding (20)

_Pulse-Modulation-Techniqnes.pdf
_Pulse-Modulation-Techniqnes.pdf_Pulse-Modulation-Techniqnes.pdf
_Pulse-Modulation-Techniqnes.pdf
 
TeleCom Lecture 07.ppt
TeleCom Lecture 07.pptTeleCom Lecture 07.ppt
TeleCom Lecture 07.ppt
 
Pulse code modulation (PCM)
Pulse code modulation (PCM)Pulse code modulation (PCM)
Pulse code modulation (PCM)
 
komdat5
komdat5komdat5
komdat5
 
Ch4 1 Data communication and networking by neha g. kurale
Ch4 1 Data communication and networking by neha g. kuraleCh4 1 Data communication and networking by neha g. kurale
Ch4 1 Data communication and networking by neha g. kurale
 
05 signal encodingtechniques
05 signal encodingtechniques05 signal encodingtechniques
05 signal encodingtechniques
 
DIGITAL TRANSMISSION
DIGITAL TRANSMISSIONDIGITAL TRANSMISSION
DIGITAL TRANSMISSION
 
Ch4 2 v1
Ch4 2 v1Ch4 2 v1
Ch4 2 v1
 
Lecture7 encodingmodulation
Lecture7 encodingmodulationLecture7 encodingmodulation
Lecture7 encodingmodulation
 
PCM and delta modulation.ppt
PCM and delta modulation.pptPCM and delta modulation.ppt
PCM and delta modulation.ppt
 
Analog_to_Digital.pdf
Analog_to_Digital.pdfAnalog_to_Digital.pdf
Analog_to_Digital.pdf
 
Analog-to Digital Conversion
Analog-to Digital ConversionAnalog-to Digital Conversion
Analog-to Digital Conversion
 
Data Encoding
Data EncodingData Encoding
Data Encoding
 
4. Analog to digital conversation (1).ppt
4. Analog to digital conversation (1).ppt4. Analog to digital conversation (1).ppt
4. Analog to digital conversation (1).ppt
 
ch4_2_v1.ppt
ch4_2_v1.pptch4_2_v1.ppt
ch4_2_v1.ppt
 
L 1 5 sampling quantizing encoding pcm
L 1 5 sampling quantizing encoding pcmL 1 5 sampling quantizing encoding pcm
L 1 5 sampling quantizing encoding pcm
 
Unit 3.pptx
Unit 3.pptxUnit 3.pptx
Unit 3.pptx
 
Pulse code mod
Pulse code modPulse code mod
Pulse code mod
 
Digital-transmission.pptx
Digital-transmission.pptxDigital-transmission.pptx
Digital-transmission.pptx
 
Te 4 pulse_modulation
Te 4 pulse_modulationTe 4 pulse_modulation
Te 4 pulse_modulation
 

Más de Water Birds (Ali)

Creative Writing Course Worksheets
Creative Writing Course WorksheetsCreative Writing Course Worksheets
Creative Writing Course WorksheetsWater Birds (Ali)
 
PhDs Produced by Punjab University from Jan to Dec 2014
PhDs Produced by Punjab University from Jan to Dec 2014PhDs Produced by Punjab University from Jan to Dec 2014
PhDs Produced by Punjab University from Jan to Dec 2014Water Birds (Ali)
 
Course Outline for MA Urdu Punjab University
Course Outline for MA Urdu Punjab UniversityCourse Outline for MA Urdu Punjab University
Course Outline for MA Urdu Punjab UniversityWater Birds (Ali)
 
Course Outline for MA Philosophy Punjab University
Course Outline for MA Philosophy Punjab UniversityCourse Outline for MA Philosophy Punjab University
Course Outline for MA Philosophy Punjab UniversityWater Birds (Ali)
 
Course Outline for MA French Punjab University
Course Outline for MA French Punjab UniversityCourse Outline for MA French Punjab University
Course Outline for MA French Punjab UniversityWater Birds (Ali)
 
Course Outline for MA English Punjab University
Course Outline for MA English Punjab UniversityCourse Outline for MA English Punjab University
Course Outline for MA English Punjab UniversityWater Birds (Ali)
 
MPhil English Interview Schedule for 27 July 2011 (Punjab University)
MPhil English Interview Schedule for 27 July 2011 (Punjab University)MPhil English Interview Schedule for 27 July 2011 (Punjab University)
MPhil English Interview Schedule for 27 July 2011 (Punjab University)Water Birds (Ali)
 
PU's MPhil English Interview Result 2011
PU's MPhil English Interview Result 2011PU's MPhil English Interview Result 2011
PU's MPhil English Interview Result 2011Water Birds (Ali)
 
Chinua Achebe - Things Fall Apart [Edited Version]
Chinua Achebe - Things Fall Apart [Edited Version]Chinua Achebe - Things Fall Apart [Edited Version]
Chinua Achebe - Things Fall Apart [Edited Version]Water Birds (Ali)
 
Tips to Relax Your Tired Eyes
Tips to Relax Your Tired EyesTips to Relax Your Tired Eyes
Tips to Relax Your Tired EyesWater Birds (Ali)
 
Mother Courage and Her Children by Bertolt Bretch
Mother Courage and Her Children by Bertolt BretchMother Courage and Her Children by Bertolt Bretch
Mother Courage and Her Children by Bertolt BretchWater Birds (Ali)
 
Things Fall Apart by Chinua Achebe
Things Fall Apart by Chinua AchebeThings Fall Apart by Chinua Achebe
Things Fall Apart by Chinua AchebeWater Birds (Ali)
 
Chapter 1 Automatic Controloverview
Chapter 1 Automatic ControloverviewChapter 1 Automatic Controloverview
Chapter 1 Automatic ControloverviewWater Birds (Ali)
 
Chapter 3 History and Geography The Foundations of Culture
Chapter 3   History and Geography The Foundations of Culture  Chapter 3   History and Geography The Foundations of Culture
Chapter 3 History and Geography The Foundations of Culture Water Birds (Ali)
 

Más de Water Birds (Ali) (20)

Who invented?
Who invented?Who invented?
Who invented?
 
Creative Writing Course Worksheets
Creative Writing Course WorksheetsCreative Writing Course Worksheets
Creative Writing Course Worksheets
 
Essay Writing
Essay Writing   Essay Writing
Essay Writing
 
PhDs Produced by Punjab University from Jan to Dec 2014
PhDs Produced by Punjab University from Jan to Dec 2014PhDs Produced by Punjab University from Jan to Dec 2014
PhDs Produced by Punjab University from Jan to Dec 2014
 
Course Outline for MA Urdu Punjab University
Course Outline for MA Urdu Punjab UniversityCourse Outline for MA Urdu Punjab University
Course Outline for MA Urdu Punjab University
 
Course Outline for MA Philosophy Punjab University
Course Outline for MA Philosophy Punjab UniversityCourse Outline for MA Philosophy Punjab University
Course Outline for MA Philosophy Punjab University
 
Course Outline for MA French Punjab University
Course Outline for MA French Punjab UniversityCourse Outline for MA French Punjab University
Course Outline for MA French Punjab University
 
Course Outline for MA English Punjab University
Course Outline for MA English Punjab UniversityCourse Outline for MA English Punjab University
Course Outline for MA English Punjab University
 
MPhil English Interview Schedule for 27 July 2011 (Punjab University)
MPhil English Interview Schedule for 27 July 2011 (Punjab University)MPhil English Interview Schedule for 27 July 2011 (Punjab University)
MPhil English Interview Schedule for 27 July 2011 (Punjab University)
 
PU's MPhil English Interview Result 2011
PU's MPhil English Interview Result 2011PU's MPhil English Interview Result 2011
PU's MPhil English Interview Result 2011
 
Chinua Achebe - Things Fall Apart [Edited Version]
Chinua Achebe - Things Fall Apart [Edited Version]Chinua Achebe - Things Fall Apart [Edited Version]
Chinua Achebe - Things Fall Apart [Edited Version]
 
Tips to Relax Your Tired Eyes
Tips to Relax Your Tired EyesTips to Relax Your Tired Eyes
Tips to Relax Your Tired Eyes
 
Mother Courage and Her Children by Bertolt Bretch
Mother Courage and Her Children by Bertolt BretchMother Courage and Her Children by Bertolt Bretch
Mother Courage and Her Children by Bertolt Bretch
 
Things Fall Apart by Chinua Achebe
Things Fall Apart by Chinua AchebeThings Fall Apart by Chinua Achebe
Things Fall Apart by Chinua Achebe
 
Chapter 1 Automatic Controloverview
Chapter 1 Automatic ControloverviewChapter 1 Automatic Controloverview
Chapter 1 Automatic Controloverview
 
Radar Terminology
Radar TerminologyRadar Terminology
Radar Terminology
 
Traffic Signals
Traffic SignalsTraffic Signals
Traffic Signals
 
Writing Engineering Reports
Writing Engineering ReportsWriting Engineering Reports
Writing Engineering Reports
 
Chapter 3 History and Geography The Foundations of Culture
Chapter 3   History and Geography The Foundations of Culture  Chapter 3   History and Geography The Foundations of Culture
Chapter 3 History and Geography The Foundations of Culture
 
Youth Problems in Pakistan
Youth Problems in PakistanYouth Problems in Pakistan
Youth Problems in Pakistan
 

Último

Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 

Último (20)

Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 

1 PCM & Encoding

  • 1.
  • 2. Introduction A general overview of signal encoding You will learn why to use digital encoding, how signal is transmitted and received and how analog signals are converted to digital Some digital encoding methods
  • 3. OverviewConversion to digital signal from a analog is composed of 4 main stages Analog signal is filtered by LPF and then sampled w.r.t time ‘T’. LPF:  Low Pass Filter, a filter that eliminates the high frequencies of the input signal. The samples are distributed over infinite set of values are converted to final set if M values. Called quantization. Each of these M values are converted binary representation. PAM encoding composed of 3 stages.
  • 4. Why PCM method? A digital representation of an analog signal where the magnitude of the signal is sampled regularly at uniform intervals, then quantized to a series of symbols in a numeric (usually binary) code. Answer is the advantages over digitizing. Part of them is also available in analog systems , but cost is higher and performance is usually worse.
  • 5. PCM Error correction Retransmit the damaged data again (as in TCP) Encryption Encrypted easily advantage in business/military purpose Compression Compress data take less memory Storage Retrieval of data using cheaper peripherals devices Transmission Repeater for long distance to reduce noise and regeneration Line encoding PCM signal is not ready to be transmitted requires line encoding Some formal technique are used to represent data, and narrow B/W
  • 6. Analog => Digital Passing the Analog signal through a LPF and sampling it. Transferring the sampled signal through a quantizer. Converting the quantized value to a binary representation. Sampling and quantization of a signal (red) for 4-bit PCM
  • 7. LPF and Sampling Nyquest theorem, an Analog signal can be reconstructed from a sequence of samples if the sampling rate is, at least, twice as the highest frequency of the signal. The LPF must come before the sampling. Filtering the frequencies higher then the sampling rate, removing the phenomenon called Aliasing. Sampling rate help in calculating the time period of each sample Ts= 1/fs. Which defines the samples over an infinite set of values, which is a big problem when it comes to transmission. What to do then >>>???? We need to Quantize the data
  • 8. Quantization Confine the infinite set to finite set of values, defined by letter M which is an exponential function M = 2n It can be easily derived from the above table that this quantizer has 8 levels (M=8). The quantizer used here is a linear quantizer. Speech contain lower frequencies then higher therefore we use more quantization levels then higher X, the input voltage [Volt] Output voltage [Volt] X >= 6 7 6 > X >= 4 5 4 > X >= 2 3 2 > X >= 0 1 0 > X >= -2 -1 -2 > X >= -4 -3 -4 > X >= -6 -5 -6 > X -7
  • 9. sampling When you sample the wave with an analog-to-digital converter, you have control over two variables: The sampling rate - Controls how many samples are taken per second The sampling precision - Controls how many different gradations (quantization levels) are possible when taking the sample
  • 11.
  • 12. Binary conversion Last stage of PCM is the conversion of the value of quantization to binary representation. We used M=8 => the number of bits needed for binary representation is n=3. We can use any desired representation, such as octal or hexadecimal.* The binary representation designating each quantization level should be also considered.
  • 13. Gray codes Gray code can be very useful here. In Gray code, every two neighboring words are different in only one bit. Thus a error caused due to additive noise will cause only a minor shift to neighboring frequencies Decreasing the impact of the error occurred significantly. Quantizer output voltage [Volt] PCM output [binary representation] 7 110 5 111 3 101 1 100 -1 000 -3 001 -5 011 -7 010
  • 14. Problems still exist with PCM Quantization noise  The difference between the original samples to their quantized values is called Quantization noise. This noise will appear at the reconstruction of the Analog signal. Bandwidth  Each sample is represented by n bits, therefore the required bandwidth is multiplied a factor of, at least, n ISI (Inter-symbol Interference)  Each binary representation of the samples, will be transformed at the end to some shape, usually a pulse, called a symbol. It is very likely that neighboring symbols will interfere each other, thus adding difficulties to the reconstruction of the analog signal.
  • 15. Encodings Digital data, digital signals How to represent bits (codes) Analog data, digital signals How to represent voltages (sampling)
  • 16. Digital/Digital Encoding Issue in comparing various techniques: Signal spectrum  High freq-big b/w, no dc – Better isolation Signal synchronization capability Signal error detecting capability Signal interference and noise immunity Cost and complexity
  • 17. More A – D modulation Pulse Amplitude Modulation (PAM) Delta Modulation (DM) Quantizing noise Slope-overload noise Differential Pulse code Modulation (DPAM)
  • 18. NRZ-L: Non Return to Zero Level Zero is represented as no voltage, and one by high voltage level. First, it has a DC component, meaning that its average voltage is not 0 but some positive constant. Second, it has the inability to carry synchronization information. Again, if we have a series of ones, we won’t be able to know how many we got.
  • 19. Polar NRZ-L: Polar Non Return to Zero Level Zero is represented as negative voltage level, and one by positive voltage level. This code is similar to the previous one. It handles the DC component issue, meaning the average voltage level is 0. It still has the synchronization problem.
  • 20. NRZ-I: Non Return to Zero Inverted Transition on one only. Like Polar NRZ no change in voltage in the case of zeroes sequence and no carry of synchronization information. This code doesn’t handle the DC component (average is not 0).
  • 21. Bipolar (Multilevel Binary encoding) No voltage on zero, the first one is a positive voltage, the second one is a negative voltage, and the voltage values of subsequent ones alternate. Here the problem of DC component (average not 0) was solved by introducing negative voltage level. The code is not sensitive for polarity but we can lose synchronization on a long sequence of zeroes.
  • 22. Manchester (Biphase encoding) Zero is represented as a transition from high to low voltage level in the middle of the bit, while one is represented by the transition from low to high. Good for timing as we have a transition every cycle, fully self synchronizing. Used on 10 Mb/s Ethernet
  • 23. Differential Manchester (Biphase) Always a transition in the middle of a bit, transition at the beginning only for zero. As in the regular Manchester code, fully self synchronizing Another advantage here, polarity is not significant. The drawback of this line code is the same as for the previous one, double bandwidth.
  • 24. Scrambling Techniques For long distance applications, the encoding schemes that are normally used are known as scrambling tech. Applied in case of bipolar AMI (Alternate mark inversion) Solve problem of long strings of ‘0’  B8ZS- bipolar 8 zero substitution HDB3- high density Bipolar 3 zeros
  • 25. 4B/5B Insert extra bits to break up runs 4 bit vales sent as 5 bit codeword Codeword have <2 leading 0 and <3 trailing 0; 16 of 32 used (other for ctrl) Transmittied using NRZI 80% efficiency Used by FDDI and 100 Mb/s ethernet
  • 26. Complete communication system A basic block diagram of a complete communication system for analog signals.
  • 27. Receiver Modulation taking the input bits (called Baseband) and, loading it on the transmission carrier (RF carrier). Detection mainly, receiving only a pre defined frequency range. Matched filter a filter that is match to the transmitted signal, thus enables the best possible reception. Decision for every digital value received we should decide what was the original value that was transmitted. D/A Digital to Analog signal convertor.