Lecture 12 Linearity & Time-Invariance Convolution

Slides:



Advertisements
Similar presentations
Signals and Systems – Chapter 2
Advertisements

MM3FC Mathematical Modeling 3 LECTURE 3
Lecture 4: Linear Systems and Convolution
MM3FC Mathematical Modeling 3 LECTURE 2 Times Weeks 7,8 & 9. Lectures : Mon,Tues,Wed 10-11am, Rm.1439 Tutorials : Thurs, 10am, Rm. ULT. Clinics : Fri,
Signals and Systems Lecture #5
EECS 20 Chapter 9 Part 21 Convolution, Impulse Response, Filters Last time we Revisited the impulse function and impulse response Defined the impulse (Dirac.
Finite Impuse Response Filters. Filters A filter is a system that processes a signal in some desired fashion. –A continuous-time signal or continuous.
Analysis of Discrete Linear Time Invariant Systems
Digital Signals and Systems
1 Signals & Systems Spring 2009 Week 3 Instructor: Mariam Shafqat UET Taxila.
Time-Domain Representations of LTI Systems
Prof. Nizamettin AYDIN Digital Signal Processing 1.
1 Prof. Nizamettin AYDIN Digital Signal Processing.
Linear Time-Invariant Systems
Course Outline (Tentative) Fundamental Concepts of Signals and Systems Signals Systems Linear Time-Invariant (LTI) Systems Convolution integral and sum.
EEE 503 Digital Signal Processing Lecture #2 : EEE 503 Digital Signal Processing Lecture #2 : Discrete-Time Signals & Systems Dr. Panuthat Boonpramuk Department.
1 Prof. Nizamettin AYDIN Digital Signal Processing.
Technological Educational Institute Of Crete Department Of Applied Informatics and Multimedia Neural Networks Laboratory Slide 1 DISCRETE SIGNALS AND SYSTEMS.
Signals and Systems Lecture 19: FIR Filters. 2 Today's lecture −System Properties:  Linearity  Time-invariance −How to convolve the signals −LTI Systems.
1 LTI Systems; Convolution September 4, 2000 EE 64, Section 1 ©Michael R. Gustafson II Pratt School of Engineering.
What is filter ? A filter is a circuit that passes certain frequencies and rejects all others. The passband is the range of frequencies allowed through.
Description and Analysis of Systems Chapter 3. 03/06/06M. J. Roberts - All Rights Reserved2 Systems Systems have inputs and outputs Systems accept excitation.
Analysis of Linear Time Invariant (LTI) Systems
1 Computing the output response of LTI Systems. By breaking or decomposing and representing the input signal to the LTI system into terms of a linear combination.
Finite Impuse Response Filters. Filters A filter is a system that processes a signal in some desired fashion. –A continuous-time signal or continuous.
Time Domain Representations of Linear Time-Invariant Systems
DSP First, 2/e Lecture 11 FIR Filtering Intro. May 2016 © , JH McClellan & RW Schafer 2 License Info for DSPFirst Slides  This work released.
Chapter 4 Structures for Discrete-Time System Introduction The block diagram representation of the difference equation Basic structures for IIR system.
Discrete Time Signal Processing Chu-Song Chen (陳祝嵩) Institute of Information Science Academia Sinica 中央研究院 資訊科學研究所.
DSP First, 2/e Lecture 16 DTFT Properties. June 2016 © , JH McClellan & RW Schafer 2 License Info for DSPFirst Slides  This work released under.
Lecture 19 Spectrogram: Spectral Analysis via DFT & DTFT
Review of DSP.
Signal Processing First
Digital Signal Processing
Lecture 11 FIR Filtering Intro
Properties of LTI Systems
Lect2 Time Domain Analysis
CEN352 Dr. Nassim Ammour King Saud University
Discrete-time Systems
Linear Time Invariant Systems
Signal Processing First
Recap: Chapters 1-7: Signals and Systems
Description and Analysis of Systems
Lecture 14 Digital Filtering of Analog Signals
Lecture 10 Digital to Analog (D-to-A) Conversion
Lecture 4: Discrete-Time Systems
UNIT V Linear Time Invariant Discrete-Time Systems
Signal and Systems Chapter 2: LTI Systems
Lecture 13 Frequency Response of FIR Filters
CS3291: "Interrogation Surprise" on Section /10/04
2 Linear Time-Invariant Systems --Analysis of Signals and Systems in time-domain An arbitrary signal can be represented as the supposition of scaled.
Lecture 18 DFS: Discrete Fourier Series, and Windowing
Lecture 17 DFT: Discrete Fourier Transform
Lecture 15 DTFT: Discrete-Time Fourier Transform
Digital Signal Processing
LECTURE #4 Phasor Addition Theorem
Lecture 20 Z Transforms: Introduction
Signals & Systems (CNET - 221) Chapter-2 Introduction to Systems
Signal Processing First
Assignment # 3 Chapter 4 End of Chapter questions P-4.6 Page 97
Lecture 22 IIR Filters: Feedback and H(z)
Lecture 5A: Operations on the Spectrum
Concept of frequency in Discrete Signals & Introduction to LTI Systems
Convolution sum.
Signals and Systems Lecture 18: FIR Filters.
Lecture 4: Linear Systems and Convolution
Review of DSP.
Lecture 3 Discrete time systems
Lecture 24 Time-Domain Response for IIR Systems
Lecture 21 Zeros of H(z) and the Frequency Domain
Presentation transcript:

Lecture 12 Linearity & Time-Invariance Convolution DSP First, 2/e Lecture 12 Linearity & Time-Invariance Convolution

© 2003-2016, JH McClellan & RW Schafer READING ASSIGNMENTS This Lecture: Chapter 5, Sections 5-4, 5-6, 5-7 & 5-8 Section 5-5 is covered, but not “in depth” Convolution in Section 5-7 is important Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer LECTURE OBJECTIVES GENERAL PROPERTIES of FILTERS LINEARITY TIME-INVARIANCE ==> CONVOLUTION LTI SYSTEMS BLOCK DIAGRAM REPRESENTATION Components for Hardware Connect Simple Filters Together to Build More Complicated Systems Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer OVERVIEW IMPULSE RESPONSE, FIR case: same as CONVOLUTION GENERAL: GENERAL CLASS of SYSTEMS LINEAR and TIME-INVARIANT ALL LTI systems have h[n] & use convolution Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer DIGITAL FILTERING x(t) CONCENTRATE on the FILTER (DSP) DISCRETE-TIME SIGNALS FUNCTIONS of n, the “time index” INPUT x[n] OUTPUT y[n] A-to-D x[n] FILTER y[n] D-to-A y(t) Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer BUILDING BLOCKS BUILD UP COMPLICATED FILTERS FROM SIMPLE MODULES Ex: FILTER MODULE MIGHT BE 3-pt FIR x[n] OUTPUT y[n] FILTER FILTER + + INPUT FILTER Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer GENERAL FIR FILTER FILTER COEFFICIENTS {bk} DEFINE THE FILTER For example, Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer MATLAB for FIR FILTER yy = conv(bb,xx) VECTOR bb contains Filter Coefficients DSP-First: yy = firfilt(bb,xx) FILTER COEFFICIENTS {bk} conv2() for images Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer SPECIAL INPUT SIGNALS Later, sinusoid leads to the FREQUENCY RESPONSE x[n] = SINUSOID x[n] has only one NON-ZERO VALUE UNIT-IMPULSE 1 n Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer UNIT IMPULSE RESPONSE FIR filter DIFFERENCE EQUATION is specified by the filter coefficients bk EQUIVALENCE: can we describe the filter using a SIGNAL instead? Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer FIR IMPULSE RESPONSE Impulse response h[k]=bk is, in fact, a SIGNAL description of filter coefficients Allows us to write CONVOLUTION sum Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer LTI: Convolution Sum Output = Convolution of x[n] & h[n] NOTATION: FIR case: FINITE LIMITS Same as bk Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer LTI: Convolution Sum Delay the signal x[n] & then multiply by filter coefficients that come from h[n] Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer CONVOLUTION Example Aug 2016 © 2003-2016, JH McClellan & RW Schafer

GENERAL CAUSAL FIR FILTER SLIDE a Length-L WINDOW across x[n] x[n-M] x[n] Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer DCONVDEMO: MATLAB GUI Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer POP QUIZ FIR Filter is “FIRST DIFFERENCE” y[n] = x[n] - x[n -1] Write output as a convolution Need impulse response Then, an equivalent way to compute the output: Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer POP QUIZ FIR Filter is “FIRST DIFFERENCE” y[n] = x[n] - x[n-1] INPUT is “UNIT STEP” Find y[n] ? Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer HARDWARE STRUCTURES INTERNAL STRUCTURE of “FILTER” WHAT COMPONENTS ARE NEEDED? HOW DO WE “HOOK” THEM TOGETHER? SIGNAL FLOW GRAPH NOTATION x[n] FILTER y[n] Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer HARDWARE ATOMS Add, Multiply & Store Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer FIR STRUCTURE Direct Form SIGNAL FLOW GRAPH Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer SYSTEM PROPERTIES MATHEMATICAL DESCRIPTION TIME-INVARIANCE LINEARITY CAUSALITY “No output prior to input” x[n] SYSTEM y[n] Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer TIME-INVARIANCE IDEA: “Time-Shifting the input will cause the same time-shift in the output” EQUIVALENTLY, We can prove that The time origin (n=0) is picked arbitrary Aug 2016 © 2003-2016, JH McClellan & RW Schafer

TESTING Time-Invariance Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer LINEAR SYSTEM LINEARITY = Two Properties SCALING “Doubling x[n] will double y[n]” SUPERPOSITION: “Adding two inputs gives an output that is the sum of the individual outputs” Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer TESTING LINEARITY Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer LTI SYSTEMS LTI: Linear & Time-Invariant COMPLETELY CHARACTERIZED by: IMPULSE RESPONSE h[n] CONVOLUTION: The “rule” defining the system can ALWAYS be re-written as convolution FIR Example: h[n] is same as bk Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer FILTER STOCK PRICES Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer CASCADE SYSTEMS A second FIR filter compensates for Delay Aug 2016 © 2003-2016, JH McClellan & RW Schafer

STOCK PRICES FILTERED (2) Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer CASCADE SYSTEMS Does the order of S1 & S2 matter? NO, LTI SYSTEMS can be rearranged !!! WHAT ARE THE FILTER COEFFS? {bk} S1 S2 Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer CASCADE EQUIVALENT Find “overall” h[n] for a cascade ? S1 S2 S2 S1 Aug 2016 © 2003-2016, JH McClellan & RW Schafer