ELEG 3124 SYSTEMS AND SIGNALS Ch. 4 Fourier Series...• Fourier series jn t n x(t) c n e 0: f f...

38
Department of Electrical Engineering University of Arkansas ELEG 3124 SYSTEMS AND SIGNALS Ch. 4 Fourier Series Dr. Jingxian Wu [email protected]

Transcript of ELEG 3124 SYSTEMS AND SIGNALS Ch. 4 Fourier Series...• Fourier series jn t n x(t) c n e 0: f f...

  • Department of Electrical EngineeringUniversity of Arkansas

    ELEG 3124 SYSTEMS AND SIGNALS

    Ch. 4 Fourier Series

    Dr. Jingxian Wu

    [email protected]

  • 2

    OUTLINE

    • Introduction

    • Fourier series

    • Properties of Fourier series

    • Systems with periodic inputs

  • 3

    INTRODUCTION: MOTIVATION

    • Motivation of Fourier series

    – Convolution is derived by decomposing the signal into the sum of

    a series of delta functions

    • Each delta function has its unique delay in time domain.

    • Time domain decomposition

    +

    −=→

    +

    −−=−=

    n

    ntnxdtxtx )()(lim)()()(0

    t

    x(t)

    Illustration of integration

  • INTRODUCTION: MOTIVATION

    • Can we decompose the signal into the sum of other

    functions

    – Such that the calculation can be simplified?

    – Yes. We can decompose periodic signal as the sum of a sequence

    of complex exponential signals ➔ Fourier series.

    – Why complex exponential signal? (what makes complex

    exponential signal so special?)

    • 1. Each complex exponential signal has a unique frequency ➔

    frequency decomposition

    • 2. Complex exponential signals are periodic

    4

    tfjtjee 00

    2=

    2

    00

    =f

  • Department of Engineering Science

    Sonoma State University

    5

    INTRODUCTION: REVIEW

    • Complex exponential signal

    )2sin()2cos(2 ftjfte ftj +=

    – Complex exponential function has a one-to-one relationship with

    sinusoidal functions.

    – Each sinusoidal function has a unique frequency: f

    • What is frequency?

    – Frequency is a measure of how fast the signal can change within a

    unit time.

    • Higher frequency ➔ signal changes faster

    f = 0 Hz

    f = 1 Hz

    f = 3 Hz

    Sinusoidal at different frequencies

  • 6

    INTRODUCTION: ORTHONORMAL SIGNAL SET

    • Definition: orthogonal signal set

    – A set of signals, , are said to be orthogonal

    over an interval (a, b) if

    ),(),(),( 210 ttt

    kl

    klCdttt

    b

    akl

    =

    = ,0,

    )()( *

    • Example:

    – the signal set: are

    orthogonal over the interval , where

    tjk

    k et0)(

    = ,2,1,0 =k

    ],0[ 0T

    0

    0

    2

    T

    =

  • 7

    OUTLINE

    • Introduction

    • Fourier series

    • Properties of Fourier series

    • Systems with periodic inputs

  • 8

    FOURIER SERIES

    • Definition:

    – For any periodic signal with fundamental period , it can be decomposed as the sum of a set of complex exponential signals as

    tjn

    n

    nectx0)(

    +

    −=

    =

    • , Fourier series coefficients,2,1,0, =ncn

    =0

    0)(1

    0T

    tjn

    n dtetxT

    c

    • derivation of :nc

    0T

    00

    2

    T

    =

  • For a periodic signal, it can be either represented as s(t), or represented as

    9

    FOURIER SERIES

    • Fourier series

    tjn

    n

    nectx0)(

    +

    −=

    =

    – The periodic signal is decomposed into the weighted summation of a set of orthogonal complex exponential functions.

    – The frequency of the n-th complex exponential function:

    ,2,1,0, =ncnnc

    0n

    • The periods of the n-th complex exponential function:

    – The values of coefficients, , depend on x(t)

    • Different x(t) will result in different

    • There is a one-to-one relationship between x(t) and

    n

    TTn

    0=

    nc

    )(ts ],,,,,[ 210,12 ccccc −−➔

    nc

  • 10

    FOURIER SERIES

    • Example

    10

    01

    ,

    ,)(

    =t

    t

    K

    Ktx

    -3 -2 -1 1 2

    t

    x(t)

    Rectangle pulses

  • FOURIER SERIES

    • Amplitude and phase

    – The Fourier series coefficients are usually complex numbers

    – Amplitude line spectrum: amplitude as a function of

    – Phase line spectrum: phase as a function of

    11

    nnn jbac +=

    22

    nnn bac +=

    n

    nn

    a

    btana=

    0n

    0n

    nj

    n ec

    =

  • 12

    FOURIER SERIES: FREQUENCY DOMAIN

    • Signal represented in frequency domain: line spectrum

    – Each has its own frequency

    – The signal is decomposed in frequency domain.

    – is called the harmonic of signal s(t) at frequency

    – Each signal has many frequency components.

    • The power of the harmonics at different frequencies determines

    how fast the signal can change.

    nc

    nc

    amplitude phase

    0n

    0n

  • FOURIER SERIES: FREQUENCY DOMAIN

    • Example: Piano Note

    13

    E5: 659.25 Hz

    E6: 1318.51 Hz

    B6: 1975.53 Hz

    E7: 2637.02 Hz

    E5

    E6B6

    E7

    All graphs in this page are created by using the open-source software Audacity.

    piano notes

    One piano note

    spectrum

  • 14

    FOURIER SERIES

    • Example

    – Find the Fourier series of )exp()( 0tjts =

  • FOURIER SERIES

    • Example

    – Find the Fourier series of

    15

    )cos()( 0 ++= tABts

    )100sin(1)( tty +=

    Time domain Amplitude spectrumPhase spectrum

  • 16

    FOURIER SERIES

    • Example

    – Find the Fourier series of

    −−

    =

    2/2/,0

    2/2/,

    2/2/,0

    )(

    Tt

    tK

    tT

    ts

    5,1 == T

    10,1 == T

    15,1 == T

    )(csinT

    n

    T

    Kcn

    =

    t

    x(t)

    Time domain

  • 17

    FOURIER SERIES: DIRICHLET CONDITIONS

    • Can any periodic signal be decomposed into Fourier

    series?

    – Only signals satisfy Dirichlet conditions have Fourier series

    • Dirichlet conditions

    – 1. x(t) is absolutely integrable within one period

    T dttx |)(|

    – 2. x(t) has only a finite number of maxima and minima.

    – 3. The number of discontinuities in x(t) must be finite.

  • 18

    OUTLINE

    • Introduction

    • Fourier series

    • Properties of Fourier series

    • Systems with periodic inputs

  • 19

    PROPERTIES: LINEARITY

    • Linearity

    – Two periodic signals with the same period0

    0

    2

    =

    T

    – The Fourier series of the superposition of two signals is

    +

    −=

    +=+

    n

    tjn

    nn ekktyktxk0)()()( 2121

    +

    −=

    =

    n

    tjn

    netx0)(

    )()()( 2121 nn kktyktxk +=+

    – If

    ntx =)( nty =)(

    • then

    +

    −=

    =

    n

    tjn

    nety0)(

  • 20

    PROPERTIES: EFFECTS OF SYMMETRY

    • Symmetric signals

    – A signal is even symmetry if:

    – A signal is odd symmetry if:

    – The existence of symmetries simplifies the computation of Fourier

    series coefficients.

    )()( txtx −=

    )()( txtx −−=

    -4 -3 -2 -1 1 2 3 4

    t

    x(t)

    -5 -4 -3 -2 -1 1 2 3 4 5

    t

    x(t)

    Even symmetric Odd symmetric

  • 21

    PROPERTIES: EFFECTS OF SYMMETRY

    • Fourier series of even symmetry signals

    – If a signal is even symmetry, then

    ( )+

    −=

    =n

    n tnatx 0cos)( ( ) =2/

    00

    0

    0

    cos)(2 T

    n dttntxT

    a

    • Fourier series of odd symmetry signals

    – If a signal is odd symmetry, then

    ( )+

    =

    =1

    0sin)(n

    n tnbtx ( ) =2/

    00

    0

    0

    sin)(2 T

    n dttntxT

    b

  • 22

    PROPERTIES: EFFECTS OF SYMMETRY

    • Example

    −=

    TtTAtT

    A

    TttT

    AA

    tx

    2/,34

    2/0,4

    )(t

    x(t)

    Graph of x(t)

  • 23

    PROPERTIES: SHIFT IN TIME

    • Shift in time

    – If has Fourier series , then has Fourier series )(tx nc )( 0ttx −

    00tjn

    nec−

    )(tx nc➔if , then )( 0ttx − ➔00tjn

    nec−

    – Proof:

  • 24

    PROPERTIES: PARSEVAL’S THEOREM

    • Review: power of periodic signal

    =T

    dttxT

    P0

    2|)(|1

    • Parseval’s theorem

    +

    −=

    =m

    m

    T

    dttxT

    2

    0

    2 |||)(|1

    )(txif ➔ n

    then

    – Proof:

    The power of signal can be computed in frequency domain!

  • 25

    PROPERTIES: PARSEVAL’S THEOREM

    • Example

    – Use Parseval’s theorem find the power of )sin()( 0tAtx =

  • 26

    OUTLINE

    • Introduction

    • Fourier series

    • Properties of Fourier series

    • Systems with periodic inputs

  • 27

    PERIODIC INPUTS: COMPLEX EXPONENTIAL INPUT

    • LTI system with complex exponential inputtjetx =)(

    )(th)(ty

    )()()()()( txththtxty ==

    dtxh+

    −−= )()(

    djhtj +

    −−= )exp()()exp(

    djhH +

    −−= )exp()()(

    • Transfer function

    – For LTI system with complex exponential input, the output is

    )exp()()( tjHty =

    – It tells us the system response at different frequencies

  • PERIODIC INPUT

    • Example:

    – For a system with impulse response

    find the transfer function

    28

    )()( 0ttth −=

  • 29

    PERIODIC INPUT:

    • Example

    – Find the transfer function of the system shown in figure.

    RL circuit

  • PERIODIC INPUTS

    • Example

    – Find the transfer function of the system shown in figure

    30

    RC circuit

  • 31

    PERIODIC INPUTS: TRANSFER FUNCTION

    • Transfer function

    – For system described by differential equations

    = =

    =n

    i

    m

    i

    i

    i

    i

    i txqtyp0 0

    )()( )()(

    =

    =

    =n

    i

    i

    i

    m

    i

    i

    i

    jp

    jq

    H

    0

    0

    )(

    )(

    )(

  • 32

    PERIODIC INPUTS

    • LTI system with periodic inputs

    – Periodic inputs:

    tjne 0

    )(th)( 0

    0

    nHetjn

    +

    −=

    =n

    n tjnctx )exp()( 0

    linear: tjn

    n

    nec0

    +

    −=

    )(th

    )( 00

    +

    −=

    nHectjn

    n

    n

    )(tx)(th

    )( 00

    +

    −=

    nHectjn

    n

    n

    For system with periodic inputs, the output is the weighted

    sum of the transfer function.

    T

    20 =

  • 33

    PERIODIC INPUTS

    • Procedures:

    – To find the output of LTI system with periodic input

    • 1. Find the Fourier series coefficients of periodic input x(t).

    =T

    tjn

    n dtetxT 0

    0)(1

    • 2. Find the transfer function of LTI system

    Tf

    22 00 ==

    period of x(t)

    • 3. The output of the system is

    )()( 00 =

    +

    −=

    nHectytjn

    n

    n

    )(H

  • 34

    PERIODIC INPUTS

    • Example

    – Find the response of the system when the input is

    )2cos(2)cos(4)( tttx −=

    RL Circuit

  • 35

    PERIODIC INPUTS

    • Example

    – Find the response of the system when the input is shown in figure.

    -3 -2 -1 1 2

    t

    x(t)

    RC circuitSquare pulses

  • PERIODIC INPUTS: GIBBS PHENOMENON

    • The Gibbs Phenomenon

    – Most Fourier series has infinite number of elements→ unlimited

    bandwidth

    • What if we truncate the infinite series to finite number of

    elements?

    – The truncated signal, , is an approximation of the

    original signal x(t)

    36

    tjn

    n

    nectx0)(

    +

    −=

    =

    tjnN

    Nn

    nN ectx0)(

    +

    −=

    =

    )(txN

  • PERIODIC INPUTS: GIBBS PHENOMENON

    37

    =

    even. 0,

    odd, ,12

    n

    nnj

    K

    cn tjn

    N

    Nn

    nN ectx0)(

    +

    −=

    =

    )(3 tx )(5 tx)(19 tx

    -3 -2 -1 1 2

    t

    x(t)

    Square pulses

  • FOURIER SERIES

    • Analogy: Optical Prism

    – Each color is an Electromagnetic wave with a different frequency

    38

    Optical prism