6.003: signals and systems - florida international …web.eng.fiu.edu/andrian/eel3135/fourier series...

40
6.003: Signals and Systems Fourier Series April 1, 2010

Upload: others

Post on 25-Apr-2020

19 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

6.003: Signals and Systems

Fourier Series

April 1, 2010

Page 2: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Mid-term Examination #2

Wednesday, April 7,

No recitations on the day of the exam.

Coverage: Lectures 1–15

Recitations 1–15

Homeworks 1–8

Homework 8 will not collected or graded. Solutions will be posted.

18Closed book: 2 pages of notes ( 2× 11 inches; front and back).

Designed as 1-hour exam; two hours to complete.

Review sessions during open office hours.

7:30-9:30pm.

Page 3: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Last Time: Describing Signals by Frequency Content

Harmonic content is natural way to describe some kinds of signals.

Ex: musical instruments (http://theremin.music.uiowa.edu/MIS)

piano piano

t

k violin

violin

t

k

bassoon

t

k

bassoon

Page 4: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Last Time: Fourier Series

Determining harmonic components of a periodic signal.

ak = 1

x(t)e− j2Tπktdt (“analysis” equation)

T T

∞ � 2π x(t)= x(t + T ) = ake

j T kt (“synthesis” equation) k=−∞

Page 5: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Last Time: Fourier Series

Determining harmonic components of a periodic signal.

ak = 1

x(t)e− j2Tπktdt (“analysis” equation)

T T

∞ � 2π x(t)= x(t + T ) = ake

j T kt (“synthesis” equation) k=−∞

We can think of Fourier series as an orthogonal decomposition.

Page 6: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

ak=1T

�Tx(t)e−j

2πT ktdt (“analysis” equation)

x(t)= x(t+ T ) =∞�k=−∞

akej 2πT kt (“synthesis” equation)

Orthogonal Decompositions

Vector representation of 3-space: let r represent a vector with

components {x, y, and z} in the {x, y, and z} directions, respectively.

x = r · x y = r · y (“analysis” equations)

z = r · z r = xx+ yy + zz (“synthesis” equation)

Page 7: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Orthogonal Decompositions

Vector representation of 3-space: let r represent a vector with

components {x, y, and z} in the {x, y, and z} directions, respectively.

x = r · x y = r · y (“analysis” equations)

z = r · z r = xx+ yy + zz (“synthesis” equation)

Fourier series: let x(t) represent a signal with harmonic components

{a0, a1, . . ., ak} for harmonics {ej0t , ej2 Tπt , . . ., ej

2 Tπkt} respectively.

ak = 1

x(t)e− j2Tπktdt (“analysis” equation)

T T

∞ � 2π x(t)= x(t+ T ) = ake

j T kt (“synthesis” equation) k=−∞

Page 8: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Orthogonal Decompositions

ˆ + yy + zz

Vector representation of 3-space: let r represent a vector with

components {x, y, and z} in the {x, y, and z} directions, respectively.

x = r · x y = r · y (“analysis” equations)

z = r · z r = xx ˆ (“synthesis” equation)

Fourier series: let x(t) represent a signal with harmonic components

{a0, a1, . . ., ak} for harmonics {ej0t , ej2 Tπt , . . ., ej

2 Tπkt} respectively.

ak = 1

x(t)e− j2Tπktdt (“analysis” equation)

T T

2π x(t)= x(t+ T ) =

∞ �

k=−∞

akej T kt (“synthesis” equation)

Page 9: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Orthogonal Decompositions

Vector representation of 3-space: let r represent a vector with

components {x, y, and z} in the {x, y, and z} directions, respectively.

(“analysis” equations)

r = xx+ yy + zz (“synthesis” equation)

Fourier series: let x(t) represent a signal with harmonic components

{a0, a1, . . ., ak} for harmonics {ej0t , ej2 Tπt , . . ., ej

2 Tπkt} respectively.

(“analysis” equation)

∞ � 2π x(t)= x(t+ T ) = ake

j T kt (“synthesis” equation) k=−∞

x = r · x y = r · y z = r · z

ak = 1 T

� T x(t)e −j

2 ktdt π T

Page 10: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Orthogonal Decompositions

Integrating over a period sifts out the kth component of the series.

Sifting as a dot product:

x = r · x ≡ |r||x| cos θ

Sifting as an inner product:

ak = ej2Tπkt · x(t) ≡

1 x(t)e−j

2 Tπktdt

T T

where

a(t) · b(t) = 1

a ∗(t)b(t)dt . T T

Page 11: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Orthogonal Decompositions

Integrating over a period sifts out the kth component of the series.

Sifting as a dot product:

x = r · x ≡ |r||x| cos θ

Sifting as an inner product: 2π 1 2π

ak = ejT kt · x(t) ≡ x(t)e−j T ktdt T T

where

a(t) · b(t) = 1

a ∗(t)b(t)dt . T T

The complex conjugate (∗) makes the inner product of the kth and

mth components equal to 1 iff k = m:

1 � � 2π �∗� 2π � 1

� 2π 2π

�1 if k = m

ejT kt ej T mt dt = e− jT kt ej T mtdt = T T T T 0 otherwise

Page 12: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Check Yourself

How many of the following pairs of functions are orthog­

onal (⊥) in T = 3?

1. cos 2πt ⊥ sin 2πt ?

2. cos 2πt ⊥ cos 4πt ?

3. cos 2πt ⊥ sin πt ?

4. cos 2πt ⊥ e j2πt ?

Page 13: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Check Yourself

How many of the following are orthogonal (⊥) in T = 3?

cos 2πt ⊥ sin 2πt ? cos 2πt

1 2 3 t

sin 2πt

1 2 3 t

cos 2πt sin 2πt

1 2 3 t

� 3 dt = 0 therefore YES

0

Page 14: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Check Yourself

How many of the following are orthogonal (⊥) in T = 3?

cos 2πt ⊥ cos 4πt ? cos 2πt

1 2 3 t

cos 4πt

1 2 3 t

cos 2πt cos 4πt

1 2 3 t

� 3 dt = 0 therefore YES

0

Page 15: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Check Yourself

How many of the following are orthogonal (⊥) in T = 3?

cos 2πt ⊥ cos πt ? cos 2πt

1 2 3 t

sin πt

1 2 3 t

cos 2πt sin πt

1 2 3 t

� 3 dt �= 0 therefore NO

0

Page 16: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Check Yourself

How many of the following are orthogonal (⊥) in T = 3?

cos 2πt ⊥ e2πt ?

e 2πt = cos 2πt + j sin 2πt

cos 2πt ⊥ sin 2πt but not cos 2πt

Therefore NO

Page 17: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Check Yourself

How many of the following pairs of functions are orthog­

onal (⊥) in T = 3? 2

1. cos 2πt ⊥ sin 2πt ? √

2. cos 2πt ⊥ cos 4πt ? √

3. cos 2πt ⊥ sin πt ? X

4. cos 2πt ⊥ e j2πt ? X

Page 18: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Speech

Vowel sounds are quasi-periodic.

bat

t

bait

t

bet

t

beet

t

bit bite bought boat

t t t t

but boot

t t

Page 19: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Speech

Harmonic content is natural way to describe vowel sounds.

bat bait bet beet

k k k k bought bit bite boat

k k k k but boot

k k

Page 20: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Speech

Harmonic content is natural way to describe vowel sounds.

bat bat

t

k beet

beet

t

k

boot

t

k

boot

Page 21: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Speech Production

Speech is generated by the passage of air from the lungs, through

the vocal cords, mouth, and nasal cavity.

(velum)

Pharynx

Epiglottis

Esophogus

Soft palate Lips

Nasal cavity

Hard palate

Tongue

Vocal cords (glottis)

Larynx

Trachea

Stomach Lungs Adapted from T.F. Weiss

Page 22: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Speech Production

Controlled by complicated muscles, the vocal cords are set into vi­

brational motion by the passage of air from the lungs.

Looking down the throat: Vocal cords open

Glottis

Vocal cords closed

Vocal cords

Gray's Anatomy Adapted from T.F. Weiss

Diagram removed due to copyright restrictions.

Page 23: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Speech Production

Vibrations of the vocal cords are “filtered” by the mouth and nasal

cavities to generate speech.

Page 24: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Filtering

Notion of a filter.

LTI systems

• cannot create new frequencies.

• can only scale magnitudes and shift phases of existing components.

Example: Low-Pass Filtering with an RC circuit

+ −

vi

+

vo

R

C

Page 25: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Lowpass Filter

Calculate the frequency response of an RC circuit.

KVL: vi(t) = Ri(t) + vo(t)R

+ C: i(t) = Cvo(t)

+ −

vi C Solving: vi(t) = RCvo(t) + vo(t)

vo Vi(s) = (1 + sRC)Vo(s)− H(s) =

Vo(s) = 1

Vi(s) 1 + sRC 1

0.1

|H(jω

)|

0.01 ω

0.01 0.1 1 10 100 1/RC 0

−π 2 ω∠H(jω

)|

0.01 0.1 1 10 100 1/RC

Page 26: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Lowpass Filtering

Let the input be a square wave.

t

12

−12

0 T

� 1 2π x(t) = e jω0kt ; ω0 =

k odd jπk T

1

|X(jω

)|

0.1

0.01 ω

∠X(jω

)| 0.01 0.1 1 10 100 1/RC0

−π 2 ω

0.01 0.1 1 10 100 1/RC

Page 27: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Lowpass Filtering

Low frequency square wave: ω0 << 1/RC.

t

12

−12

0 T

� 1 2π x(t) = e jω0kt ; ω0 =

k odd jπk T

1

|H(jω

)|

0.1

0.01 ω

0.01 0.1 1 10 100 1/RC 0

∠H(jω

)|

−π 2 ω

0.01 0.1 1 10 100 1/RC

Page 28: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Lowpass Filtering

Higher frequency square wave: ω0 < 1/RC.

t

12

−12

0 T

� 1 2π x(t) = e jω0kt ; ω0 =

k odd jπk T

1

|H(jω

)|

0.1

0.01 ω

0.01 0.1 1 10 100 1/RC 0

∠H(jω

)|

−π 2 ω

0.01 0.1 1 10 100 1/RC

Page 29: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Lowpass Filtering

Still higher frequency square wave: ω0 = 1/RC.

t

12

−12

0 T

x(t) = � 1

e jω0kt ; ω0 =2π

k odd jπk T

0.01

0.1

1

ω

|H(jω

)|∠H

(jω

)|

−π 2

0.01 0.1 1 10 100 1/RC 0

ω

0.01 0.1 1 10 100 1/RC

Page 30: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Lowpass Filtering

High frequency square wave: ω0 > 1/RC.

t

12

−12

0 T

x(t) = � 1

e jω0kt ; ω0 =2π

k odd jπk T

0.01

0.1

1

ω

|H(jω

)|∠H

(jω

)|

−π 2

0.01 0.1 1 10 100 1/RC 0

ω

0.01 0.1 1 10 100 1/RC

Page 31: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Source-Filter Model of Speech Production

Vibrations of the vocal cords are “filtered” by the mouth and nasal

cavities to generate speech.

buzz from throat and speech

vocal cords nasal cavities

Page 32: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Speech Production

X-ray movie showing speech in production.

Still image of x-ray movie removed due to copyright restrictions.

Page 33: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Demonstration

Artificial speech.

throat and nasal cavities

buzz from speech vocal cords

Page 34: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Formants

Resonant frequencies of the vocal tract.

am

plitu

de

F1 F2

F3

frequency

Formant heed head had hod haw’d who’d

Men F1 270 530 660 730 570 300 F2 2290 1840 1720 1090 840 870 F3 3010 2480 2410 2440 2410 2240

Women F1 310 610 860 850 590 370 F2 2790 2330 2050 1220 920 950 F3 3310 2990 2850 2810 2710 2670

Children F1 370 690 1010 1030 680 430 F2 3200 2610 2320 1370 1060 1170 F3 3730 3570 3320 3170 3180 3260

http://www.sfu.ca/sonic-studio/handbook/Formant.html

Page 35: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Speech Production

Same glottis signal + different formants → different vowels.

glottis signal vocal tract filter vowel sound

bkak

bkak

We detect changes in the filter function to recognize vowels.

Page 36: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Singing

We detect changes in the filter function to recognize vowels

... at least sometimes.

Demonstration.

“la” scale.

“lore” scale.

“loo” scale.

“ler” scale.

“lee” scale.

Low Frequency: “la” “lore” “loo” “ler” “lee”.

High Frequency: “la” “lore” “loo” “ler” “lee”.

http://www.phys.unsw.edu.au/jw/soprane.html

Page 37: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Speech Production

We detect changes in the filter function to recognize vowels.

low

intermediate

h igh

Page 38: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Speech Production

We detect changes in the filter function to recognize vowels.

low

intermediate

h igh

Page 39: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

Continuous-Time Fourier Series: Summary

Fourier series represent signals by their frequency content.

Representing a signal by its frequency content is useful for many

signals, e.g., music.

Fourier series motivate a new representation of a system as a filter.

Representing a system as a filter is useful for many systems, e.g.,

speech synthesis.

Page 40: 6.003: Signals and Systems - Florida International …web.eng.fiu.edu/andrian/EEL3135/Fourier series II.pdf6.003: Signals and Systems Fourier Series April 1, 2010 Mid-term Examination

MIT OpenCourseWarehttp://ocw.mit.edu

6.003 Signals and Systems Spring 2010

For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.