sid sigsys 1- introduction to signals and systems

46
College of Engineering and Computing ENG 343 Signals and Systems Winter 2014 Introduction Dr. Sidra A. Shaikh

Upload: hussi-al-harth

Post on 19-Oct-2015

22 views

Category:

Documents


0 download

DESCRIPTION

this also signal

TRANSCRIPT

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    1/46

    College of Engineering and Computing

    ENG 343 Signals and SystemsWinter 2014

    Introduction

    Dr. Sidra A. Shaikh

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    2/46

    College of Engineering and Computing

    Reference Books

    Fundamentals of Signals and Systems: Using theWeb and MATLAB

    Edward W. Kamen. Ans Bonnie S. Heck.

    Pearson Prentice Hall, 2007. ISBN 013168737-9

    Signals and Systems

    Oppenheim, A. V, Willsky, A.S., and Nawab, S H. 2003.

    3rd Edition, Prentice-Hall. ISBN: 0138097313

    2Wednesday, 26 February 2014 Dr. Sidra A Shaikh

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    3/46

    College of Engineering and Computing

    Week # Topic/Material Covered in Class/LabReference in the

    Textbook/

    Course Material1 Introduction: Continuous and discrete-time signals Operations on signals Time Domain Chapter 1, Textbook #1

    2 Properties of signals Elementary signals Continuous- and discrete-time systems

    Interconnections of systems.

    System Properties.

    Chapter 1, Textbook #1

    3. & 4 Representations for Linear Time Invariant Systems: Convolution Properties of

    convolution

    Difference and differential equations

    Chapter #1, Textbook #1

    5 - characterizing solutions

    Fourier Representations of Signals: Discrete time periodic signals - the discrete time

    Fourier series

    Chapter #2, Textbook #1,

    6 Continuous time periodic signals Chapter #2, Textbook #1

    7 - the Fourier series Discrete time non-periodic signals Chapter #2, Textbook #1,

    8 - the discrete time Fourier transform Continuous time non-periodic signals Chapter #2, Textbook #1,

    9 - the Fourier transform Properties of Fourier representations Chapter #3, Textbook #1,

    10 Applications of Fourier Representations: Frequency response from time-domain system

    descriptions

    Chapter #4, Textbook #1,

    11 Fourier transform representations for periodic signals Convolution and modulation

    revisited

    Chapter #5, Textbook #1.

    12 - mixing periodic and non-periodic signals Chapter 2, Ref book #1.

    13 The Fourier transform representation for discrete-time signals Chapter 5 Textbook #1, Lab Manual.

    14 Sampling continuous-time signals

    Reconstruction of continuous-time signals from samples

    Chapter #6, Textbook #1,

    15 Revision

    Topics to be covered

    3Wednesday, 26 February 2014 Dr. Sidra A Shaikh

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    4/46

    College of Engineering and Computing

    Marks Distribution

    Assessment Tool/Component

    Learning

    Outcome to be

    Assessed

    Weightage

    Class/homework, assignments 10%

    Class tests 1 & 2 30%

    Practical/laboratory/field work 20%

    Semester-end final examination 40%

    4Wednesday, 26 February 2014 Dr. Sidra A Shaikh

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    5/46

    College of Engineering and Computing

    SIGNALS?

    Wednesday, 26 February 2014 Dr. Sidra A Shaikh 5

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    6/46

    College of Engineering and Computing

    6/20

    What is a Signal? A signal is a pattern of variation of some form

    Signals are variables that carry information

    Examples of signal include:

    Electrical signals Voltages and currents in a circuit

    Acoustic signals Acoustic pressure (sound) over time

    Mechanical signals Velocity of a car over time

    Video signals Intensity level of a pixel (camera, video) over time

    Wednesday, 26 February 2014 Dr. Sidra A Shaikh

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    7/46

    College of Engineering and Computing

    Signals Represent Information

    Whether analog or digital, information is

    represented by the fundamental quantity in

    electrical engineering: the signal .

    Stated in mathematical terms, a signal is merely afunction.

    Analogue signals are continuous-valued;

    Digital signals are discrete-valued.

    7Wednesday, 26 February 2014 Dr. Sidra A Shaikh

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    8/46

    College of Engineering and Computing

    Analog signals are usually signals defined overcontinuous independent variable(s).

    For Example, Speech is produced by yourvocal cords exciting acoustic resonances in your

    vocal tract.

    The result is pressure waves propagating inthe air, and the speech signal thus corresponds toa function having independent variables of spaceand time and a value corresponding to airpressure:

    s (x, t) (Here we use vector notation x todenote spatial coordinates).

    Analog Signals

    8Wednesday, 26 February 2014 Dr. Sidra A Shaikh

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    9/46

    College of Engineering and Computing

    Digital Signals

    The word digital means discrete-valued and implies

    the signal has an integer-valued independent variable.

    Digital information includes numbers and symbols

    (characters typed on the keyboard, for example). Computers rely on the digital representation of

    information to manipulate and transform information.

    Symbols do not have a numeric value, and each is

    represented by a unique number.

    9Wednesday, 26 February 2014 Dr. Sidra A Shaikh

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    10/46

    College of Engineering and Computing

    SIGNAL CLASSIFICATION

    Wednesday, 26 February 2014 Dr. Sidra A Shaikh 10

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    11/46

    College of Engineering and Computing

    How is a Signal Represented?

    Mathematically, signals are represented as a function of one

    or more independent variables.

    For instance a black & white video signal intensity is

    dependent onx, ycoordinates and time tf(x,y,t)

    On this course, we shall be exclusively concerned with signals

    that are a function of a single variable: time

    t

    f(t)

    Wednesday, 26 February 2014 11Dr. Sidra A Shaikh

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    12/46

    College of Engineering and Computing

    Example: Signals in an Electrical Circuit

    The signals vc

    and vs

    are patterns of variation over time

    Note, we could also have considered the voltage across the resistor or the

    current as signals

    +

    -

    i vcvs

    R

    C

    )(1

    )(1)(

    )()(

    )()()(

    tvRC

    tvRCdt

    tdv

    dt

    tdvCti

    R

    tvtvti

    sc

    c

    c

    cs

    Step (signal) vsat t=1

    RC = 1

    First order (exponential) response

    for vc

    vs,

    vc

    t

    Wednesday, 26 February 2014 12Dr. Sidra A Shaikh

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    13/46

    College of Engineering and Computing

    Continuous & Discrete-Time Signals Continuous-Time Signals Most signals in the real world are

    continuous time, as the scale isinfinitesimally fine.

    Eg voltage, velocity,

    Denote byx(t), where the time intervalmay be bounded (finite) or infinite

    Discrete-Time Signals Some real world and many digital

    signals are discrete time, as they aresampled

    E.g. pixels, daily stock price (anything

    that a digital computer processes) Denote byx[n], where nis an integer

    value that varies discretely

    Sampled continuous signalx[n] =x(nk)kis sample time

    x(t)

    t

    x[n]

    n

    Wednesday, 26 February 2014 13Dr. Sidra A Shaikh

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    14/46

    College of Engineering and Computing

    Signal Classification

    Continuous-time

    Discrete-time

    Wednesday, 26 February 2014 14Dr. Sidra A Shaikh

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    15/46

    College of Engineering and Computing

    Signal Properties Particularly interested in signals with certain properties:

    Periodic signals: a signal is periodic if it repeats itself after a fixed periodT, i.e.x(t) =x(t+T) for all t. A sin(t) signal is periodic.

    Even and odd signals: a signal is even ifx(-t) = x(t) (i.e. it can be reflectedin the axis at zero). A signal is odd ifx(-t) = -x(t). Examples are cos(t) andsin(t) signals, respectively.

    Exponential and sinusoidal signals: a signal is (real) exponential if it canbe represented asx(t) = Ceat. A signal is (complex) exponential if it can berepresented in the same form but Cand aare complex numbers.

    Step and pulse signals: A pulse signal is one which is nearly completelyzero, apart from a short spike, d(t). A step signal is zero up to a certaintime, and then a constant value after that time, u(t).

    These properties define a large class of tractable, useful signals and willbe further considered in the coming lectures

    Wednesday, 26 February 2014 15Dr. Sidra A Shaikh

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    16/46

    College of Engineering and Computing

    EVEN AND ODD SIGNALS

    Wednesday, 26 February 2014 Dr. Sidra A Shaikh 16

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    17/46

    College of Engineering and Computing

    Even an Odd properties of Signals

    Wednesday, 26 February 2014 17Dr. Sidra A Shaikh

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    18/46

    College of Engineering and Computing

    Even and Odd functions

    A real functionxe(t) is said to be an even function of t if

    A real functionxo(t) is said to be an odd function of t if

    Wednesday, 26 February 2014 18Dr. Sidra A Shaikh

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    19/46

    College of Engineering and Computing

    Even an Odd properties of Signals

    Even and odd functions have the following

    properties: Even x Odd = Odd

    Odd x Odd = Even

    Even x Even = Even

    Every signal x(t) can be expressed as a

    sum of even and odd components

    because:

    Wednesday, 26 February 2014 19Dr. Sidra A Shaikh

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    20/46

    College of Engineering and Computing

    Even and Odd components

    Given the definition, any signal can be

    decomposed into a sum of even xe(t) signal

    and odd xo(t) signal.

    Wednesday, 26 February 2014 20Dr. Sidra A Shaikh

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    21/46

    College of Engineering and Computing

    USEFUL SIGNAL OPERATIONS

    Wednesday, 26 February 2014 Dr. Sidra A Shaikh 21

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    22/46

    College of Engineering and Computing

    Useful Signal Operations

    Wednesday, 26 February 2014 22Dr. Sidra A Shaikh

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    23/46

    College of Engineering and Computing

    Wednesday, 26 February 2014 23Dr. Sidra A Shaikh

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    24/46

    College of Engineering and Computing

    Useful Signal Operations

    Time Reversal

    Wednesday, 26 February 2014 24Dr. Sidra A Shaikh

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    25/46

    College of Engineering and Computing

    Useful Signal Operations

    Time Shifting

    Wednesday, 26 February 2014 25Dr. Sidra A Shaikh

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    26/46

    College of Engineering and Computing

    Useful Signal Operations

    Time Shifting

    Wednesday, 26 February 2014 26Dr. Sidra A Shaikh

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    27/46

    College of Engineering and Computing

    Useful Signal Operations

    Signal may be delayed by time T:

    or advanced by time T:

    Time Shifting

    Wednesday, 26 February 2014 27Dr. Sidra A Shaikh

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    28/46

    College of Engineering and Computing

    Useful Signal Operations

    Amplitude Scaling

    Wednesday, 26 February 2014 28Dr. Sidra A Shaikh

    C f i i C i

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    29/46

    College of Engineering and Computing

    Useful Signal Operations

    Addition of Signals

    Wednesday, 26 February 2014 29Dr. Sidra A Shaikh

    C ll f E i i d C ti

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    30/46

    College of Engineering and Computing

    Useful Signal Operations

    Addition of Signals

    Wednesday, 26 February 2014 30Dr. Sidra A Shaikh

    C ll f E i i d C ti

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    31/46

    College of Engineering and Computing

    Useful Signal Operations

    Multiplication of Signals

    Wednesday, 26 February 2014 31Dr. Sidra A Shaikh

    C ll f E i i d C ti

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    32/46

    College of Engineering and Computing

    Useful Signal Operations

    Multiplication of Signals

    Wednesday, 26 February 2014 32Dr. Sidra A Shaikh

    College of Engineering and Comp ting

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    33/46

    College of Engineering and Computing

    Useful Signal Operations

    Multiplication of Signals

    Wednesday, 26 February 2014 33Dr. Sidra A Shaikh

    College of Engineering and Computing

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    34/46

    College of Engineering and Computing

    Useful Signal Operations

    Time Scaling

    Wednesday, 26 February 2014 34Dr. Sidra A Shaikh

    College of Engineering and Computing

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    35/46

    College of Engineering and Computing

    Useful Signal Operations

    Time Scaling

    Wednesday, 26 February 2014 35Dr. Sidra A Shaikh

    College of Engineering and Computing

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    36/46

    College of Engineering and Computing

    Useful Signal Operations

    Time Scaling

    Wednesday, 26 February 2014 36Dr. Sidra A Shaikh

    College of Engineering and Computing

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    37/46

    College of Engineering and Computing

    Useful Signal Operations

    Signal may be compressed in time

    (by a factor of 2):

    or expanded in time (by a factor of 2):

    Time Scaling

    Wednesday, 26 February 2014 37Dr. Sidra A Shaikh

    College of Engineering and Computing

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    38/46

    College of Engineering and Computing

    COMBINATION OF SIGNALS

    Wednesday, 26 February 2014 Dr. Sidra A Shaikh 38

    College of Engineering and Computing

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    39/46

    College of Engineering and Computing

    Combination of Operations Combination of operations on signals

    - Easier to determine the final signal in stages

    - Create intermediary signals in which one operation is

    performed

    Note: Both Method 1 and Method 2 give the same answer

    Wednesday, 26 February 2014 39Dr. Sidra A Shaikh

    College of Engineering and Computing

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    40/46

    College of Engineering and Computing

    Combination of OperationsEx. Time shifting and Time scaling (1/2)

    Wednesday, 26 February 2014 40Dr. Sidra A Shaikh

    College of Engineering and Computing

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    41/46

    College of Engineering and Computing

    Combination of Operations

    Ex. Time shifting and Time scaling (2/2)

    Note: Both Method 1 and Method 2 give the same answerWednesday, 26 February 2014 41Dr. Sidra A Shaikh

    College of Engineering and Computing

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    42/46

    College of Engineering and Computing

    SYSTEM?

    Wednesday, 26 February 2014 Dr. Sidra A Shaikh 42

    College of Engineering and Computing

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    43/46

    g g g p g

    What is a System?

    Systems process input signals to produce output signals

    Examples: A circuit involving a capacitor can be viewed as a system

    that transforms the source voltage (signal) to the voltage(signal) across the capacitor

    A CD player takes the signal on the CD and transforms itinto a signal sent to the loud speaker

    A communication system is generally composed of three

    sub-systems, the transmitter, the channel and the receiver.The channel typically attenuates and adds noise to thetransmitted signal which must be processed by thereceiver

    Wednesday, 26 February 2014 43Dr. Sidra A Shaikh

    College of Engineering and Computing

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    44/46

    g g g p g

    How is a System Represented? A system takes a signal as an input and

    transforms it into another signal

    In a very broad sense, a system can berepresented as the ratio of the output signalover the input signal

    That way, when we multiply the system by theinput signal, we get the output signal

    This concept will be firmed up in the coming weeks

    SystemInput signal

    x(t)

    Output signal

    y(t)

    Wednesday, 26 February 2014 44Dr. Sidra A Shaikh

    College of Engineering and Computing

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    45/46

    g g g p g

    Example: An Electrical Circuit System

    Simulink representation of the electrical circuit

    +

    -

    i vcvs

    R

    C

    )(1

    )(1)(

    )()(

    )()()(

    tvRC

    tvRCdt

    tdv

    dt

    tdvCti

    R

    tvtvti

    sc

    c

    c

    cs

    vs(t) vc(t)

    first order

    system

    v

    s,

    vc

    t

    Wednesday, 26 February 2014 46Dr. Sidra A Shaikh

    College of Engineering and Computing

  • 5/28/2018 Sid SigSys 1- Introduction to Signals and Systems

    46/46

    g g g p g

    References:

    Online Resources

    Fundamentals of Signals and Systems: Using the Web and MATLAB

    Edward W. Kamen. Ans Bonnie S. Heck.

    Pearson Prentice Hall, 2007. ISBN 013168737-9

    Signals and SystemsOppenheim, A. V, Willsky, A.S., and Nawab, S H. 2003.

    3rd Edition, Prentice-Hall. ISBN: 0138097313