Professional Documents
Culture Documents
3 4
Copyright © 2005, S. K. Mitra Copyright © 2005, S. K. Mitra
Digital Processing of
Sampling of Continuous-Time
Continuous-Time Signals
Complete block-diagram
Signals
Anti- Digital Reconstruction
• As indicated earlier, discrete-time signals in
aliasing S/H A/D processor D/A
filter filter many applications are generated by
sampling continuous-time signals
• Since both the anti-aliasing filter and the
reconstruction filter are analog lowpass • We have seen earlier that identical discrete-
filters, we review first the theory behind the time signals may result from the sampling
design of such filters of more than one distinct continuous-time
• Also, the most widely used IIR digital filter function
design method is based on the conversion of
5
an analog lowpass prototype 6
Copyright © 2005, S. K. Mitra Copyright © 2005, S. K. Mitra
1
Sampling of Continuous-Time Sampling of Continuous-Time
Signals Signals
• In fact, there exists an infinite number of • If these conditions hold, then it is possible
continuous-time signals, which when to recover the original continuous-time
sampled lead to the same discrete-time signal from its sampled values
signal • We next develop this correspondence and
• However, under certain conditions, it is the associated conditions
possible to relate a unique continuous-time
signal to a given discrete-time signals
7 8
Copyright © 2005, S. K. Mitra Copyright © 2005, S. K. Mitra
2
Effect of Sampling in the Effect of Sampling in the
Frequency Domain
Frequency Domain
• There are two different forms of G p ( jΩ):
• g p (t ) is a continuous-time signal consisting
of a train of uniformly spaced impulses with • One form is given by the weighted sum of
the impulse at t = nT weighted by the the CTFTs of δ(t − nT ) :
sampled value g a (nT ) of g a (t ) at that instant G p ( jΩ ) = ∑ ∞
n = −∞ g a ( nT ) e
− jΩnT
3
Effect of Sampling in the
Frequency Domain Effect of Sampling in the
• Two possible spectra of G p ( jΩ) are shown
Frequency Domain
below • It is evident from the top figure on the
previous slide that if ΩT > 2Ω m , there is no
overlap between the shifted replicas of Ga ( jΩ)
generating G p ( jΩ)
• On the other hand, as indicated by the figure
on the bottom, if ΩT < 2Ω m , there is an
overlap of the spectra of the shifted replicas
of Ga ( jΩ) generating G p ( jΩ)
19 20
Copyright © 2005, S. K. Mitra Copyright © 2005, S. K. Mitra
21 22
Copyright © 2005, S. K. Mitra Copyright © 2005, S. K. Mitra
4
Effect of Sampling in the Effect of Sampling in the
Frequency Domain Frequency Domain
• The condition ΩT ≥ 2Ω m is often referred to • Given {g a (nT )}, we can recover exactly g a (t )
as the Nyquist condition by generating an impulse train
• The frequency ΩT is usually referred to as g p (t ) = ∑∞
n = −∞ g a ( nT )δ(t − nT )
2
the folding frequency and then passing it through an ideal lowpass
filter H r ( jΩ) with a gain T and a cutoff
frequency Ωc satisfying
Ω m < Ωc < (ΩT − Ω m )
25 26
Copyright © 2005, S. K. Mitra Copyright © 2005, S. K. Mitra
29 30
Copyright © 2005, S. K. Mitra Copyright © 2005, S. K. Mitra
5
Effect of Sampling in the
Effect of Sampling in the
Frequency Domain
Frequency Domain
• These three transforms are plotted below
• Example - Consider the three continuous-
time sinusoidal signals:
g1(t ) = cos(6πt )
g 2 (t ) = cos(14πt )
g3 (t ) = cos( 26πt )
• Their corresponding CTFTs are:
G1( jΩ) = π[δ(Ω − 6π) + δ(Ω + 6π)]
G2 ( jΩ) = π[δ(Ω − 14π) + δ(Ω + 14π)]
31
G3 ( jΩ) = π[δ(Ω − 26π) + δ(Ω + 26π)] 32
Copyright © 2005, S. K. Mitra Copyright © 2005, S. K. Mitra
6
Effect of Sampling in the
Effect of Sampling in the
Frequency Domain
Frequency Domain
• Note: In the figure below, the impulse
appearing at Ω = 6π in the positive • We now derive the relation between the
frequency passband of the filter results from DTFT of g[n] and the CTFT of g p (t )
the aliasing of the impulse in G2 ( jΩ) at • To this end we compare
Ω = −14π G ( e jω ) = ∑ ∞ − jω n
n = −∞ g[ n] e
• Likewise, the impulse appearing at Ω = 6π with
in the positive frequency passband of the G p ( jΩ ) = ∑ ∞n = −∞ g a ( nT ) e
− jΩnT
filter results from the aliasing of the impulse and make use of g[n] = g a (nT ), − ∞ < n < ∞
in G3 ( jΩ) at Ω = 26π
37 38
Copyright © 2005, S. K. Mitra Copyright © 2005, S. K. Mitra
39 40
Copyright © 2005, S. K. Mitra Copyright © 2005, S. K. Mitra
7
Recovery of the Analog Signal Recovery of the Analog Signal
• We now derive the expression for the output
g^ a (t ) of the ideal lowpass reconstruction • Thus, the impulse response is given by
filter H r ( jΩ) as a function of the samples hr (t ) = 1 ∞ H ( jΩ) e jΩt dΩ = T Ω c e jΩt dΩ
∫
2 π −∞ r 2 π −Ωc ∫
g[n]
sin(Ωct )
• The impulse response hr (t ) of the lowpass = , −∞ ≤t ≤ ∞
ΩT t / 2
reconstruction filter is obtained by taking • The input to the lowpass filter is the
the inverse DTFT of H r ( jΩ): impulse train gp(t ) :
T , Ω ≤ Ωc
H r ( jΩ) = ⎧⎨ g p (t ) = ∑∞
⎩ 0, Ω > Ωc n = −∞ g[ n] δ(t − nT )
43 44
Copyright © 2005, S. K. Mitra Copyright © 2005, S. K. Mitra
8
Implication of the Sampling Implication of the Sampling
Process Process
• Consider again the three continuous-time • From the plot, it is apparent that we can
signals: g1(t ) = cos(6πt ) , g 2 (t ) = cos(14πt ) , recover any of its frequency-translated
and g3 (t ) = cos(26πt ) versions cos[(20k ± 6)π t] outside the
• The plot of the CTFT G1p ( jΩ) of the baseband by passing g1p (t ) through an ideal
sampled version g1p (t ) of g1(t ) is shown analog bandpass filter with a passband
below centered at Ω = ( 20k ± 6) π
49 50
Copyright © 2005, S. K. Mitra Copyright © 2005, S. K. Mitra
51 52
Copyright © 2005, S. K. Mitra Copyright © 2005, S. K. Mitra
9
Sampling of Bandpass Signals Sampling of Bandpass Signals
• There are applications where the continuous-
time signal is bandlimited to a higher • However, due to the bandpass spectrum of
frequency range Ω L ≤ Ω ≤ Ω H with Ω L > 0 the continuous-time signal, the spectrum of
the discrete-time signal obtained by sampling
• Such a signal is usually referred to as the
will have spectral gaps with no signal
bandpass signal
components present in these gaps
• To prevent aliasing a bandpass signal can of
• Moreover, if Ω H is very large, the sampling
course be sampled at a rate greater than
rate also has to be very large which may not
twice the highest frequency, i.e. by ensuring
be practical in some situations
ΩT ≥ 2Ω H
55 56
Copyright © 2005, S. K. Mitra Copyright © 2005, S. K. Mitra
scaled by 1/T G p ( jΩ )
10
Sampling of Bandpass Signals
• As can be seen, g a (t ) can be recovered from
g p (t ) by passing it through an ideal
bandpass filter with a passband given by
Ω L ≤ Ω ≤ Ω H and a gain of T
• Note: Any of the replicas in the lower
frequency bands can be retained by passing
g p (t ) through bandpass filters with
passbands Ω L − k ( ∆Ω) ≤ Ω ≤ Ω H − k (∆Ω) ,
1 ≤ k ≤ M − 1 providing a translation to
61 lower frequency ranges
Copyright © 2005, S. K. Mitra
11