Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The...

34
Fourier Series Periodic Functions

Transcript of Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The...

Page 1: Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The Mathematic Formulation Any function that satisfies f t f t( ) ( ) T where T is a constant

Fourier Series

Periodic Functions

Page 2: Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The Mathematic Formulation Any function that satisfies f t f t( ) ( ) T where T is a constant

The Mathematic Formulation

Any function that satisfies

( ) ( )f t f t T

where T is a constant and is called the period

of the function.

Page 3: Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The Mathematic Formulation Any function that satisfies f t f t( ) ( ) T where T is a constant

Example:

4cos

3cos)(

tttf Find its period.

)()( Ttftf )(4

1cos)(

3

1cos

4cos

3cos TtTt

tt

Fact: )2cos(cos m

mT

23

nT

24

mT 6

nT 8

24T smallest T

Page 4: Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The Mathematic Formulation Any function that satisfies f t f t( ) ( ) T where T is a constant

Example:

tttf 21 coscos)( Find its period.

)()( Ttftf )(cos)(coscoscos 2121 TtTttt

mT 21

nT 22

n

m

2

1

2

1

must be a

rational number

Page 5: Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The Mathematic Formulation Any function that satisfies f t f t( ) ( ) T where T is a constant

Example:

tttf )10cos(10cos)(

Is this function a periodic one?

10

10

2

1 not a rational

number

Page 6: Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The Mathematic Formulation Any function that satisfies f t f t( ) ( ) T where T is a constant

Fourier Series

Fourier Series

Page 7: Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The Mathematic Formulation Any function that satisfies f t f t( ) ( ) T where T is a constant

Introduction

Decompose a periodic input signal into

primitive periodic components.

A periodic sequence

T 2T 3T

t

f(t)

Page 8: Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The Mathematic Formulation Any function that satisfies f t f t( ) ( ) T where T is a constant

Synthesis

T

ntb

T

nta

atf

n

n

n

n

2sin

2cos

2)(

11

0

DC Part Even Part Odd Part

T is a period of all the above signals

)sin()cos(2

)( 0

1

0

1

0 tnbtnaa

tfn

n

n

n

Let 0=2/T.

Page 9: Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The Mathematic Formulation Any function that satisfies f t f t( ) ( ) T where T is a constant

Orthogonal Functions

Call a set of functions {k} orthogonal

on an interval a < t < b if it satisfies

nmr

nmdttt

n

b

anm

0)()(

Page 10: Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The Mathematic Formulation Any function that satisfies f t f t( ) ( ) T where T is a constant

Decomposition

dttfT

aTt

t

0

0

)(2

0

,2,1 cos)(2

0

0

0

ntdtntfT

aTt

tn

,2,1 sin)(2

0

0

0

ntdtntfT

bTt

tn

)sin()cos(2

)( 0

1

0

1

0 tnbtnaa

tfn

n

n

n

Page 11: Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The Mathematic Formulation Any function that satisfies f t f t( ) ( ) T where T is a constant

Example (Square Wave)

112

2

00

dta

,2,1 0sin1

cos2

200

nntn

ntdtan

,6,4,20

,5,3,1/2)1cos(

1 cos

1sin

2

200

n

nnn

nnt

nntdtbn

2 3 4 5--2-3-4-5-6

f(t)1

Page 12: Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The Mathematic Formulation Any function that satisfies f t f t( ) ( ) T where T is a constant

112

2

00

dta

,2,1 0sin1

cos2

200

nntn

ntdtan

,6,4,20

,5,3,1/2)1cos(

1 cos

1sin

2

100

n

nnn

nnt

nntdtbn

2 3 4 5--2-3-4-5-6

f(t)1

Example (Square Wave)

ttttf 5sin

5

13sin

3

1sin

2

2

1)(

Page 13: Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The Mathematic Formulation Any function that satisfies f t f t( ) ( ) T where T is a constant

112

2

00

dta

,2,1 0sin1

cos2

200

nntn

ntdtan

,6,4,20

,5,3,1/2)1cos(

1 cos

1sin

2

100

n

nnn

nnt

nntdtbn

2 3 4 5--2-3-4-5-6

f(t)1

Example (Square Wave)

-0.5

0

0.5

1

1.5

ttttf 5sin

5

13sin

3

1sin

2

2

1)(

Page 14: Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The Mathematic Formulation Any function that satisfies f t f t( ) ( ) T where T is a constant

Harmonics

T

ntb

T

nta

atf

n

n

n

n

2sin

2cos

2)(

11

0

DC Part Even Part Odd Part

T is a period of all the above signals

)sin()cos(2

)( 0

1

0

1

0 tnbtnaa

tfn

n

n

n

Page 15: Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The Mathematic Formulation Any function that satisfies f t f t( ) ( ) T where T is a constant

Harmonics

tnbtnaa

tfn

n

n

n 0

1

0

1

0 sincos2

)(

Tf

22 00

Define , called the fundamental angular frequency.

0 nnDefine , called the n-th harmonic of the periodic function.

tbtaa

tf n

n

nn

n

n

sincos2

)(11

0

Page 16: Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The Mathematic Formulation Any function that satisfies f t f t( ) ( ) T where T is a constant

Harmonics

tbtaa

tf n

n

nn

n

n

sincos2

)(11

0

)sincos(2 1

0 tbtaa

nnn

n

n

12222

220 sincos2 n

n

nn

nn

nn

nnn t

ba

bt

ba

aba

a

1

220 sinsincoscos2 n

nnnnnn ttbaa

)cos(1

0 n

n

nn tCC

Page 17: Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The Mathematic Formulation Any function that satisfies f t f t( ) ( ) T where T is a constant

Amplitudes and Phase Angles

)cos()(1

0 n

n

nn tCCtf

2

00

aC

22

nnn baC

n

nn

a

b1tan

harmonic amplitude phase angle

Page 18: Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The Mathematic Formulation Any function that satisfies f t f t( ) ( ) T where T is a constant

Fourier Series

Complex Form of the Fourier Series

Page 19: Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The Mathematic Formulation Any function that satisfies f t f t( ) ( ) T where T is a constant

Complex Exponentials

tnjtnetjn

00 sincos0

tjntjneetn 00

2

1cos 0

tnjtnetjn

00 sincos0

tjntjntjntjnee

jee

jtn 0000

22

1sin 0

Page 20: Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The Mathematic Formulation Any function that satisfies f t f t( ) ( ) T where T is a constant

Complex Form of the Fourier Series

tnbtnaa

tfn

n

n

n 0

1

0

1

0 sincos2

)(

tjntjn

n

n

tjntjn

n

n eebj

eeaa

0000

11

0

22

1

2

1

0 00 )(2

1)(

2

1

2 n

tjn

nn

tjn

nn ejbaejbaa

1

000

n

tjn

n

tjn

n ececc

)(2

1

)(2

1

2

00

nnn

nnn

jbac

jbac

ac

Page 21: Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The Mathematic Formulation Any function that satisfies f t f t( ) ( ) T where T is a constant

Complex Form of the Fourier Series

1

000)(

n

tjn

n

tjn

n ececctf

1

1

000

n

tjn

n

n

tjn

n ececc

n

tjn

nec 0

)(2

1

)(2

1

2

00

nnn

nnn

jbac

jbac

ac

Page 22: Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The Mathematic Formulation Any function that satisfies f t f t( ) ( ) T where T is a constant

Complex Form of the Fourier Series

2/

2/

00 )(

1

2

T

Tdttf

T

ac

)(2

1nnn jbac

2/

2/0

2/

2/0 sin)(cos)(

1 T

T

T

Ttdtntfjtdtntf

T

2/

2/00 )sin)(cos(

1 T

Tdttnjtntf

T

2/

2/

0)(1 T

T

tjndtetf

T

2/

2/

0)(1

)(2

1 T

T

tjn

nnn dtetfT

jbac )(2

1

)(2

1

2

00

nnn

nnn

jbac

jbac

ac

Page 23: Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The Mathematic Formulation Any function that satisfies f t f t( ) ( ) T where T is a constant

Complex Form of the Fourier Series

n

tjn

nectf 0)(

dtetfT

cT

T

tjn

n

2/

2/

0)(1

)(2

1

)(2

1

2

00

nnn

nnn

jbac

jbac

ac

If f(t) is real,

*

nn cc

nn j

nnn

j

nn ecccecc

|| ,|| *

22

2

1|||| nnnn bacc

n

nn

a

b1tan

,3,2,1 n

002

1ac

Page 24: Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The Mathematic Formulation Any function that satisfies f t f t( ) ( ) T where T is a constant

Complex Frequency Spectra

nn j

nnn

j

nn ecccecc

|| ,|| *

22

2

1|||| nnnn bacc

n

nn

a

b1tan ,3,2,1 n

002

1ac

|cn|

amplitude

spectrum

n

phase

spectrum

Page 25: Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The Mathematic Formulation Any function that satisfies f t f t( ) ( ) T where T is a constant

Example

2

T

2

T TT

2

d

t

f(t)

A

2

d

dteT

Ac

d

d

tjn

n

2/

2/

0

2/

2/0

01

d

d

tjne

jnT

A

2/

0

2/

0

0011 djndjn

ejn

ejnT

A

)2/sin2(1

0

0

dnjjnT

A

2/sin1

0

021

dnnT

A

T

dn

T

dn

T

Adsin

Page 26: Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The Mathematic Formulation Any function that satisfies f t f t( ) ( ) T where T is a constant

T

dn

T

dn

T

Adcn

sin

82

5

1

T ,

4

1 ,

20

1

0

T

dTd

Example

40 80 120-40 0-120 -80

A/5

50 100 150-50-100-150

Page 27: Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The Mathematic Formulation Any function that satisfies f t f t( ) ( ) T where T is a constant

T

dn

T

dn

T

Adcn

sin

42

5

1

T ,

2

1 ,

20

1

0

T

dTd

Example

40 80 120-40 0-120 -80

A/10

100 200 300-100-200-300

Page 28: Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The Mathematic Formulation Any function that satisfies f t f t( ) ( ) T where T is a constant

Example

dteT

Ac

dtjn

n

0

0

d

tjne

jnT

A

00

01

00

110

jne

jnT

A djn

)1(1

0

0

djne

jnT

A

2/0

sindjn

e

T

dn

T

dn

T

Ad

TT d

t

f(t)

A

0

)(1 2/2/2/

0

000 djndjndjneee

jnT

A

Page 29: Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The Mathematic Formulation Any function that satisfies f t f t( ) ( ) T where T is a constant

Fourier Series

Impulse Train

Page 30: Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The Mathematic Formulation Any function that satisfies f t f t( ) ( ) T where T is a constant

Dirac Delta Function

0

00)(

t

tt and 1)(

dtt

0t

Also called unit impulse function.

Page 31: Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The Mathematic Formulation Any function that satisfies f t f t( ) ( ) T where T is a constant

Property

)0()()(

dttt

)0()()0()0()()()(

dttdttdttt

(t): Test Function

Page 32: Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The Mathematic Formulation Any function that satisfies f t f t( ) ( ) T where T is a constant

Impulse Train

0t

T 2T 3TT2T3T

n

T nTtt )()(

Page 33: Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The Mathematic Formulation Any function that satisfies f t f t( ) ( ) T where T is a constant

Fourier Series of the Impulse Train

n

T nTtt )()(T

dttT

aT

TT

2)(

2 2/

2/0

Tdttnt

Ta

T

TTn

2)cos()(

2 2/

2/0

0)sin()(2 2/

2/0 dttnt

Tb

T

TTn

n

T tnTT

t 0cos21

)(

Page 34: Periodic Functions - UniMAP Portalportal.unimap.edu.my/portal/page/portal30/Lecturer Notes...The Mathematic Formulation Any function that satisfies f t f t( ) ( ) T where T is a constant

Complex FormFourier Series of the Impulse Train

Tdtt

T

ac

T

TT

1)(

1

2

2/

2/

00

Tdtet

Tc

T

T

tjn

Tn

1)(

1 2/

2/

0

n

tjn

T eT

t 01

)(

n

T nTtt )()(