Professional Documents
Culture Documents
A
Digital
VA D Outputs
• Easy to process
• Transmit fast
• Eqpt simple
Sampling Theorem
• More number of samples within a given period of time
always represents information in a better way.
• But increased number of samples increases the number of
bits required to code them and thereby increases the
channel capacity and bandwidth requirements.
• The number of samples taken and sent per second is called
sampling frequency.
• Statement: The sampling theorem states that the
minimum sampling frequency should be at least twice the
highest modulating signal frequency, so that signal can be
reconstructed in the receiver with minimum distortion.
Sampling Theorem
• Statement: The sampling theorem states that the
minimum sampling frequency should be at least twice the
highest modulating signal frequency, so that signal can be
reconstructed in the receiver with minimum distortion.
• Stating mathematically, fs ≥ 2fm where fs=sampling
frequency and fm= highest modulating frequency
component.
• The signal recovery at the receiver is possible, only when
the sampling frequency is more than or equal to twice the
highest modulating frequency. This sampling frequency (i.e.
fs=2fm) is also called Nyquist rate.
Pulse Communication
Modulating
Signal
Sampling
Signal
Double
Polarity
Natural PAM
Single Polarity
Natural PAM
PAM Waveforms - II
Modulating Signal
Sampling Signal
Double Polarity
Flat Top PAM
Single Polarity
Flat Top PAM
Generation of PAM
+V
Modulating
Signal
PAM
Output
Clock / Sampling
Signal Figure 1
Generation of PAM
• The circuit diagram of PAM modulator is shown in figure 1. It is a
simple emitter follower.
• The modulating signal is applied as input signal. Another input to the
base of the transmitter is the clock signal.
• The frequency of clock signal is made equal to the sampling
frequency.
• The amplitude of the clock signal is chosen such that the high level is
equal to zero volts and low level is equal to some negative value.
• Hence when the clock pulse is high the circuit behaves as an emitter
follower and the output is same as input. But when the clock signal is
low, the negative voltage drive the transmitter in to cut-off and the
output is zero.
• Thus the output waveform obtained will be the desired pulse
amplitude modulated waveform.
Generation of PAM
• Another method of
generating PAM is shown in
figure 2.
• The modulating signal is Modulating
Input
applied as input signal. PAM
• The clock signal is applied as a
O/P
+
-
PAM I/P R1 C1 Demodulated
Output
Frequency Spectrum of PAM
• Consider a complex modulating signal m(t) which contains different
frequency components.
• Let the frequencies present be from 0 to fm.
• Therefore the highest modulating frequency present is fm.
• In order to transmit this signal using PAM, we sample this signal using a
sampling signal.
• As per sampling theorem the frequency of the sampling signal should be
more than or equal to twice the highest modulating frequency. i.e. fs ≥ 2fm.
• If we consider a flat top sampled PAM wave, then the frequency spectrum
of modulating signal m(t) and the PAM output from the modulator m’(t)
are as shown in figure (a) and (b) below.
• As it can be seen, the PAM output wave consists of modulating signal and
infinite number of sidebands. The first pair of sidebands is centered at fs,
the second pair centered at 2fs and so on.
Frequency Spectrum of PAM
Aperture Effect
• Aperture effect is defined as attenuation of high frequency
components of the modulating signal at the receiver due to
the characteristics of the filter used.
• At the receiver, the PAM signal is demodulated by passing it
through a Low pass filter having a cutoff frequency equal to f m.
• In a practical Low pass filter, the characteristics of the filter will
be such that the lower frequency components are passed and
the high frequency components are attenuated. Due to this
some of the high frequency components of the modulating
signal will be attenuated.
• The input and output of an ideal and a practical low pass filter
are shown in figure below.
PAM Demodulator Output
Aperture Effect
• As seen from above figure, the low pass filter at the receiver is not only
cutting the high frequency sideband components but it is also
attenuating the higher frequency components of the modulating signal
itself. This is called as aperture effect and if not treated will lead to
errors in reception.
• In order to avoid Aperture effect, the LPF used should have a cutoff
frequency more than fm.
• In such a case if the cutoff frequency is very high then along with
modulating signal some part of the sideband component also may get
passed to the output. Hence care should be taken while designing the
LPF such that its cutoff frequency is only slightly more than f m.
• The equalizer circuit used in the receiver increases the level of high
frequency components from the output of LPF. Hence we can avoid
aperture effect by using equalizer circuit.
Pulse Time Modulation (PTM)
• Pulse time modulation is a method in which
either the duration of the sampling signal or
the position of the sampling signal is varied in
accordance with the modulating signal.
• There are of two types as follows.
• Pulse Width Modulation (PWM)
• Pulse Position Modulation (PPM)
Pulse Width/Duration Modulation
• If the duration of a pulse is varied in accordance with the
modulating signal, then it is called as pulse duration or
pulse width modulation.
• During Pulse Width Modulation, the amplitude of the
pulse is fixed.
• While doing pulse width modulation the starting time can
be fixed for each pulse, but the width of each pulse is
made proportional to the instantaneous amplitude of
modulating signal.
• Similarly, we can also fix the trailing edge of the pulse and
the width can be varied or the pulse can be fixed at the
center and its width can be varied.
Indirect Method of PWM Generation
PAM o/p
Sampling Pulses
Ramp
s(t) Slicing Level
Generator
Indirect Method of PWM Generation
• The block diagram for generating PWM wave using indirect
method is shown in the figure.
• In this method the modulating signal is first sampled to obtain
flat-top PAM signal using a Pulse Amplitude Modulator.
• This PAM signal is then added to the output of a ramp
generator using an Adder.
• The type of ramp waveform decides the type of PWM.
• If the ramp is negative then we get a PWM with starting edge
fixed.
• If the ramp is positive then we get a PWM with trailing edge
fixed.
• If the ramp is a triangular waveform then we get a center
fixed PWM wave.
Indirect Method of PWM Generation
• The output of adder is given as one of the input to a
comparator.
• The second input to the comparator is a DC reference
level.
• For this method to give satisfactory result, the
amplitude of ramp voltage must be slightly greater
than maximum variation in the amplitude of PAM
signals.
• The DC reference level of the comparator should
intersect the sloping portion of the adder waveform.
• The comparator output will be the desired PWM
waveform.
PWM Generation waveforms I
Ramp Waveform
Quantized
Signal
Analog Signal Output to
m(t) mq(t) Channel
Sampler Quantizer Encoder
PCM Transmitter - Sampler
• The sampler block at the transmitter is similar
to PAM sampling circuit.
• It generates Flat Top Pulses whose amplitude
is proportional to the amplitude of the
modulating signal at the instant of sampling.
• The sampling rate should be greater than the
Nyquist rate i.e. fs ≥2fm.
PCM Transmitter - Quantizer
• The operation of quantization can be
explained as below…
1. Consider a modulating signal m(t), having
maximum and minimum values in the range of
VH & VL.
2. This total range is divided into M number of
equal intervals each having a step size ‘S’, where
S = (VH – VL)/M.
3. The center of each of these steps is called as
quantization levels m0, m1, m2,…etc.
PCM Transmitter - Quantizer
4. Whenever m(t) is in the range Δ0, the quantized
signal mq(t) will be maintained constant at level
m0.
5. Similarly whenever m(t)is in the range Δ1, the
quantized signal mq(t) will be constant at level
m1, and so on.
6. When m(t) crosses one range then mq(t) takes an
abrupt or “quantum” jump of step size S.
7. At every instant of time the difference between
the actual signal m(t) & the quantized signal
mq(t) is equal to S/2.
Quantization
VH
m4
Δ4
m3 m(t)
Δ3
mq(t)
m2
Δ2
S = (VH – VL)/m
m1
Δ1
m0
Δ0
VL
PCM Transmitter - Encoder
• After sampling & quantizing the signal arrives at the
Encoder.
• The function of encoder is to generate a specific binary
sequence for each quantized level.
• The advantage of using encoder is that it allows only
two voltage levels. That is +V volts and 0 Volts or –V
volts and +V volts. In this way the transmitter output
power is very high positive or very high negative.
• Now the noise in the channel has to compete with the
full power of the transmitter and hence problems of
noise are reduced.
PCM Transmitter the entire Process
(5)VH
m4
4.5
Δ4
m3 m(t)
3.5
Δ3
m2
2.5
Δ2
m1
1.5
Δ1
0,5 m0
Δ0
(0)VL
m4 R
Noise quantized
Noise level E
m3 exceeds S/2
mq(t) P
m'q(t)
E
m2
A
m1 T
m0 R
VL
Quantization Error
• Even though quantization at the transmitter & the receiver
and at the repeaters helps us in reducing the problems of
noise, the quantization by itself introduces an error known as
quantization error.
• It is because at no point of time, m(t) and m q(t) will have the
same magnitude.
• This difference between modulating signal m(t) & quantized
signal mq(t) is called as Quantization Error.
• This error can be reduced by reducing the step size or in other
words by increasing the number of quantization levels.
• It is also called as Quantization Noise. Its maximum value is
equal to S/2 and mean square value is S2/12.
PCM Receiver
D to A Converter
Input from Analog Output
Comm. Channel m’(t)
• Decoder
• The function of decoder at the receiver is opposite to that of encoder. The
decoded output is a sequence of quantized levels. The decoder is also
known as D to A converter.
• Filter
• The output of the decoder contains quantized sample values. The output of
the sampler at the transmitter consists of the base band signal m(t) and
higher harmonics of fs (where fs is the sampling frequency). The filter
removes these harmonics & recovers the signal m’(t) which is identical to
m(t) except for the quantization noise.
Companding
• The quantization of signals gives noise free reception provided that
the original signal lies in the range V H-VL. Consider two signals m1 (t)
and m2(t) as shown below.
• The signal m1(t) has maximum & minimum values beyond V H and VL
respectively. But this extra voltage will not be considered while
quantizing & hence an error occurs. The signal m 2(t) has variations
within a single quantization level. Hence it will be continuously
quantized to same level (Δ3) and at the receiver will yield a DC
output, which is again a serious error.
• Hence in order to overcome such problems, a process called as
Companding is used at both the transmitter & receiver.
• If the signal levels are beyond VH-VL then the signal is compressed
to fit into the range. If the signal levels are too low then the signal
is expanded so as to cross at least one quantization level. This
process is called as Companding.
Compander
Voltage above VH
VH
m4
Δ4
m3
Δ3
m2(t)
m2
Δ2
m1 m1(t)
Δ1
Δ0 m0
VL
Voltage below VL
Companding
Vomax
Transmitter No Companding
Vimin
Receiver
Vomin
Disadvantages of PCM
• The number of bits required to code a quantization level
depends on the number of quantization levels.
• If we increase the number of quantization levels thereby
reducing the step size it leads to reduction in
quantization error.
• But this increases the number of bits required to encode
the information thereby increasing the bandwidth.
• When we increase the bandwidth for signal transmission,
the noise power also increases because P n i.e. noise
power is directly proportional to the bandwidth.
• Hence in practice, even though PCM yields a noise free
reception it is further modified before usage.
Disadvantages of PCM
• In a PCM system, the sampled values are
quantized and transmitted.
• In order to yield less quantization error, in a
practical system we use 256 levels.
• Hence the number of bits required for
encoding will be (28 = 256) 8.
• This increases the band width requirement of
a PCM system.
Differential PCM (DPCM)
• In DPCM system, instead of quantizing the samples
directly, we quantize the difference between two
successive samples.
• In other words rather than quantizing m(k-1) and
m(k) samples at (k-1)th and Kth time interval, we
quantize the difference between m(k-1) and m(k).
• The advantage of this scheme is that we will now
have sample values whose range is very less.
• Hence we require less number of levels for
quantizing. This leads to reduction in bandwidth.
Advantage of DPCM over PCM
• For example: We have sampled a signal m(t), which is in the
range of 0 to 5 volts, and Let us say the sample values are S1,
S2, S3, S4 & S5 as in column 1 below.
• In order to quantize these values we divide the voltage range
into 5 steps and fix the quantization levels at 0.5V(m0),
1.5V(m1), 2.5V(m2), 3.5V(m3) & 4.5V (m4).
• Hence sample S1 is quantized to m1 and so on.
Sample Quantization
Value Level
S1 = 1.3V m1
S2 = 2.2V m2
S3 = 4.6V m4
S4 = 3.7V m3
S5 = 1.0V m0
Advantage of DPCM over PCM
• But if we take difference between S2 and S1 then it is equal to
0.9V. Similarly we will have difference signals as 0.9V, 2.4 V,
-0.9V, 2.7V.
• Now the total voltage range is from -0.9 to +2.7 which is
significantly lower than the 0 to 5 V range. Hence with 5
quantization levels, the quantization error can be reduced.
• Alternatively we can also think of having less number of
quantization levels, which save on the bandwidth
DPCM
Comparator
(Difference Generator)
Accumulator Predictor
m’(t)
Integrator
DM Transmitter
• Comparator: It has two inputs
– The modulating signal m(t) is applied to the non-inverting
input of the comparator.
– A feedback signal m’(t) is applied to the inverting input of
the comparator.
The comparator output
Δ(t) = Positive (i.e. HIGH) if m(t) > m’(t)
= Negative (i.e. LOW) if m(t) < m’(t).
Therefore the polarity of the comparator output depends
on the polarity of the difference signal.
• Pulse Generator: This block generates periodic train of
pulses Pi(t) with a fixed frequency fs.
DM Transmitter
• Modulator: The comparator output is applied to
the modulator along with Pulse generator
output.
The output of modulator is train of pulses P o(t),
whose polarity depends on the polarity of
difference signal Δ(t).
– Po(t) = Positive pulse (i. e. logic 1) if Δ(t) is
positive
– Po(t) = Negative pulse (i.e. logic 0) if Δ(t) is
negative
DM Transmitter
• Integrator: The output of modulator, which is either a positive
or negative polarity pulse is applied to the integrator.
It generates an output m’(t), which raises or falls by a fixed
step height depending on the polarity of the input pulse.
– Hence the output of Integrator is a staircase waveform. If
the step size of the staircase is small, then m’(t) will be an
approximation to the signal m(t).
– The step size can be adjusted by changing the gain of the
integrator.
– The signal Po(t), which gives information about the
difference signal Δ(t) is transmitted. It is a single bit having
a value of either 1 or 0.
DM Receiver
From Channel
1/0
Quantizer Integrator LPF
m(t)
DM Receiver
• At the receiver the signal is received along with
noise. It is sent through a quantizer, which removes
most of the noise.
• The output of quantizer will be same as
transmitted form of Po(t). This is fed to the
integrator, which produces a staircase waveform
similar to m(t). The output of integrator is
smoothed by the low pass filter to give a waveform
similar to the original modulating signal m(t).
DM Transmitter
2nd Method
D to A Up – Down
Convertor Counter Count Direction
Command
Clock
DM Transmitter -II Method
• At the power ON m’(t) is zero and m(t) may be some positive value.
• Accordingly the output of the comparator is V(H) or V(L).
• This signal is sampled at regular intervals using Sample & Hold (S&H)
circuit.
• The So(t) is same as Po(t) as shown in previous diagram. The
positive or negative output is given as count direction command to
the Up-Down counter. The counter output will either increase or
decrease with the sampling interval. The D to A converter gives an
analog equivalent of digital input i.e. m’(t) which is given as input to
the comparator.
• In this block diagram S & H circuit does the function of modulator,
Up-Down counter along with D to A converter gives equivalent of
integrator of the previous diagram for DM Transmitter.
Drawbacks of DM – a) Slope Overload
• The waveform m’(t) needs to closely follow the
waveform m(t). Only then the recovered signal will be
similar to m(t).
• But due to the fixed step size in m’(t) an error known
as Slope Overload Error can occur.
• The slope overload occurs if the change in
modulating signal between two sampling intervals is
greater than the step size of the integrator.
• In DM, the integrator will not be able to follow any
signal, with a very fast rate of, rise or fall.
• Since this error is dependent on the slope of the
modulating signal, it is known as Slope Overload error
Slope Overload
• There are two types of Slope Overload.
• Let us say the signal m(t) rises faster than the
step waveform m’(t) during a signaling interval
P to Q. Therefore m’(t) rises constantly and it
catches up with m(t), at point Q. Thus an
error will be caused in the demodulated signal
for portion PQ. This is called the positive slope
overload error.
• If the slope of m(t) is more negative than the
slope of m’(t) for portion PQ, then it is known
as negative slope overload
Slope Overload
Positive Slope Negative Slope
Overload Overload
Q
P
m(t) m’(t)
m’(t) m(t)
P
Q
Drawbacks of DM – b)Granular Noise
• It is the second limitation of Delta Modulation.
• If the variation in m(t) are such that they are
within the step size then the signal m’(t) is a
square wave.
• It alternates above and below m(t) or “hunts”
around m(t).
• This when demodulated at the receiver yields a DC
signal whereas the original signal m(t) is not DC.
• Hence in this case too, there is distortion and the
noise is known as Granular Noise.
Granular Noise
m(t) m’(t)
Δ
Drawbacks of Delta Modulation
• Slope Overload – can be taken care by increasing step
size of integrator output
• Granular noise - can be taken care by reducing the step
size.
• A small step size can lead to slope overload more easily
and a large step size can lead to Granular noise.
• Slope Overload and granular noise, both can be
reduced by improving the sampling rate, well above
the NYQUIST rate (i.e. fs should be very much greater
than 2fm). But this leads to increased bandwidth.
ADM Transmitter
Pulse
Generator
m(t)
Square Law
Device
ADM Receiver
• On the receiver side, the quantizer eliminates the channel noise.
• The output of the quantizer is fed to a variable gain amplifier
whose gain control input is derived from an RC integrator and a
square law device. Thus the adaptive adjustment of step size is
obtained at the receiver,
• The output of variable gain amplifier is fed to integrator.
• The integrator generates a staircase waveform having variable
step size.
• This staircase when passed through a LPF leads to undistorted
reception of the original modulating signal.
• Since the slope of the signal can be continuously varied, ADM
method is also known as CVSDM (Continuously Variable Slope
Delta Modulation.)