Module 4
Module 4
3
B. Pulse Modulation : Analog-to-Digital Converter (ADC)
B.1 Pulse Analog
B.1.1 PAM
B.1.2 PWM
B.1.3 PPM
B.2 Pulse Digital:
B.2.1 PCM
B.2.2 DPCM
B.2.3 DM
B.2.4 ADM
4
Time Limited Signals
Flat Top Sampling: sample and hold, like natural but with single
amplitude value
Impulse Sampling
This is case of ideal sampling with a sequence of unit impulse functions.
Sampling of x(t) can be viewed as the product of x(t) with a periodic train
of unit impulse function
xδ (t).
Imp I Impulse
Impulse Sampling…
Sampling
Impulse Sampling
We can transform the time domain product x(t)xδ(t) to the frequency domain convolution
X(f)*Xδ(f), where
Convolution with an impulse function simply shifts the original function as follows:
Why Natural???
Top of each pulse in the xs(t) sequence retains the shape of its corresponding
analog segment during the pulse interval
The sampled signal in the flat top sampling has the attenuated high
frequency components. This effect is called the Aperture Effect.
The aperture effect can be compensated by:
1. selecting the pulse width τ as very small.
2. by using an equalizer circuit.
Equalizer decreases the effect of the in-band loss of the interpolation filter (LPF).
Aliasing
Aliasing
To avoid Aliasing..
To avoid aliasing
1) One way is Higher Sampling rate
To avoid Aliasing..
To avoid aliasing
2) Antialiasing filter.
Analog signal is prefiltered so that new maximum
frequency is reduced
Cont…
Another way is use of postfiltering after sampling.
35
Why Oversampling????
Most economy solution for the task of transforming an analog
signal to a digital signal.
36
Applications
Applications of of Sampling theorem
Sampling Theorem
Signal Analysis
Signal Processing
Signal Transmission
PulseMethods
Pulse Modulation Modulation
The carrier is in the form of narrow pulses having frequency fs. Samples are placed
Ts sec away from each other.
Uniform sampling takes place in multiplier to generate PAM signal.
In PAM, amplitude of pulses is varied in accordance with instantaneous value of
modulating signal.
Pulse train
generator
Pulse Amplitude Modulation(PAM)
Types :
Natural PAM
Flat top PAM
Disadvantages :
• Bandwidth required is large
• Noise immunity is less when compared to other modulation
techniques. (like amplitude modulation).
• Pulse amplitude signal amplitude varies, so transmission power
required will be more, peak power is also more, even at receiving
more power is required to receive the pulse amplitude signal.
Applications of Pulse Amplitude
Modulation
• Base for all digital modulation techniques
• Used for Ethernet communications which is type of
computer network communication.
• Used as electronic driver for LED lighting.
• Used in many micro controllers for generating the
control signals etc.
Pulse Width Modulation(PWM)
Advantages :
As amplitude is constant,effect of noise is less.
Synchronization between transmitter and receiver
is not required unlike pulse position modulation.
Disadvantages :
• Power will be variable because of varying in width of pulse.
• Bandwidth should be large to use in communication,
should be huge even when compared to the pulse
amplitude modulation.
Applications of PWM
In telecommunication systems
To control the amount of power delivered to a load
Speed control of motors
Robotics, Embedded applications
Pulse Position Modulation (PPM)
The sampled waveform has fixed
amplitude and width whereas the
position of each pulse is varied as per
instantaneous value of the analog signal.
PPM signal is further modification of a
PWM signal.
Thus as the trailing edges of the PWM
signal keeps shifting in proportion with
the modulating signal, the PPM pulses
also keep shifting.
PPM
Advantages
Pulse position modulation has low noise interference
when compared to PAM because amplitude and width of
the pulses are made constant during modulation.
Power usage is also very low when compared to other
modulations due to constant pulse amplitude and width.
Disadvantages
• Synchronization between transmitter and receiver is
required
• Large bandwidth is required for transmission (as in pulse
amplitude modulation)
• Special circuits required
Applications of PPM
2 Amplitude of the pulse is Width of pulse is proportional to The relative position of the
proportional to amplitude of amplitude of modulating signal. pulse is proportional to the
modulating signal. amplitude of the modulating
signal.
3 The BW of the transmitting BW of the transmitting channel BW of the transmitting
channel depends on the width of depends on the rise time of the channel depends on the rising
the pulse. pulse. time of the pulse.
4 The instantaneous power of the The instantaneous power of the The instantaneous power of
transmitter varies. transmitter varies. the transmitter remains
constant.
5 Noise interference is high. System Noise interference is minimum. Noise interference is
is complex. minimum.
6 Similar to amplitude modulation. Simple to implement similar to Simple to implement similar
frequency modulation. to phase modulation.
Modern Digital Communication System
5/18/2022 54
Communication System Block Diagram (Basic)
5/18/2022
55
Brief Description
Source: analog or digital
Transmitter: transducer, amplifier, modulator, oscillator, power
amplifier antenna
Channel: e.g. cable, optical fiber, free space
Receiver: antenna, amplifier, demodulator, oscillator, power
amplifier, transducer
Recipient: e.g. person, (loud) speaker, computer
Types of information-
Voice, data, video, music, email etc.
5/18/2022
56
Morse Code
Used for Telegraphy:
5/18/2022
57
Communication systems
Example 1 Radio
Source: Microphone
Destination: Speakers in Radio Rx.
Channel/ Media: Space
Example 2 Television
Source: Video Camera and microphone
Destination: Picture Tube and Speakers in TV Rx.
Channel/ Media: Space
5/18/2022
58
Communication Systems
Example 4 Cellular Mobile System
Source: Microphone in Phone set
Destination: Speakers in phone set
Channel/ Media: Space
5/18/2022
59
Information Representation
5/18/2022
60
What is Digital
Analog signal - Continuous in time
Digital signal - discrete in time and amplitude
5/18/2022 62
Why Digital Communications?
Easy to regenerate the distorted signal
Regenerative repeaters along the transmission path can detect a
digital signal and retransmit a new, clean (noise free) signal
Two-state signal representation
This is not possible with analog communication systems
5/18/2022
63
Why Digital Communications?
Easy to mix/combine/interleave signals and data using digital
techniques
5/18/2022 64
Why Digital Communications?
Data communication in computers is digital in nature whereas
voice communication between people is analog in nature
5/18/2022
65
Why Digital Communications?
Disadvantages
Requires reliable “synchronization”
Requires A/D conversions at high rate
Requires larger bandwidth
Probability of error or Bit Error Rate decides
the quality of reception
5/18/2022
66
Resources and Constraints for
a communication link
Spectrum Availability:
Wireless, Wire line/ Fiber spectrum limited due to
1. Channel frequency response or
2. Sharing by different users and/or applications
Transmitted Power
1. Battery Power
2. Interference
Channel Parameters
Length, Additive White Gaussian Noise Channel (AWGN)
5/18/2022
67
Performance criteria
Analog Communication
• Infinite set of Waveforms
• Fidelity criteria such as Signal to Noise ratio, Percent
Distortion, Expected mean square error between
Transmitted and Received Waveform
Digital Communication
• Finite set of binary words
• Probability of error or BER-Bit Error Rate
5/18/2022
68
PCM: Pulse Code Modulation
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.
Basic operations of PCM transmitter
Sampling
Quantizing
Encoding
5/18/2022
69
Pulse code modulation(contd…)
5/18/2022
70
Basic operations in Pulse code modulation
SAMPLING
Sampling with a train of narrow pulses so as to closely approximate the
instantaneous sampling process.
Low pass filter (anti aliasing filter) is used before sampling to limit the
bandwidth of signal to W.
5/18/2022
71
Basic operations in Pulse code modulation
QUANTIZATION:
Sampled value is then quantized.
Gives discrete signal both in time
and amplitude.
Amplitude quantization:
Rounding off the amplitude to
the nearest pre-decided voltage
level
5/18/2022
72
Encoding in PCM
Each quantitation level is assigned with a N bit
long binary code
These binary codes are represented in the form
of pulses for transmission
5/18/2022 73
Basic operation in Pulse code modulation
Memory less Quantizer
No effect of earlier or later samples of message signal.
5/18/2022
74
Uniform Distribution of L quantization
levels
5/18/2022
75
Signaling Rate and
Transmission bandwidth in PCM
5/18/2022
76
Example on PCM Bit rate calculation
5/18/2022
77
Quantizer
Representation
Representation
levels are levels are not
uniformly spaced uniformly spaced
but tapered
5/18/2022
78
Uniform Quantizer
5/18/2022
TY ECE, MIT WPU, Pune 79
Mid tread and Midrise quantizer characteristics
Origin lies in the middle of a tread of staircase
Origin lies in the middle of a rising part of staircase
5/18/2022
80
Quantization Error
M(t)
V(t)
5/18/2022
81
Quantization Error
or correspondingly
ASSUMPTION
Input M(t) having zero mean and Quantizer is symmetric.
5/18/2022
82
Need of Non-uniform Quantization
5/18/2022
83
Companding Curves
Compression at Tx end & Expansion at
Rx end
5/18/2022
84
Uniform and Non uniform quantization
5/18/2022
85
Comparison of characteristics and
quantization error
5/18/2022
86
Non uniform quantization or Companding
The two companding laws used are:
μ
law
A law
μ-law equation:
5/18/2022
87
µ-law Compression characteristics
Slope of the
curve
5/18/2022
88
Compression Coefficients- µ and A
5/18/2022 89
A-law Compression characteristics
Application:
European Digital
Communication System
Also used in India
5/18/2022
90
on uniform quantization using companding
A law of companding:
v is the output and m is the input
5/18/2022
91
Companding
5/18/2022
92
Companding
To provide a reasonable SNR for both low and high level signals,
a compromise is usually made in choosing the value of parameter
μ and A .
5/18/2022
93
Encoding
Code:
Any plan for representing each of this discrete set of values as a particular
arrangement of discrete events.
For ex: in a binary code, two distinct values are 0 and 1.
Codeword consists of R bits.
R denotes the no of bits per sample
5/18/2022
94
Encoding
Binary number system for R=4 bits/sample
5/18/2022
95
3 bit PCM- Example
5/18/2022
96
5/18/2022 97
Regeneration: Detection of presence of a
pulse
Sampling
Instant
5/18/2022 98
Regeneration
• First amplifies the signal
• Equalizer has a transfer function which is
close approximation of the inverse of the
channel transfer function.
• Equalizes shape (despread the signal) of
received pulse
• In other words, compensate for the effects of
amplitude and phase distortion produced by
the non ideal transmission characteristics of
channel.
• Timing Circuit:
Provides a periodic pulse train, derived from
the received pulses, for sampling the equalized
pulses at the instants of time where the SNR
is a maximum.
• Decision Making Device: To decide
whether the bit is 1 or 0,
• Consists of sample and hold cct and
comparator
• Sample and hold has 2 inputs, incoming
signal and Clock, Comparator has 2 inputs ,
o/p of sample and hold and threshold
voltage 5/18/2022 99
Regeneration
5/18/2022 100
Sources of degradation in PCM signal
Sources of Corruption
Quantization Noise
Channel Noise
Quantizer Saturation
Inter-symbol Interference
Timing jitter
SNR considering channel
noise and quantization
noise
5/18/2022
101
Nq, Quantization Noise
5/18/2022
102
Quantizer (A to D converter) saturation
REMEDIES
Use of Automatic gain Control (AGC), which effectively extends
the operating range of the converter.
5/18/2022
103
Timing Jitter
Slight jitter in the position of the sample will result into non
uniform sampling.
Although exact reconstruction is still possible if the sample
positions are accurately known, the jitter is usually random
process and thus the sample positions are not accurately known.
REMEDIES
5/18/2022
104
Channel Noise
5/18/2022
105
Inter-symbol interference: ISI
5/18/2022
106
Noise considerations in PCM system
Performance of PCM system is influenced by two major
sources of noise.
1. Channel Noise
Introduced between Tx and Rx.
Always present once the equipment is switched on.
Affects Average probability of symbol error, also referred as bit error
rate (BER).
For optimizing system performance, need to minimize BER.
channel noise as additive, white and Gaussian.
Using regenerative repeater at short enough spacing, effect of
channel noise can be made practically negligible.
2. Quantization Noise
Introduced in the transmitter.
Reduced with increase in no. of quantization levels or step size
reduction
5/18/2022
107
Decoding
Clean pulses after regeneration are then regrouped into code words
And decoded into a quantized PAM signals
Generate amplitude of which is the linear sum of all the pulses in the code
word, with each pulse being weighted by its place value in the code.
Filtering
Pass decoder output through a low pass filter whose cut off frequency is equal to the
message bandwidth.
5/18/2022
108
PCM Transmitter
v= 3 bits/sample
Binary M=2;
levels = 2^3 = 8
4-ary system : M = 4
V =3 bits/sample
Levels = 4^3 = 64
Antialiasing filter :
bandlimits the
signal
Ts= 1/fs
5/18/2022
109
Quantization Noise and PCM performance
Quantization error is represented by
5/18/2022
110
SNR in PCM
Performance in terms of destination signal power
5/18/2022
111
PCM Signal to Noise Ratio (SNR) in dB
For sinusoidal input signal, the output SNR in dB is
given by
(SNR)o= 1.8+6v
Where v is no. of bits/sample
5/18/2022 112
PCM System Limitations
Increased Bandwidth
BW=N*fs/2
Bit rate = N*fs
BW = bit rate/2
5/18/2022
113
Differential pulse code modulation
(DPCM)
High degree of correlation between adjacent samples in sampled
signal.
Smaller variance between adjacent samples compares to variance of
signal itself.
Why DPCM ?
Redundant information in PCM
More Bandwidth requirement of PCM
Basic idea behind DPCM is to remove redundancy
Fewer levels are required to quantize the successive difference
Fewer bits will be needed for encoding and saving in bandwidth
5/18/2022
114
Differential pulse code modulation (DPCM)
5/18/2022
115
Differential pulse code modulation (DPCM)
DPCM Transmitter
where
e[n]= prediction error or difference signal
Where m[n]= unquantized input sample, mˆ[n]= predicted sample at n
5/18/2022
116
Differential pulse code modulation (DPCM)
5/18/2022
117
Differential pulse code modulation (DPCM)
5/18/2022
118
Cont…..
5/18/2022
119
Cont…..
From error,
5/18/2022
120
Differential pulse code modulation (DPCM)
DPCM receiver
5/18/2022
121
5/18/2022 122
5/18/2022 123
Delta Modulation (DM)
5/18/2022
124
Delta Modulation
5/18/2022
125
Delta Modulation
DM Transmitter
5/18/2022
126
Delta Modulation
We may write
5/18/2022
127
Delta Modulation
DM receiver
5/18/2022
128
Disadvantages of Delta Modulation
Errors in DM
1) Slope overload distortion
2) Granular noise
3) Startup error
o We observe from
5/18/2022
129
Slope overload distortion
5/18/2022
130
Let x(t) = A coswt
dx/dt = -wAsinwt
Condition for no overload
Max. value of Slope < 𝛥/Ts
Or Max. value of Slope = wA < 𝛥fs
Maximum value of signal Amax that can be tolerated
without overload is
Amax = 𝛥fs / w ;
w = 2π fm
131
Granular noise
5/18/2022
132
Practice Problems
5/18/2022 133
Solution for Problem 1
PCM System
L= 1024, L=2 N
Find N, N= 10 bits
Binary Pulse rate= N* Fs =108 Mbits/s
Transmission Bandwidth= N* Fs/2= 54MHz
5/18/2022 134
Solution for Problem 2: DM System
BW= 3.3 KHz ,Fm = 1 KHz, 𝛥 = 250 mV
Fs= 3 * (2* 3.3 KHz) = 19.8 KHz
Amax = 𝛥*Fs/2*π * fm
A < = 𝛥fs / w ;for no slope overload
Amax = 𝛥fs / w ; for no slope overload
= 𝛥fs / 2π fm
=(250 * 10-3 * 19.8 * 103 )/( 2* π* 1 * 103 )
Amax. = 0.787 V
SNR in DM system
5/18/2022 136
SNR in DM system
5/18/2022 137
DM Problem
Given : Bitrate= N*fs= 20 Kbps, Input speech bandwidth 3.4KHz, A=1V
Find step size delta.
5/18/2022 138
DM SNR Problem
Given: Sampling frequency, Fs=30KHz
Input signal frequency, Fa=2KHz
LPF Bandwidth at Rx , B=4KHz
Find the output SNR in dB.
Answer:
SNR=64.1 (unitless ratio)
SNR= 10 log10 (64.1) = 18.07 dB
5/18/2022 139
Comparison of DPCM & DM
Difference:
Replacement of prediction filter by a single delay element
in DM
(zero order prediction filter)
SIMILARITIES
5/18/2022
140
DM Example: errors
5/18/2022 142
Adaptive delta modulation (ADM)
5/18/2022
143
ADM
Transmitter
5/18/2022
144
ADM Algorithm
Figure above portrays the action of an ADM transmitter in which the step
size in the feedback loop is adjusted by a variable gain g(k) such that
1 1 1 1 1 1 0 1 0 1 0 0 0 1
ADM signal
5/18/2022
146
Adaptive Delta Modulation
5/18/2022 147
5/18/2022 148
Adaptive Step Size Algorithm in ADM system
Logic for step size control used in the digital
processor
5/18/2022 149
Advantages of ADM over DM
• Reduction in slope overload and granular noise
• Improvement in SNR
• Wide dynamic range due to variable step size
• Better BW utilization than DM (similar to the effect of
companding in PCM)
• Low signalling rate (1 bit /sample )
150