Sampling Theorem and Pulse Modulation
Sampling Theorem and Pulse Modulation
5.1 Introduction
There are two types of signals, continuous time signal and discrete-time signals.
Due to some recent advance development in digital technology the inexpensive,
light eight, programmable and easily reproducible discrete-time systems are
available. Therefore, the processing of discrete-time signals is more flexible and
is also preferable to processing of continuous-time signals.
For this purpose we should be able to convert a continuous-time signal into
discrete-time signal. The problem is solved by a fundamental mathematical tool
known a sampling theorem.
With the help of sampling theorem, a continuous-time signal may be completely
represented and recovered from the knowledge of samples taken uniformly. It
provides a mechanism for representing a continuous-time signal by a discrete-
time signal. Therefore sampling theorem may be viewed as a bridge between
continuous-time signals and discrete-time signals.
This sampled signal consists of impulses spaces every Ts seconds (the sampling
interval) and can be represented as g t x t δ Ts t .
Since the impulse train δ Ts t is a periodic signal of period Ts , it may be
expressed as trigonometric Fourier series as
1
δTs t 1 2cos ωs t 2cos 2ωs t 2cos 3ωs t
Ts
2π
where ωs 2πfs .
Ts
1
Therefore, g t x t 1 2cos ωs t 2cos 2ωs t 2cos 3ωs t .
Ts
Therefore G ω , the Fourier transformation of g(t), is
1
G ω X ω X ω ωs X ω ωs X ω 2ωs X ω 2ωs
Ts
1
Or, G ω
Ts
X ω nωs
n
Now if we have to reconstruct x(t) from g(t), we must be able to recover X ω from
G ω . This is possible if there is no overlap between successive cycles of G ω .
The figure requires of G ω shows that this is possible if fs 2fm or Ts 1 2fm .
It may be also noted from the figure that the spectrum of sampled signals extends
up to infinity and the ideal bandwidth of sampled signal is infinite.
Further the original or desired spectrum X ω is centered at ω 0 and is having
bandwidth or maximum frequency equal to ωm . The desired spectrum may be
recovered by passing the sampled signals with spectrum G ω through a low-
pass filter with cut-off frequency ωm .
When the sampling rate becomes exactly equal to 2fm samples per second, then
it is called Nyquist rate. Nyquist rate is also called the minimum sampling rate
and is given by fs 2fm . Similarly, maximum sampling interval is called Nyquist
interval and is given by Ts 1 2fm .
When the continuous-time bandlimited signal is sampled at Nyquist rate, the
sampled spectrum G ω contains non-overlapping repeating periodically. But
the successive cycles of touches each other, as shown. Therefore, the original
spectrum X ω can be recovered from the sampled spectrum by using a low pass
filter with cut-off frequency ωm .
Example 5.1
An analog signal is expressed by the equation
Solution
Therefore the maximum frequency present in x(t) is f2 150 Hz and the Nyquist rate is
fs 2f2 300 Hz .
Example 5.2
Find the Nyquist rate and Nyquist interval for the signal
1
x t cos 4000πt cos 1000πt .
2π
Solution:
1
X(t) can be written as x t cos 5000πt cos 3000πt
4π
Therefore, we have, ω1t 5000πt or f1 5000π 2π 2500 Hz and ω2t 3000πt or,
f2 3000π 2π 1500 Hz .
Therefore the maximum frequency present in x(t) is f1 2500 Hz and the Nyquist rate
is fs 2f1 5000 Hz 5 kHz .
1 1 1
Nyquist interval is Ts 0.2 103 Sec 0.2 mS .
2fm 2 2500 5000
Example 5.3
Solution
(i) The highest frequency component of continuous-time signal is 100 Hz. Hence
minimum sampling rate required to avoid aliasing is fs 2f 200 Hz .
(ii) The continuous-time signal x(t) is sampled as 400 Hz. The frequency of the
discrete-time signal will be
Frequency of continuous-time signal f 100 1
F
Sampling frequency fs 400 4
πn
Then the discrete-time signal will be given as x n 8cos 2πFn 8cos
2
.
(iii) The continuous-time signal x(t) is sampled as 150 Hz. The frequency of the
discrete-time signal will be
f 100 2
F
fs 150 3
Then the discrete-time signal will be given as
4πn 2π 2πn
x n 8cos 2πFn 8cos 8cos 2π n 8cos .
3 3 3
k
Or, x t x kTs sinc 2πfm t x kTs sinc 2πfmt kπ
k 2fm k
This equation is known as interpolation formula, which provides values of x(t)
between samples as a weighted sum of all the sample values.
The bandpass signal can be represented in terms of its in-phase xI t and
quadrature xQ t components as x t x I t cos 2πfc t x Q t sin 2πfc t .
The in-phase and quadrature components are obtained by multiplying x(t) by
cos 2πfc t and sin 2πfc t and then suppressing the sum frequencies by means
of low-pass filters. Thus, in-phase xI t and quadrature xQ t components
contain only low frequency components. The spectrum of these components is
limited to fm to fm , as shown below.
The Fourier transform of the ideally sampled signal given by above equation may
be expressed as G f fs X f nfs .
n
This equation gives the spectrum of ideally sampled signal. It shows that the
spectrum X(f) is periodic in fs . However, it may be noted that ideal or
instantaneous sampling is possible only in theory since it is impossible to have a
pulse whose width approaches zero.
When c(t) goes high the switch ‘S’ is closed. Therefore g(t)=x(t) when c(t)=A and
g(t)=0 when c(t)=0, where A is the amplitude of c(t). The waveforms of signals x(t),
c(t) and g(t) are shown below. The sampled signal g(t) may be described
mathematically as g t c t x t .
We know that the exponential Fourier series of any periodic waveform is
expressed as s t Cne j2πnt T0 .
n
.
Since c(t) is a rectangular pulse train, therefore Cn for this waveform will be
τA
expressed as Cn sinc fn τ , where τ is the pulse width and fn is the harmonic
Ts
frequency.
τA τA
Therefore, c t T sinc n
f τ e j2πfs nt
and g sinc fn τ e j2πfsnt .x t .
t
n s n Ts
Flat top sampling like natural sampling is also a practically possible sampling
method. But natural sampling is little complex whereas it is quite easy to get flat
top samples.
In flat-top sampling or rectangular pulse sampling, the top of the samples
remains constant and is equal to the instantaneous value of the baseband signal
x(t) at the start of sampling.
The duration or width of each sample is τ and sampling rate is equal to fs 1 Ts
.
The functional diagram of a sample and hold circuit which is sued to generate
the flat top samples is shown below. The general waveform of flat top samples is
also shown.
From the figure it may be noted that only starting edge of the pulse represents
instantaneous value of the baseband signal x(t). The flat top pulse g(t) is
mathematically equivalent to the convolution of instantaneous sample and a
pulse h(t) as shown below.
The starting edge of the pulse represents the point where baseband signal is
sampled and width is determined by function h(t). Therefore g(t) will be expressed
as g t s t h t . This equation is explained in the following figure. On
convolution of s(t) and h(t), we get a pulse whose duration is equal to h(t) only
but amplitude is defined by s(t).
The train of impulses may be represented mathematically as
δTs t δ t nTs .
n
by passing the signal s(t) through a filter having transfer function H(f). The
corresponding response h(t) in time-domain is shown below along with its
spectrum. The spectrum of a rectangular pulse is H f τsinc fτ e jπfτ A 1 .
This is one pulse of rectangular pulse train. Each sample of x(t) is convolved with
the pulse.
From the figure it may be observed that by using flat top samples an amplitude
distortion is introduced in the reconstructed signal x(t) from g(t). In fact high
frequency roll-off of H(f) acts like a low-pass filter and thus attenuates the upper
portion of message spectrum. These high frequencies of x(t) are affected. This
type of effect is known as aperture effect.
As the duration ‘ τ ’ of the pulse increases, the aperture effect is more prominent.
Hence, during reconstruction an equalizer is needed to compensate this effect.
As shown below, the receiver contains a low-pass reconstruction filter with cut-
off frequency slightly higher than the maximum frequency present in the message
signal. The equalizer compensates for the aperture effect. It also compensates for
the attenuation by the low-pass reconstruction filter.
Ke j2πftd
The transfer function of the equalizer is expressed as Heq f . Here ‘ td
Hf
’ is known as the delay introduced by low-pass filter which is equal to τ 2 .
jπfτ
Kee K
Therefore, Heq f .
τsinc fτ ee jπfτ
τsinc fτ
Example 5.4
The following figure shows the spectrum of an arbitrary signal x(t). This signal is
sampled at the Nyquist rate with a periodic train of rectangular pulses of duration 50/3
milliseconds. Determine the spectrum of the sampled signal for frequencies up to 50 Hz
giving relevant expression.
Solution
From the figure it may be observed that the signal is bandlimited to 10 Hz. Thus
fm 10 Hz . So the Nyquist rate is 2fm 20 Hz .
Since the signal is sampled at the Nyquist rate, the sampling frequency would be
fs 20 Hz . Given that the rectangular pulses are used for sampling, i.e., flat top
sampling is used.
50 0.05
The given value of rectangular sampling pulse duration is τ 103 sec .
3 3
n 3 3
1 3 0.05f j0.05πf
Or, G f
3 n3
X f 20n sinc
3
e
3
This expression gives the spectrum up to 60 Hz (since n 3 ) for the sampled signal.
Example 5.5
A flat top sampling system samples a signal of maximum frequency 1 Hz with 2.5 Hz
sampling frequency. The duration of the pulse is 0.2 seconds. Compute the amplitude
distortion due to aperture effect at the highest signal frequency. Also determine the
equalization characteristics.
Solution:
Aperture effect at the highest frequency 1 Hz is H1 0.2sinc 0.2 0.1871 18.71% .
K K
Equalizer characteristics is Heq f
τsinc fτ 0.2sinc 0.2f
Therefore, the bandwidth required for the transmission of a PAM signal would be
equal to the maximum frequency fmax . Thus, we have Transmission bandwidth
1
BW fmax or BW .
2τ
1 1
Again since, τ , BW fmax or, BW fmax .
2fmax 2τ
Example 5.6
Solution
1 1
Ts =0.125 103 S 125 μS
fs 8 103
The following figure illustrates a very simple holding circuit. Here ‘S’ is closed
after the arrival of the pulse and it is opened at the end of the pulse. In this way,
the capacitor C is charged to the pulse amplitude value and it holds this value
during the interval between the two pulses. Hence, the sampled values are held
as shown in the figure.
The circuit is known as zero holding circuit and it considers only the previous
sample to decide the value between the pulses.
A first order holding circuit considers the previous two samples whereas a second
order holding circuit considers the previous three samples and so on. However,
as the order of the holding circuit increases, the distortion decreases at the cost
of the circuit complexity. In fact, the amount of permissible distortion decides the
order of the holding circuit.
If the PAM signals are to be transmitted directly, i.e., over a pair of wires then no
further signal processing is necessary. However, if they are to be transmitted
through the space using an antenna, they must first be amplitude or frequency
or phase modulated by a high frequency carrier and only then they can be
transmitted. Thus, the overall system will be then known as PAM-AM or PAM-FM
or PAM-PM respectively.
At the receiving end, AM or FM or PM detection is first employed to get the PAM
signal and then the message signal is recovered from it.
2
Internally, the control voltage is adjusted to VCC . Externally applied modulating
3
signal changes the control voltage, and hence the threshold voltage level. As a
result, the time period required to charge the capacitor up to threshold voltage
level changes, giving pulse modulated signal at the output, as shown below.
5.12.1.3 Demodulation of PWM signal
The block diagram of PWM detector is shown below. The received PWM signal is
applied to the Schmitt trigger circuit. This Schmitt trigger circuit removes the
noise in the PWM waveform. The regenerated PWM is then applied to the ramp
generator and synchronization pulse detector.
The ramp generator produces ramps of the duration of pulses such that height
of ramps are proportional to the widths of PWM pulses. The maximum ramp
voltage is retained till next pulse. On the other hand, synchronous pulse detector
produces reference pulses with constant amplitude and pulse width. These
pulses are delayed by specific amount of delay.
The delayed reference pulses and the output of ramp generator is added with the
help of adder. The output of adder is given to the level shifter. Here, negative
offset shifts the waveform. Then the negative part of the waveform is clipped by
rectifier.
Finally, the output of rectifier is passed through low-pass filter to recover the
modulating signal, as shown above.
5.12.1.4 Advantages of PM
In PWM, pulses are varying in width and therefore their power contents are
variable. This requires that the transmitter must be able to handle the power
contents of the pulse having maximum pulse width.
Large bandwidth is required for the PWM communication as compared to PAM.
In pulse position modulation the amplitude and width of the pulses are kept
constant, while the position of each pulse, with reference to the position of a
reference pulse, is changed according to the instantaneous sampled value of the
modulating signal. Thus, the transmitter has to send synchronizing pulses to
keep the transmitter and receiver in synchronism.
As the amplitude and width of the pulses are constant, the transmitter handles
constant power output, a definite advantage over the PWM.
The disadvantage of the PPM system is the need for transmitter-receiver
synchronization.
Pulse position modulation is obtained from pulse width modulation, as shown
below. The position of the pulse is proportional to the width of the pulse in PWM
and hence it is proportional to the instantaneous amplitude of the sampled
modulating signal.
5.12.2.1 Generation of PPM signal
The following figure shows the PPM generator. It consists of differentiator and a
monostable multivibrator.
The input to the differentiator is a PWM waveform. The differentiator generates
positive and negative spikes corresponding to leading and trailing edges of the
PWM waveform.
Diode D1 is used to bypass the positive spikes. The negative spikes are used to
trigger monostable multivibrator.
The monostable multivibrator then generate the pulses of same width and
amplitude in reference to trigger to give pulse position modulated waveform, as
shown below.
5.12.2.2 Demodulation in PPM
Like PWM, in PPM, amplitude is held constant thus less noise interference.
Like PPM, signal and noise separation is very easy.
Because of constant pulse widths and amplitudes, transmission power for each
pulse is same.