Chapter 3 - p1
Chapter 3 - p1
In this class
We’ll model the ADC as an ideal continuous-to-discrete (C-to-D) time converter.
Notation:
X c (jΩ) denotes the Fourier transform of the continuous-time signal x c (t), where Ω is the
continuous-time frequency.
X(e jω ) denotes the discrete-time Fourier transform of a discrete-time signal x[n], where ω is
the normalized frequency.
Continuous-to-discrete time conversion
The C-to-D converter simply samples the continuous-time signal every T seconds, where T is
the sampling period.
x c (t)
3 x[n] = x c (nT )
T 2T 3T . . . t
Question: How are x c (t) and x[n] related in the frequency domain? That is, how to obtain the
discrete-time Fourier transform X(e jω ) from the continuous-time Fourier transform X c (jΩ)? 7/47
Continuous-to-discrete time conversion
Impulse sampling interpretation:
We can think of the C-to-D converter as multiplication by an impulse train, followed by an
impulse-to-sequence converter.
This representation is purely for mathematical convenience.
Impulse sampling example
x c (t)
s(t)
t
x s (t) = x c (t) · s(t)
x[n]
n
Continuous-to-discrete time conversion
Question: How to obtain the discrete-time Fourier transform X(e jω ) from the
continuous-time Fourier transform X c (jΩ)?
We’ll calculate the continuous-time (CT) Fourier transform of x s (t) in two different ways.
1 X (j Ω) ∗S(j Ω). Then, we’ll calculate X (j Ω) = F { x (t)}
First, we’ll calculate X s(j Ω) = 2π c s s .
We’ll use these two equations of X s (jΩ) to obtain an equation for X(e jω ), the DTFT of x[n].
Starting with X s(jΩ) = Xc(jΩ) ∗S(jΩ), recall that the Fourier Transform of the
impulse train is given by
(1)
Note that X s (jΩ) is equal to X c (jΩ) scaled by 1/T and repeated every 2π/T, which we
define as the sampling frequency Ωs ≡ 2π/T 10/47
Now let’s calculate X s (jΩ) = F{x s (t)}, where x s (t) = x c (t) ·s(t):
13/47
Graphically
X c ( jΩ)
1
−ΩN ΩN Ω
S(jΩ)
2π
T
−Ωs Ωs Ω
1
X s(jΩ) = 2π
X c(j Ω) ∗ S(j Ω)
1/T
−Ωs −ΩN ΩN Ωs Ω
X (ej ω ) = X (j Ω)
1/T
− 2π − ΩN T ΩN T 2π ω = ΩT
14/47
Replicas of the original spectrum appear with period 2π
Oversampling
► A signal is band limited if X c (jΩ) = 0 for |Ω| > Ω N . In this case, the signal has
maximum frequency Ω N and bandwidth 2ΩN
► Sampling at Ωs > 2ΩN is called oversampling
► Oversampling leads to gaps between the spectrum replicas
Xc(jΩ)
Ωs Ωs
− 2 2
−Ωs −ΩN ΩN Ωs Ω
X (ej ω )
Ωs > 2Ω N
1/T
−π π
− 2π − ΩN T ΩN T 2π ω = ΩT
15/47
Nyquist sampling
► Sampling at Ωs = 2ΩN is called Nyquist sampling
► Note that if Ωs is any smaller than 2ΩN , there will be overlapping of the spectrum replicas
X c (jΩ)
Ωs Ωs
− 2 2
−Ωs −ΩN ΩN Ωs Ω
X (ej ω ) Ωs = 2ΩN
1/T
−π π
− 2π − Ω N T ΩN T 2π ω = ΩT
16/47
Undersampling
► Undersampling occurs when Ωs < 2ΩN
► In this case, the spectrum replicas overlap
► The overlapping causes aliasing distortion
X c ( jΩ)
−ΩN ΩN Ω
X (ej ω )
Ωs < 2Ω N
1/T
− 2π −π π 2π ω = ΩT 17/47
Aliasing: time domain
Samples taken at frequency Ωs = 2π form an alias signal of frequency 0.5π, but original signal
had frequency 1.5π
18/47
Aliasing: frequency domain
Same example, but now in the frequency domain
X(jω)
− 1.5π 1.5π Ω
X (ej ω )
− 2π −π 0.5π π 1.5π 2π ω = ΩT
Blue components correspond to spectrum replica centered at 2π, while red components correspond
to spectrum replica centered at −2π.
The final spectrum corresponds to cos(0.5πn) 19/47
Digital-to-analog conversion
In practice
Example of digital-to-analog converter (DAC)
19/47
Digital-to-analog conversion
In this class
We’ll model the ADC as an ideal discrete-to-continuous (D-to-C) time converter.
20/47
Discrete-to-continuous time conversion
For mathematical convenience we can model the D-to-C as
x[n] Discrete-time
Lowpass filter x r (t)
sequenceto
hr (t) H r (j Ω)
impulse train
D-to-C converter
∞
xr (t) = � x[n]hr (t − nT) (D-to-C converter)
n=−∞
Important questions
1. How close to the original signal is x r (t)?
21/47
2. What lowpass filter H r (jΩ) will lead to the best performance?
Reconstruction: time domain x[n]
x s (t) = ∑ x[n]δ(t − nT )
t
22/47
Reconstruction: frequency domain
X (ej ω )
1/T
− 2π − ΩN T ΩN T 2π ω = ΩT
X s (j Ω) = X (ej ΩT )
1/T
−Ωs −ΩN ΩN Ωs Ω
X r (j Ω) = H r (j Ω)X s (j Ω)
− ΩN ΩN Ω 27/47
Reconstruction: frequency domain
X (ej ω )
1/T
− 2π − ΩN T ΩN T 2π ω = ΩT
X s (j Ω) = X (ej ΩT )
1/T
−Ωs −ΩN ΩN Ωs Ω
X r (j Ω) = H r (j Ω)X s (j Ω)
− ΩN ΩN Ω 27/47
Shannon-Nyquist sampling theorem
X r (j Ω) = Hr (j Ω)X (ej ΩT ) = X c (j Ω)
1 T
29/47
−3T −2T −T T 2T 3T t Ω
−π/T π/T
Example of reconstruction with an ideal lowpass filter
∞ ∞
x r (t) = � x[n]hr (t − nT) = � x[n]sinc(t − nT) (reconstruction)
n= − ∞ n= − ∞
30/47
Original continuous-time signal
Example of reconstruction with an ideal lowpass filter
∞ ∞
x r (t) = � x[n]hr (t − nT) = � x[n]sinc(t − nT) (reconstruction)
n= − ∞ n= − ∞
30/47
The sum of all sincs results in the perfectly reconstructed signal.
Practical reconstruction
Problem
The ideal lowpass filter is not feasible, as it is non-causal and requires infinitely many samples.
31/47