SlideShare a Scribd company logo
Communication Theory
Analog to Digital Conversion
and
Pulse Code Modulation (PCM)
Enjoy
2
Advantages of Digital Communication
 Digital systems are less sensitive to noise and signal distortion. For long transmission line, the signal may
be regenerated effectively error-free at different points along the path.
 With digital systems, it is easier to integrate different services, e.g., video and the accompanying
soundtrack, into the same transmission scheme.
 The transmission scheme can be relatively independent of the source
 Circuitry for digital signals is easier to repeat and digital circuits are less sensitive to physical effects
such as vibration and temperature
 Digital signals are simpler to characterize and typically do not have the same amplitude range and
variability as analog signals. This makes the associated hardware design easier.
 Various media sharing strategies (known as multiplexing) are more easily implemented with digital
transmission strategies
 Source coding techniques can be used for removing redundancy from digital transmission
 Error-control coding can be used for adding redundancy, which can be used to detect and correct
errors at the receiver side
 Digital communication systems can be made highly secure by exploiting powerful encryption algorithms
 Digital communication systems are inherently more efficient than analog communication systems in
the tradeoff between transmission bandwidth and signal-to-noise ratio
 Various channel compensation techniques, such as, channel estimation and equalization, are easier to
implement
3
Sampling (1)
 Sampling is an operation that is basic to digital signal processing and digital communications
 Through the use of sampling process, an analog signal is converted into a corresponding
sequence of samples that are usually spaced uniformly in time
Message
Sampled Signal
Sampling Signal
   



n
ssT nffffs

4
Sampling (2)
Two types of practical sampling:
 Natural Sampling
 Flat-top sampling
5
Sampling (3)
Frequency Domain:
or,
6
Sampling (4)
fs > 2W:
fs = 2W:
fs < 2W:
Aliasing
7
Sampling Theorem
 Sampling theorem is a fundamental bridge between continuous signals (analog
domain) and discrete signals (digital domain)
 It only applies to a class of mathematical functions whose Fourier transforms are
zero outside of a finite region of frequencies
Nyquist Sampling Theorem / Nyquist-Shanon Sampling Theorem:
fs = Sampling frequency
fs = 2W: Nyquist frequency / Nyquist rate / Minimum sampling frequency
A signal whose bandwidth is limited to W Hz can be reconstructed exactly
(without any error) from its samples uniformly taken at a rate fs ≥ 2W Hz
8
Antialiasing Filter
 All practical signals are time-limited, i.e., non band-limited => Aliasing inevitable
 To limit aliasing, use anti-aliasing filter (LPF) before sampling
Original
Signal
Anti-aliasing
filter
Sample
Reconstruction
Filter
Reconstructed
Signal
9
Reconstruction Filter
fs = 2W:
Ideal LPF
characteristic:
1/2W- 1/2W
Ts = 1/2W
(interpolation formula)
(interpolation filter /
interpolation function)
10
Quantization (1)
Quantizer characteristic:
Here, k = 1, 2, 3, … , L
L = Number of representation levels
(Number of intervals)
It is the process of transforming the sample amplitude m(nTS) of a baseband signal at time t = nTS
into a discrete amplitude v(nTS) taken from a finite set of possible levels
kth interval:
Quantizer output equals to vk if the input signal sample m belongs to the interval Ik
mk: Decision levels / Decision thresholds
vk: Representation levels / Reconstruction levels
Δ=|vk +1 – vk|: Step-size / quantum
kk Imifvv 
11
Quantization(2): Two types
Mid-tread quantization Mid-rise quantization
Mid-rise quantizer:
Decision threshold value is exactly zero
Mid-tread quantizer:
Reconstruction value is exactly zero
Reconstruction
levels
12
Quantization(3): Two types
Uniform quantization Non-uniform quantization
13
Quantization Error for Uniform Quantization (1)
Quantization error (noise)
q = m – v => Q = M – V
 If mean of M is zero and the quantizer is
symmetric, then V is also a RV of zero mean
 Q is also a RV variable of zero mean in the
range [– Δ/2, Δ/2]
 If Δ is sufficiently small, Q can be assumed
a uniform RV with zero mean
– Δ/2 0 Δ/2 q
fQ(q)
1/Δ
Quantization noise power
 




2/
2/
2
22
12
dqqfq QQ
22
12


PP
SNR
Q
Signal-to-nose-ratio (SNR): P = Average power of m(t)
14
Quantization Error for Uniform Quantization (2)
Special case:
m(t) is a sinusoidal signal with amplitude equal to mmax
R
m
L
m
2
22 maxmax

Suppose m(t) of continuous amplitude in the range [-mmax, mmax]:
R
m
P
SNR 2
2
max
2
3







R
SNR 2
2
2
3













 2
max
3
log1002.6
m
P
RSNRdB
8.16  RSNRdB
 Each additional bit increases the SNR by 6.02 dB and
a corresponding increase in required channel BW
R = Number of bits for presenting each level (bits/sample)
15
Non-Uniform Quantization
 SNR of weak signals is much lower than that of strong signal
 Instantaneous SNR is also lower for the smaller amplitudes compared to that of the
larger amplitudes
16
Non-Uniform Quantization
- Step size increases as the separation from the origin of the input–output amplitude
characteristic is increased
- First Compression and then uniform quantization
- Achieve more even SNR over the
dynamic range using fewer bits (e.g.,
8 bits instead of 13/14 bits)
Receiver side: Expansion required
Compression + Expansion = Companding
Original
Signal
Compression
Uniform
Quantization
Reconstruction Expansion
Original
Signal
17
Non-Uniform Quantization
Compressor Input Compressor Output
 The compression here occurs in the amplitude values
 Compression in amplitudes means that the amplitudes of the compressed signal
are more closely spaced in comparison to the original signal
 To do so, the compressor boosts the small amplitudes by a large amount. However,
the large amplitude values receive very small gain and the maximum value remains
the same
18
Non-Uniform Quantization
μ-Law: Used in North America, Japan (μ = 255 is mostly used)
 More uniform SNR is achieved over a larger dynamic range
19
Non-Uniform Quantization
Used in Europe and many other countries
A = 87.6 is mostly used and comparable to μ = 255
A-Law:
20
Encoding
 Each quantized samples is encoded into a code word
 Each element in a code word is called code element
Binary code:
 Each code element is either of two distinct
values, customarily denoted as 0 and 1
 Binary symbol withstands a relatively high
level of noise and also easy to regenerate
 Each binary code word consists of R bits and
hence, this code can represent 2R distinct
numbers (i.e., at best R bit quantizer can be
used)
21
Pulse Code Modulation (PCM)
In PCM, a message signal is represented by a sequence of coded pulses, which is accomplished
by representing the signal in discrete form in both time and amplitude
Three basic operations in a PCM Transmitter:
- Sampling
- Quantization
- Encoding
Transmitter
Receiver
Transmission
Path
22
Differential PCM (DPCM)
Transmitter
 When a signal is sampled at a rate slightly higher than the Nyquist rate, there exists a
high degree correlation between adjacent samples, i.e., in an average sense, the signal
does not change rapidly from one sample to the next
 When these highly correlated samples are encoded as in a standard PCM system, the
resulting encoded signal contains redundant information implying that symbols that are not
absolutely essential to the transmission of information are generated
 DPCM removes this redundancy before encoding by taking the difference between the
actual sample m(nTS) and its predicted value
 The quantized version of the prediction error e(nTS) are encoded instead of encoding
the samples of the original signal
 This will result in much smaller quantization intervals leading to less quantization noise
and much higher SNR
     SSS nTmnTmnTe ˆ
Prediction error
 SnTmˆ
23
Predictor for DPCM:
Liner predictor of order p:
Transversal filter (tapped-delay-line filter) used as a linear predictor
    

p
k
SqkS TknmwnTm
1
ˆ
 SnTm'
24
Differential PCM (DPCM)
Transmitter
Receiver
 Sq nTe
 SnTmˆ      SqSS nTenTmnTm  ˆ'
Reconstruction error          SSqSSS nTqnTenTenTmnTm  '
= Quantization error
     SSS nTmnTmnTe ˆ
Prediction error
25
Delta Modulation (DM) … (1)
 DM encodes the difference between the current sample and the previous sample using just one bit
 Correlation between samples are increased by oversampling (i.e., at a rate much higher, typically 4 times
higher than the Nyquist rate)
 DM involves the generation of the staircase approximation of the oversampled version message
 The difference between the input and the approximation is quantized into only two levels:
 1-bit version of DPCM (i.e., 2-level quantization) requiring less bandwidth than that of DPCM and PCM

26
Delta Modulation (DM)…(2)
Transmitter
Receiver
  .qe
- Digital equivalent of integration
27
Predictor for DM
Transmitter
Note:
(1) DPCM uses a higher order filter.
(2) DM uses a 1st order predictor with w1 = 1. Thus, the predicted output is the previous sample.
28
Delta Modulation (DM)…(3)
Two types of quantization error:
(2) Granular noise(1) Slope overload distortion/noise
Comments:
(1) For avoiding slope overload distortion: larger Δ is desired
(2) For avoiding granular noise: smaller Δ is desired
 An optimal step size (Δ) has to be chosen for minimum overall noise
mq(t)
eq(nTS)
Example:
  s
s
mm f
T
Atm 

 max||   tAtm mm cos  
m
s
m
f
A


max
  
r
s
Voicem
f
A


max
8002  r
29
Line Coding (1)
 PCM, DPCM and DM are different strategies for source
encoding, which converts an analog signal into digital form
 Once a binary sequence of 1s and 0s is produced, the
sequence is transformed into electrical pulses or
waveforms for transmission over a channel and this is
known as line coding
 Multi-level line coding is possible
Various line coding
(binary) methods:
(0 means transition)
(f) Split-phase
or Manchester
Or RZ-AMI
Or NRZ-L
30
Line Coding (2)
Book:
Digital Communications:
Fundamentals and Applications
- Bernard Sklar
Applications:
 Polar NRZ / NRZ-L: Digital logic circuits
 NRZ-M/NRZ-S: Magnetic tap recording
 RZ line codes: Base band transmission and magnetic recording (e.g., Bipolar RZ / RZ-AMI
is used for telephone system)
 Manchester Coding: Magnetic recording, optical communications and satellite telemetry
Polar NRZ /
31
Line Coding (3)
Desired properties (i.e., design criteria) for line coding:
 Transmission bandwidth: should be as small as possible
 Noise immunity: should be immune to noise
 Power efficiency: for a given bandwidth and given error probability, transmission power
requirement should be as small as possible
 Error detection and correction capability: should be possible to detect and correct errors
 Favorable power spectral density (PSD): should have zero PSD at zero (i.e., DC)
frequency, otherwise the ac coupling and the transformers used in communication systems
would block the DC component
 Adequate timing information / self-clocking: should carry the timing or clock information
which can be used for self-synchronization
 Transparency: should be possible to transmit a digital signal correctly regardless of the
patterns of 1’s and 0’s (by preventing long string of 0s and 1s)

More Related Content

What's hot

Companding & Pulse Code Modulation
Companding & Pulse Code ModulationCompanding & Pulse Code Modulation
Companding & Pulse Code Modulation
Yeshudas Muttu
 
Chap04
Chap04Chap04
Detection and Binary Decision in AWGN Channel
Detection and Binary Decision in AWGN ChannelDetection and Binary Decision in AWGN Channel
Detection and Binary Decision in AWGN Channel
DrAimalKhan
 
Digital modulation basics(nnm)
Digital modulation basics(nnm)Digital modulation basics(nnm)
Digital modulation basics(nnm)
nnmaurya
 
Delta modulation
Delta modulationDelta modulation
Delta modulation
Hanu Kavi
 
PSK (PHASE SHIFT KEYING )
PSK (PHASE SHIFT KEYING )PSK (PHASE SHIFT KEYING )
PSK (PHASE SHIFT KEYING )
vijidhivi
 
Digital modulation techniques
Digital modulation techniquesDigital modulation techniques
Digital modulation techniquessrkrishna341
 
Pulse modulation, Pulse Amplitude (PAM), Pulse Width (PWM/PLM/PDM), Pulse Pos...
Pulse modulation, Pulse Amplitude (PAM), Pulse Width (PWM/PLM/PDM), Pulse Pos...Pulse modulation, Pulse Amplitude (PAM), Pulse Width (PWM/PLM/PDM), Pulse Pos...
Pulse modulation, Pulse Amplitude (PAM), Pulse Width (PWM/PLM/PDM), Pulse Pos...
Waqas Afzal
 
Digital Communication 4
Digital Communication 4Digital Communication 4
Digital Communication 4
admercano101
 
Digital Modulation
Digital Modulation Digital Modulation
Digital Modulation
Ridwanul Hoque
 
Differential pulse code modulation
Differential pulse code modulationDifferential pulse code modulation
Differential pulse code modulation
Ramraj Bhadu
 
Pcm
PcmPcm
Dc unit 2
Dc unit 2Dc unit 2
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
keshav11845
 
Butterworth filter
Butterworth filterButterworth filter
Butterworth filter
MOHAMMAD AKRAM
 
Modulation
ModulationModulation
Modulationsristykp
 
UNIT-3 : CHANNEL CODING
UNIT-3 : CHANNEL CODINGUNIT-3 : CHANNEL CODING
UNIT-3 : CHANNEL CODING
abhishek reddy
 
Dpcm
DpcmDpcm
Design and implementation of qpsk modulator using digital subcarrier
Design and implementation of qpsk modulator using digital subcarrierDesign and implementation of qpsk modulator using digital subcarrier
Design and implementation of qpsk modulator using digital subcarrier
Gongadi Nagaraju
 
carrier synchronization
carrier synchronizationcarrier synchronization
carrier synchronization
bharadwajareddy
 

What's hot (20)

Companding & Pulse Code Modulation
Companding & Pulse Code ModulationCompanding & Pulse Code Modulation
Companding & Pulse Code Modulation
 
Chap04
Chap04Chap04
Chap04
 
Detection and Binary Decision in AWGN Channel
Detection and Binary Decision in AWGN ChannelDetection and Binary Decision in AWGN Channel
Detection and Binary Decision in AWGN Channel
 
Digital modulation basics(nnm)
Digital modulation basics(nnm)Digital modulation basics(nnm)
Digital modulation basics(nnm)
 
Delta modulation
Delta modulationDelta modulation
Delta modulation
 
PSK (PHASE SHIFT KEYING )
PSK (PHASE SHIFT KEYING )PSK (PHASE SHIFT KEYING )
PSK (PHASE SHIFT KEYING )
 
Digital modulation techniques
Digital modulation techniquesDigital modulation techniques
Digital modulation techniques
 
Pulse modulation, Pulse Amplitude (PAM), Pulse Width (PWM/PLM/PDM), Pulse Pos...
Pulse modulation, Pulse Amplitude (PAM), Pulse Width (PWM/PLM/PDM), Pulse Pos...Pulse modulation, Pulse Amplitude (PAM), Pulse Width (PWM/PLM/PDM), Pulse Pos...
Pulse modulation, Pulse Amplitude (PAM), Pulse Width (PWM/PLM/PDM), Pulse Pos...
 
Digital Communication 4
Digital Communication 4Digital Communication 4
Digital Communication 4
 
Digital Modulation
Digital Modulation Digital Modulation
Digital Modulation
 
Differential pulse code modulation
Differential pulse code modulationDifferential pulse code modulation
Differential pulse code modulation
 
Pcm
PcmPcm
Pcm
 
Dc unit 2
Dc unit 2Dc unit 2
Dc unit 2
 
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
 
Butterworth filter
Butterworth filterButterworth filter
Butterworth filter
 
Modulation
ModulationModulation
Modulation
 
UNIT-3 : CHANNEL CODING
UNIT-3 : CHANNEL CODINGUNIT-3 : CHANNEL CODING
UNIT-3 : CHANNEL CODING
 
Dpcm
DpcmDpcm
Dpcm
 
Design and implementation of qpsk modulator using digital subcarrier
Design and implementation of qpsk modulator using digital subcarrierDesign and implementation of qpsk modulator using digital subcarrier
Design and implementation of qpsk modulator using digital subcarrier
 
carrier synchronization
carrier synchronizationcarrier synchronization
carrier synchronization
 

Similar to Pulse Code Modulation

_Pulse-Modulation-Techniqnes.pdf
_Pulse-Modulation-Techniqnes.pdf_Pulse-Modulation-Techniqnes.pdf
_Pulse-Modulation-Techniqnes.pdf
SoyallRobi
 
digital communication.pdf
digital communication.pdfdigital communication.pdf
digital communication.pdf
SivaSankar306103
 
TeleCom Lecture 07.ppt
TeleCom Lecture 07.pptTeleCom Lecture 07.ppt
TeleCom Lecture 07.ppt
RiyaBatool
 
Te 4 pulse_modulation
Te 4 pulse_modulationTe 4 pulse_modulation
Te 4 pulse_modulation
Shohan Ean
 
Communication Engineering-Unit 2
Communication Engineering-Unit 2Communication Engineering-Unit 2
Communication Engineering-Unit 2
RemyaRoseS
 
Digitization
DigitizationDigitization
Digitization
Aminul Tanvin
 
1 PCM & Encoding
1  PCM & Encoding1  PCM & Encoding
1 PCM & Encoding
Water Birds (Ali)
 
Unit 3.pptx
Unit 3.pptxUnit 3.pptx
communication concepts on sampling process
communication concepts on sampling processcommunication concepts on sampling process
communication concepts on sampling process
NatarajVijapur
 
Digital modulation
Digital modulationDigital modulation
Digital modulation
Muhd Iqwan Mustaffa
 
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
Neha Kurale
 
lecturenote_1681299989Chapter 5- digital transmission.pdf
lecturenote_1681299989Chapter 5- digital transmission.pdflecturenote_1681299989Chapter 5- digital transmission.pdf
lecturenote_1681299989Chapter 5- digital transmission.pdf
AyadAABDULKAFI
 
Digital modulation
Digital modulationDigital modulation
Digital modulationIbrahim Omar
 
Digital Communication Sytems
Digital Communication SytemsDigital Communication Sytems
Digital Communication Sytems
Raghu Kasula
 
analog communication system for undergraduate .pdf
analog communication  system for undergraduate .pdfanalog communication  system for undergraduate .pdf
analog communication system for undergraduate .pdf
AlaAwouda
 
Pulse code modulation (PCM)
Pulse code modulation (PCM)Pulse code modulation (PCM)
Pulse code modulation (PCM)
Mahima Shastri
 
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
DEEPIKA KAMBOJ
 
Transmisi Analog_24.pptx for lectured note
Transmisi Analog_24.pptx for lectured noteTransmisi Analog_24.pptx for lectured note
Transmisi Analog_24.pptx for lectured note
zulhelmanz
 

Similar to Pulse Code Modulation (20)

_Pulse-Modulation-Techniqnes.pdf
_Pulse-Modulation-Techniqnes.pdf_Pulse-Modulation-Techniqnes.pdf
_Pulse-Modulation-Techniqnes.pdf
 
digital communication.pdf
digital communication.pdfdigital communication.pdf
digital communication.pdf
 
TeleCom Lecture 07.ppt
TeleCom Lecture 07.pptTeleCom Lecture 07.ppt
TeleCom Lecture 07.ppt
 
Analog_to_Digital.pdf
Analog_to_Digital.pdfAnalog_to_Digital.pdf
Analog_to_Digital.pdf
 
Presentation ct
Presentation ctPresentation ct
Presentation ct
 
Te 4 pulse_modulation
Te 4 pulse_modulationTe 4 pulse_modulation
Te 4 pulse_modulation
 
Communication Engineering-Unit 2
Communication Engineering-Unit 2Communication Engineering-Unit 2
Communication Engineering-Unit 2
 
Digitization
DigitizationDigitization
Digitization
 
1 PCM & Encoding
1  PCM & Encoding1  PCM & Encoding
1 PCM & Encoding
 
Unit 3.pptx
Unit 3.pptxUnit 3.pptx
Unit 3.pptx
 
communication concepts on sampling process
communication concepts on sampling processcommunication concepts on sampling process
communication concepts on sampling process
 
Digital modulation
Digital modulationDigital modulation
Digital modulation
 
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
 
lecturenote_1681299989Chapter 5- digital transmission.pdf
lecturenote_1681299989Chapter 5- digital transmission.pdflecturenote_1681299989Chapter 5- digital transmission.pdf
lecturenote_1681299989Chapter 5- digital transmission.pdf
 
Digital modulation
Digital modulationDigital modulation
Digital modulation
 
Digital Communication Sytems
Digital Communication SytemsDigital Communication Sytems
Digital Communication Sytems
 
analog communication system for undergraduate .pdf
analog communication  system for undergraduate .pdfanalog communication  system for undergraduate .pdf
analog communication system for undergraduate .pdf
 
Pulse code modulation (PCM)
Pulse code modulation (PCM)Pulse code modulation (PCM)
Pulse code modulation (PCM)
 
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
 
Transmisi Analog_24.pptx for lectured note
Transmisi Analog_24.pptx for lectured noteTransmisi Analog_24.pptx for lectured note
Transmisi Analog_24.pptx for lectured note
 

More from Ridwanul Hoque

Clinical Management of Covid-19 (Bangladesh)
Clinical Management of Covid-19 (Bangladesh)Clinical Management of Covid-19 (Bangladesh)
Clinical Management of Covid-19 (Bangladesh)
Ridwanul Hoque
 
Enhanced Recovery After Colorectal Surgery
Enhanced Recovery After Colorectal SurgeryEnhanced Recovery After Colorectal Surgery
Enhanced Recovery After Colorectal Surgery
Ridwanul Hoque
 
AC Distribution in Bangladesh (in a nutshell)
AC Distribution in Bangladesh (in a nutshell)AC Distribution in Bangladesh (in a nutshell)
AC Distribution in Bangladesh (in a nutshell)
Ridwanul Hoque
 
Impedance Matching
Impedance MatchingImpedance Matching
Impedance Matching
Ridwanul Hoque
 
Transmission Line Constraints
Transmission Line ConstraintsTransmission Line Constraints
Transmission Line Constraints
Ridwanul Hoque
 
Equipment and Stability Constraints : System Operation
Equipment and Stability Constraints : System OperationEquipment and Stability Constraints : System Operation
Equipment and Stability Constraints : System Operation
Ridwanul Hoque
 
Power System Control
Power System ControlPower System Control
Power System Control
Ridwanul Hoque
 
Issues in Interconnections
Issues in InterconnectionsIssues in Interconnections
Issues in Interconnections
Ridwanul Hoque
 
Hydro Power Plant
Hydro Power PlantHydro Power Plant
Hydro Power Plant
Ridwanul Hoque
 
Steam Power Plant and Rankine Cycles
Steam Power Plant and Rankine CyclesSteam Power Plant and Rankine Cycles
Steam Power Plant and Rankine Cycles
Ridwanul Hoque
 
Steam Power Plant
Steam Power PlantSteam Power Plant
Steam Power Plant
Ridwanul Hoque
 
AC Distribution System in Bangladesh
AC Distribution System in BangladeshAC Distribution System in Bangladesh
AC Distribution System in Bangladesh
Ridwanul Hoque
 
Power System Stability
Power System StabilityPower System Stability
Power System Stability
Ridwanul Hoque
 
Economic Operation of Power System
Economic Operation of Power SystemEconomic Operation of Power System
Economic Operation of Power System
Ridwanul Hoque
 
Unsymmetrical Fault
Unsymmetrical FaultUnsymmetrical Fault
Unsymmetrical Fault
Ridwanul Hoque
 
Symmetrical Components and Sequence Networks
Symmetrical Components and Sequence NetworksSymmetrical Components and Sequence Networks
Symmetrical Components and Sequence Networks
Ridwanul Hoque
 
Symmetrical Fault
Symmetrical FaultSymmetrical Fault
Symmetrical Fault
Ridwanul Hoque
 
Power Flow Solution
Power Flow SolutionPower Flow Solution
Power Flow Solution
Ridwanul Hoque
 
Current and Voltage Relation on a Transmission LIne
Current and Voltage Relation on a Transmission LIne Current and Voltage Relation on a Transmission LIne
Current and Voltage Relation on a Transmission LIne
Ridwanul Hoque
 
Per Unit Systems
Per Unit SystemsPer Unit Systems
Per Unit Systems
Ridwanul Hoque
 

More from Ridwanul Hoque (20)

Clinical Management of Covid-19 (Bangladesh)
Clinical Management of Covid-19 (Bangladesh)Clinical Management of Covid-19 (Bangladesh)
Clinical Management of Covid-19 (Bangladesh)
 
Enhanced Recovery After Colorectal Surgery
Enhanced Recovery After Colorectal SurgeryEnhanced Recovery After Colorectal Surgery
Enhanced Recovery After Colorectal Surgery
 
AC Distribution in Bangladesh (in a nutshell)
AC Distribution in Bangladesh (in a nutshell)AC Distribution in Bangladesh (in a nutshell)
AC Distribution in Bangladesh (in a nutshell)
 
Impedance Matching
Impedance MatchingImpedance Matching
Impedance Matching
 
Transmission Line Constraints
Transmission Line ConstraintsTransmission Line Constraints
Transmission Line Constraints
 
Equipment and Stability Constraints : System Operation
Equipment and Stability Constraints : System OperationEquipment and Stability Constraints : System Operation
Equipment and Stability Constraints : System Operation
 
Power System Control
Power System ControlPower System Control
Power System Control
 
Issues in Interconnections
Issues in InterconnectionsIssues in Interconnections
Issues in Interconnections
 
Hydro Power Plant
Hydro Power PlantHydro Power Plant
Hydro Power Plant
 
Steam Power Plant and Rankine Cycles
Steam Power Plant and Rankine CyclesSteam Power Plant and Rankine Cycles
Steam Power Plant and Rankine Cycles
 
Steam Power Plant
Steam Power PlantSteam Power Plant
Steam Power Plant
 
AC Distribution System in Bangladesh
AC Distribution System in BangladeshAC Distribution System in Bangladesh
AC Distribution System in Bangladesh
 
Power System Stability
Power System StabilityPower System Stability
Power System Stability
 
Economic Operation of Power System
Economic Operation of Power SystemEconomic Operation of Power System
Economic Operation of Power System
 
Unsymmetrical Fault
Unsymmetrical FaultUnsymmetrical Fault
Unsymmetrical Fault
 
Symmetrical Components and Sequence Networks
Symmetrical Components and Sequence NetworksSymmetrical Components and Sequence Networks
Symmetrical Components and Sequence Networks
 
Symmetrical Fault
Symmetrical FaultSymmetrical Fault
Symmetrical Fault
 
Power Flow Solution
Power Flow SolutionPower Flow Solution
Power Flow Solution
 
Current and Voltage Relation on a Transmission LIne
Current and Voltage Relation on a Transmission LIne Current and Voltage Relation on a Transmission LIne
Current and Voltage Relation on a Transmission LIne
 
Per Unit Systems
Per Unit SystemsPer Unit Systems
Per Unit Systems
 

Recently uploaded

在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
Kamal Acharya
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
Jayaprasanna4
 
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSETECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
DuvanRamosGarzon1
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
abh.arya
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
ShahidSultan24
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
MuhammadTufail242431
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
Kamal Acharya
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 

Recently uploaded (20)

在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
 
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSETECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 

Pulse Code Modulation

  • 1. Communication Theory Analog to Digital Conversion and Pulse Code Modulation (PCM) Enjoy
  • 2. 2 Advantages of Digital Communication  Digital systems are less sensitive to noise and signal distortion. For long transmission line, the signal may be regenerated effectively error-free at different points along the path.  With digital systems, it is easier to integrate different services, e.g., video and the accompanying soundtrack, into the same transmission scheme.  The transmission scheme can be relatively independent of the source  Circuitry for digital signals is easier to repeat and digital circuits are less sensitive to physical effects such as vibration and temperature  Digital signals are simpler to characterize and typically do not have the same amplitude range and variability as analog signals. This makes the associated hardware design easier.  Various media sharing strategies (known as multiplexing) are more easily implemented with digital transmission strategies  Source coding techniques can be used for removing redundancy from digital transmission  Error-control coding can be used for adding redundancy, which can be used to detect and correct errors at the receiver side  Digital communication systems can be made highly secure by exploiting powerful encryption algorithms  Digital communication systems are inherently more efficient than analog communication systems in the tradeoff between transmission bandwidth and signal-to-noise ratio  Various channel compensation techniques, such as, channel estimation and equalization, are easier to implement
  • 3. 3 Sampling (1)  Sampling is an operation that is basic to digital signal processing and digital communications  Through the use of sampling process, an analog signal is converted into a corresponding sequence of samples that are usually spaced uniformly in time Message Sampled Signal Sampling Signal        n ssT nffffs 
  • 4. 4 Sampling (2) Two types of practical sampling:  Natural Sampling  Flat-top sampling
  • 6. 6 Sampling (4) fs > 2W: fs = 2W: fs < 2W: Aliasing
  • 7. 7 Sampling Theorem  Sampling theorem is a fundamental bridge between continuous signals (analog domain) and discrete signals (digital domain)  It only applies to a class of mathematical functions whose Fourier transforms are zero outside of a finite region of frequencies Nyquist Sampling Theorem / Nyquist-Shanon Sampling Theorem: fs = Sampling frequency fs = 2W: Nyquist frequency / Nyquist rate / Minimum sampling frequency A signal whose bandwidth is limited to W Hz can be reconstructed exactly (without any error) from its samples uniformly taken at a rate fs ≥ 2W Hz
  • 8. 8 Antialiasing Filter  All practical signals are time-limited, i.e., non band-limited => Aliasing inevitable  To limit aliasing, use anti-aliasing filter (LPF) before sampling Original Signal Anti-aliasing filter Sample Reconstruction Filter Reconstructed Signal
  • 9. 9 Reconstruction Filter fs = 2W: Ideal LPF characteristic: 1/2W- 1/2W Ts = 1/2W (interpolation formula) (interpolation filter / interpolation function)
  • 10. 10 Quantization (1) Quantizer characteristic: Here, k = 1, 2, 3, … , L L = Number of representation levels (Number of intervals) It is the process of transforming the sample amplitude m(nTS) of a baseband signal at time t = nTS into a discrete amplitude v(nTS) taken from a finite set of possible levels kth interval: Quantizer output equals to vk if the input signal sample m belongs to the interval Ik mk: Decision levels / Decision thresholds vk: Representation levels / Reconstruction levels Δ=|vk +1 – vk|: Step-size / quantum kk Imifvv 
  • 11. 11 Quantization(2): Two types Mid-tread quantization Mid-rise quantization Mid-rise quantizer: Decision threshold value is exactly zero Mid-tread quantizer: Reconstruction value is exactly zero Reconstruction levels
  • 12. 12 Quantization(3): Two types Uniform quantization Non-uniform quantization
  • 13. 13 Quantization Error for Uniform Quantization (1) Quantization error (noise) q = m – v => Q = M – V  If mean of M is zero and the quantizer is symmetric, then V is also a RV of zero mean  Q is also a RV variable of zero mean in the range [– Δ/2, Δ/2]  If Δ is sufficiently small, Q can be assumed a uniform RV with zero mean – Δ/2 0 Δ/2 q fQ(q) 1/Δ Quantization noise power       2/ 2/ 2 22 12 dqqfq QQ 22 12   PP SNR Q Signal-to-nose-ratio (SNR): P = Average power of m(t)
  • 14. 14 Quantization Error for Uniform Quantization (2) Special case: m(t) is a sinusoidal signal with amplitude equal to mmax R m L m 2 22 maxmax  Suppose m(t) of continuous amplitude in the range [-mmax, mmax]: R m P SNR 2 2 max 2 3        R SNR 2 2 2 3               2 max 3 log1002.6 m P RSNRdB 8.16  RSNRdB  Each additional bit increases the SNR by 6.02 dB and a corresponding increase in required channel BW R = Number of bits for presenting each level (bits/sample)
  • 15. 15 Non-Uniform Quantization  SNR of weak signals is much lower than that of strong signal  Instantaneous SNR is also lower for the smaller amplitudes compared to that of the larger amplitudes
  • 16. 16 Non-Uniform Quantization - Step size increases as the separation from the origin of the input–output amplitude characteristic is increased - First Compression and then uniform quantization - Achieve more even SNR over the dynamic range using fewer bits (e.g., 8 bits instead of 13/14 bits) Receiver side: Expansion required Compression + Expansion = Companding Original Signal Compression Uniform Quantization Reconstruction Expansion Original Signal
  • 17. 17 Non-Uniform Quantization Compressor Input Compressor Output  The compression here occurs in the amplitude values  Compression in amplitudes means that the amplitudes of the compressed signal are more closely spaced in comparison to the original signal  To do so, the compressor boosts the small amplitudes by a large amount. However, the large amplitude values receive very small gain and the maximum value remains the same
  • 18. 18 Non-Uniform Quantization μ-Law: Used in North America, Japan (μ = 255 is mostly used)  More uniform SNR is achieved over a larger dynamic range
  • 19. 19 Non-Uniform Quantization Used in Europe and many other countries A = 87.6 is mostly used and comparable to μ = 255 A-Law:
  • 20. 20 Encoding  Each quantized samples is encoded into a code word  Each element in a code word is called code element Binary code:  Each code element is either of two distinct values, customarily denoted as 0 and 1  Binary symbol withstands a relatively high level of noise and also easy to regenerate  Each binary code word consists of R bits and hence, this code can represent 2R distinct numbers (i.e., at best R bit quantizer can be used)
  • 21. 21 Pulse Code Modulation (PCM) In PCM, a message signal is represented by a sequence of coded pulses, which is accomplished by representing the signal in discrete form in both time and amplitude Three basic operations in a PCM Transmitter: - Sampling - Quantization - Encoding Transmitter Receiver Transmission Path
  • 22. 22 Differential PCM (DPCM) Transmitter  When a signal is sampled at a rate slightly higher than the Nyquist rate, there exists a high degree correlation between adjacent samples, i.e., in an average sense, the signal does not change rapidly from one sample to the next  When these highly correlated samples are encoded as in a standard PCM system, the resulting encoded signal contains redundant information implying that symbols that are not absolutely essential to the transmission of information are generated  DPCM removes this redundancy before encoding by taking the difference between the actual sample m(nTS) and its predicted value  The quantized version of the prediction error e(nTS) are encoded instead of encoding the samples of the original signal  This will result in much smaller quantization intervals leading to less quantization noise and much higher SNR      SSS nTmnTmnTe ˆ Prediction error  SnTmˆ
  • 23. 23 Predictor for DPCM: Liner predictor of order p: Transversal filter (tapped-delay-line filter) used as a linear predictor       p k SqkS TknmwnTm 1 ˆ
  • 24.  SnTm' 24 Differential PCM (DPCM) Transmitter Receiver  Sq nTe  SnTmˆ      SqSS nTenTmnTm  ˆ' Reconstruction error          SSqSSS nTqnTenTenTmnTm  ' = Quantization error      SSS nTmnTmnTe ˆ Prediction error
  • 25. 25 Delta Modulation (DM) … (1)  DM encodes the difference between the current sample and the previous sample using just one bit  Correlation between samples are increased by oversampling (i.e., at a rate much higher, typically 4 times higher than the Nyquist rate)  DM involves the generation of the staircase approximation of the oversampled version message  The difference between the input and the approximation is quantized into only two levels:  1-bit version of DPCM (i.e., 2-level quantization) requiring less bandwidth than that of DPCM and PCM 
  • 26. 26 Delta Modulation (DM)…(2) Transmitter Receiver   .qe - Digital equivalent of integration
  • 27. 27 Predictor for DM Transmitter Note: (1) DPCM uses a higher order filter. (2) DM uses a 1st order predictor with w1 = 1. Thus, the predicted output is the previous sample.
  • 28. 28 Delta Modulation (DM)…(3) Two types of quantization error: (2) Granular noise(1) Slope overload distortion/noise Comments: (1) For avoiding slope overload distortion: larger Δ is desired (2) For avoiding granular noise: smaller Δ is desired  An optimal step size (Δ) has to be chosen for minimum overall noise mq(t) eq(nTS) Example:   s s mm f T Atm    max||   tAtm mm cos   m s m f A   max    r s Voicem f A   max 8002  r
  • 29. 29 Line Coding (1)  PCM, DPCM and DM are different strategies for source encoding, which converts an analog signal into digital form  Once a binary sequence of 1s and 0s is produced, the sequence is transformed into electrical pulses or waveforms for transmission over a channel and this is known as line coding  Multi-level line coding is possible Various line coding (binary) methods: (0 means transition) (f) Split-phase or Manchester Or RZ-AMI Or NRZ-L
  • 30. 30 Line Coding (2) Book: Digital Communications: Fundamentals and Applications - Bernard Sklar Applications:  Polar NRZ / NRZ-L: Digital logic circuits  NRZ-M/NRZ-S: Magnetic tap recording  RZ line codes: Base band transmission and magnetic recording (e.g., Bipolar RZ / RZ-AMI is used for telephone system)  Manchester Coding: Magnetic recording, optical communications and satellite telemetry Polar NRZ /
  • 31. 31 Line Coding (3) Desired properties (i.e., design criteria) for line coding:  Transmission bandwidth: should be as small as possible  Noise immunity: should be immune to noise  Power efficiency: for a given bandwidth and given error probability, transmission power requirement should be as small as possible  Error detection and correction capability: should be possible to detect and correct errors  Favorable power spectral density (PSD): should have zero PSD at zero (i.e., DC) frequency, otherwise the ac coupling and the transformers used in communication systems would block the DC component  Adequate timing information / self-clocking: should carry the timing or clock information which can be used for self-synchronization  Transparency: should be possible to transmit a digital signal correctly regardless of the patterns of 1’s and 0’s (by preventing long string of 0s and 1s)