Professional Documents
Culture Documents
Tutorial #6
(2). Let x1(t) and x2(t) be periodic signals with fundamental periods T1 and T2,
respectively. Is the sum x ( t ) = x1 (t ) + x2 ( t ) also periodic ⎯ always or conditional?
If not always, what is the condition? What is the fundamental period of x (t), if it is
periodic?
(3). Determine whether or not each of the following signals is periodic. If a signal is
periodic, determine its fundamental periods.
⎛ π⎞
(a ). x(t ) = cos ⎜ t + ⎟ ( d ). x(t ) = cos t + sin 2 t
⎝ 4⎠
2π t
(b). x(t ) = sin (e). x(t ) = sin 2 t
3
⎡⎛ π t ⎞ ⎤
πt πt j ⎢⎜ ⎟ − 1⎥
(c). x(t ) = cos + sin ( f ). x(t ) = e ⎣⎝ 2 ⎠ ⎦
3 4
Partial Answers:
1. (a). A = 5, ω0 = ω , and θ = 0;
(b). A = 13, ω0 = ω , and θ = − tan −1 ( 3 / 2 ) = −56.3o
2. Only if T1 / T2 = a rational number;
3. (a). T0 = 2π; (c). T0 = 24; (f). T0 = 4.
EE2010 Signals and Systems
(Tutorial #7)
Let x (t ) 1 sin 0 t 2 cos 0 t cos 20 t
4
(a). What is the dc component of x (t )?
(b). What is the ac component of x (t )?
(c). What is the fundamental angular frequency of
the 2nd harmonics and its contribution in x (t )?
(d). What is the fundamental angular frequency of
the 3rd harmonics and its contribution in x (t )?
(e). What is the fundamental angular frequency of x (t )?
(f). Compute the Fourier series coefficients of the signal x (t ),
using the complex exponential form.
(g). Plot the amplitude spectrum and the phase spectrum of x (t ).
-------------------------------------------------------------------------------
Partial Answers: (f)
1 j 26.570
c0 1 ; c1 1 1.12 e 1.12 26.570 ;
2j
1 1 j 1 j
c1 1 ; c2 e 4 ; c2 e 4 ; ...
2j 2 2
EE2010 Signals and Systems
Tutorial #8
2. Determine the Fourier series of the sawtooth waveform using the trigonometric
form, and plot its line spectra. Further plot the truncated (approximated) Fourier
series representation of g(t) using only the dc term and the first 4 ac harmonics
terms.
3. Determine the Fourier series of the rectangular pulse train f (t) using the complex
exponential form.
Plot the amplitude spectrum and the phase specturm of the following cases, respectively:
(a). A 1, T0 1, 0.5
(b). A 1, T0 1, 0.25
Partial Answers:
1
2. an 0; bn
n
1
3(b).
T0 4
EE2010 Signals and Systems
(Tutorial #9)
1. (a). Based on the Fourier series (FS) coefficients cn of the complex exponential
FS form, show that the FS coefficients a0 , an , and bn of the trigonometric
FS form can be obtained as follows.
dc component: a0 c0
ac components: an cn c n
bn = j cn c n
(b). Reversely, based on the a0 , an , and bn , the cn can be obtained as follows.
dc component: c0 a0
an jbn
ac components: cn
2
2. (a). Find the Fourier series of the periodic triangle waveform x(t).
x(t)
… …
(b). Let y(t) = dx(t)/dt. Plot y(t) and find its Fourier series representation.
Mathematically show that the same FS result of y(t) can be obtained
by proper shifting and scaling of f (t) as studied in the Tutorial #8-
Q3.
f (t)
1
... ...
t
-5 -4 -3 -2 -1 0 1 2 3 4 5
Partial Answers :
1. Hint : Break the synthesis equation x (t ) c
n
n e j n 0 t into multiple terms
(Tutorial #10)
1. Find the Fourier transform of the following signals.
⎧exp ( − a t ) , t > 0;
⎪
(a). x(t ) = ⎨ 0, t = 0;
⎪ − exp ( a t ) , t < 0.
⎩
(b). the signum function, sgn ( t ) ;
3. Find the equivalent frequency response in terms of H1(ω), H2(ω), and H3(ω).
H1(ω)
(Tutorial #11)
Partial Answers :
1. (a). F x nTs 3000 ( 500 1200 n) ( 500 1200 n)
n
213 4
2. (b). x[n] 10 cos n 60 2.5sin n 20 ; (c). x (t ) x(t ) (Why?)
500 5
f
3. f d a must be a rational number!
fs
EE2010/IM2004 Signals and Systems
Semester 2
Prof. Ma Kai-Kuang
Office: S2-B2C-83
Tel: 6790 6366
Email: ekkma@ntu.edu.sg
Topics to be covered in my lectures:
Sinusoids
Fourier Series
Fourier Transform
Sampling
Sinusoids
e j e j
cos
2
e j e j
sin
j2
4
2
7 5 1 1 567t 7 5 1 1 5 7 t
T0 T0
Notes:
T0 (seconds/cycle)
x(t T ) x(t ) Periodic Signals
T0 = 1/f0
A
A sinusoid is characterized by three parameters:
• Magnitude
• Frequency 2 f
• Phase
I
Instantaneous value
l at time
i t Ti
Time
vt A sin t A sin 2 f t
(no unit)
Magnitude Angular frequency Phase (angle)
( ) = A sin(( t + )
v(t)
radians cycles
radians
di = seconds
d
cycle second
v(t)
A
A
A
PS: f = 1/ T0
1 kHz 1 killosecond
1 MHz 1 microsecond
1 GHz 1 nano second
v(t)
Solution: A
1 Hz
H
t
A
1 second
v(t)
A
3 Hz
t
A
1 secondd
v(t)
A
1 KHz
t
A
1 millisecond = 10-3 seconds
Effect of phase angle of a sinusoid A sin( t + )
Advanced
t
(“shift left”)
Same waveform but -
different arrival time.
(i.e., = 0)
t Zero phase
p
(“No shift”
“No delay”)
t Delayed
(“shift right”)
2
T
Thus, the phase angle determines the origin of the time reference.
Given sin( t + ), if
=0 t
= /2
t
When = π/2,
π/2 the sine wave becomes a cosine wave.
wave
cos( t)
t
cos( t + π/2)
t
Solution:
i(t) = B cos( t + )
B = 20
0
= 2 π f = 2 π × 50 = 100 π
For the function cos(x), the positive maximum is reached when x = 0.
Thus, for the sinusoidal current i(t) = B cos( t + ), the positive
maximum is reached when t + = 0. 0
= t = 100 π × 0.002 = 0.2 π
i(t) = 20 cos(100π t 0.2π )A = 20 cos(100π t 0.2π + 2π )A
= 20 cos(100π t + 1.8π )A (A: Ampere)
In the above solution, we assume the current equation in the cosine
form as:
i(t) = B cos ( t + )
Alternati el wee could
Alternatively, co ld assume
ass me the sine form,
form instead,
instead as:
i(t) = B sin ( t + )
Thus,, 20cos(100π
( t + 1.8π ) = 20sin(100π
( t + 1.8π + π/2))
= 20sin(100π t + 2.3π)
= 20sin(100π t + 2.3π 2 π)
= 20sin(100π t + 0.3π)
#
A sine wave A cos ( t ) can be written as a sum of a cosine wave
P cos t plus a sine wave Q sin t all under the same frequency,
frequency ,
without a phase term, .
From the identity cos( ) cos cos sin sin , the given cosine
wave can be expressed as:
A cos ( t ) A cos t cos A sin t sin
= A cos cos t A sin sin t P cos t Q sin t
P Q
hence, A P2 Q 2
Given two sinusoidal terms with the same frequency (or f )
without phase,
phase we can combine them into one sinusoidal term with
phase!
A sinusoidal
i id l signal i ( t)) is
i l sin( i added
dd d to
t another
th sinusoidal
i id l signal
i l
cos( t). Find the resultant signal.
Solution:
W have
We h shown
h that i ( t + ) = P sin(
th t A sin( i ( t) + Q cos(( t)
where = tan1(Q/P) and A2 = P2 + Q2
From the question, P = 1 and Q = 1.
A2 = 12 + 12 = 2 A = 2
and = tan1(1/1) = tan1(1) = π/4.
Thus, the resultant signal is 2 sin( t + π/4).
A sine wave A sin ( t ) can be written as a sum of a sine wave
P sin t plus a cosine wave Q cos t all under the same frequency,
frequency ,
without a phase term, .
From the identity sin( ) sin cos cos sin , the given sine
wave can be expressed as:
Asin( t ) A sin t cos A cos t sin
= A cos sin t A sin cos t P sin t Q cos t
P Q
hence, A P 2 Q 2
Two categories of sinusoidal:
[Real
R l Sinusoid]:
Si ( ) = A cos(( t + ) or
id] x(t) x(t) i ( t + )
( ) = A sin(
[Complex Sinusoid]: x(t) = A e j ( t + )
By Euler's identities
identities, we have
e j e j
e j t e j t cos
A cos t A 2
2 e j e j
sin
e j t e j t 2j
i t A
A sin
2j [Euler’s identities]
Complex Numbers
• A complex number z can be written in rectangular form as
z=x+jy (where j = 1 )
x = Re(z) is the real part of z;
y = Im(z) is the imaginary part of z.
• Three equivalent
q forms of the complex
p number z:
[Rectangular form]: z = x + j y = rcos + j rsin
[[Polar form]:
] z = r
[Exponential form]: z = re j
Polar Form Conversion
• Given two points with different coordinates (8, 6) and (−8, − 6):
8 8 1 8 1 8
Although , but tan tan
6 6 6 6
• Similarly, for another two points, (−8, 6) and (8, − 6):
8 8 1 8 1 8
Although , but tan tan
6 6 6 6
• See the attached handout for all details.
EE2010 Signals and Systems (by Prof. Ma Kai-Kuang)
Example:
Express the following complex numbers in the polar form and the exponential form.
Solution :
(a) Identify which quadrant of z1 lies in: It is in the 1st quadrant.
Hence, z1 = r1 = 62 + 82 = 10
⎛8⎞
θ1 = tan −1 ⎜ ⎟ = 53.13D (= 0.295π )
⎝ ⎠6
D
The polar form is 10∠53.13D , and the exponential form is 10 e j 53.13 .
Hence, z2 = r2 = 62 + ( −8 ) = 10
2
⎛8⎞
θ 2 = 360D - tan −1 ⎜ ⎟ = 306.87D
⎝ ⎠6
D
The polar form is 10∠306.87D , and the exponential form is 10 e j 306.87 .
Note :
The angle may also be taken as -53.13D (= 360D − 306.87D ). Thus, another
equivalent polar form becomes 10∠ ( −53.13D ) and the equivalent
D
exponential form becomes 10 e − j 53.13 .
Semester 2, 2009
EE2010 Signals and Systems (by Prof. Ma Kai-Kuang)
Hence, z3 = r3 = ( −6 ) + 82 = 10
2
⎛8⎞
θ 2 = 180D - tan −1 ⎜ ⎟ = 126.87D
⎝ ⎠
6
D
The polar form is 10∠126.87D , and the exponential form is 10 e j126.87 .
Hence, z4 = r4 = ( −6 ) + ( −8 ) = 10
2 2
⎛8⎞
θ 2 = 180D + tan −1 ⎜ ⎟ = 233.13D
⎝ ⎠
6
D
The polar form is 10∠233.13D , and the exponential form is 10 e j 233.13 .
Remarks:
You can do the opposite: Converting from the poloar form or the exponential
form back to the rectangular form. For example, using (d)'s results for
demonstration:
D
10∠233.13D = 10 e j 233.13 = 10cos(233.13D ) + j10sin(233.13D ) = −6 − j8
You can do the same for the other parts (a), (b), and (c) to see whether you
can get back to their original rectangular form, respectively.
Semester 2, 2009
EE2010 Signals and Systems (by Prof. Ma Kai-Kuang)
Complex-number Operations
• Addition: z1 + z2 = ( x1 + x2 ) + j ( y1 + y2 )
• Subtraction: z1 − z2 = ( x1 − x2 ) + j ( y1 − y2 )
z1 r1
• Division: = ∠ (φ1 − φ2 )
z2 r2
1 1
• Reciprocal (or inverse) of z: z −1 = = ∠ ( −φ )
z r
⎛φ ⎞
• Square Root of z: z = r ∠⎜ ⎟
⎝2⎠
• Complex Conjugate of z ( = re jφ ) : z ∗ = x − jy = r ∠ ( −φ ) = re − jφ
Semester 2, 2009
Fourier Series
1
Fourier analysis is about a way to represent or analyze a given
signal (be it periodic or non-periodic) to reveal its frequency
content.
It has two cases:
Fourier Series (FS) ⎯ The Fourier series of a periodic signal
x(t) is a representation that decomposes x(t) into a dc term and
an ac term, which comprises an infinite number of harmonic
sinusoids. All these terms are linearly combined.
Fourier Transform (FT) ⎯ representing an arbitrary (non-
periodic or periodic) signal. [In fact, it is a limiting case of the
FS, which is to be discussed later on].
2
Topics to be covered (for the Fourier Series) …
1. Intuition of Fourier analysis⎯Why Fourier?
2. What are the bases to construct of the Fouries series
3. Three mathematically equivalent Fourier series forms
4. How do we calculate the Fourier series coefficients?
5. Some important properties for facilitating CTFS computation
6. Symmetry considerations for facilitating CTFS computation
7. Parseval’s Theorem ⎯ a signal energy preserving property
Î Can we find a way to ‘decompose’ this periodic signal and see its
constituent components?
Î Why do we need to do so? 4
*
x3(t) = x1(t) + x2(t); where x1(t) = cos (2π t) and x2(t) = cos (4π t)
5
An Intuition of Spectrum Representation via Fourier Analysis
For example,
Analysis 1 2
x (t) x (t ) = 1 + cos ω0 t + cos 2ω0 t + cos 3ω0 t
2 3
Synthesis
White Generalizing ... (thus, Fourier Series)
light ∞ ∞
x (t ) = ∑ an cos ( n ω0 t ) + ∑ bn sin ( n ω0 t )
n =0 n =0
= a0 + a1 cos(ω0 t ) + a2 cos(2ω0 t ) +
+ b1 sin(ω0 t ) + b2 sin(2ω0 t ) +
prism
6
1 2
Example: x (t ) = 1 + cos ω0 t + cos 2ω0 t + cos 3ω0 t
2 3
(a). What are the frequency components contained in x(t)?
(b). How much contribution from each component?
7
Harmonically Related Sinusoids
The (real) sinusoidal signal set:
{ 1, cos ω t, cos 2ω t,
0 0 cos 3ω 0 t , ..., sin ω 0 t , sin 2ω 0 t , sin 3ω 0 t , ... }
which can be expressed more compactly as { cos( n ω 0 t ), sin( n ω 0 t ) },
for n ∈ integer (where n ≥ 0) are called harmonically related sinusoidals.
For the complex exponential sinusoidal signal set:
{ …, e
− j 3ω 0 t
,e
− j 2ω 0 t
,e
− j 1ω 0 t
,e
j 0ω 0 t
( = 1), e
j 1ω 0 t
,e
j 2ω 0 t
,e
j 3ω 0 t
,… }
In particular,
φ0(t): a dc signal (i.e., constant)
φ1(t) and φ-1(t): the first harmonics (i.e., the sinusoids with the
fundamental frequencies ω0 and - ω0, respectively.)
φ2(t) and φ-2(t): the 2nd harmonics.
…
φn(t) and φ-n(t): the n-th harmonics.
8
Example: A periodic square wave
x(t)
1
t
-1 0 1
• The dc captures the “big picture” (or average) of the signal x(t):
1
0.5
xdc (t ) = 0.5
t
0
• The ac harmonic terms fine tunes the details of the signal x(t):
1
2
t xac-1 (t ) = sin (ω0 t )
0 π
-1
(Continue) 9
x N (t ) : there are N terms are added together.
2
x (t ) ≈ x2 (t ) = xdc (t ) + xac-1 (t ) = 0.5 + sin (ω0 t )
π
t
10
• Recall that when we said sinusoid (or sinusoidal), it means either sine or
cosine signal or waveform.
⎛e j (ω t +θ )
+e
− j ( ω t +θ ) ⎞ e jφ + e − jφ
A cos (ω t + θ ) = A ⎜ ⎟ cos φ =
⎝ 2 ⎠ 2
⎛e j (ω t +θ ) − j ( ω t +θ ) ⎞ e jφ − e − jφ
A sin (ω t + θ ) = A ⎜
−e sin φ =
⎟ 2j
⎝ 2j ⎠
11
Three Mathematically Equivalent Fourier Series Forms
+∞
∑c
j nω 0 t
x(t ) = ne [Synthesis Equation]
n =−∞
• Complex Exponental Form:
1 − j nω 0 t
cn =
T0 ∫ T0
x(t ) e dt [Analysis Equation]
∞
a0 + ∑ { an cos(n ω 0 t ) + bn sin(n ω 0 t ) }
x(t ) = [Syn. Eq.]
n =1
1
a0 =
T0 ∫
T0
x(t ) dt [Analysis Equations]
• Trigonometric Form:
2
an =
T0 ∫
T0
x(t ) cos(n ω 0 t ) dt
2
bn =
T0 ∫
T0
x(t ) sin(n ω 0 t ) dt
∞
a0 + ∑ An cos(n ω 0 t + θ n )
x(t ) = [Synthesis Equation]
n =1
• Amplitude-Phase Form:
b
an 2 + bn 2 ; θ n =
An = − tan −1 n [Analysis Equations]
an
2π
where a0 , an , bn , cn , and An are Fourier (series) coefficients; ω 0 = .
T0
In summary, An ∠θ n = an − j bn = 2 cn =2 cn ∠θ n
12
Example: Find the FS coefficients of x1 (t ) = cosω0 t and x2 (t ) = sinω0 t.
By Euler's identities, we have
e jφ + e − jφ
e jω 0 t + e − jω 0 t cos φ =
x 1 (t ) = cosω 0 t = 2
2
e jφ − e − jφ
⎛1⎞
= ⎜ ⎟ ⋅e
j (ω 0 ) t ⎛1⎞
+ ⎜ ⎟ ⋅e
j (−ω 0 ) t sin φ =
j2
⎝2⎠ ⎝2⎠
FS coefficient FS coefficient [Euler’s identities]
Note : The (real) cosine signal, in fact, has two components, one is at
the postive frequency ω0 and the other at the negative frequency -ω0
with contribution 1/2 (in magnitute) from each.
13
Likewise, for the sine signal, we have
e jφ + e − jφ
e
jω0 t
−e
− jω0 t
cos φ =
x2 (t ) = sinω 0 t = 2
j2
e jφ − e − jφ
⎛ 1 ⎞ j (ω 0 ) t ⎛ −1 ⎞ j ( −ω 0 ) t sin φ =
= ⎜ ⎟ ⋅e + ⎜ ⎟ ⋅e j2
⎝ j2 ⎠ ⎝ j2 ⎠
FS coefficient FS coefficient [Euler’s identities]
Note : The (real) sine signal also has two components, one is at
the postive frequency ω 0 and the other is at the negative frequency -ω 0 .
But, its FS coefficients are different, compared with that of the cosine case.
14
Example: Find the FS representation of x3 (t ) = A cos (ω 0 t + θ ) and
x4 (t ) = A sin (ω 0 t + θ ) .
e jφ + e − jφ
By Euler's identities, we have cos φ =
⎛ e j (ω 0 t + θ ) + e − j (ω 0 t + θ ) ⎞ 2
x3 (t ) = A cos (ω 0 t + θ ) = A ⎜ ⎟ e jφ − e − jφ
⎜ 2 ⎟ sin φ =
⎝ ⎠
j2
A A
= e jθ ⋅ e j ω 0 t + e− jθ ⋅ e − j ω 0 t [Euler’s identities]
2 2
⎛A ⎞ j (ω ) t ⎛ A ⎞ j ( −ω 0 ) t
= ⎜ e jθ ⎟ ⋅ e 0 + ⎜ e− jθ ⎟ ⋅ e
⎝2 ⎠ ⎝2 ⎠
FS coefficient FS coefficient
16
Orthgonality
• Simply put, “orthogonal” = “perpendicular” (i.e., 90o)
• To convince us about the FS representation, we need to recap a
concept which we are already quite familiar with ⎯ the rectangular
coordinate, as follows:
z
y
• (4, 3) • ( 4, 3, 6)
Î …
x y
x
2-D 3-D Î n-D
v1 • v2 = v1 v2 cos θ b ⎧ 0, m ≠ k
∫a φ m (t ) φ (t ) dt = ⎨⎩α , m = k
*
k
v1
θ
v2
where φm and φk are taken from
Î Represent how similar of
v1 with respect to v2.
{e ± j nω0 t
}
,n ∈ I .
(1) ⋅ ( cos m ω 0t ) dt = ∫
T0 T0
∫ 0 0
cos m ω 0 t dt = 0
∫ (1) ⋅ (sin m ω t ) dt = ∫
T0 T0
0 sin m ω 0 t dt = 0
0 0
∫ (sin m ω t ) ⋅ ( cos k ω t ) dt = 0
T0
0 0
0
⎧ 0, m≠k
⎪
(sin m ω 0t ) ⋅ (sin k ω 0t ) dt = ⎨ T0 sin m ω t 2 dt = T 0 ,
T0
∫
⎪⎩ ∫ 0 ( 0 ) m=k
0
2
⎧ 0, m≠k
⎪
( cos m ω 0t ) ⋅ ( cos k ω 0t ) dt = ⎨ T0 cos m ω t 2 dt = T 0 ,
T0
∫
⎪⎩ ∫ 0 ( 0 ) m=k
0
2 20
How to determine the Fourier coefficients cn ?
− jkω0t
Multiply both sides of the synthesis equation by e and take integration
over one period of x (t ),
+∞
∫T0 x ( t ) e dt =
⎛
∫ T0 ⎜⎝ n∑
−j k ω0 t
cn e
j n ω0t ⎞
⎟ ⋅ e
+∞
−j k ω0 t
dt
x (t ) = ∑ n
n =−∞
c e j n ω0 t
=−∞ ⎠
[Synthesis Equation]
Reverse the order of integration and summation,
+∞
⎛ e j ( n −k ) ω 0 t dt ⎞
∑ n ⎜⎝ ∫ T0
−j k ω0 t
∫ T0
x (t ) e dt =
n =−∞
c ⋅ ⎟
⎠
Note that if n ≠ k , then n − k is just an integer (say, equal to m ), and thus,
j mω0 t
∫ T0
e dt = ∫ cos( m ω 0 t ) dt + j ∫ sin( m ω 0 t ) dt = 0 + j 0 = 0.
T0 T0
In summary:
On the other hand, if n = k , then ⎧ 0, n ≠ k
∫
j ( n −k ) ω 0 t
j (0) ω 0 t e dt = ⎨
∫ T0
e dt = ∫ dt = T 0
T0
T0
⎩T 0 , n = k
+∞
= T 0 δ (n − k )
∑ c ⋅∫
j ( n −k ) ω 0 t
n e dt = ...0 + 0 + ck T0 + 0 + 0 + ... = ck T 0 = cn T 0
T0
n =−∞
⇒ 1
cn =
T0 ∫ T0
x (t ) e − j n ω 0 t dt [Analysis Equation]
21
2π
1. ω 0 = . Identifying the fundamental period T0 of x (t ) is the first crucial step!
T0
1
2. For n = 0, c 0 =
T0 ∫ T0
x (t ) dt.
This implies that the value of the dc coefficient is simply the average value
of the signal x (t ) over one period T0 .
3. All {cn } together establishes the signal's spectrum, a "profile" of signal content
revealed via the frequency domain.
• At n = 0, it reveals what is the dc value of the signal x (t ).
• At n = ± 1 positions, it shows how much contributions from the 1st harmonics.
... ...
23
Solution:
(a). T 0 = 2 ⇒ ω 0 = 2π /2 = π
1 T0 1⎡ 1 2
⎤ = 1;
DC: c 0 =
T0 ∫ 0
f (t ) dt =
2 ⎢⎣ ∫ 0
1 dt + ∫ 1 ⎥⎦ 2
0 dt
⎧ −1
⎛ 1 ⎞⎛ 1
⎞ ⎡ − j nπ t 1 ⎤ ⎪ j , n = odd;
⎥ − j 2nπ ( ) ⎨ nπ
1 1 1
∫
− j nπ t − j nπ
AC: c n = 1⋅ e dt = ⎜ ⎟ ⎜
⎟ ⎣⎢ e = e − 1 =
0⎦
2 0
⎝ 2 ⎠ ⎝ − j nπ
⎠ ⎪⎩ 0, n = even.
Note that e − j n π = 1, for n = even. For n = odd, e − j n π = −1.
cn cn
1
1 2 1
1 π π + 90o
1
… 3π 3π … … 0 1 2 3 4
n n
-4 -3 -2 -1 0 1 2 3 4 -4 -3 -2 -1 …
- 90o 24
(b).
2π 1
T 0 = 2, ω0 = = π , and a0 = (via inspection of rectangular area) or
T0 2
1
f (t ) dt = ⎡ ∫ 1 dt + ∫ 0 dt ⎤ = t
1 1 1 2 1 1
DC: a0 =
T0 ∫ T0 2 ⎢⎣ 0 1 ⎥⎦ 2 0
=
2
−1 −1
1
= cos n π t = ( cos n π − 1)
nπ 0 nπ
⎧ 2
1 ⎪ , n = odd
Since cos n π = ( −1) n , bn = (1 − cos n π ) ⎨ nπ
=
nπ ⎪⎩ 0, n = even
∞
1 2 1 1 2 ∞ 1
f (t ) = +
2 π
∑
n =1 n
sin( n π t ) or f (t ) = + ∑
2 π n = 1 ( 2n − 1)
sin ⎡⎣( 2n − 1) π t ⎤⎦
n odd
25
(c). ⎧ 2
⎪ , n = odd (i) Amplitude spectrum
An = an + bn
2 2
= ⎨ nπ
⎪ 0, n = even
⎩
⎛ bn ⎞ −1 ⎛ bn ⎞
θ n = − tan −1 ⎜ ⎟ = − tan ⎜0⎟
⎝ an ⎠ ⎝ ⎠
⎧ −90°, n = odd
=⎨
⎩ 0, n = even
n
1 2 ∞
1 0 1 2 3 4 5 6 7
f (t ) = +
2 π
∑n =1 n
cos( n π t − 90o ) θn
n odd
∞
1 2 1
= +
2 π
∑
n =1 n
sin(n π t )
n odd
PS: You can plot either one-sided spectra like these or extend them to two-sided spectra.
26
27
N = 11
(for one period plot only)
Remarks:
• We observe how superposition of the terms (from N =1 to N = 6,
and to N=11) can evolve into the original square wave. The more
terms you add, the better approximation towards the square wave.
• We notice that the partial sum oscillates above and below the actual
value of f (t). At the discontinuity (t = 0, 1, 2, …), overshoot (about
9% of the peak value) and damped oscillation present. This is called
the Gibbs’ phenomenon, incurred at the points of discontinuity
(i.e., with amplitude jump).
28
Example:
Based on the CTFS results of the signal f (t) obtained in the
previous example, find the Fourier series of the following square
wave g (t) and plot its amplitude and phase spectra.
g(t)
PS: Re-plot f (t) from the previous example here for comparison
29
Solution:
Through their graphs, it is easy to observe that the relationship between the signal
g (t) and the signal f (t) is: g (t) = [ f (t) – ½ ] × 2. Therefore, you can simply
manipulate the CTFS result of f (t) obtained via two simple steps:
Step 1):
1 2 ∞ 1
Since f (t ) = + ∑ sin ⎡⎣( 2n − 1) π t ⎤⎦
2 π n =1 ( 2n − 1)
1 ⎧1 2 ∞ 1 ⎫ 1
f (t ) − = ⎨ + ∑ sin ⎡⎣( 2n − 1) π t ⎤⎦ ⎬ −
2 ⎩ 2 π n =1 ( 2n − 1) ⎭ 2
2 ∞ 1
= ∑ sin ⎡( 2n − 1) π t ⎤⎦
π n =1 ( 2n − 1) ⎣
Step 2):
⎧ 1⎫ ⎧2 ∞ 1 ⎫
g (t ) = 2 × ⎨ f (t ) − ⎬ = 2 × ⎨ ∑ sin ⎡⎣( 2n − 1) π t ⎤⎦ ⎬
⎩ 2⎭ ⎩ π n =1 ( 2n − 1) ⎭
∞
4 1
=
π
∑
n =1 ( 2n − 1)
sin ⎡⎣( 2n − 1) π t ⎤⎦
30
Remarks:
• An addition of a constant amount (say, a fixed voltage) onto a
signal only results in the same amount being added to the dc term,
as expected. (PS: “addition” could be a negative amount.)
• An amplitude scaling by a constant factor onto a signal will affect
the amplitude of all the dc and ac terms in the same way. However,
the phase part is unchanged!
• Since g (t) = [ f (t) – ½ ] × 2 = 2 f (t) -1, you can do “× 2” first and
then by adding “-1”.
31
Duty Cycle
f (t)
... ...
T τ τ T0
t
-T0 − 0 − 0 T0
2 2 2 2
The pulse train has a pulse width τ , over one fundamental period T0 .
In electronics, their ratio is defined as the duty cycle (often in %); i.e.,
τ ⎛ 100 × τ ⎞
duty cycle = ⎜ or %⎟
T0 ⎝ T0 ⎠
For example,
τ 1 τ 1
(a). = = 50%; and (b). = = 25%.
T0 2 T0 4
32
Sinc (or Sampling) Function, Sa(x)
The form of sinc function (or the sampling function, denoted as Sa(x), is defined
and graphed below. Note that there are two versions of sinc function with a
different scaling by a factor of π on the x-axis. This is a very important function
that you will encounter in the various subjects.
sin x sin π x
sinc x = for x ∈ (real number) sinc x = for x ∈ (real number)
x πx
33
The following functions are often encountered in the computation of the
Fourier analysis. Thus, you should mathematically verify each entry of
the table ⎯ Don’t simply memorize them without developing your quick
derivation ability!
Fourier Series
(Part II)
Properties
Summary: Properties of Continuous-Time Fourier Series
• Symmetry (even, odd, half-wave)
• Conjugation (Conjugate Symmetry)
• Parseval’s theorem (relation, identity)
• Linearity (superposition)
• Time shifting
• Time scaling
• Time reversal
• Differentiation
• Integration
• Multiplication
• Periodic convolution
Symmetry Considerations on Computing CTFS
Don’t always simply plug in a set of FS equations for calculating
the FS coefficients. You might be able to exploit some useful,
applicable properties (if present) to avoid tedious calculation works.
Even symmetry
Odd symmetry
Half-wave symmetry
37
Symmetry is based on the even and odd properties.
• A signal x (t ) is said to be even, if x ( −t ) = x (t ).
• A signal x (t ) is said to be odd , if x ( −t ) = − x (t ).
There are two important properties:
T /2 T /2
∫− T /2
xe (t ) dt = 2 ∫
0
xe (t ) dt
T /2
∫− T /2
xo (t ) dt = 0
4 T /2
bn = ∫ f (t )sin( n ω0 t ) dt
T 0
Note: an = 0, for all n.
− f(t +T/2)
41
• More examples of half-wave symmetry:
42
Half-Wave (Odd) Symmetry: f ⎛⎜ t −
T⎞ ⎛ T⎞
⎟ = − f ( t ) or f ⎜ t + ⎟ = − f (t )
⎝ 2⎠ ⎝ 2⎠
a0 = 0
4 T /2
an = ∫ f (t ) cos( n ω0 t ) dt , for n odd
T 0
4 T /2
bn = ∫ f (t )sin( n ω0 t ) dt , for n odd
T 0
an = bn = 0, for n even
43
Examples:
(a). Re-visit an example studied earlier, you will notice that due to its
odd symmetry. Thus, it only has sine terms; i.e., all an = 0, for all n.
g(t)
(b). Now, you should realize that even its scaled version also contains
only sine terms, too, except a0 ≠ 0 (for taking care of dc part), while
the rest an = 0.
f(t)
In Summary: (of Symmetry Properties)
• Conjugation
The complex conjugate of the signal x (t ), which is denoted as x* (t ),
has the FS coefficients
⎡ +∞
j n ω0 t ⎤
x (t ) ↔ ⎢i.e., x (t ) = ∑ c− n e
* * * *
c −n ⎥
⎣ n = −∞ ⎦
+∞
∑c
j n ω0 t
Proof): Since x (t ) = n e , take complex conjugate on both sides
n = −∞
*
⎛ +∞ ⎞ +∞
x * (t ) = ⎜ ∑ cn e ∑
ω * − j n ω0 t
=
j n t
⎟
0
cn e
⎝ n = −∞ ⎠ n = −∞
+∞
∑
j mω 0 t
Let n = − m, we have x * (t ) = c−* m e Q.E.D.
m = −∞
Note that for the real -valued signal, i.e., x * (t ) = x (t ), this leads to
c−* n = cn ( or, c −n = cn* ) ⇒ called "Congjugate Symmetric"
+∞
Parseval’s Theorem: P = 1
∫ dt = ∑
2 2
ave x (t ) cn
T0 T0
n = −∞
1 ⎡ +∞ j n ω0 t ⎤
+∞ ⎡1 ⎤
∫ T0 x(t ) ⋅ ⎢⎣ n∑ ⎥ dt = ∑ cn ⋅ ⎢
j n ω0 t
=
T0 = −∞
cn e
⎦ n = −∞ ⎢⎣ T 0
∫ T0
x (t ) e dt ⎥
⎥⎦
= c− n
+∞ +∞ +∞
= ∑c ⋅ c− n = ∑c ⋅c = ∑
* 2
n n n cn Q.E.D.
n = −∞ n = −∞ n = −∞
Note:
•
2
cn denotes the average power in the n-th harmonic component of x (t ).
2
The plot of cn (versus n ) is called the power spectrum.
• The total average power is preserved in the time domain and
in the frequency domain.
Example: For the cosine signal, we have
⎛ e j ω 0 t + e − j ω 0 t ⎞ A j (1 i ω 0 ) t A j ( −1 i ω 0 ) t
A cos ω0 t = A ⎜ ⎟ = ⋅e + ⋅e
⎝ 2 ⎠ 2 2
= c1 = c−1
A
⇒ c1 = c−1 = , cn = 0, for all n ≠ ±1.
2
2
2 cn
A
= c−1 =
2 2
The power spectrum is given by c1
4 A2
4
= 0, for all n ≠ ±1.
2
and cn
A2 A2 A2 n
The total average power = + = . -4 -3 -2 -1 0 1 2 3 4
4 4 2 Even function!
Alternatively, from the time domain, we can compute the signal energy
of the cosine signal,
1 2 1 A2
∫ x (t ) dt = ∫ A cos ω0 t dt = ∫ cos 2 ω 0 t dt
2
T0 T0 T0 T0 T0 T0
A2 1 + cos 2 ω 0 t A2 A2
=
T0 ∫ T0 2
dt =
2T 0 ∫ T0 1 dt + 2T 0 ∫ T0
cos 2ω 0 t dt
= T0 =0
A2 A2
= ⋅ T0 =
2T 0 2
PS: Likewise, you can do the same for the sine signal in its time domain.
Example: Plot the power spectrum of the sine signal A sinω 0 t.
⎛ e jω 0 t − e − jω 0 t ⎞ A j (1 i ω 0 ) t A j ( −1 i ω 0 ) t
A sinω 0 t = A ⎜ ⎟= ⋅e − ⋅e
⎝ j2 ⎠ j2 j2
= c1 = c−1
A A
⇒ c1 = − j , c−1 = j , cn = 0, for all n ≠ ±1.
2 2
A2
= c−1 =
2 2 2
The power spectrum is given by c1 cn
4
A2
= 0, for all n ≠ ±1.
2
and cn 4
A2 A2 A2
The total average power = + = . n
4 4 2 -4 -3 -2 -1 0 1 2 3 4
2
cn
Example: Plot the power spectrum of our 1.25 1.25
⎛ π⎞
x (t ) = 1 + sin ω 0 t + 2 cos ω 0 t + cos ⎜ 2ω 0 t + ⎟ 0.25 0.25
⎝ 4⎠ n
-4 -3 -2 -1 0 1 2 3 4
In Summary: (Parseval’s identities under the three forms)
+∞ +∞
Pave = P1Ω = ∑ = c0 + 2 ∑ cn
2 2 2
cn
n = −∞ n=1
Note that An ∠θ n = an − j bn = 2 cn = 2 cn ∠θ n
where
an2 + bn2
⎛ −1 bn ⎞
cn = cn ∠θ n = ∠ ⎜ − tan ⎟
2 ⎝ a n ⎠
a − j bn an2 + bn2 +∞
= a02 + ∑ ( an2 + bn2 )
1
cn = n ⇒ ⇒
2
cn = Pave
2 4 2 n =1
• Linearity
Let x (t ) and y (t ) denote two periodic signals with period T
and with FS coefficients cn and d n , resepectively. That is,
x (t ) ↔ cn and y (t ) ↔ d n
If the signal z (t ) is a linear combination of x (t ) and y (t ),
z (t ) = A x (t ) + B y (t )
then the FS coefficients en of z (t ) can be found as
⎡ +∞ ⎤
⎢i.e., z (t ) = j n ω0 t ⎥
z (t ) ↔ en = A cn + B d n
⎢ ∑
n = −∞
( Acn + B d n ) e
⎥
⎢⎣ = en ⎥⎦
Proof):
+∞ +∞
∑ ∑
j n ω0 t j n ω0 t
z (t ) = A x (t ) + B y (t ) = A cn e +B dn e
n = −∞ n = −∞
+∞ +∞ +∞
∑ ∑ ∑ ( Acn + B d n ) e
j n ω0 t j n ω0 t j n ω0 t
= Acn e + B dn e =
n = −∞ n = −∞ n = −∞
= en
• Time Shifting
If the signal x (t ) has a time shift by an amount of τ , then
⎡ j nω 0t ⎤
( )
+∞
⎢i.e., x (t − τ ) = ∑ e
− j n ω0 τ − jnω 0τ
x (t − τ ) ↔ e cn cn e ⎥
⎣ n =−∞ ⎦
⇒ Recall that time shift introduces delay, but without altering the
shape of the signal waveform.Thus, the magnitude cn remains
the same, but the phase ∠cn is delayed by − n ω 0τ .
Proof):
Let y (t ) = x (t − τ ) and u = t − τ ; hence, t = u + τ and dt = du.
The FS coefficients of y (t ) is
1 1
∫ ∫
− j n ω0 t
dn = y (t ) e dt = x (t − τ ) e − j n ω 0 t dt
T0 T0 T0 T0
1 − j n ω 0 ( u +τ ) − j nω0τ ⎡1 − j nω 0 u ⎤
=
T0 ∫ T0
x (u ) e du = e ⎢
⎢⎣ T0
∫ T0
x (u ) e du ⎥
⎥⎦
= cn
• Time Scaling
If the signal x (t ) is scaled in time by a factor of a , then
⎡ +∞
j n ( a ω 0) t ⎤
x ( a t ) ↔ cn (Unchanged !) ⎢i.e., x ( a t ) = ∑ cn e ⎥
⎣ n = −∞ ⎦
Note : The subscript n of cn denotes the line spectra at ω = n ω0 .
If you view cn as a discrete-time signal, cn ⇒ c[n ] ⇒ c[n ω0 ]
+∞ +∞
∑ ∑
j n ω0 (a t ) j n (aω 0 ) t
Proof): x( a t ) = cn e = cn e
n = −∞ n = −∞
∑c ∑c
j nω 0 ( −t ) j (−n) ω 0 t
y ( t ) = x ( −t ) = n e = n e
n = −∞ n = −∞
+∞
∑
j mω0 t
= c− m e (let n = − m )
m = −∞
Proof):
d x (t ) d ⎧ +∞ j n ω0 t ⎫
{ }
+∞ +∞
= ⎨∑ n
d t ⎩ n = −∞
c e ⎬ ∑
=
d
cn e
j n ω0 t
= ∑ ( j n ω 0 n)
c e
j n ω0 t
dt ⎭ n = −∞ d t n = −∞
• Integration
If the signal x (t ) is integrated with respect to time variable t ,
then
cn ⎡ +∞ ⎛ cn ⎞ j n ω 0 t ⎤
∫−∞ x(t ) dt = n∑
t t
∫−∞
x (t ) dt ↔
j n ω0
⎢i.e.,
⎢⎣
⎜⎜ ⎟⎟ e
= −∞ ⎝ j n ω 0 ⎠
⎥
⎥⎦
Proof):
⎧ +∞ j n ω0 t ⎫
+∞
∫−∞ ⎨⎩ n∑ ∑
t t t j n ω0 t
∫−∞ x ( t ) dt =
= −∞
cn e ⎬
⎭
dt =
n = −∞
cn∫
−∞
e dt
+∞⎛ cn ⎞ j n ω0 t
= ∑⎜ ⎟⎟ e
⎜
n = −∞ ⎝ j n ω 0 ⎠
• Multiplication
Let x(t ) and y (t ) denote two periodic signals with period T0
and with FS coefficients cn and d n , resepectively. That is,
x(t ) ↔ cn and y (t ) ↔ d n
If the signal z (t ) is a product of x(t ) and y (t ),
z (t ) = x(t ) y (t )
then the FS coefficients en of z (t ) can be found as
⎡ ⎤
+∞ ⎢ +∞
⎛ +∞ ⎞ j n ω0 t ⎥
z (t ) ↔ en = ∑
k = −∞
ck d n − k ⎢i.e., z (t ) = ∑ ⎜ ∑ ck d n − k ⎟ e
⎢ n = − ∞ ⎝ k =−∞ ⎠
⎥
⎥
⎢⎣ = en
⎥⎦
Proof):
T0
z (t ) = x (t ) ⊗ y (t ) = ∫ x (τ ) y (t − τ ) dτ
0
⎛ +∞ j n ω 0 ( t −τ ) ⎞
(∫ )
+∞
x (τ ) ⎜ ∑ d n e ∑
T0 j n ω0 t T0 − j nω 0τ
=∫ ⎟ d τ = d n e x (τ ) e dτ
⎝ n = −∞ ⎠
0 0
n = −∞
= T0 cn
= y ( t −τ )
+∞ +∞
∑ (T c d ) e ∑
j n ω0 t j n ω0 t
= 0 n n = en e
n = −∞ n = −∞
= en
Fourier Transform
(Part I)
1
Introduction
• Fourier series (FS) is applicable only for periodic signals. For
aperiodic (or non-periodic) signals, we need to exploit the Fourier
transform (FT) to conduct spectral analysis.
• Fourier transform is, in fact, a limiting case of Fourier series (in the
sense when the signal’s fundamental period T0 → ∞).
• Let us duplicate this pulse along the time line and make up a
periodic rectangular pulse train, with the fundamental period T0.
x T0 (t )
t
T0
• Then, let T0 → ∞. It equals to x(t)! That is, lim xT0 (t ) = x(t ).
T0 →∞
t
T0 → ∞ 3
We can view any finite-duration, non-periodic signal as a
“periodic” signal with the fundamental period T0 equals to
infinity! That is, x (t ) → xT (t ).
0
4
Derivation of the FT:
Since xT0 (t ) is periodic, it can be represented by the FS, as follows.
+∞
xT0 (t ) = ∑c
n =−∞
n e j nω 0 t [Synthesis Eq.]
1 T0 /2
where cn =
T0 ∫− T0 /2
xT0 (t ) e − j n ω 0 t dt [Analysis Eq.]
2π
The spacing of the two adjacent line spectra: Δω = ( n + 1)ω0 − nω0 = ω0 = .
T0
Substitute the analysis equation cn and Δω into the synthesis equation, xT0 (t ),
+∞
⎡ 1 T0 / 2 ⎤ j nω 0 t
∑
− j n ω0 t
xT0 (t ) = ⎢ T ∫− T0 / 2 T0
x ( t ) e dt ⎥e
n =−∞ ⎣ 0 ⎦
+∞
⎡ Δω T0 /2 ⎤ j nω 0 t
=∑ ⎢ ∫ x ( t ) e − j nω 0 t
dt ⎥ e
n =−∞ ⎣ 2π
T0
− T0 /2
⎦
+∞
1 ⎡ T0 /2 x (t ) e − j n ω 0 t dt ⎤ e j n ω 0 t Δω
=
2π
∑
n =−∞
⎢
⎣ ∫− T0 /2
T0 ⎥⎦
⎧ 1 +∞
⎡ T0 /2 x (t ) e − j n ω 0 t dt ⎤ e j n ω 0 t Δω ⎫
lim xT0 (t ) = lim ⎨
T0 →∞ T0 →∞ 2π
⎩
∑ ⎢ ∫−T0 /2 T0
n =−∞ ⎣
⎥⎦ ⎬
⎭
= x(t )
5
As T0 → ∞,
∞ ∞
∑
n =−∞
⇒ ∫−∞
Δω ⇒ dω
n ω0 ⇒ ω
1 ⎧ +∞ ⎡ T0 /2 ⎫
lim xT0 (t ) = lim ⎨ ∑ ∫ xT0 (t ) e − j n ω0 t dt ⎤ e j n ω0 t Δω ⎬
T0 →∞ 2π T0 →∞ ⎩ n =−∞ ⎣⎢ −T0 /2 ⎦⎥ ⎭
= x(t )
1 ∞
⎡ ∞ x (t ) e − j ω t dt ⎤ e j ω t d ω
x (t ) =
2π ∫−∞ ⎢⎣ ∫−∞ ⎥⎦
= X (ω )
In summary,
∞
X (ω ) =F [ x (t ) ] = ∫ x (t ) e − j ω t dt [Fourier Transform]
−∞
1 ∞
x (t ) = F [ X (ω )] =
−1
∫ X (ω ) e jωt
d ω [Inverse Fourier Transform]
2π −∞
7
Existing condition of the Fourier Transform*
The Fourier transform X (ω ) of x (t ) exists, if the following
Dirichlet conditions are satisfied.
∞
1. x (t ) is absolutely integrable; that is, ∫
−∞
x (t ) dt < ∞.
2. x (t ) has a finite number of maxima and minima within any finite interval.
3. x (t ) has a finite number of discountinuities within any finite interval, and
each of these discontinuities is finite.
⇒ Note that this set of conditions together are sufficient to guarantee the
existence of the Fourier transform; however, they are not necessary!
For examples, cosω0t , sinω0t , and u(t ) are not absolutely integrable, but
they do have Fourier transform!
8
The Fourier Transform of Some Important Functions
• A Gate Function (or A Rectangular Pulse Signal) x (t )
τ τ
x (t ) = A, for − < t<
2 2
∞ τ /2
X (ω ) = ∫ Ae − jωt dt = A ∫ e − jωt dt
−∞ −τ /2
τ /2
A − jωt ⎛ A⎞ ⎛ ωτ ⎞
=− e = ⎜− ⎟ ⋅ ( − j 2 ) ⋅ sin ⎜ ⎟ X(ω)
jω −τ /2 ⎝ jω ⎠ ⎝ 2 ⎠
⎛ ωτ ⎞
sin ⎜ ⎟ Aτ
2A ⎛ ωτ ⎞ 2 A ⎛ ωτ ⎞ ⎝ 2 ⎠
= ⋅ sin ⎜ ⎟= ⋅⎜ ⎟ ⋅ ωτ
ω ⎝ 2 ⎠ ω ⎝ 2 ⎠ ⎛ ⎞
⎜ ⎟
⎝ 2 ⎠
⎛ ωτ ⎞
sin ⎜ ⎟
⎝ 2 ⎠
= Aτ ⋅ ω
⎛ ωτ ⎞ 0
⎜ ⎟
⎝ 2 ⎠
⎛ ωτ ⎞ 10π 8π 6π 4π 2π 2π 6π 8π 10π
= Aτ ⋅ sinc ⎜
4π
− − − − − 0
⎟ τ τ τ τ τ τ τ τ τ τ
⎝ 2 ⎠
9
FT Spectrum Plots
∞ ∞ − ( a + jω )t
X (ω ) = ∫ e − at
e − jωt
dt = ∫ e dt
0 0
∞
1 1
e(
− a + jω )t
=− =
a + jω 0
a + jω
Thus,
⎧ 1
⎪ X (ω ) =
⎪ a2 + ω2
⎨
⎪ X (ω ) = − tan −1 ⎛ ω ⎞
⎪⎩ ⎜ ⎟
⎝a⎠ 10
Frequency Response
h(t)
1 ∞
h(t ) = F −1
[ H (ω )] = ∫ H (ω ) e jωt d ω [Inverse Fourier Transform]
2π −∞
11
If x(t) is, in fact, an LTI system’s impulse response and
conventionally being denoted as h(t), then X(ω) = H(ω) is the
frequency response of the LTI system. That is,
Example: In the gate function case,
τ τ ⎛ ωτ ⎞
h (t ) = A, for − < t < ↔ H (ω ) = Aτ ⋅ sinc ⎜ ⎟
2 2 ⎝ 2 ⎠
Example: In the exponential function case,
⎧ e − at , t≥0; 1
h (t ) = ⎨ ↔ H (ω ) = (where a ≥ 0)
⎩ 0, otherwise. a + jω
• If h(t) is a filter, then can you tell what kind of filtering is performed
in each case, simply based on the magnitude spectrum plot?
• Quite often, we exploit the existing FT pairs to find out the inverse
FT of more complicated one. See an example in the next page.
12
Example: Find the impulse response h (t ) of an LTI system's freuqncy response H (ω )
−6 − j 7ω
H (ω ) =
2 (1 + jω )( 2 + jω )
Solution:
Using the partial fraction expansion method to convert the product term into the summation terms
−6 − j 7ω A B
H (ω ) = = +
2 (1 + jω )( 2 + jω ) (1 + jω ) ( 2 + jω )
−6 − j 7ω −6 + 7 1
Multiply both sides by (1 + jω ) and let jω = −1: A = = =
2 ( 2 + jω ) jω =−1
2(2 − 1) 2
−6 − j 7ω −6 − 7( −2)
Multiply both sides by ( 2 + jω ) and let jω = −2: B = = = −4
2 (1 + jω ) jω =−2
2(1 − 2)
⎛1⎞
⎜ ⎟ ( −4 ) 1 4
2
⇒ H (ω ) = ⎝ ⎠ + = −
(1 + jω ) ( 2 + jω ) 2 (1 + jω ) 2 + jω
1
Since h (t ) = e − at , for t ≥ 0 ↔ H (ω ) = , the impulse response can be found
a + jω
by computing the inverse FT of H (ω ), term by term. By inspection, we can get
1 −t
h (t ) = e − 4e −2 t , for t ≥ 0
2
13
• The Unit-strength Impulse Function F [δ (t )] = 1
Proof):
x (t ) = δ (t )
∞
X (ω ) = F [ x (t )] = F [δ (t )] = ∫ δ (t ) e − jωt dt = e − jω⋅0 = e0 = 1
−∞
x(t) = δ (t) X(ω) = F [δ (t)]
1 1
t ω
0 0
1 ∞ 1 ∞
F −1
[1] = ∫ 1⋅ e jω t
dω = ∫ e j ω t d ω = δ (t )
2π −∞ 2π −∞
⇒ ∫−∞
∞
e jω t
d ω = 2π δ (t ) ( or, ∫
−∞
∞
e j x a dx = 2π δ ( a ) )
This is a very useful integration identity, as the direct integration is difficult.
14
• By interchanging the variables "t" and "ω" of the previously derived
∞ ∞
∫ ∫
jω t
e d ω = 2π δ (t ) , we can have e j ω t dt = 2π δ (ω )
−∞ −∞
In summary,
∞ ∞
∫ dx = ∫ e − j x a dx = 2π δ (a )
j xa
e
−∞ −∞
15
• The Impulse Function with Strength A F [ A δ (t )] = A
Proof):
x (t ) = A δ (t )
∞ ∞
F [ A δ (t ) ] = ∫ A δ (t ) e − jωt
dt = A ∫ δ (t ) e − jωt dt = Ae − jω⋅0 = A
−∞ −∞
A A
t ω
0 0
Reversely,
1 ∞ 1 ∞
F −1 [ A] = ∫ A ⋅ e j ωt d ω = A ∫ e j ωt d ω = A δ (t )
2π −∞ 2π −∞
= δ (t )
16
• Fourier Transform of a Constant A F [ A ] = 2 π A δ (ω )
Proof):
Consider x (t ) = A.
∞
F [ A ] = ∫ Ae − jωt dt = 2π A δ (ω )
−∞
x(t) X(ω)
A 2π A δ (ω)
t 0 ω
0
17
• Fourier Transform of an Exponential e ± j ω 0 t F ⎡⎣ e ± j ω t ⎤⎦ = 2 π δ (ω ∓ ω0 )
0
Proof):
∞ j ( ω −ω ) t ∞
F ⎡⎣ e ⎤⎦ = ∫ e
jω0 t
e dt = ∫ e 0 dt
jω0 t − jω t
−∞ −∞
Thus,
∞
F ⎡⎣ e jω0 t
⎤⎦ = ∫ e j (ω0 −ω ) t dt = 2π δ (ω0 − ω ) = 2π δ (ω − ω0 )
−∞
Similarly, F ⎡⎣ e − j ω 0 t ⎤⎦ = 2 π δ (ω + ω0 )
Insights:
jω0 t
• Note that signal e is a complex -valued signal; thus, it has only one
spectrum exists at ω = ω 0 alone.
• There is an extremely important fact that exploits this FT result, as follows.
18
• Fourier Transform of an impulse train δ T 0 (t ) F ⎡⎣δ T (t ) ⎤⎦ = ω 0 δ ω (ω )
0 0
⎛ 2π ⎞
δ T (t ) ↔ ω 0 δ ω (ω )
0 0
⎜⎜ where ω 0 = ⎟⎟
⎝ T 0 ⎠
δ T (t )
0
... ...
1
t
−3T0 − 2T0 − T0 0 T0 2T0 3T0
+∞
+ δ ( t + T 0 ) + δ ( t + 2T 0 ) + δ ( t + 3T 0 ) + ... = ∑ δ ( t − nT ) 0
n =−∞
+∞
The FS representation : δ T 0 ( t ) = ∑
j n ω0 t
cn e
n =−∞
1 T 0 /2 1 T 0 /2 1
δT (t ) e δ (t ) e
− j n ω0 t − j n ω0 t
where cn =
T0 ∫ −T 0 /2 0
dt =
T0 ∫ −T 0 /2
dt =
T0
− j n ω 0 ⋅0 19
=e =1
+∞ ⎛ 1 ⎞ j n ω 0 t 1 +∞ j n ω 0 t
δT 0 ( t ) = ∑ ⎜ ⎟ ⋅ e = ∑ e
⎜ ⎟
n =−∞ ⎝ T 0 ⎠ T 0 n =−∞
By taking the Fourier transform on both sides,
⎡1 +∞ ⎤ 1 ⎡ +∞ j n ω 0 t ⎤ 1 ⎡ +∞ ⎤
F ⎣δ T 0 ( t ) ⎦ = F ⎢
⎡ ⎤ ∑ e
j n ω0 t
⎥= F ⎢∑ e ⎥ T ⎢∑
= 2π δ ( ω − n ω 0 )⎥
⎢⎣ T 0 n =−∞ ⎥⎦ T 0 ⎣ n =−∞ ⎦ 0 ⎣ n =−∞ ⎦
⎡ +∞ ⎤
= ω 0 ⎢ ∑ δ (ω − n ω 0 ) ⎥ = ω 0 ⋅ δ ω 0 (ω )
⎣ n =−∞ ⎦
δ ω (ω )
0
ω0
... ... ω
−4ω0 − 3ω0 − 2ω0 − ω0 0 ω0 2ω0 3ω0 4ω0
(Part II)
Properties
21
• Linearity (or Superposition)
If x1 (t ) ↔ X 1 (ω ) and x2 (t ) ↔ X 2 (ω ), then
a1 x1 ( t ) + a2 x2 ( t ) ↔ a1 X 1 (ω ) + a2 X 2 (ω )
Proof):
∞
F ⎡⎣ a1 x1 ( t ) + a2 x2 ( t )⎤⎦ = ∫ ⎡⎣ a1 x1 ( t ) + a2 x2 ( t )⎤⎦ e − j ω t dt
−∞
∞ ∞
∫−∞ ⎡⎣a1 x1 ( t )⎤⎦ e dt + ∫ ⎡⎣ a2 x2 ( t ) ⎤⎦ e − j ω t dt
− jω t
=
−∞
∞ ∞
= a1 ∫ x1 ( t ) e − jω t
dt + a2 ∫ x2 ( t ) e − j ω t dt
−∞ −∞
= a1 X 1 (ω ) + a2 X 2 (ω )
( or F ⎡⎣ a1 x1 ( t ) + a2 x2 ( t ) ⎤⎦ = a1F ⎡⎣ x1 ( t ) ⎤⎦ + a2F ⎡⎣ x2 ( t ) ⎤⎦ )
22
• Time Shiftng
If x(t ) ↔ X (ω ), then x( t − τ ) ↔ e − j ω τ X (ω )
Proof):
( Let u = t − τ ⇒ t = u + τ , du = dt )
∞ ∞
F [ x( t − τ )] = ∫ x( t − τ ) e − jω t
dt = ∫ x( u ) e
− j ω ( u +τ )
du
−∞ −∞
∞
=e − jω τ
∫ x( u ) e − j ω u du = e − j ω τ X (ω )
−∞
23
• Frequency Shiftng
X (ω − ω0 )
jω0 t
If x (t ) ↔ X (ω ), then x( t ) e ↔
Proof):
jω0 t ∞
⎤ = ∫ x( t ) e jω0 t ∞ ( )
− j ω −ω 0 t
F ⎡⎣ x ( t ) e ⎦ −∞ e − jω t
dt = ∫ x( t ) e dt
−∞
= X (ω − ω0 )
24
• Time Scaling
1 ⎛ω ⎞
If x (t ) ↔ X (ω ), then x (a t ) ↔ X⎜ ⎟
a ⎝a⎠
for a real constant a.
u
Proof): Let u = a t and a > 0 ⇒ t =
a
⎛u⎞
∞ 1 ∞ −jω ⎜ ⎟ 1 ⎛ω ⎞
F [ x ( a t )] = ∫ x ( a t ) e − j ω t dt = ∫ x (u ) e ⎝a⎠
du = X⎜ ⎟
−∞ a −∞ a ⎝a⎠
1 ⎛ω ⎞
For a < 0, similarly, this leads to F [ x ( a t )] = − X ⎜ ⎟
a ⎝a⎠
1 ⎛ω ⎞
Combine both together x (a t ) ↔ X⎜ ⎟
a ⎝a⎠
∗ Note that if a = −1, x ( − t ) ↔ X ( −ω ) (Time Reverse property)
25
• Time Differentiation
d x (t )
↔ jω X (ω )
dt
Proof):
1 ∞
∫
jω t
The inverse Fourier transform of X (ω ) is x (t ) = X (ω ) e d ω.
2π −∞
d x (t ) 1 d ⎡ ∞ ⎤ 1 ∞ d
∫ ∫
jω t jω t
⇒ = X (ω ) e d ω = X (ω ) ( e ) dω
dt 2π dt ⎣ ⎢ −∞ ⎥
⎦ 2π −∞ dt
1 ∞
= ∫ [ jω X (ω ) ] e jω t
dω
2π −∞
d x (t )
Clearly, is the inverse Fourier transform of jω X (ω ).
dt
PS: Continue such differentiation for n times, we can get
d n x (t )
↔ ( jω ) X (ω )
n
n
dt
26
• Integration property
t 1
∫ −∞ x(τ )dτ ↔ π X (0) δ (ω ) + jω X (ω )
Proof): We have
t
∫ −∞
x (τ ) dτ = x (t ) ∗ u(t )
Thus, by the time convolution theorem we obtain
⎡ 1 ⎤ 1
F [ x (t ) ∗ u(t )] = X (ω ) ⋅ ⎢π δ (ω ) + ⎥ = π X (ω ) δ (ω ) + X (ω )
⎣ jω ⎦ jω
1
= π X (0) δ (ω ) + X (ω )
jω
since X (ω ) δ (ω ) = X (0) δ (ω ).
27
• Duality (or Symmetry)
If x (t ) ↔ X (ω ), then X (t ) ↔ 2π x ( −ω )
Proof):
From the inverse Fourier transform
1 ∞ ∞
∫ ∫
jω t jω t
x (t ) = X (ω ) e d ω ⇒ 2π x ( t ) = X (ω ) e dω
2π −∞ −∞
∞
⇒ 2π x ( −t ) = ∫ X (ω ) e − j ω t d ω
−∞
28
• Time Convolution
If x(t ) ↔ X (ω ), h(t ) ↔ H (ω ), and y (t ) ↔ Y (ω ), then
Y (ω ) = F [ h(t ) ∗ x(t ) ] = H (ω ) X (ω )
Proof):
∞ ∞
Y (ω ) = ∫
−∞
y (t ) e − jω t
dt = ∫
−∞
[ h(t ) ∗ x(t ) ] e − j ω t dt
−∞ ⎢⎣ −∞ ⎥⎦
Let λ = t − τ ; hence, t = λ + τ and d λ = dt. Then,
⎣⎢ −∞ ⎦⎥ ⎣⎢ −∞ ⎥⎦
Convolution in the time domain ⇔ Multiplication in the frequency domain
29
• Time Multiplication
1
x1 (t ) x2 (t ) ↔ X 1 (ω ) ∗ X 2 (ω )
2π
⎡ 1 ∞
∞ ⎤
= ∫ ⎢ ∫ X 1 (λ )e jλ t d λ ⎥ x2 (t ) e − jωt dt
−∞ 2π −∞
⎣ ⎦
1 ∞ ⎡ ∞
⎤dλ
2π ∫−∞ ⎢⎣ ∫−∞ 2
− j (ω − λ )t
= X ( λ ) x (t ) e dt
1 ⎥⎦
1 ∞ 1
=
2π ∫ −∞
X 1 (λ ) X 2 (ω − λ ) d λ =
2π
X 1 (ω ) ∗ X 2 (ω )
∫
−∞
x(t ) dt =
2π ∫−∞
X (ω ) d ω
Proof):
∞ 2 ∞ ∞
∫ x(t ) dt = ∫ x(t ) x (t ) dt = ∫ x(t ) x* (t ) dt
*
−∞ −∞ −∞
*
∞ ⎛ 1 ∞ ⎞ ∞
= ∫ x(t ) x (t ) dt = ∫ x(t ) ⎜
*
∫ X (ω ) e jωt
d ω ⎟ dt
−∞ −∞
⎝ 2π −∞
⎠
∞ ⎛ 1 ∞ * ⎞
= ∫ x(t ) ⎜ ∫ X (ω ) e − jωt
d ω ⎟ dt
−∞
⎝ 2π −∞
⎠
(Now, changing the order of integration)
1
(∫ ) 1
∞ ∞ ∞ 2
∫ ∫
− jωt
= X (ω )
*
x(t ) e dt dω = X (ω ) dω
2π −∞ −∞ 2π −∞
= X (ω )
31
Summary: Fourier Transform Pairs
x (t ) X (ω )
δ (t ) 1
δ (t − τ ) e − j ωτ
1 2π δ (ω )
e jω t 0
2π δ (ω − ω0 )
cos ω0t π ⎡⎣δ (ω − ω0 ) + δ (ω + ω0 ) ⎤⎦
sin ω0t − jπ ⎡⎣δ (ω − ω0 ) − δ (ω + ω0 )⎤⎦
1
u (t ) π δ (ω ) +
jω
1
u ( −t ) π δ (ω ) −
jω
1
e− a t u ( t ) , a > 0
a + jω
1
t e−a t u ( t ) , a > 0
( a + jω )
2
32
x (t ) X (ω )
2a
e− a t , a > 0
a2 + ω2
2
sgn t
jω
δ T (t )
0
ω0 ⋅ δ ω (ω )
0
∞ ∞
2π
= ∑ δ (t − n T ) 0
= ω0 ∑ δ (ω − n ω0 ), ω 0 =
n = −∞ n = −∞ T0
⎧ 1, t <a sin aω
pa ( t ) = ⎨
t >a
2a
aω
( = 2a sinc ( aω ))
⎩0,
sin at ⎛ a ⎞ ⎧1, ω <a
⎜ = sinc ( at ) ⎟ pa ( ω ) = ⎨
πt ⎝ π ⎠ ⎩ 0, ω >a
33
Summary: Fourier Transform Properties
Property Signal Fourier Transform
( Establishing x (t ) X (ω )
notations ) x1 ( t ) X 1 (ω )
x2 ( t ) X 2 (ω )
Linearity a1 x1 ( t ) + a2 x2 ( t ) a1 X 1 (ω ) + a2 X 2 (ω )
Time shifting x (t −τ ) e − j ωτ X (ω )
e x (t ) X (ω − ω0 )
jω t
Frequency shifting 0
1 ⎛ω ⎞
Time scaling x ( at ) X⎜ ⎟
a ⎝a⎠
Time reverse x ( −t ) X ( −ω )
d x (t )
Time differentiation jω X (ω )
dt
d n x (t )
( jω ) X (ω )
n
dt n
d X (ω )
Frequency differentiation ( − jt ) x ( t )
dω
d X (ω )
n
( − jt ) x ( t )
n
dω n
34
Property Signal Fourier Transform
1
∫ −∞ x(τ )dτ π X (0) δ (ω ) + X (ω )
t
Integration
jω
Duality X (t ) 2π x ( −ω )
Convolution x1 ( t ) ∗ x2 ( t ) X 1 (ω ) X 2 (ω )
1
Multiplication x1 ( t ) x2 ( t ) X 1 (ω ) ∗ X 2 (ω )
2π
Real signal x ( t ) = xe ( t ) + xo ( t ) X (ω ) = A (ω ) + jB (ω )
X ( −ω ) = X * (ω )
Even component xe ( t ) Re{ X (ω )} = A (ω )
Odd component xo ( t ) j Im { X (ω )} = jB (ω )
1
x ( t ) dt = X (ω ) d ω
∞ 2 ∞ 2
Parseval's theorem ∫−∞
2π
∫−∞
35
The Frequency Response of
Continuous-time LTI System
⎯ Filtering ⎯
Y (ω ) = F [ h(t ) ∗ x (t )] = H (ω ) X (ω )
36
Filter
Frequency Response
37
Bandwidth, BW
• An LTI System:
BW
• A signal:
38
Frequency Response
Recap:
The Fourier transform of the impluse response is called the
frequency response. That is, they form a Fourier transform pair:
1 ∞
h (t ) = F −1
[ H (ω )] = ∫ H (ω ) e − j ω t d ω [Inverse Fourier Transform]
2π −∞
39
Consider an LTI system, and Y (ω ) , X (ω ) and H (ω ) are
the Fourier transforms of y (t ), x (t ), and h(t ), respectively.
x (t ) h(t ) y (t ) = x (t ) ∗ h (t )
−1 (Impulse Response)
F
Time domain
Freq. domain
F
X (ω ) H (ω ) Y (ω ) = X (ω ) H (ω )
(Frequency Response)
40
Why the impulse response is qualified to fully characterize the LTI system?
Frequency
“Black Response
Box”
System
Characterization
x (t ) h(t ) y (t ) X (ω ) H (ω ) Y (ω )
= x (t ) ∗ h (t ) = X (ω ) H (ω )
(Impulse Response) (Frequency Response)
41
Transfer Function
42
Consider
X (ω ) = X (ω ) e j θ X (ω )
and Y (ω ) = Y (ω ) e j θ
Y (ω )
∑ cn e
j n ω0 t
v (t ) = H
n =−∞
∞
= a0 + ∑{ an cos ( n ω 0 t ) + bn sin ( n ω 0 t ) }
n =1
∞
= a0 + ∑ An cos ( n ω 0 t + θ n )
n =1 H
44
Example: LTI System
vin(t) |H(ω)|
vout(t)
… …
A sawtooth voltage input signal, vin (t ), is applied to an LTI system with the
frequency response as shown. The FS representation in the trigonometric
form was previously obtained (from our Tutorial #8 Q2):
1 1 ∞ 1 1 1 1 ∞
1
vin (t ) = − ∑ sin 2 n π t = − sin 2 π t − sin 4 π t − ∑ sin 6 π t − ...
2 π n =1 n 2 π 2π n =1 n
In order to keep more harmonics terms, how do you design the cut-off
frequency ωc ?
45
Example:
Consider the transfer function of an LTI system:
d y (t )
2 + y (t ) = x(t )
dt
Find the output response y (t ) for the input excitation x(t ) = 2 e −3t u (t )
Solution:
Take the FT on both sides of the ordinary differential equation:
2 ( jω ) Y (ω ) + Y (ω ) = X (ω )
( j 2ω + 1) Y (ω ) = X (ω )
Y (ω ) 1
⇒ H (ω ) = =
X (ω ) 1 + j 2ω
1
Based on the FT pair: − at
x(t ) = e u (t ) ↔ X (ω ) =
a + jω
2
we can easily obtain X (ω ) =
3 + jω 46
1 2 2
⇒ Y (ω ) = H (ω ) X (ω ) = ⋅ =
1 + j 2ω 3 + jω (1 + j 2ω )( 3 + jω )
A B
= +
1 + j 2ω 3 + jω
where constants A and B can be found via partial fraction expansion:
2 2
A= = = 0.8
3 + jω jω =−0.5
2.5
2 2
B= = = −0.4
1 + j 2ω jω =−3
−5
0.8 −0.4
⇒ Y (ω ) = +
1 + j 2ω 3 + jω
Take the inverse Fourier transform on both side of the transfer function:
47
⎧ 0.8 −0.4 ⎫ −1 ⎧ 0.8 ⎫ −1 ⎧ −0.4 ⎫
F −1 {Y (ω )} = F −1 ⎨ + ⎬ = F ⎨ ⎬ + F ⎨ ⎬
⎩1 + j 2ω 3 + jω ⎭ ⎩1 + j 2ω ⎭ ⎩ 3 + jω ⎭
⎧ 0.8 ⎫ −1 ⎧ 1 ⎫ −1 ⎧ 0.5 ⎫
where F −1 ⎨ ⎬ = 0.8 F ⎨ ⎬ = 0.8 F ⎨ ⎬
⎩1 + j 2ω ⎭ ⎩1 + j 2ω ⎭ ⎩ 0.5 + jω ⎭
⎧ 1
−1 ⎫
= 0.4 F
⎨ ⎬ ↔ 0.4 e −0.5t u (t )
⎩ 0.5 + jω ⎭
⎧ −0.4 ⎫ −1 ⎧ 1 ⎫
F −1 ⎨ ⎬ = −0.4 F ⎨ ⎬ ↔ − 0.4 e −3t u (t )
⎩ 3 + jω ⎭ ⎩ 3 + jω ⎭
Thus, y (t ) = 0.4 ( e −0.5t − e −3t ) u (t )
48
Harry Nyquist
Sampling Theorem
Claude E. Shannon
1
Sampling
• A discrete-time signal may be generated by a natural process (say,
daily stock index, hourly-taken temperature recording of a chemical
process, etc.) or produced based on a continuous-time (analog)
signal, which is our most concerned issue here.
• Computer can only handle discrete samples in essence.
• The involved foundation, converting from continuous-time to
discrete-time, is called Sampling Theorem.
2
x(t)
x(t ) x[n ] = x ( t ) ⋅ δTs ( t )
= x (t )
δT ( t ) t = nTs
= x ( nTs )
s
⎛ n ⎞
t = x⎜ ⎟
δT ( t ) ⎝ fs ⎠
0
… …
t
n (or t) 3
• The impulse train signal δ T0 ( t ) is exploited for conducting
sampling operation via multiplication to take discrete-samples
of the continuous-time signal, every T0 seconds.
• δ T ( t ) → δ T ( t ) . Thus,
0 s
4
x1[n]
0.5 Ts
n
x2[n]
Ts
n
x3[n]
2Ts
n 5
Two fundamental properties to be used for the sampling theorem:
1
• x1 (t ) x2 (t ) ↔ X 1 (ω ) ∗ X 2 (ω )
2π
⎛ 2π ⎞
• δ T (t ) ↔ ω0 δ ω0 (ω ) ⎜ where ω0 = ⎟
⎝ T0 ⎠
0
δ T (t )
0
1
... ... t
−3T0 − 2T0 − T0 0 T0 2T0 3T0
δ ω (ω )
0
ω0
... ... ω
−4ω0 − 3ω0 − 2ω0 − ω0 0 ω0 2ω0 3ω0 4ω0
6
• A signal x (t ) is called band -limited if X (ω ) = 0, for ω > ωM
(bandwidth); i.e., the bandwidth of a bandlimited signal is finite.
X (ω )
ω
−ωM 0 ωM
1
• Based on x1 (t ) x2 (t ) ↔ X 1 (ω ) ∗ X 2 (ω ),
2π
x (t ) is multiplied by an impulse train in the time domain; i.e.,
x (t ) ⋅ δ T0 (t )
which is equivalent to convolution of their spectra in the frequency
domain; i.e.,
1 ω0 1
X (ω ) ∗ ⎡⎣ω0 ⋅ δ ω0 (ω ) ⎤⎦ = X (ω ) ∗ δ ω0 (ω ) = X (ω ) ∗ δ ω0 (ω )
2π 2π T0
7
Three types of sampling processes
• Oversampling: ωs > ωN ( or fs > fN )
⇒ resulting in more samples being generated.
8
Impulse trains to be convolved by X(ω) …
X(ω)
ωs δ ω (ω )
s
Oversampling
ω
... ...
− 2ω s − ωs 0 ωs 2ω s
ω
ωs δω (ω )
Critical Sampling s
... ...
−3ωs − 2ωs − ωs 0 ωs 2ωs 3ωs
ω
ωs δω (ω )
Undersampling s
... ...
−4ωs − 3ωs − 2ωs − ωs 0 ωs 2ωs 3ωs 4ωs
ω
9
Resulted spectra after convolution …
1
X (ω ) ∗ δ ω0 (ω )
T0
Oversampling
... ... ω
−2ωs − ωs 0 ωs 2ωs
ωM ωs − ω M
1
X (ω ) ∗ δ ω0 (ω )
Critical Sampling T0
... ... ω
−3ωs − 2ωs − ωs 0 ωs 2ωs 3ωs
1
X (ω ) ∗ δ ω0 (ω )
Undersampling T0
... ... ω
−4ωs − 3ωs − 2ωs − ωs 0 ωs 2ωs 3ωs 4ωs
10
(Shannon) Sampling Theorem
Consider a band-limited signal x(t) (i.e., its frequency spectrum
has a zero value for frequencies above fM), the required sampling
frequency (or sampling rate) fs required to sample this signal
must satisfy the following condition:
fs ≥ 2 fM
in order to preserve the original (baseband) frequency content of
the signal x(t). (PS: If there is a need to fully reconstruct the
signal x(t) back, then it is possible to do so!)
• Oversampling: f s > 2 f M
(i.e., more samples are generated)
• Critical (or Nyquist) sampling: f s = 2 f M
(i.e., the minimum sampling rate)
• Undersampling: f s < 2 f M
(i.e., less samples are generated, and aliasing occurred)
11
Nyquist rate
Nyquist rate = 2 × the maximum frequency
i.e.,
fN = 2 × fM (⇒ for Bandlimited Signals )
Example:
(a). x(t ) = 10 cos(426π t )
Solution:
The Nyquist rate is ωa = 2π f a = 426π ; hence, f a = 213 Hz
f M = 213 Hz and f N = 2 × 213 = 426 Hz
13
Generation of discrete-time signals via sampling
An analog signal x (t ) = A cos (ω0 t + θ ) is under a sampling process
to generate its discrete-time version counterpart, x[n ].
( In general, we wish x[n ] can still keep the frequency content of x(t ).)
Notation: Subscripts a → analog; d → digital
f a = the analog frequency of x (t ) ( i.e., f a = f0 )
f s = the sampling frequency (or sampling rate)
f d = the normalized (digital) frequency of x[n ]
⇒
x[n ] = x (t ) t =nT = A cos (ω0 nTs + θ ) = A cos ( 2π f a nTs + θ )
s
⎡ ⎤
⎢ ⎛ fa ⎞ ⎥
= A cos ⎢ 2π × ⎜ ⎟ × n + θ ⎥ = A cos ( 2π × f d × n + θ )
⎢ ⎝Nfs ⎠ ⎥
⎢⎣ = fd ⎥⎦
14
Example:
(a). Consider an analog sinusoidal signal x (t ) = 10cos ( 426 π t ) . If the
sampling rate is 1 kHz and applied to x (t ), what is the resulted
discrete-time sinusoidal signal x[n ]?
(b). If the same sampling frequency 1 kHz is used to recover the analog
signal x (t ) from x[n ], what is the resulted signal analog signal x (t )?
Solution: Ts = 1 / f s = 1 / 1000
⎛ ⎞
(a). x[n ] = x (t ) t =nT = 10cos ( 426 π t ) = 10cos ⎜ 2π × 213
N × nTs ⎟
⎝ ⎠
s
= f a
⎛ ⎞
⎛ 1 ⎞ ⎜ 213 ⎟ ⎛ 213 ⎞
= 10cos ⎜ 2π × 213
N × n × ⎟ = 10cos ⎜ 2π × × n ⎟ = 10cos ⎜ nπ ⎟
⎝ = fa fs ⎠ ⎜ 1000
N ⎟ ⎝ 500 ⎠
⎝ = fd = fa / f s ⎠
213 f a f
(b). Since f s = 1000 Hz, f d = = = a ⇒ f a = 213 Hz
1000 f s 1000
Note: f a = 213 (in Hz) is the analog frequency of x (t )
213
fd = (no unit!) is the normalized (digital) frequency of x[n ]
1000 15
(Con’t)
(c). If the sampling frequency used is 200 Hz instead, re-do the whole problem.
Solution: Ts = 1 / f s = 1 / 200
⎛ 213 ⎞ ⎡ ⎛ 13 ⎞ ⎤
x[n ] = x (t ) t =nT = 10cos ⎜ 2π × × n ⎟ = 10cos ⎢ 2π × ⎜ 1 + ⎟ × n⎥
s
⎝ 200 ⎠ ⎣ ⎝ 200 ⎠ ⎦
⎡ ⎛ 13 ⎞ ⎤ ⎡ ⎛ 13 ⎞ ⎤ ⎛ 13 ⎞
= 10cos ⎢ 2π n + 2π n × ⎜ ⎟⎥ = 10cos ⎢ 2π n × ⎜ ⎟⎥ = 10cos ⎜ π n ⎟
⎣ ⎝ 200 ⎠ ⎦ ⎣ ⎝ 200 ⎠ ⎦ ⎝ 100 ⎠
13 f a f
Since f s = 200 Hz, f d = = = a ⇒ f a = 13 Hz (Aliasing!)
200 f s 200
Note that the original 213 Hz tone can not be recovered due to undersampling!
End
16