Lecture 18: Linear convolution of Sequences and Vectors Sections 2.2.3, 2.3.

Slides:



Advertisements
Similar presentations
Chapter 8. FIR Filter Design
Advertisements

Digital Filter Banks The digital filter bank is set of bandpass filters with either a common input or a summed output An M-band analysis filter bank is.
Nonrecursive Digital Filters
EE513 Audio Signals and Systems Digital Signal Processing (Synthesis) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE445S Real-Time Digital Signal Processing Lab Spring.
Filtering Filtering is one of the most widely used complex signal processing operations The system implementing this operation is called a filter A filter.
Digital Signal Processing – Chapter 11 Introduction to the Design of Discrete Filters Prof. Yasser Mostafa Kadah
AMI 4622 Digital Signal Processing
Review of Frequency Domain
Chapter 8 FIR Filter Design
Continuous-Time Fourier Methods
Discrete-Time Convolution Linear Systems and Signals Lecture 8 Spring 2008.
AGC DSP AGC DSP Professor A G Constantinides 1 Digital Filter Specifications Only the magnitude approximation problem Four basic types of ideal filters.
Lecture 16: Introduction to Linear time-invariant filters; response of FIR filters to sinusoidal and exponential inputs: frequency response and system.
EEE422 Signals and Systems Laboratory Filters (FIR) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Systems: Definition Filter
Lecture 10: Inner Products Norms and angles Projection Sections 2.10.(1-4), Sections 2.2.3, 2.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.
Lecture 9 FIR and IIR Filter design using Matlab
Digital Signals and Systems
1 Lecture 2: February 27, 2007 Topics: 2. Linear Phase FIR Digital Filter. Introduction 3. Linear-Phase FIR Digital Filter Design: Window (Windowing)
Practical Signal Processing Concepts and Algorithms using MATLAB
Discrete-Time Fourier Series
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
1 Chapter 8 The Discrete Fourier Transform 2 Introduction  In Chapters 2 and 3 we discussed the representation of sequences and LTI systems in terms.
Chapter 2 Discrete-Time Signals and Systems
1 Signals & Systems Spring 2009 Week 3 Instructor: Mariam Shafqat UET Taxila.
1 Lecture 5: March 20, 2007 Topics: 1. Design of Equiripple Linear-Phase FIR Digital Filters (cont.) 2. Comparison of Design Methods for Linear- Phase.
DISCRETE-TIME SIGNALS and SYSTEMS
(Lecture #08)1 Digital Signal Processing Lecture# 8 Chapter 5.
Lecture 12: Introduction to Discrete Fourier Transform Sections 2.2.3, 2.3.
EE Audio Signals and Systems Digital Signal Processing (Synthesis) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Copyright © 2001, S. K. Mitra Digital Filter Structures The convolution sum description of an LTI discrete-time system be used, can in principle, to implement.
1 Lecture 3: March 6, 2007 Topic: 1. Frequency-Sampling Methods (Part I)
1 Fourier Representations of Signals & Linear Time-Invariant Systems Chapter 3.
Course Outline (Tentative) Fundamental Concepts of Signals and Systems Signals Systems Linear Time-Invariant (LTI) Systems Convolution integral and sum.
1 Lecture 1: February 20, 2007 Topic: 1. Discrete-Time Signals and Systems.
11/22/20151 Digital Filters. 11/22/20152 Time domain to Frequency Domain and vice versa Filter Characteristics.
Fundamentals of Digital Signal Processing. Fourier Transform of continuous time signals with t in sec and F in Hz (1/sec). Examples:
Chapter 7 Finite Impulse Response(FIR) Filter Design
1 Introduction to Digital Filters Filter: A filter is essentially a system or network that selectively changes the wave shape, amplitude/frequency and/or.
FIR Filter Design & Implementation
Fourier Analysis of Signals and Systems
EEE 503 Digital Signal Processing Lecture #2 : EEE 503 Digital Signal Processing Lecture #2 : Discrete-Time Signals & Systems Dr. Panuthat Boonpramuk Department.
1 Digital Signal Processing Lecture 3 – 4 By Dileep kumar
1 Conditions for Distortionless Transmission Transmission is said to be distortion less if the input and output have identical wave shapes within a multiplicative.
Chapter 4 LTI Discrete-Time Systems in the Transform Domain
Lecture 17: Response of FIR filters to exponential inputs, response of FIR filters to periodic inputs, cascaded filters Sections 4.4.2,4.4.4, Sections.
Z Transform The z-transform of a digital signal x[n] is defined as:
Linear Constant-Coefficient Difference Equations
Lecture 3: The Sampling Process and Aliasing 1. Introduction A digital or sampled-data control system operates on discrete- time rather than continuous-time.
DISP 2003 Lecture 5 – Part 1 Digital Filters 1 Frequency Response Difference Equations FIR versus IIR FIR Filters Properties and Design Philippe Baudrenghien,
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.
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.
EEE4176 Application of Digital Signal Processing
Finite Impuse Response Filters. Filters A filter is a system that processes a signal in some desired fashion. –A continuous-time signal or continuous.
Review of DSP.
Professor A G Constantinides 1 Digital Filter Specifications We discuss in this course only the magnitude approximation problem There are four basic types.
Digital Image Processing Lecture 8: Fourier Transform Prof. Charlene Tsai.
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE445S Real-Time Digital Signal Processing Lab Spring.
Linear Constant-Coefficient Difference Equations
CEN352 Dr. Nassim Ammour King Saud University
EEE422 Signals and Systems Laboratory
MMSE Optimal Design: The Least Squares method
UNIT V Linear Time Invariant Discrete-Time Systems
Quadrature-Mirror Filter Bank
Chapter 7 Finite Impulse Response(FIR) Filter Design
Tania Stathaki 811b LTI Discrete-Time Systems in Transform Domain Ideal Filters Zero Phase Transfer Functions Linear Phase Transfer.
Chapter 7 Finite Impulse Response(FIR) Filter Design
Presentation transcript:

Lecture 18: Linear convolution of Sequences and Vectors Sections 2.2.3, 2.3

In the preceding lectures, we examined in detail the response of an FIR filter to two types of inputs: infinite-duration (two- sided) exponentials and periodic sequences. We will now broaden our scope to arbitrary input sequences x[ · ], and discuss the implications of the input-output relationship We note that the same value for y[n] is obtained if we pad b with infinitely many zero coe ffi cients on both sides, i.e., using the sequence h[ · ] defined instead of b. The input-output relationship above becomes ( ♠ )

The sequence h[ · ] is known as the impulse response of the FIR filter with coe ffi cient vector b. The unit impulse sequence δ[ · ] is defined by and is shown (draw on board) It is easy to show that x[ · ]= δ[ · ] ⇒ y[ · ]= h[ · ], i.e., h[ · ] is the response of the filter to a unit impulse.

The sum in ( ♠ ) is known as the (linear) convolution of sequences h = h[ · ] and x = x[ · ]. When computed for all n, it defines a new sequence y = y[ · ]. Symbolically, we write y = h ∗ x Convolution is commutative in its two arguments. This can be shown by a change in the summation variable, i.e., k’ � = n − k: Thus x ∗ h = h ∗ x

FIR filters are characterized by the property that h[ · ] has finite duration, i.e., it takes only a finite number of nonzero values. Other linear time-invariant systems encountered or used in practice have impulse responses of infinite duration. The convolution sum ( ♠ ) is valid for all such systems, i.e., it is a universal input-output relationship in terms of a single characteristic, namely the response of the system to a unit impulse. To see why h[ · ] can play that role, note that by time invariance, x[ ·− k]= δ[ ·− k] ⇒ y[ ·− k]= h[ ·− k] for any k. Any input x[ · ] can be expressed as a linear combination of time-shifted impulses, i.e., By linearity, the output is then given by

6 Steps of Linear Convolution For any given n, how to obtain ▫Step 1: time reversal of either signal (e.g., f(k)  f(- k) ) ▫Step 2: shift f(-k) by n samples to obtain f(n-k) ▫Step 3: multiply h(k) and f(n-k) for each k and then take the summation over k

Example. Let the input to an FIR filter with coe ffi cient vector b = � [2 −1 1 −2] T be given by x[n]= δ[n]+2δ[n − 1] + 3δ[n − 2] − δ[n − 3] Clearly, the output y[n] equals zero for n< 0 and n ≥ 3+4 = 7, and thus the output sequence has finite duration. The nonzero portion y[0:6] of y[ · ] is computed below.

In general, if h and x are finite-duration sequences with nonzero values limited to the activity intervals 0: K − 1 and 0 : L − 1 respectively, then y = h ∗ x is also a finite-duration sequence whose nonzero values are limited to the (activity) interval 0 : K + L − 2. We can thus define the non-circular convolution of two vectors b and s of length K and L by embedding them into all-zeros sequences, i.e., and computing the convolution h ∗ x at time indices 0 : K + L − 2. In other words, b ∗ s = y[0 : K + L − 2] From the previous example, we have [2 −1 1 −2] T ∗ � [1 2 3 −1] � T = � [2 3 5 −5 0 −7 2] T

Using linearity and/or time invariance, it is easy to show that b ∗ [0 i ; s]=[0 i ; b ∗ s] b ∗ [s ; 0 i ]=[b ∗ s ; 0 i ] b ∗ (αs)= α(b ∗ s) b ∗ (r + s)= b ∗ r + b ∗ s where α is a scalar and 0 i is an all-zeros vector of length i.

Frequency Selective Filters Sections 2.2.3, 2.3

finite sum of cosines of di ff erent frequencies (i.e., multiples of ω) is a smooth curve that has no discontinuities or flat sections. This means that the filter with real-valued frequency response H(e jω ) shown below (for ω ∈ (−π, π]) cannot be an FIR filter. This filter is known as an ideal lowpass filter of unit gain and zero delay. Ideal frequency-selective filters are characterized by piecewise constant amplitude response and linear phase response (for the filter shown above, the phase response equals zero at all frequencies). Using arguments beyond the scope of this course, it can be shown that such filters cannot be synthesized in practice, whether in FIR form or as any other filter structure.

FIR filters with characteristics which approximate those of ideal filters can be obtained using numerical algorithms. The amplitude (or magnitude) response of a practical lowpass filter with real coe ffi cients is symmetric about ω = 0 and has the following features:  Its value varies between A(1 − δ) and A(1 + δ) in the passband [0,ω p ]; the factor δ is the passband ripple.  It has a maximum value of A  in the stopband [ω s,π]; the factor 1/  � is the stopband attenuation.  Its value drops from A(1 − δ) to A  � over the transition band [ω p,ω s ]; thus the point ω c (cuto ff frequency) in the ideal response is approximated by an interval.

The MATLAB filter design and analysis tool (FDATOOL) is a comprehensive interface for designing digital filters of various types. These designs can be also obtained using MATLAB command-line functions. The function FIRPM is used for FIR filters. As an example, b = firpm( M, [0.0 fp fs 0.5]*2, [A A 0 0] ); produces a lowpass FIR filter with coe ffi cient vector b of length M + 1. The passband and stopband edges are ωp =2πfp and ωs =2πfs, respectively. The ideal passband and stopband gains are A and 0, respectively. (Additional parameters can be inserted to control the relative amounts of passband ripple and stopband attenuation.) Your task: Run b = firpm( 36, [ ]*2, [ ] ); and plot the amplitude and phase response of the filter. Determine the passband ripple δ and stopband attenuation 1/  �.

Filter types:

Problems: 4.13(i), 4.15, 4.16, 4.22