Signal Processing First

Slides:



Advertisements
Similar presentations
Review of Frequency Domain
Advertisements

EECS 20 Chapter 5 Part 21 Linear Infinite State Systems Last time we Looked at systems with an infinite number of states (Reals N ) Examined property of.
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,
Systems: Definition Filter
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
Discrete-Time and System (A Review)
Prof. Nizamettin AYDIN Digital Signal Processing 1.
1 Prof. Nizamettin AYDIN Digital Signal Processing.
Which one? You have a vector, a[ ], of random integers, which can modern CPUs do faster and why? //find max of vector of random ints max=0; for (inda=0;
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.
3/18/20161 Linear Time Invariant Systems Definitions A linear system may be defined as one which obeys the Principle of Superposition, which may be stated.
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.
Analysis of Linear Time Invariant (LTI) Systems
Chapter 2 System Models – Time Domain
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin Lecture 3
Finite Impuse Response Filters. Filters A filter is a system that processes a signal in some desired fashion. –A continuous-time signal or continuous.
DSP First, 2/e Lecture 11 FIR Filtering Intro. May 2016 © , JH McClellan & RW Schafer 2 License Info for DSPFirst Slides  This work released.
DSP First, 2/e Lecture 5 Spectrum Representation.
DSP First, 2/e Lecture 6 Periodic Signals, Harmonics & Time-Varying Sinusoids.
DSP First, 2/e Lecture 18 DFS: Discrete Fourier Series, and Windowing.
DSP First, 2/e LECTURE #1 Sinusoids Aug © , JH McClellan & RW Schafer.
DSP First, 2/e Lecture 16 DTFT Properties. June 2016 © , JH McClellan & RW Schafer 2 License Info for DSPFirst Slides  This work released under.
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE445S Real-Time Digital Signal Processing Lab Spring.
Lecture 19 Spectrogram: Spectral Analysis via DFT & DTFT
Lecture 6 Periodic Signals, Harmonics & Time-Varying Sinusoids
Fourier Series Prof. Brian L. Evans
Digital Signal Processing
Lecture 11 FIR Filtering Intro
Lect2 Time Domain Analysis
CEN352 Dr. Nassim Ammour King Saud University
Discrete-time Systems
Periodic Signals Prof. Brian L. Evans
LECTURE #3 Complex Exponentials & Complex Numbers
Linear Time Invariant Systems
Signal Processing First
Lecture 12 Linearity & Time-Invariance Convolution
FFT-based filtering and the
Lecture 5 Spectrum Representation
The Laplace Transform Prof. Brian L. Evans
Sampling and Reconstruction
Lecture 14 Digital Filtering of Analog Signals
Lecture 10 Digital to Analog (D-to-A) Conversion
Lecture 9 Sampling & Aliasing
Lecture 4: Discrete-Time Systems
Lecture 8 Fourier Series & Spectrum
LECTURE #2 Phase & Time-Shift Delay & Attenuation
UNIT V Linear Time Invariant Discrete-Time Systems
Lecture 16a FIR Filter Design via Windowing
Lecture 13 Frequency Response of FIR Filters
Interpolation and Pulse Shaping
Lecture 18 DFS: Discrete Fourier Series, and Windowing
Lecture 17 DFT: Discrete Fourier Transform
Lecture 15 DTFT: Discrete-Time Fourier Transform
LECTURE #4 Phasor Addition Theorem
Digital Signal Processing
Signal Processing First
Lecture 7C Fourier Series Examples: Common Periodic Signals
Lecture 20 Z Transforms: Introduction
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
Signals and Systems Lecture 18: FIR Filters.
Lecture 4: Linear Systems and Convolution
Signal Processing First
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:

Signal Processing First Lecture 10 Filtering Intro 5/27/2018 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer READING ASSIGNMENTS This Lecture: Chapter 5, Sects. 5-1, 5-2 and 5-3 (partial) Other Reading: Recitation: Ch. 5, Sects 5-4, 5-6, 5-7 and 5-8 CONVOLUTION Next Lecture: Ch 5, Sects. 5-3, 5-5 and 5-6 5/27/2018 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer LECTURE OBJECTIVES INTRODUCE FILTERING IDEA Weighted Average Running Average FINITE IMPULSE RESPONSE FILTERS FIR Filters Show how to compute the output y[n] from the input signal, x[n] 5/27/2018 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer DIGITAL FILTERING x(t) A-to-D x[n] COMPUTER y[n] D-to-A y(t) CONCENTRATE on the COMPUTER PROCESSING ALGORITHMS SOFTWARE (MATLAB) HARDWARE: DSP chips, VLSI DSP: DIGITAL SIGNAL PROCESSING 5/27/2018 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer The TMS32010, 1983 First PC plug-in board from Atlanta Signal Processors Inc. 5/27/2018 © 2003, JH McClellan & RW Schafer

Rockland Digital Filter, 1971 For the price of a small house, you could have one of these. 5/27/2018 © 2003, JH McClellan & RW Schafer

Digital Cell Phone (ca. 2000) 5/27/2018 © 2003, JH McClellan & RW Schafer Now it plays video

© 2003, JH McClellan & RW Schafer DISCRETE-TIME SYSTEM OPERATE on x[n] to get y[n] WANT a GENERAL CLASS of SYSTEMS ANALYZE the SYSTEM TOOLS: TIME-DOMAIN & FREQUENCY-DOMAIN SYNTHESIZE the SYSTEM x[n] COMPUTER y[n] 5/27/2018 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer D-T SYSTEM EXAMPLES EXAMPLES: POINTWISE OPERATORS SQUARING: y[n] = (x[n])2 RUNNING AVERAGE RULE: “the output at time n is the average of three consecutive input values” x[n] SYSTEM y[n] 5/27/2018 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer DISCRETE-TIME SIGNAL x[n] is a LIST of NUMBERS INDEXED by “n” STEM PLOT 5/27/2018 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer 3-PT AVERAGE SYSTEM ADD 3 CONSECUTIVE NUMBERS Do this for each “n” Make a TABLE n=0 5/27/2018 © 2003, JH McClellan & RW Schafer n=1

© 2003, JH McClellan & RW Schafer INPUT SIGNAL OUTPUT SIGNAL 5/27/2018 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer PAST, PRESENT, FUTURE “n” is TIME 5/27/2018 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer ANOTHER 3-pt AVERAGER Uses “PAST” VALUES of x[n] IMPORTANT IF “n” represents REAL TIME WHEN x[n] & y[n] ARE STREAMS 5/27/2018 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer GENERAL FIR FILTER FILTER COEFFICIENTS {bk} DEFINE THE FILTER For example, 5/27/2018 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer GENERAL FIR FILTER FILTER COEFFICIENTS {bk} FILTER ORDER is M FILTER LENGTH is L = M+1 NUMBER of FILTER COEFFS is L 5/27/2018 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer GENERAL FIR FILTER SLIDE a WINDOW across x[n] x[n-M] x[n] 5/27/2018 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer FILTERED STOCK SIGNAL INPUT OUTPUT 5/27/2018 © 2003, JH McClellan & RW Schafer 50-pt Averager

© 2003, JH McClellan & RW Schafer SPECIAL INPUT SIGNALS x[n] = SINUSOID x[n] has only one NON-ZERO VALUE FREQUENCY RESPONSE (LATER) UNIT-IMPULSE 1 n 5/27/2018 © 2003, JH McClellan & RW Schafer

UNIT IMPULSE SIGNAL d[n] d[n] is NON-ZERO When its argument is equal to ZERO 5/27/2018 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer MATH FORMULA for x[n] Use SHIFTED IMPULSES to write x[n] 5/27/2018 © 2003, JH McClellan & RW Schafer

SUM of SHIFTED IMPULSES This formula ALWAYS works 5/27/2018 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer 4-pt AVERAGER CAUSAL SYSTEM: USE PAST VALUES INPUT = UNIT IMPULSE SIGNAL = d[n] OUTPUT is called “IMPULSE RESPONSE” 5/27/2018 © 2003, JH McClellan & RW Schafer

4-pt Avg Impulse Response d[n] “READS OUT” the FILTER COEFFICIENTS n=0 “h” in h[n] denotes Impulse Response NON-ZERO When window overlaps d[n] 1 n n=–1 n=0 n=1 n=4 n=5 5/27/2018 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer FIR IMPULSE RESPONSE Convolution = Filter Definition Filter Coeffs = Impulse Response CONVOLUTION 5/27/2018 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer FILTERING EXAMPLE 7-point AVERAGER Smooth compared to 3-point Averager By making its amplitude (A) smaller 3-point AVERAGER Changes A slightly 5/27/2018 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer 3-pt AVG EXAMPLE USE PAST VALUES 5/27/2018 © 2003, JH McClellan & RW Schafer

© 2003, JH McClellan & RW Schafer 7-pt FIR EXAMPLE (AVG) CAUSAL: Use Previous 5/27/2018 © 2003, JH McClellan & RW Schafer LONGER OUTPUT