Docsity

Sampling Theory: Impulse Train, Fourier Transform, and Aliasing, Study notes of Electrical and Electronics Engineering

Toggle sidebar
bg1
Sampling
Model of the sampling process
r(t)
time: t
time: t
Sampling impulse train: v(t)
Continuous-time signal:
0T2T 3T 4T 5T 6T 7T
time: t
0
1
T2T 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)
=
∞
X
k=−∞
r(t)δ(t−kT )
Taking the Laplace transform,
L {r∗(t)}=Z∞
−∞
r∗(t)e−stdt
=Z∞
−∞
∞
X
k=−∞
r(t)δ(t−kT )e−stdt
=
∞
X
k=−∞
r(kT )e−skT
=: R∗(s)
Roy Smith: ECE 147b 6: 2
Sampling
What is really happening with sampling?
@
@
d
r(t)r∗(t)
T
Recall that sampling maps strips of the s-plane onto the z-plane.
ImaginaryImaginary
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
pf3
pf4
pf5

Partial preview of the text

Download Sampling Theory: Impulse Train, Fourier Transform, and Aliasing and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

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)

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:

  • ω^0

2 π/T

Sampling impulse train (frequency domain)

ω

s ω s 2ω s

Fourier series representation:

v(t) =

∑^ ∞

k=−∞

δ(t − kT )

T

∑^ ∞

n=−∞

ejn( (^2) Tπ )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:

  • ω 0

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

∫ T / 2

−T / 2

∑^ ∞

k=−∞

δ(t − kT )e−jn( (^2) Tπ )t dt

T

∫ T / 2

−T / 2

δ(t)e−jn( (^2) Tπ )t dt

T

∫ T / 2

−T / 2

δ(t)dt

T

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:

  • ω 0

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ν

T

∑^ ∞

n=−∞

−∞

δ(ν − jnωs)R(jω − ν)dν

T

∑^ ∞

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:

  • ω 0

2 π/T

Sampling impulse train, v(j ω ) (frequency domain)

ω

s ω s 2ω s

v(t) =

∑^ ∞

k=−∞

δ(t − kT ) =

T

∑^ ∞

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:

  • ω 0

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)

frequency:

−π/ T π/ T

| F(j ω )R(j ω )| |R(j ω )|

|F(j ω )|^1

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

  1. Sample faster. T is decreased and ωs is increased.
    • This costs more money, and may also degrade the resolution.
  2. Include a low-pass anti-aliasing filter to remove the frequency components |ω| > π/T.
    • We lose all information about the higher frequency components.
    • In a closed-loop system the extra phase lag due to F (s) degrades (or even destabilizes) the closed-loop operation.
    • Signal reconstruction is not the most critical part of closed-loop operation.

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