Professional Documents
Culture Documents
Unit 4 Nyquist Sampling Theorem, Pulse Amplitude
Unit 4 Nyquist Sampling Theorem, Pulse Amplitude
Unit 4 Nyquist Sampling Theorem, Pulse Amplitude
Taught by:
Dr. Prateek Verma
Assistant Professor
DYPIU Akurdi
1
Introduction to Discrete Time Signals
• There are two types of signals – Continuous time signal and Discrete time signal.
• During the recent advancement in the field, discrete time systems are preferred due to
inexpensive, light weight etc.
• Therefore, discrete time signals are more preferred and processed for processing of
continuous time signals.
2
Contd.
• Although in real world, most of the signals generated are in continuous time signals but
they are converted to discrete time signals for processing.
• This conversion from continuous time to discrete time signals is done by sampling
theorem.
• With the help of sampling theorem, a continuous time signal may be completely
recovered from the knowledge of samples taken uniformly.
• Therefore, sampling theorem can be seen as a bridge between continuous time and
discrete time signals.
3
The Sampling Theorem
• A continuous time signal is first converted into discrete time signals by sampling
process.
• The sufficient number of samples of the signal must be taken so that the original signal is
represented by the samples completely.
• Also, it should be possible to recover or reconstruct the original signal completely from
its samples.
• The number of samples to be taken depends upon the maximum signal frequency present
in the signal.
• Here, 𝑓𝑠 is the sampling frequency and 𝑓𝑚 is the maximum frequency present in the
signal.
• A band limited signal of finite energy, which has no frequency components higher than 𝑓𝑚 Hz, may be
completely recovered from the knowledge of its samples taken at the rate of 2𝑓𝑚 samples per second.
5
Proof of the Sampling Theorem
• Let us consider a continuous time band limited signal to 𝑓𝑚 Hz, which can be
reconstructed exactly without any error from its samples taken uniformly at a rate 𝑓𝑠 >
2𝑓𝑚 Hz.
• A band-limited signal means its Fourier Transform or its spectrum will be non-zero only
within a small range of frequencies.
𝑀(𝜔)
FT
−𝜔𝑚 𝜔𝑚 𝜔
0
6
Contd.
• We will feed the message signal to a sampler (which acts as a multiplier). The first signal
is 𝑥(𝑡) whose max. freq. component is ω𝑚 and second signal is 𝛿𝑇𝑠 (𝑡).
• Here, 𝛿𝑇𝑠 𝑡 is a periodic impulse train having fundamental time period 𝑇𝑠 (also called as
sampling period or sampling interval.
𝑔 𝑡 = x t . c(t)
Sampler
𝑐 𝑡 = 𝛿(𝑡 − 𝑛𝑇𝑠 )
2𝜋 𝑛=−∞
𝜔𝑠 = = 𝑠𝑎𝑚𝑝𝑙𝑖𝑛𝑔 𝑓𝑟𝑒𝑞.
𝑇𝑠 7
Contd.
• Here, the weight of each impulse is equal to the instantaneous value of the message
signal.
FT
−𝜔𝑚 0 𝜔𝑚 𝜔
1
G(𝜔) = [𝑋 𝜔 ∗𝐶 𝜔 ]
2𝜋 ∞
𝐶 𝜔 = 𝜔𝑠 𝛿(𝜔 − 𝑛𝜔𝑠 )
Convolution of freq. 𝑛=−∞
Sampled signal spectrum of two signals 8
Contd.
• For simplification, we will use property of convolution and properties of impulse function.
∞ ∞
1 𝜔𝑠
𝐺(𝜔) = [𝑋 𝜔 ∗ 𝜔𝑠 𝛿(𝜔 − 𝑛𝜔𝑠 )] 𝐺(𝜔) = [𝑋 𝜔 ∗ 𝛿(𝜔 − 𝑛𝜔𝑠 )]
2𝜋 2𝜋
𝑛=−∞ 𝑛=−∞
∞
• Now we will use one property, 1
𝐺(𝜔) = [ 𝑋 𝜔 ∗ 𝛿(𝜔 − 𝑛𝜔𝑠 )]
𝑇𝑠
𝑛=−∞
𝑥 𝑡 ∗ 𝛿 𝑡 − 𝑡1 = 𝑥(𝑡 − 𝑡1 )
∞
1
• Therefore, 𝐺(𝜔) will become 𝐺(𝜔) = 𝑋 𝜔 − 𝑛𝜔𝑠
𝑇𝑠
𝑛=−∞
𝟏
𝑮(𝝎) = [… + 𝑿 𝝎 + 𝝎𝒔 + 𝑿 𝝎 + 𝑿 𝝎 − 𝝎𝒔 + ⋯ ]
𝑻𝒔
9
Contd.
• Now we will plot the wave for this equation 𝟏
𝑮(𝝎) = [… + 𝑿 𝝎 + 𝝎𝒔 + 𝑿 𝝎 + 𝑿 𝝎 − 𝝎𝒔 + ⋯ ]
𝑻𝒔
𝑮(𝝎)
𝜔𝑠 − 𝜔𝑚 > 𝜔𝑚
• If 𝑓𝑠 > 2𝑓𝑚 , the spectrum 𝐺(𝜔) will repeat periodically without overlapping.
• The spectrum of sampled signal extends up to infinity and ideal bandwidth of sampled signal is
infinite. But we have to extract original spectrum X(𝜔) from 𝐺(𝜔).
10
Contd.
• The original or desired spectrum X(𝜔) is centered at 𝜔 = 0 and is having bandwidth or
maximum frequency equal to ωm .
• The desired spectrum can be obtained by passing the sampled signal through a Low Pass Filter
(LPF) with cut off frequency ωm .
• The extracted signal X(𝜔) can then be converted into time domain signal x(𝑡).
𝑿(𝝎)
𝑮(𝝎)
LPF
−𝜔m 0 +𝜔m 𝝎
−𝜔m 0 +𝜔m 𝝎
𝜔𝑠 − 𝜔m 𝜔𝑠 + 𝜔m 𝑩𝑾 = 𝟐𝝎𝒎 11
Contd.
• For the case 𝑓𝑠 = 2𝑓𝑚 , the successive cycles of 𝐺 𝜔 are not overlapping with each other but
they are touching each other. In this case also, we can recover the original signal.
𝑮(𝝎)
𝑿(𝝎)
LPF
• For the case 𝑓𝑠 < 2𝑓𝑚 , the successive cycles of 𝐺 𝜔 will overlap with each other and hence
original spectrum of 𝑋 𝜔 cannot be extracted from 𝐺 𝜔 .
𝑮(𝝎)
𝝎 12
Nyquist Rate and Nyquist Interval
• When the sampling rate becomes exactly equal to 2𝑓𝑚 samples per second, then it is called
Nyquist Rate.
• It is given by 𝒇𝒔 = 𝟐𝒇𝒎 .
• Similarly, maximum time interval between equally spaced samples is called as Nyquist Interval.
It is given by
𝑮(𝝎)
1
𝑁𝑦𝑞𝑢𝑖𝑠𝑡 𝐼𝑛𝑡𝑒𝑟𝑣𝑎𝑙 = 𝑇𝑠 = seconds
2𝑓𝑚
13
−𝜔m 0 +𝜔m 𝝎
Reconstruction Filter (LPF)
• The LPF is used to reconstruct original signal from its samples. LPF will pass only low
frequencies upto a specified cutoff frequency.
• Here, the frequency response of an ideal LPF is shown, which shows there is a sharp change in
response at cut off frequency (amplitude suddenly becomes zero which is not possible
practically).
14
Practical LPF
• In case of practical LPF, the amplitude response decreases slowly to become zero.
• Practically, realizable filters require a non-zero bandwidth for the transition between the
passband and the required out of band attenuation.
Not Possible
−𝜔m 0 +𝜔m 𝝎
𝑮(𝝎)
Possible
−𝜔m 0 +𝜔m 𝝎
16
Signal Reconstruction: The Interpolation Process
• The process of reconstructing a continuous-time signal 𝑥(𝑡) from its samples is called as
Interpolation.
• This is achieved by passing the sampled signal through an ideal low-pass filter of cut-off
frequency 𝑓𝑚 Hz.
17
Sampling Techniques
• There are three types of sampling techniques as under:
• Instantaneous sampling is called ideal sampling while natural and Flat Top sampling are called
practical sampling methods.
18
Instantaneous/Ideal/Impulse sampling
• In this, the sampling function is a train of impulses.
∞
𝐶 𝜔 = 𝜔𝑠 𝛿(𝜔 − 𝑛𝜔𝑠 )
𝑛=−∞
• It may be noted that ideal sampling is possible only in theory since it is impossible to have a
pulse whose width approached zero.
19
Natural sampling
• In this sampling, the pulse has a finite width equal to 𝜏.
𝑐 𝑡 = 𝐶𝑛 𝑒 𝑗2𝜋𝑛𝑡/𝑇0 (2)
𝑛=−∞
𝑓0 = 𝑓𝑠 = 1/𝑇0
𝑐 𝑡 = 𝐶𝑛 𝑒 𝑗2𝜋𝑛𝑓𝑠 𝑡 (3)
𝑛=−∞
21
Contd.
• Now, 𝑐 𝑡 is a rectangular pulse train, so 𝐶𝑛 will be
𝜏𝐴
𝐶𝑛 = 𝑠𝑖𝑛𝑐(𝑓𝑛 𝜏) (4)
𝑇𝑠
∞
𝜏𝐴
• Using Equation 3 and 4, the FS in Eq. 2 can be represented as 𝑐 𝑡 = 𝑠𝑖𝑛𝑐 𝑓𝑛 𝜏 𝑒 𝑗2𝜋𝑓𝑠 𝑛𝑡
𝑇𝑠 (5)
𝑛=−∞
∞
𝝉𝑨
𝑔 𝑡 = 𝑥 𝑡 .𝑐 𝑡 𝒈 𝒕 = 𝒔𝒊𝒏𝒄 𝒇𝒏 𝝉 𝒆𝒋𝟐𝝅𝒇𝒔𝒏𝒕 . 𝒙(𝒕) (6)
𝑻𝒔
𝒏=−∞
22
Contd.
• Now, we have to find the frequency domain representation of the signal 𝑔(𝑡) by taking the
Fourier Transform of the signal.
∞
𝜏𝐴
𝐺 𝑓 = 𝐹𝑇 𝑔 𝑡 = 𝑠𝑖𝑛𝑐 𝑓𝑛 𝜏 𝐹𝑇[𝑒 𝑗2𝜋𝑓𝑠 𝑛𝑡 . 𝑥 𝑡 ] (7)
𝑇𝑠
𝑛=−∞
∞
• Therefore, 𝐺(𝑓) will become 𝝉𝑨
𝑮 𝒇 = 𝒔𝒊𝒏𝒄 𝒇𝒏 𝝉 𝑿 𝒇 − 𝒇𝒔 𝒏 (8)
𝑻𝒔
𝒏=−∞
• Equation 8 suggests that the spectra of 𝑥(𝑡) i.e. 𝑋(𝑓) is periodic in nature with freq. 𝑓𝑠 and is
weighed by the sinc function.
23
Contd.
∞
𝝉𝑨
𝑮 𝒇 = 𝒔𝒊𝒏𝒄 𝒇𝒏 𝝉 𝑿 𝒇 − 𝒇𝒔 𝒏
𝑻𝒔
𝒏=−∞
• In ideal sampling, the spectrum remain constant throughout the frequency range while in
natural sampling the spectrum is weighted by a sinc function.
24
Flat Top sampling or Rectangular Pulse sampling
• Flat Top sampling is similar to Natural sampling but natural sampling is little complex whereas it is
easy to get flat top sampling.
• In Flat Top sampling, the top of the samples remains constant and is equal to the instantaneous
value of the baseband signal at the start of the sampling.
25
Tutorial
• An analog signal is expressed by the equation 𝑥 𝑡 = 3 cos 50𝜋𝑡 + 10 sin 300𝜋𝑡 −
cos(100𝜋𝑡). Calculate the Nyquist rate for this signal.
1
• Find the Nyquist rate and the Nyquist Interval for the signal 𝑥 𝑡 = cos 4000𝜋𝑡 cos 1000𝜋𝑡 .
2𝜋
26
Tutorial
• Determine the Nyquist rate of a continuous time signal 𝑥 𝑡 = 6𝑐𝑜𝑠50𝜋𝑡 + 20𝑠𝑖𝑛300𝜋𝑡 −
10𝑐𝑜𝑠100𝜋𝑡.
sin 1000𝜋𝑡
• Determine the Nyquist rate of a continuous time signal 𝑥 𝑡 = . 𝜋
𝜋𝑡
• As the duration ‘τ’ of the pulse increases, the aperture effect is more prominent. Hence,
during reconstruction an equalizer is needed to compensate for this effect.
28
Analog Pulse Modulation Methods
• In Pulse modulation methods, the carrier is no longer a continuous signal but consists of a
pulse train.
• Some parameter of this pulse train is varied according to the instantaneous value of the
modulating signal.
29
Contd.
• In PAM, amplitude of the pulses
of the carrier is varied in
accordance with the modulating
signal.
Pulse Pulse
Width Position
30
Contd.
• In PWM, width of the pulses of
the carrier is varied in accordance
with the modulating signal.
31
Pulse Amplitude Modulation (PAM)
• Generally, the Flat Top PAM method is preferred and widely used.
• The reason for that is during the transmission, the noise interferes with the top of the
transmitted pulses and this noise can be easily removed if the PAM pulse has flat top.
• G1 (Sampling switch) and G2 (Discharge switch) are the field effect transistors (FET)
with a capacitor C.
1
• 𝐵𝑊 ≥ 𝑓𝑚𝑎𝑥 and 𝑓𝑚𝑎𝑥 =
2𝜏
𝟏
• Therefore, 𝑩𝑾 ≥
𝟐𝝉
• For a PAM voice signal having maximum frequency as 3 KHz, calculate the transmission
bandwidth. It is given that sampling frequency is 8 KHz and pulse duration 𝜏 = 0.1𝑇𝑠 .
Ans - 𝐵𝑊 ≥ 40𝐾𝐻𝑧 34
Drawbacks of PAM signal
• The bandwidth required to transmit a PAM signal is very large in comparison to the
maximum freq. present in the message signal.
35
PWM or PDM
• The width of the pulse changes with the message signal.
• Since the noise changes the amplitude of the signal, therefore PWM system is more immune
to noise than PAM.
36
Contd.
37
PPM
• Since the noise changes the amplitude of the signal, therefore PPM system is more
immune to noise than PAM.
• Due to constant amplitude of pulses, the transmitted power always remain constant. It
does not change as the case in PWM.
38
Comparison of PAM, PWM and PPM
39
40