



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Sampling
Model of the sampling process
r(t)
time: t
time: t
Sampling impulse train: v(t)
Continuous-time signal:
0 T 2T 3T 4T 5T 6T 7T
(^0) time: t
1
T 2T 3T 4T 5T 6T 7T
Sampled signal: r(t)v(t)
Model sampling as time-domain multiplication by a train of impulses. r∗(t) = r(t)v(t)
=
k=−∞
r(t)δ(t − kT )
Taking the Laplace transform,
L {r∗(t)} =
−∞
r∗(t)e−stdt
−∞
k=−∞
r(t)δ(t − kT )e−stdt
k=−∞
r(kT )e−skT
=: R∗(s)
What is really happening with sampling?
d @@ r∗(t) r(t)
Recall that sampling maps strips of the s-plane onto the z-plane.
Imaginary Imaginary
Real (^) Real
-1 1
π /T
−π /T
Mapping via sampling
s- plane z- plane
What does this look like from a Fourier Transform point of view?
Roy Smith: ECE 147b 6 : 1
Sampling
Impulse trains
−2ω s
-3T time: t
Sampling impulse train (time-domain)
-2T -T 0 T 2T 3T
1
frequency:
2 π/T
Sampling impulse train (frequency domain)
ω
s ω s 2ω s
Fourier series representation:
v(t) =
k=−∞
δ(t − kT )
n=−∞
ejn( (^2) Tπ )t
n=−∞
ejnωst
Fourier Transform:
v(s) =
2 π T
n=−∞
δ(ω − nωs)
(note: ωs = 2π/T ).
A train of impulses is equivalent to an infinite sum of (equal) sinusoids.
Impulse trains
−2ω s
-3T time: t
Sampling impulse train (time-domain)
-2T -T 0 T 2T 3T
1
frequency:
2 π/T
Sampling impulse train (frequency domain)
ω
s ω s 2ω s
Fourier series representation
Impulse trains are periodic (with period T ) and so have a Fourier series:
v(t) =
k=−∞
δ(t − kT ) =
n=−∞
Cnejn(
(^2) Tπ )t
The Fourier coefficients, Cn, are given by,
Cn =
−T / 2
k=−∞
δ(t − kT )e−jn( (^2) Tπ )t dt
−T / 2
δ(t)e−jn( (^2) Tπ )t dt
−T / 2
δ(t)dt
Roy Smith: ECE 147b 6 : 3
Sampling
Spectrum of a sampled signal
frequency:
0 ω
−2π/ T −π/ T π/ T 2π/ T
|R(j ω )|
−2ω s frequency:
2 π/T
Sampling impulse train, v(j ω ) (frequency domain)
ω
s ω s 2ω s
Frequency domain convolution
R∗(jω) =
2 π R(jω) ∗ v(jω)
2 π
−∞
2 π T
n=−∞
δ(ν − jnωs)R(jω − ν)dν
n=−∞
−∞
δ(ν − jnωs)R(jω − ν)dν
n=−∞
R(jω − jnωs)
frequency:
0 ω
−3π/ T −2π/ T −π/ T π/ T 2π/ T 3π/ T
|R (*j ω )|
Spectrum of a sampled signal
-3T time: t
Sampling impulse train: v(t) (time-domain)
-2T -T 0 T 2T 3T
1
−2ω s frequency:
2 π/T
Sampling impulse train, v(j ω ) (frequency domain)
ω
s ω s 2ω s
v(t) =
k=−∞
δ(t − kT ) =
n=−∞
ejnωst^
FT ⇐⇒ v(s) = 2 π T
n=−∞
δ(ω − nωs)
Multiplication/convolution duality: r∗(t) = r(t)v(t)
FT ⇐⇒ R∗(jω) = (^21) π R(jω) ∗ v(jω)
frequency:
0 ω
−2π/ T −π/ T π/ T 2π/ T
|R(j ω )| ∗
−2ω s frequency:
2 π/T
Sampling impulse train, v(j ω ) (frequency domain)
ω
s ω s 2ω s
Roy Smith: ECE 147b 6 : 7
Sampling
Aliasing: The effects of an anti-aliasing filter: F (s)
@@ F (s) T
rF (k) rF (t) r(t)
In control systems the phase effects of F (s) are usually much more important (i.e. potentially destabilizing).
Aliasing, what can we do?
We have seen that if R(jω) 6 = 0 for |ω| > π/T then the signal will be aliased.
The frequency components of the original signal cannot be deduced from the sampled signal.
The control system will react (incorrectly) to aliased errors and disturbances.
Options
Roy Smith: ECE 147b 6 : 9
Sampling
How good is a ZOH at reconstruction?
10 -1^10 0 10
10 -
10 -
10 -
10 0
10 1
Frequency [rad/sec]
Magnitude
ZOH( j ω)
ZOH( j ω)
Ideal
Ideal
10 -1^10 0 10
-25 0
-15 0
0
50
Frequency [rad/sec]
Phase (degrees)
How good is a ZOH at reconstruction?
The ZOH is the cheapest and most readily available reconstruction filter. How good is it?
The ZOH frequency response (for the fundamental frequency only) is given by:
ZOH(jω) = 1 − e−jωT jω
= e−jωT /^2
ejωT /^2 − e−jωT /^2 2 j
2 j jω
= T e−jωT /^2
sin(ωT /2) ωT / 2 = T e−jωT /^2 sinc(ωT /2)
So the ZOH looks something like a low pass filter in cascade with a delay of T /2 seconds.
It is not very close to the ideal filter, and it has quite a lot of phase lag.
Roy Smith: ECE 147b 6 : 13