eece 301 note set 12 fs motivation

Upload: rodriguesvasco

Post on 04-Apr-2018

225 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/31/2019 EECE 301 Note Set 12 FS Motivation

    1/18

  • 7/31/2019 EECE 301 Note Set 12 FS Motivation

    2/18

    2/18

    Ch. 1 Intro

    C-T Signal Model

    Functions on Real Line

    D-T Signal Model

    Functions on Integers

    System Properties

    LTICausal

    Etc

    Ch. 2 Diff EqsC-T System Model

    Differential Equations

    D-T Signal ModelDifference Equations

    Zero-State Response

    Zero-Input Response

    Characteristic Eq.

    Ch. 2 Convolution

    C-T System Model

    Convolution Integral

    D-T System Model

    Convolution Sum

    Ch. 3: CT FourierSignalModels

    Fourier Series

    Periodic Signals

    Fourier Transform (CTFT)

    Non-Periodic Signals

    New System Model

    New Signal

    Models

    Ch. 5: CT FourierSystem Models

    Frequency Response

    Based on Fourier Transform

    New System Model

    Ch. 4: DT Fourier

    SignalModels

    DTFT

    (for Hand Analysis)DFT & FFT

    (for Computer Analysis)

    New Signal

    Model

    Powerful

    Analysis Tool

    Ch. 6 & 8: LaplaceModels for CT

    Signals & Systems

    Transfer Function

    New System Model

    Ch. 7: Z Trans.

    Models for DT

    Signals & Systems

    Transfer Function

    New System

    Model

    Ch. 5: DT Fourier

    System Models

    Freq. Response for DT

    Based on DTFT

    New System Model

    Course Flow DiagramThe arrows here show conceptual flow between ideas. Note the parallel structure between

    the pink blocks (C-T Freq. Analysis) and the blue blocks (D-T Freq. Analysis).

  • 7/31/2019 EECE 301 Note Set 12 FS Motivation

    3/18

    3/18

    Ch. 3: Fourier Series & Fourier Transform

    (This chapter is for C-T case only)

    3.1 Representation in terms of frequency components

    i.e., sinusoids

    And it is easy to find out how sinusoids go through an LTI system

    Q: Why all this attention to sinusoids?

    A: Recall sinusoidal analysis in RLC circuits:

    Fundamental Result: Sinusoid In Sinusoid Out

    LTI System

    - Section 3.1 motivates the following VERY important idea:

    signals can be built from sinusoids

    - Then Sections 3.2 3.3 take this idea further to precisely answer

    How can we use sinusoids to build periodic signals?

    - Then Section 3.4 3.7 take this idea even further to precisely answer

    How can we use sinusoids to build more-general non-periodic signals?

  • 7/31/2019 EECE 301 Note Set 12 FS Motivation

    4/184/18

    Why Study Response to Sinusoids (not in Ch. 3 See 5.1)

    Q: How does a sinusoid go through an LTI System?

    Consider:h(t)

    )cos()( 0 += tAtx ?)( =ty

    LTI: Linear, Time-Invariant

    To make this easier to answer (yes this makes it easier!!) we use Eulers

    Formula:)(

    2

    )(

    20

    00)cos()(

    ++ +=+= tjAtjA eetAtx

    The input is now viewed as the sum of two

    parts By linearity of the system we can find

    the response to each part and then add themtogether.

    So we now re-form our question

  • 7/31/2019 EECE 301 Note Set 12 FS Motivation

    5/185/18

    Q: How does a complex sinusoid go through an LTI System?

    Consider:h(t)

    ?)( =ty

    )(

    ][

    2

    ][

    2

    ])([

    2

    )(

    )()(

    )()()(*)()(

    o

    oo

    ooo

    H

    jtjA

    jtjAtjA

    dehe

    dheedhe

    dhtxthtxty

    =

    +

    +

    +

    =

    ==

    ==

    )(

    210)(

    += tjA etx

    With convolution as a tool we can now easily answer this question:

    Plug in our input forx(t-)

    Use rules for exponentials

    Pull out part that does

    not depend on variable

    of integration

    Note that it is justx1(t)

    Evaluates to some

    complex number thatdepends on h(t) and o

    So the output is just this complex

    sinusoidal input multiplied by some

    complex number!!!

  • 7/31/2019 EECE 301 Note Set 12 FS Motivation

    6/186/18

    Complex-valued

    So )(2

    )()(

    += tjAo

    oeHty

    Lets work this equation a bit more to get a more useful, but equivalent form

    ))((

    2)()( oo

    HtjAo eHty

    ++=

    System changes

    the amplitude

    System changes

    the phase

    Because it is complex we can write

    )(

    )()(oHj

    oo eHH

    =

    So using this gives:

    ( ) ))((2

    )(

    2

    )(

    )(

    )()(

    oo

    oo

    HtjAo

    tjAHj

    o

    eH

    eeHty

    ++

    +

    =

    =

  • 7/31/2019 EECE 301 Note Set 12 FS Motivation

    7/187/18

    Q: How does a sinusoid go through an LTI System?

    Consider:h(t)

    )cos()( 0 += tAtx ?)( =ty

    Now we can re-visit our first question

    This is equivalent to:

    h(t)

    ?)( =ty)(2

    )(

    200)(

    ++ += tjAtjA eetx

    And due to linearity and the previous result used twice we have:

    ))((

    2

    ))((

    2)()()( oooo

    HtjAo

    HtjAo eHeHty

    +++ +=

    Later well see that )()()()( oooo HHHH ==

    So we get:

    [ ]

    ))(cos(

    ))((

    2

    1))((

    2

    1

    )()(oo

    oooo

    Ht

    HtjHtj

    oeeAHty

    ++

    ++++ +=

  • 7/31/2019 EECE 301 Note Set 12 FS Motivation

    8/18

    8/18

    h(t)

    )cos()(0

    += tAtx ))(cos()()( ooo HtHAty ++=

    So How does a sinusoid go through an LTI System?

    Consider:

    The only thing an LTI system does to a sinusoid is

    change its amplitude and its phase!!!!

    But what about when we have more complicated input signals???

    Weve already seen that we have to do convolution to solve that

    case!!!

    h(t))cos(

    )cos()(

    222

    111

    ++

    +=

    tA

    tAtx

    ))(cos()(

    ))(cos()()(

    22222

    11111

    HtHA

    HtHAty

    +++

    ++=

    But if we have a signal that is a sum of sinusoids then we coulduse this easy result because of linearity and superposition!!!

  • 7/31/2019 EECE 301 Note Set 12 FS Motivation

    9/18

    9/18

    So breaking a signal into sinusoidal parts makes our job EASY!!

    (As long we know what the H( ) function looks like that is Ch. 5s

    Problem)

    What we look at in Ch. 3 is

    What kind of signals can we use this trick on?

    Or in other words What kinds of signals can we build by addingtogether sinusoids??!!!

    Nowback to Ch. 3!

    Let 0 be some given fundamental frequency

    Q: What can I build from building blocks that looks like:

    ?)cos( 0 kk kA +Only frequencies that are integermultiples of0

    Ex.: 0 = 30 rad/sec then consider 0, 30 60, 90,

  • 7/31/2019 EECE 301 Note Set 12 FS Motivation

    10/18

    10/18

    Ex. 3.1 (Motivation to answer this question!)

    A little experiment:

    )2

    8cos()3

    4cos()cos()( 841

    ++++= tAtAtAtx

    10 = 04 08

    My notation is a bit different than the book

    A1

    = 0.5

    A4 = 1

    A8 = 0.5

    A1 = 1

    A4 = 0.5

    A8 = 0.5

    A1 = 1

    A4 = 1

    A8 = 1

    Q H il th i f ti b t thi i l d l?

  • 7/31/2019 EECE 301 Note Set 12 FS Motivation

    11/18

    11/18

    Q: How can we easily convey the information about this signal model?

    A: Give a plot that shows the amplitude and phase at each frequency!

    Phase Spectra

    All three cases are the same

    Book uses degrees although it is

    more correct to plot radians

    Radians is what you must use

    in this course

    Amplitude Spectra

    So we can write this sum of sinusoids like this:

  • 7/31/2019 EECE 301 Note Set 12 FS Motivation

    12/18

    12/18

    So we can write this sum of sinusoids like this:

    =

    +=N

    k

    kk tkAtx1

    0 )cos()( (AkReal)

    Like (3.1) except mine is less general I force: 0 kk =

    So Ive got a given set of frequency components and my model

    consists of setting the amplitudes and phases to desired values

    What if we also let k= 0, then we get:

    Its frequency is 0 rad/sec (0 Hz)

    It is a DC term

    )0cos( 00 +A

    = constant, so just use

    A0 & 0 = 0

    =

    ++=N

    k

    kk tkAAtx1

    00 )cos()(

    DC offset (A0 & AkReal) Adding a DC Offset term just moves the whole signal up or down

    This is called

    Trigonometric Form

    (Later well let it have

    an infinite # of terms)

    T i i F k h h i l b h i ll

  • 7/31/2019 EECE 301 Note Set 12 FS Motivation

    13/18

    13/18

    Trigonometric Form makes the most physical sense but mathematically we

    often prefer the equivalent complex exponential form

    +

    +=

    ==

    N

    k

    tjk

    k

    N

    k

    tjk

    k ececctx11

    000)(

    c0 is Real

    ckis Complex

    Positive freq. terms Negative freq. terms

    =

    =N

    Nk

    tjk

    kectx0)(

    This is called

    Complex Exponential

    Form

    Q: How do we get the Complex Exponential Form from the Trigonometric Form?

    A: Eulers Formula!

    Each Term in the Trigonometric Form gives

    Two Terms in the Complex Exponential Form (Except the A0 term)

  • 7/31/2019 EECE 301 Note Set 12 FS Motivation

    14/18

    14/18

    tjkjktjkjk

    tjkjktjkjk

    tkj

    k

    tkj

    kkk

    eeA

    eeA

    eeA

    eeA

    eAeAtkA

    kk

    kk

    kk

    )(

    )()(

    0

    00

    00

    00

    22

    22

    2)cos(

    ++

    +

    =

    +

    =

    +=+ k= 1, 2, 3, . . .

    0 > 0

    Positive-Frequency Term Negative-Frequency Term

    Every physical sinusoid consists of

    one positive-frequency term and one negative-frequency term.

    From direct application of Eulers Formula to each term in the Trigonometric Form

    of the Fourier Series we get:

    The details on how to get the Complex Exponential Form:

    S f thi l ti l f d li htl diff t t l t

  • 7/31/2019 EECE 301 Note Set 12 FS Motivation

    15/18

    15/18

    So for this complex exponential form we need a slightly different spectrum plot.

    Must show both positive and negative frequencies

    Called Double-Sided Spectrum

    Example: Consider )2/8cos()3/4cos(5.0)cos()( ++++= ttttx

    which is already in Trigonometric Form of the Fourier Series with 0 = 1 :

    A1 = 1 A4 = 0.5 A8 = 1 (all others are 0)

    1 = 0 4 = /3 8 = /2

    [ ] [ ]

    [ ]

    tjjtjj

    tjjtjjjtjt

    eeee

    eeeeeetx

    82/82/

    43/43/

    5.05.0

    25.025.05.05.0)(

    ++

    +++=

    Using the results in the previous slides we can re-write this in Complex

    Exponential Form of the FS as:

    c1 = 0.5 c4 = 0.25ej/3 c8 = 0.5e

    j/2

    c-1 = 0.5 c-4 = 0.25e-j/3 c-8 = 0.5e

    -j/2 (all others are 0)

    Both Forms Tell Us the Same Information sometimes one

    or the other is more convenient

  • 7/31/2019 EECE 301 Note Set 12 FS Motivation

    16/18

    16/18

    Single-Sided Spectra for Trigonometric Form of FS

    1frequency (rad/sec)

    2 3 4 5 6 7 8 9 10

    etc.

    Ak

    1frequency (rad/sec)

    2 3 4 5 6 7 8 9 10

    etc.

    k

    1

    0.5

    /3

    /2

    Amplitude

    Spectrum

    Phase

    Spectrum

    )2/8cos()3/4cos(5.0)cos()( ++++= ttttx

    1frequency (rad/sec)

    2 3 4 5 6 7 8 9 10

    etc.

    |ck|

    1frequency (rad/sec)

    2 3 4 5 6 7 8 9 10

    etc.

    ck

    1

    0.5

    /3

    /2

    0.25

    -1-2-3-4-5-6-7-8

    -/3-/2

    Double-Sided Spectra for Complex Exp. Form of FS

    Amplitude

    Spectrum

    Phase

    Spectrum

    [ ]

    [ ][ ]tjjtjj

    tjjtjj

    jtjt

    eeee

    eeee

    eetx

    82/82/

    43/43/

    5.05.0

    25.025.0

    5.05.0)(

    ++

    ++

    +=

    What do these complex exponential terms look like?

  • 7/31/2019 EECE 301 Note Set 12 FS Motivation

    17/18

    17/18

    Im

    Re

    tje

    What do these complex exponential terms look like?

    Well at any fixed time tthe function ejtis a complex number with unit

    amplitude and angle t so we can view it a a vector in the complex plane:

    t

    Im

    Re

    If> 0 then this vector rotates counter-clockwise

    If< 0 then this vector rotates clockwise

    tje

    Now if we let the time variable flow then this vector will rotate:

    controls the angular rate

    it has units of rad/sec

    Visualizing Rotating Phasors

  • 7/31/2019 EECE 301 Note Set 12 FS Motivation

    18/18

    18/18

    Linkto Web Demo for Rotating Phasor

    1. Open the web page2. Click on the box at the top labeled

    Visualizing Rotating Phasors

    We know for Eulers Formula that

    )sin()cos( tjte tj +=

    Thus the real part of a rotating phasor is a cosine wave.

    The following Web Demo shows this:

    One

    What youll see:1. An Orange phasor rotating around the unit circle

    2. The projected Real Part (the cosine) is shown in Red

    3. At the bottom youll see a vertical axis that represents a time

    axis and youll see the Red Real Part repeated and youll see it

    tracing out the cosine wave in orange

    http://www.ptolemy.eecs.berkeley.edu/eecs20/berkeley/phasors/demo/phasors.htmlhttp://www.ptolemy.eecs.berkeley.edu/eecs20/berkeley/phasors/demo/phasors.html