Top Banner

of 26

Part2 Cont Signal Review

Apr 14, 2018

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
  • 7/29/2019 Part2 Cont Signal Review

    1/26

    Part 2: Review of Continuous-time Systems

    1

  • 7/29/2019 Part2 Cont Signal Review

    2/26

    Outline

    LTI systems

    Impulse response

    Convolution

    Complex exponentials

    Fourier transform

    2

  • 7/29/2019 Part2 Cont Signal Review

    3/26

    What is an LTI system? An example

    Consider the following system with microphone in a classroom

    Input: x(t), speech signal

    Output: y(t), speaker output

    3

  • 7/29/2019 Part2 Cont Signal Review

    4/26

    Linear System: scaling

    If I speak 2 times louder, you should hear 2 times louder voice

    Originally input was x(t) and output was y(t), then if we scale theinput by a times making the input a x(t), then the output is a y(t)

    4

  • 7/29/2019 Part2 Cont Signal Review

    5/26

    Linear System: superposition

    Lecturer 1s speech is x1(t) and Lecturer 2s speech is x2(t).

    Originally outputs of x1(t) and x2(t) were y1(t) and y2(t) respec-tively.

    If two lecturers talk at the same time making the input x1(t)+ x2(t),

    the output to audience will be y1(t) + y2(t). This is superposition.

    5

  • 7/29/2019 Part2 Cont Signal Review

    6/26

    Time-invariant system: shifting

    Again the input is x(t) and output is y(t).

    For example, if the same waveform is generated 5 seconds later,x(t 5), then the output is delayed by the same amount, givingy(t 5).

    For any t0, time-shift of the input by t0 causes the same amount oftime-shift at the output the output to x(t t0) is y(t t0), we callthe system as time-invariant.

    6

  • 7/29/2019 Part2 Cont Signal Review

    7/26

    LTI system

    Consider an LTI system such that for input xi(t) it outputs yi(t),i = 1, 2, . . .

    If we perform scaling x

    i(t)

    by constant ai, shifting by time t

    iand

    superposition, what is the output?

    7

  • 7/29/2019 Part2 Cont Signal Review

    8/26

    Impulse response in LTI systems

    The impulse is often mathematically defined by delta function (orsometimes called sifting function)

    What is the role of the delta function in LTI system? Lets see howa signal is constructed using delta functions.

    8

  • 7/29/2019 Part2 Cont Signal Review

    9/26

    A comment on delta function

    Mathematically, the delta function denoted (t) takes infinite at t =0 and is 0 elsewhere, and unit area,

    (t)dt = 1

    This singular property makes analysis somewhat involved. In thefollowing discussion we will use (t) instead,

    (t) =

    1, |t|

    2

    0, otherwise

    9

  • 7/29/2019 Part2 Cont Signal Review

    10/26

    Signal construction via delta function

    10

  • 7/29/2019 Part2 Cont Signal Review

    11/26

    Impulse response and convolution

    We saw that signal x(t) is constructed by shifting, scaling andsuperposition of impulses.

    So if we know the response (output) of the system by passing oneimpulse as an input, then we can generate any output signal by

    proper shifting, scaling and superposition of that response. This argument holds only if the system is LTI!

    Response by passing one impulse: impulse response

    Shifting, scaling and superposition of impulse response adjusted toinput signal: convolution

    11

  • 7/29/2019 Part2 Cont Signal Review

    12/26

    Convolution

    12

  • 7/29/2019 Part2 Cont Signal Review

    13/26

    Complex exponentials

    Convenient way to express sinusoidal waves.

    t

    Eulers formula:

    ejt = cos(t) + j sin(t)

    This represents complex exponential wave with frequency .

    Why use complex number? It is just a convenient way to expressand mathematically analyze. What is its meaning?

    13

  • 7/29/2019 Part2 Cont Signal Review

    14/26

    Complex exponentials

    Every function x(t) can be decomposed into even and odd parts:

    xe(t) =x(t) + x(t)

    2, xo(t) =

    x(t) x(t)

    2

    Every even (odd) function can be represented by composition ofcosine (sine) function

    Even and odd functions are orthogonal, i.e.xe(t)xo(t)dt = 0

    In complex plane, real and imaginary parts are also orthogonal(inner product of vector is 0). From Eulers formula, cosine real and sine imaginary.

    In Fourier analysis, even functions are related to cosine waves

    and real parts of the Fourier transform.

    X(j) =

    x(t)ejtdt =

    xe(t) cos(t)dt + j

    xo(t) sin(t)dt

    = XR(j) + jXI(j)

    14

  • 7/29/2019 Part2 Cont Signal Review

    15/26

    Complex exponentials and LTI system

    In LTI system, complex exponentials are eigenfunctions: if theinput is sinusoidal, the output must be sinusoidal with change only

    in magnitude and phase

    Consider an LTI system with impulse response h(t). When theinput is ejt the output is:

    h()ej(t)d = ejt

    h()ejd = H(j)ejt

    15

  • 7/29/2019 Part2 Cont Signal Review

    16/26

    Complex exponentials and LTI system

    if input is a sinusoid, output is also a sinusoid with proper shiftingand scaling

    In LTI system, when the input is ejt, the output is H(j)ejt.

    H(j) is the gain of a complex input sinusoidal with frequency .

    16

  • 7/29/2019 Part2 Cont Signal Review

    17/26

    Fourier Transforms

    Fourier transform (analysis)

    H(j) =

    h(t)ejtdt

    Inverse Fourier transform (synthesis)

    h(t) = 12

    H(j)ejtd

    Interpretation: A signal h(t) is composed of infinitely many com-plex sinusoids whose ejt component has amplitude (2)1H(j)d.

    Roughly speaking this can be derived using orthogonality of com-plex exponentials with different frequency: for = ,

    ejtejtdt = 0

    We call h(t) and H(j) as Fourier transform pair:

    h(t)F H(j)

    17

  • 7/29/2019 Part2 Cont Signal Review

    18/26

    Phase and Magnitude

    H(j) is the gain of a complex input sinusoidal with frequency .

    Notation: by polar coordinate expression of complex numbers,

    H(j) = |H(j)|ejH(j)

    magnitude: |H(j)|

    phase: H(j)

    Example

    h(t) = (t t0): every exponentials are shifted by same amount

    t0. For example, cos(t) is shifted to cos((t t0)).

    (t t0)F ejt0

    In this case |H(j)| = 1, H(j) = t0.

    18

  • 7/29/2019 Part2 Cont Signal Review

    19/26

    Convolution Theorem for LTI systems

    The amplitude ofejt component ofx(t): (2)1X(j)d

    The ejt component: (2)1X(j)d ejt

    Going through the system, the ejt component becomes:

    (2)1X(j)d ejt H(j)

    (H(j) is the gain!) This is the ejt component of the output, which means

    y(t) =1

    2

    H(j)X(j)ejtd

    or

    Y(j) = H(j)X(j)

    This is the convolution theorem.

    19

  • 7/29/2019 Part2 Cont Signal Review

    20/26

    sinc function

    x(t) = 1, |t| < T1

    0,|t|

    > T1

    X(j) =

    T1T1

    ejtdt = 2sinT1

    x(t)F X(j)

    20

  • 7/29/2019 Part2 Cont Signal Review

    21/26

    Fourier Transform Properties

    Linearity: Ifx(t)F X(j) and y(t)

    F Y(j) then for some

    constants a and b,

    ax(t) + by(t)F aX(j) + bY(j)

    Even and Odd Parts: Any real signal x(t) can be decomposed into

    a unique sum of even and odd functions:

    x(t) = xe(t) + xo(t)

    where

    xe(t) = x(t) + x(t)2

    , xo(t) = x(t) x(t)2

    Then

    xe(t)F Re[X(j)], xo(t)

    F jIm[X(j)]

    21

  • 7/29/2019 Part2 Cont Signal Review

    22/26

    Fourier Transform Properties

    Time Scaling: For any nonzero a R

    x(at)F

    1

    |a|X

    a

    W

    X (W )

    W

    t

    x (t )

    t

    x (t /2) 2X (2W )

    This says that expanding (contracting) a signal in time contracts(expands) its spectrum.

    Narrower in time broader spectrum

    Broader in time narrower spectrum

    22

  • 7/29/2019 Part2 Cont Signal Review

    23/26

    Fourier Transform Properties

    Symmetry of Inversion: Ifx(t)F X(j), then

    X(t)F 2x(j)

    Time Shifting: Ifx(t)F X(j) and t0 R, then

    x(t t0)

    F

    X(j)ejt0

    Frequency Shifting (modulation): If x(t)F X(j) and w0

    R, then

    x(t)ej0tF X(j( 0))

    23

  • 7/29/2019 Part2 Cont Signal Review

    24/26

    Fourier Transform Properties

    Time Differentiation: Ifx(t)F X(j) then

    dnx(t)

    dtnF (j)nX(j)

    provided that the transform exists.

    Consider differentiation ofcos(t) and sin(t) with respect to t:d cos(t)

    dt= sin(t) = cos(t +

    2)

    d sin(t)

    dt

    = cos(t) = sin(t +

    2

    )

    What does this mean?

    1. The magnitude of all sinusoids are multiplied by

    2. the phase of all sinusoids are shifted by 2

    , which is the same as

    multiplying e2 = j in complex plane

    This happens for each time of differentiation, thus we have to mul-tiply such gains in magnitude and phase each time : (j)n for ndifferentiation

    24

  • 7/29/2019 Part2 Cont Signal Review

    25/26

    Fourier Transform Properties

    Time Convolution Theorem: Ifx(t), y(t)F X(j), Y(j) and

    x(t)y(t) =

    x(ta)y(a)da =

    y(ta)x(a)da = y(t)x(t)

    then

    x(t) y(t)

    F

    X(j) Y(j).

    Frequency Convolution Theorem: Ifx(t), y(t) F X(j), Y(j)then

    x(t) y(t)F

    1

    2X(j) Y(j).

    25

    F i T f P i

  • 7/29/2019 Part2 Cont Signal Review

    26/26

    Fourier Transform Properties

    Parsevals Theorem: Suppose x(t), y(t)F X(j), Y(j) then

    x(t)y(t)dt =1

    2

    X(j)Y(j)d

    and in particular

    |x(t)|2dt =1

    2

    |X(j)|2d

    Thus, the total energy in x(t) (think of x(t) as voltage, then itssquare gives power, and square integral over time gives energy) is

    the same as the total energy in |X(j)|. So |X(j)|2 is called theenergy spectrum (the density function of energy over frequency)

    ofx(t).

    26