A filter is appropriately described by the transfer function. It is a ratio between two polynomials

Size: px
Start display at page:

Download "A filter is appropriately described by the transfer function. It is a ratio between two polynomials"

Transcription

1 Imaginary Part Matlab examples Filter description A filter is appropriately described by the transfer function. It is a ratio between two polynomials H(s) = N(s) D(s) = b ns n + b n s n + + b s a m s m + a m s m + + a s. In Matlab the filter (or system) is described by setting the coefficents in the numerator and denominator polynomials. The coefficients must be set in the correct order. The following example demonstrates this for an analog second order high pass filter H(s) = s 2 s s +. Clear all num = [ ] den = [ sqrt(2) ] tf(num,den) The transfer function appears in the command window: Transfer function: s^ s^ s + 2 Poles and zeros If the transfer function is known, then it is possible to find the poles and zeros. In this case there are two zeros in origo and two complex conjugated poles. Clear all num = [ ] den = [ sqrt(2) ] [z,p,k] = tf2zp(num,den) zplane(z,p) The pole-zero diagram becomes: The result in the command window:.5 z = 2 p = i i -.5 k = Real Part

2 Phase (degrees) Magnitude Imaginary Part If the poles and zeros are known, then it is possible to find the transfer function. Assume that a system has two zeros, one at -2 and one in the origin, and two poles at -2 ± i. clear all k = ; z = [-2; ]; p = [-2+i;-2-i]; zplane(z,p) axis([ ]) [num,den] = zp2tf(z,p,k) tf(num,den) The result in the command window: num = 2 den = 4 5 Transfer function: s^2 + 2 s s^2 + 4 s + 5 The pole-zero diagram Real Part 3 The transfer function in a diagram - The frequency response The magnitude and phase of the frequency response can be obtained by the following commands. num = [ 2 ]; den = [ 4 5]; freqs(num,den) Another way to do this: H = tf(num,den); bode(h) Note that with the last command, we obtain the magnitude in db Frequency (rad/s) Frequency (rad/s) 2

3 Magnitude (db) 4 The magnitude response in decibel and different plot-commands We can also obtain the magnitude in db by using the freqs-function and controlling the appearance of the graph. num = [ 2 ]; den = [ 4 5]; [h,w] = freqs(num,den) semilogx(w,2*log(abs(h))) ylabel('magnitude (db)') xlabel('frequency (rad/s)') Try the following commands in separate figures (use figure to create a new figure-window): figure plot(w,abs(h)) figure plot(log(w),2*log(abs(h))) figure loglog(w,abs(h)) figure semilogy(log(w),abs(h)) Result from semilogx-command: Frequency (rad/s) We can also control the frequency axis by creating frequency vectors to be used in freqs: w = linspace(,) or w = logspace(-2,2) freqs(num,den,w) 5 The phase in degrees We can also create a phase diagram using a new frequency vector. num = [ 2 ]; den = [ 4 5]; w = logspace(-2,2,) h = freqs(num,den,w) semilogx(w,8/pi*angle(h),'.') ylabel('phase (degrees)') xlabel('frequency (rad/s)') The resulting figure: 3

4 Phase (degrees) Frequency (rad/s) 6 Numerical values In the command window numerical values can be shown in columns instead of being arranged as rows. num = [ ]; den = [ sqrt(2) ]; w = logspace(-,,); h = freqs(num,den,w); h_db = 2*log(abs(h)); q = [w' h_db'] For a linear frequency scale: w = ::; h = freqs(num,den,w); h_db = 2*log(abs(h)); q = [w' h_db'] The result in the command window: q = For the linear frequency vector: q =

5 7 Fifth order Butterworth filter [z,p,k] = buttap(5); ; zplane(z,p) title('5:th order Butterworth'); ; w=logspace(-,,5); semilogx(w,2.*log(abs(h))); title('5:th order Butterworth'); axis([.,,-8,+5]); 8 Fifth order Chebyshev filter, type, 3 db ripple in the passband clear all [z,p,k]=chebap(5,3); zplane(z,p); title('5:th order Chebyshev-'); w=logspace(-,,5); semilogx(w,2.*log(abs(h))); title('5:th order Chebyshev-'); axis([.,,-8,+5]); 9 Fifth order Chebyshev filter, type 2, 4 db ripple in the stopband [z,p,k]=cheb2ap(5,4); figure(3) zplane(z,p); title('5:th order Chebyshev-2'); figure(4) w=logspace(-,,5); semilogx(w,2.*log(abs(h))); title('5:th order Chebyshev-2'); axis([.,,-8,+5]); Fifth order Bessel filter [z,p,k]=besselap(5); zplane(z,p); title('5:th order Bessel filter'); w=logspace(-,,5); semilogx(w,2.*log(abs(h))); 5

6 title('5:th order Bessel filter'); axis([.,,-8,+5]); Fifth order Cauer/Elliptic filter [z,p,k]=ellipap(5,3,4); zplane(z,p); title('5:th order Cauer filter'); w=logspace(-,,5); semilogx(w,2.*log(abs(h))); title('5:th order Cauer filter'); axis([.,,-8,+5]); 2 Step response [z,p,k]=besselap(5); dt=.; t=:dt:3; h=step(tf(num,den),t); plot(t,h,'b'); hold on [z,p,k]=chebap(5,3); dt=.; t=:dt:3; h=step(tf(num,den),t); plot(t,h,'r'); title('red=chebyshev, blue=bessel'); 3 Impulse response [z,p,k]=besselap(5); dt=.; t=:dt:3; h=impulse(tf(num,den),t); plot(t,h,'b'); hold on [z,p,k]=chebap(5,3); dt=.; t=:dt:3; h=impulse(tf(num,den),t); plot(t,h,'r'); title('red=chebyshev, blue=bessel'); 6

7 4 Output signal from the system dt=.; t=:dt:3; uin=[zeros(,),sin(t),zeros(,)]; [zc,pc,kc]=chebap(5,3); [numc,denc]=zp2tf(zc,pc,kc); hc=impulse(numc,denc,t); uutc=conv(hc,uin).*dt; [zb,pb,kb]=besselap(5); [numb,denb]=zp2tf(zb,pb,kb); hb=impulse(numb,denb,t); uutb=conv(hb,uin).*dt; T=:dt:(length(uutb)-.)*dt; UIN=[zeros(,), sin(t),zeros(,length(t)- length(uin)+)]; plot(t,uutb,'r',t, uutc,'b', T,UIN,'k') axis([,6,-.2,.2]) A short duration sinusoid with frequency rad/s is filtered by Chebyshev and Bessel filter respectively. 5 Low pass-to-low pass (not using lp2lp) A system has the poles - ± 3j. We wish to double the cutoff frequency. The Matlab code to do this is: z=[]; p=[-+3.*j;--3.*j]; k=p().*p(2); dw=.; w=:dw:; H=freqs(num,den,w); semilogx(w,2.*log(abs(h)),'r'); hold on; %transformed system is marked by z=[]; p=2.*p; k=2.^2.*k; [num,den]=zp2tf(z,p,k); H=freqs(num,den,w); semilogx(w,2.*log(abs(h)),'b'); Low pass-to-high pass Determine the poles and zeros for a 5:th order high pass Chebyshev type filter with 3 db ripple and a cutoff frequency of khz. 7

8 Imaginary Part %original system is marked with [z, p,k]=chebap(5,3); %We move the cutoff frequency to % 2*pi* and transform to HP. % Transformed filter is marked by [num,den]=lp2hp(num,den,2.*pi.*); dw=; w=:dw:3; H=freqs(num,den,w); plot(w./2./pi,2.*log(abs(h)),'b'); axis([,5,-2,+5]) title('magnitude of H as a function of frequency') [z,p,k]=tf2zp(num,den) zplane(z,p) magnitude of H as a function of frequency x 4 In the command window the zeros and poles are: z = i i p =.e+4 * i i i i Real Part x 4 7 Low pass-to-band pass Starting from a 5:th order Chebyshev (type ) filter with 3 db ripple, we wish to transform it to a band pass filter with cutoff frequencies 8 Hz and 2 Hz, which gives a bandwidth of 4 Hz and a center frequency approximately khz (98 Hz). We determine the pole and zeros of the system. %original system is marked with [z, p,k]=chebap(5,3); % Transformed filter is marked by [num,den]=lp2bp(num,den,2.*pi.*98,2.*pi.* 4); dw=; w=:dw:3; H=freqs(num,den,w); plot(w./2./pi,2.*log(abs(h)),'b'); axis([,2,-2,+5]) magnitude of H as a function of frequenc

9 Imaginary Part title('magnitude of H as a function of frequency') [z,p,k]=tf2zp(num,den) zplane(z,p) In the command window the zeros and poles are: z = i i i i p =.e+3 * i i i i i i i i i i Real Part x 4 9

3 Analog filters. 3.1 Analog filter characteristics

3 Analog filters. 3.1 Analog filter characteristics Chapter 3, page 1 of 11 3 Analog filters This chapter deals with analog filters and the filter approximations of an ideal filter. The filter approximations that are considered are the classical analog

More information

Window Method. designates the window function. Commonly used window functions in FIR filters. are: 1. Rectangular Window:

Window Method. designates the window function. Commonly used window functions in FIR filters. are: 1. Rectangular Window: Window Method We have seen that in the design of FIR filters, Gibbs oscillations are produced in the passband and stopband, which are not desirable features of the FIR filter. To solve this problem, window

More information

SECTION 7: FREQUENCY DOMAIN ANALYSIS. MAE 3401 Modeling and Simulation

SECTION 7: FREQUENCY DOMAIN ANALYSIS. MAE 3401 Modeling and Simulation SECTION 7: FREQUENCY DOMAIN ANALYSIS MAE 3401 Modeling and Simulation 2 Response to Sinusoidal Inputs Frequency Domain Analysis Introduction 3 We ve looked at system impulse and step responses Also interested

More information

EEO 401 Digital Signal Processing Prof. Mark Fowler

EEO 401 Digital Signal Processing Prof. Mark Fowler EEO 4 Digital Signal Processing Prof. Mark Fowler Note Set #34 IIR Design Characteristics of Common Analog Filters Reading: Sect..3.4 &.3.5 of Proakis & Manolakis /6 Motivation We ve seenthat the Bilinear

More information

Lab 6 rev 2.1-kdp Lab 6 Time and frequency domain analysis of LTI systems

Lab 6 rev 2.1-kdp Lab 6 Time and frequency domain analysis of LTI systems Lab 6 Time and frequency domain analysis of LTI systems 1 I. GENERAL DISCUSSION In this lab and the next we will further investigate the connection between time and frequency domain responses. In this

More information

NOVEMBER 13, 1996 EE 4773/6773: LECTURE NO. 37 PAGE 1 of 5

NOVEMBER 13, 1996 EE 4773/6773: LECTURE NO. 37 PAGE 1 of 5 NOVEMBER 3, 996 EE 4773/6773: LECTURE NO. 37 PAGE of 5 Characteristics of Commonly Used Analog Filters - Butterworth Butterworth filters are maimally flat in the passband and stopband, giving monotonicity

More information

4/14/15 8:58 PM C:\Users\Harrn...\tlh2polebutter10rad see.rn 1 of 1

4/14/15 8:58 PM C:\Users\Harrn...\tlh2polebutter10rad see.rn 1 of 1 4/14/15 8:58 PM C:\Users\Harrn...\tlh2polebutter10rad see.rn 1 of 1 % Example 2pole butter tlh % Analog Butterworth filter design % design an 2-pole filter with a bandwidth of 10 rad/sec % Prototype H(s)

More information

Analog Lowpass Filter Specifications

Analog Lowpass Filter Specifications Analog Lowpass Filter Specifications Typical magnitude response analog lowpass filter may be given as indicated below H a ( j of an Copyright 005, S. K. Mitra Analog Lowpass Filter Specifications In the

More information

ECE 203 LAB 2 PRACTICAL FILTER DESIGN & IMPLEMENTATION

ECE 203 LAB 2 PRACTICAL FILTER DESIGN & IMPLEMENTATION Version 1. 1 of 7 ECE 03 LAB PRACTICAL FILTER DESIGN & IMPLEMENTATION BEFORE YOU BEGIN PREREQUISITE LABS ECE 01 Labs ECE 0 Advanced MATLAB ECE 03 MATLAB Signals & Systems EXPECTED KNOWLEDGE Understanding

More information

Filter Approximation Concepts

Filter Approximation Concepts 6 (ESS) Filter Approximation Concepts How do you translate filter specifications into a mathematical expression which can be synthesized? Approximation Techniques Why an ideal Brick Wall Filter can not

More information

Octave Functions for Filters. Young Won Lim 2/19/18

Octave Functions for Filters. Young Won Lim 2/19/18 Copyright (c) 2016 2018 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published

More information

Filters. Phani Chavali

Filters. Phani Chavali Filters Phani Chavali Filters Filtering is the most common signal processing procedure. Used as echo cancellers, equalizers, front end processing in RF receivers Used for modifying input signals by passing

More information

Brief Introduction to Signals & Systems. Phani Chavali

Brief Introduction to Signals & Systems. Phani Chavali Brief Introduction to Signals & Systems Phani Chavali Outline Signals & Systems Continuous and discrete time signals Properties of Systems Input- Output relation : Convolution Frequency domain representation

More information

Matlab Exercises. Matlab Exercises 1

Matlab Exercises. Matlab Exercises 1 Matlab Exercises Matlab Exercises for Chapter... 2 2 Matlab Exercises for Chapter 2... 7 3 Matlab Exercises for Chapter 3... 4 Matlab Exercises for Chapter 4... 3 5 Matlab Exercises for Chapter 5... 5

More information

Lecture 3, Multirate Signal Processing

Lecture 3, Multirate Signal Processing Lecture 3, Multirate Signal Processing Frequency Response If we have coefficients of an Finite Impulse Response (FIR) filter h, or in general the impulse response, its frequency response becomes (using

More information

APPENDIX A to VOLUME A1 TIMS FILTER RESPONSES

APPENDIX A to VOLUME A1 TIMS FILTER RESPONSES APPENDIX A to VOLUME A1 TIMS FILTER RESPONSES A2 TABLE OF CONTENTS... 5 Filter Specifications... 7 3 khz LPF (within the HEADPHONE AMPLIFIER)... 8 TUNEABLE LPF... 9 BASEBAND CHANNEL FILTERS - #2 Butterworth

More information

PHYS225 Lecture 15. Electronic Circuits

PHYS225 Lecture 15. Electronic Circuits PHYS225 Lecture 15 Electronic Circuits Last lecture Difference amplifier Differential input; single output Good CMRR, accurate gain, moderate input impedance Instrumentation amplifier Differential input;

More information

EECE 301 Signals & Systems Prof. Mark Fowler

EECE 301 Signals & Systems Prof. Mark Fowler EECE 31 Signals & Systems Prof. Mark Fowler D-T Systems: FIR Filters Note Set #29 1/16 FIR Filters (Non-Recursive Filters) FIR (Non-Recursive) filters are certainly the most widely used DT filters. There

More information

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District DEPARTMENT OF INFORMATION TECHNOLOGY DIGITAL SIGNAL PROCESSING UNIT 3

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District DEPARTMENT OF INFORMATION TECHNOLOGY DIGITAL SIGNAL PROCESSING UNIT 3 NH 67, Karur Trichy Highways, Puliyur C.F, 639 114 Karur District DEPARTMENT OF INFORMATION TECHNOLOGY DIGITAL SIGNAL PROCESSING UNIT 3 IIR FILTER DESIGN Structure of IIR System design of Discrete time

More information

Continuous-Time Analog Filters

Continuous-Time Analog Filters ENGR 4333/5333: Digital Signal Processing Continuous-Time Analog Filters Chapter 2 Dr. Mohamed Bingabr University of Central Oklahoma Outline Frequency Response of an LTIC System Signal Transmission through

More information

FINITE IMPULSE RESPONSE (FIR) FILTERS

FINITE IMPULSE RESPONSE (FIR) FILTERS CHAPTER 5 FINITE IMPULSE RESPONSE (FIR) FILTERS This chapter introduces finite impulse response (FIR) digital filters. Several methods for designing FIR filters are covered. The Filter Design and Analysis

More information

THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering. EIE2106 Signal and System Analysis Lab 2 Fourier series

THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering. EIE2106 Signal and System Analysis Lab 2 Fourier series THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering EIE2106 Signal and System Analysis Lab 2 Fourier series 1. Objective The goal of this laboratory exercise is to

More information

AUDIO SIEVING USING SIGNAL FILTERS

AUDIO SIEVING USING SIGNAL FILTERS AUDIO SIEVING USING SIGNAL FILTERS A project under V.6.2 Signals and System Engineering Yatharth Aggarwal Sagar Mayank Chauhan Rajan Table of Contents Introduction... 2 Filters... 4 Butterworth Filter...

More information

ECSE-4760 Computer Applications Laboratory DIGITAL FILTER DESIGN

ECSE-4760 Computer Applications Laboratory DIGITAL FILTER DESIGN Rensselaer Polytechnic Institute ECSE-4760 Computer Applications Laboratory DIGITAL FILTER DESIGN Number of Sessions 4 INTRODUCTION This lab demonstrates the use of digital filters on a DSP. It consists

More information

Bode Plots. Hamid Roozbahani

Bode Plots. Hamid Roozbahani Bode Plots Hamid Roozbahani A Bode plot is a graph of the transfer function of a linear, time-invariant system versus frequency, plotted with a logfrequency axis, to show the system's frequency response.

More information

Signal Processing of DC/DC converter inductor current measurement

Signal Processing of DC/DC converter inductor current measurement Signal Processing of DC/DC converter inductor current measurement By Yinjia Li Zakir Hussain Ranizai This thesis is presented as part of Degree of Bachelor of Science in Electrical Engineering Blekinge

More information

IIR Filter Design Chapter Intended Learning Outcomes: (i) Ability to design analog Butterworth filters

IIR Filter Design Chapter Intended Learning Outcomes: (i) Ability to design analog Butterworth filters IIR Filter Design Chapter Intended Learning Outcomes: (i) Ability to design analog Butterworth filters (ii) Ability to design lowpass IIR filters according to predefined specifications based on analog

More information

Design IIR Band-Reject Filters

Design IIR Band-Reject Filters db Design IIR Band-Reject Filters In this post, I show how to design IIR Butterworth band-reject filters, and provide two Matlab functions for band-reject filter synthesis. Earlier posts covered IIR Butterworth

More information

Plot frequency response around the unit circle above the Z-plane.

Plot frequency response around the unit circle above the Z-plane. There s No End to It -- Matlab Code Plots Frequency Response above the Unit Circle Reference [] has some 3D plots of frequency response magnitude above the unit circle in the Z-plane. I liked them enough

More information

Design IIR Filters Using Cascaded Biquads

Design IIR Filters Using Cascaded Biquads Design IIR Filters Using Cascaded Biquads This article shows how to implement a Butterworth IIR lowpass filter as a cascade of second-order IIR filters, or biquads. We ll derive how to calculate the coefficients

More information

Poles and Zeros of H(s), Analog Computers and Active Filters

Poles and Zeros of H(s), Analog Computers and Active Filters Poles and Zeros of H(s), Analog Computers and Active Filters Physics116A, Draft10/28/09 D. Pellett LRC Filter Poles and Zeros Pole structure same for all three functions (two poles) HR has two poles and

More information

ELEC3104: Digital Signal Processing Session 1, 2013

ELEC3104: Digital Signal Processing Session 1, 2013 ELEC3104: Digital Signal Processing Session 1, 2013 The University of New South Wales School of Electrical Engineering and Telecommunications LABORATORY 4: DIGITAL FILTERS INTRODUCTION In this laboratory,

More information

Digital Processing of Continuous-Time Signals

Digital Processing of Continuous-Time Signals Chapter 4 Digital Processing of Continuous-Time Signals 清大電機系林嘉文 cwlin@ee.nthu.edu.tw 03-5731152 Original PowerPoint slides prepared by S. K. Mitra 4-1-1 Digital Processing of Continuous-Time Signals Digital

More information

4. K. W. Henderson, "Nomograph for Designing Elliptic-Function Filters," Proc. IRE, vol. 46, pp , 1958.

4. K. W. Henderson, Nomograph for Designing Elliptic-Function Filters, Proc. IRE, vol. 46, pp , 1958. BIBLIOGRAPHY Books. W. Cauer, Synthesis of Linear Communication Networks (English translation from German edition), McGraw-Hill Book Co., New York, 958. 2. W. K. Chen, Theory and Design of Broadband Matching

More information

Kerwin, W.J. Passive Signal Processing The Electrical Engineering Handbook Ed. Richard C. Dorf Boca Raton: CRC Press LLC, 2000

Kerwin, W.J. Passive Signal Processing The Electrical Engineering Handbook Ed. Richard C. Dorf Boca Raton: CRC Press LLC, 2000 Kerwin, W.J. Passive Signal Processing The Electrical Engineering Handbook Ed. Richard C. Dorf Boca Raton: CRC Press LLC, 000 4 Passive Signal Processing William J. Kerwin University of Arizona 4. Introduction

More information

Platypus (/platypus/)

Platypus (/platypus/) Viewing as s4251143 Platypus (/ Page 1 assignments/ studentlist/ markers/ / Problem Set 2 Problem Set 2 Question 10 Question: Q1. Graphical Convolution Consider an LTI system with impulse response h(t

More information

Digital Filtering: Realization

Digital Filtering: Realization Digital Filtering: Realization Digital Filtering: Matlab Implementation: 3-tap (2 nd order) IIR filter 1 Transfer Function Differential Equation: z- Transform: Transfer Function: 2 Example: Transfer Function

More information

EEL2216 Control Theory CT2: Frequency Response Analysis

EEL2216 Control Theory CT2: Frequency Response Analysis EEL2216 Control Theory CT2: Frequency Response Analysis 1. Objectives (i) To analyse the frequency response of a system using Bode plot. (ii) To design a suitable controller to meet frequency domain and

More information

UNIT-II MYcsvtu Notes agk

UNIT-II   MYcsvtu Notes agk UNIT-II agk UNIT II Infinite Impulse Response Filter design (IIR): Analog & Digital Frequency transformation. Designing by impulse invariance & Bilinear method. Butterworth and Chebyshev Design Method.

More information

Electric Circuit Theory

Electric Circuit Theory Electric Circuit Theory Nam Ki Min nkmin@korea.ac.kr 010-9419-2320 Chapter 15 Active Filter Circuits Nam Ki Min nkmin@korea.ac.kr 010-9419-2320 Contents and Objectives 3 Chapter Contents 15.1 First-Order

More information

Frequency Response Analysis and Design Tutorial

Frequency Response Analysis and Design Tutorial 1 of 13 1/11/2011 5:43 PM Frequency Response Analysis and Design Tutorial I. Bode plots [ Gain and phase margin Bandwidth frequency Closed loop response ] II. The Nyquist diagram [ Closed loop stability

More information

ECE 2713 Design Project Solution

ECE 2713 Design Project Solution ECE 2713 Design Project Solution Spring 218 Dr. Havlicek 1. (a) Matlab code: ---------------------------------------------------------- P1a Make a 2 second digital audio signal that contains a pure cosine

More information

EEL 3923C. JD/ Module 3 Elementary Analog Filter Design. Prof. T. Nishida Fall 2010

EEL 3923C. JD/ Module 3 Elementary Analog Filter Design. Prof. T. Nishida Fall 2010 EEL 3923C JD/ Module 3 Elementary Analog Filter Design Prof. T. Nishida Fall 2010 Purpose Frequency selection Low pass, high pass, band pass, band stop, notch, etc. Applications II. Filter Fundamentals

More information

Digital Processing of

Digital Processing of Chapter 4 Digital Processing of Continuous-Time Signals 清大電機系林嘉文 cwlin@ee.nthu.edu.tw 03-5731152 Original PowerPoint slides prepared by S. K. Mitra 4-1-1 Digital Processing of Continuous-Time Signals Digital

More information

Electrical & Computer Engineering Technology

Electrical & Computer Engineering Technology Electrical & Computer Engineering Technology EET 419C Digital Signal Processing Laboratory Experiments by Masood Ejaz Experiment # 1 Quantization of Analog Signals and Calculation of Quantized noise Objective:

More information

EE233 Autumn 2016 Electrical Engineering University of Washington. EE233 HW7 Solution. Nov. 16 th. Due Date: Nov. 23 rd

EE233 Autumn 2016 Electrical Engineering University of Washington. EE233 HW7 Solution. Nov. 16 th. Due Date: Nov. 23 rd EE233 HW7 Solution Nov. 16 th Due Date: Nov. 23 rd 1. Use a 500nF capacitor to design a low pass passive filter with a cutoff frequency of 50 krad/s. (a) Specify the cutoff frequency in hertz. fc c 50000

More information

8: IIR Filter Transformations

8: IIR Filter Transformations DSP and Digital (5-677) IIR : 8 / Classical continuous-time filters optimize tradeoff: passband ripple v stopband ripple v transition width There are explicit formulae for pole/zero positions. Butterworth:

More information

2.161 Signal Processing: Continuous and Discrete

2.161 Signal Processing: Continuous and Discrete MIT OpenCourseWare http://ocw.mit.edu 2.6 Signal Processing: Continuous and Discrete Fall 28 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms. MASSACHUSETTS

More information

Review of Filter Types

Review of Filter Types ECE 440 FILTERS Review of Filters Filters are systems with amplitude and phase response that depends on frequency. Filters named by amplitude attenuation with relation to a transition or cutoff frequency.

More information

LABORATORY WORK BOOK (TC-202)

LABORATORY WORK BOOK (TC-202) LABORATORY WORK BOOK For Academic Session Semester SIGNALS AND SYSTEMS (TC-202) For SE (TC) Name: Roll Number: Batch: Department: Year/Semester: Department of Electronic Engineering NED University of Engineering

More information

Complex Numbers in Electronics

Complex Numbers in Electronics P5 Computing, Extra Practice After Session 1 Complex Numbers in Electronics You would expect the square root of negative numbers, known as complex numbers, to be only of interest to pure mathematicians.

More information

Exercise 8: Frequency Response

Exercise 8: Frequency Response Exercise 8: Frequency Response Introduction We can find the frequency response of a system by exciting the system with a sinusoidal signal of amplitude A and frequency ω [rad/s] (Note: ω = 2πf) and observing

More information

LECTURER NOTE SMJE3163 DSP

LECTURER NOTE SMJE3163 DSP LECTURER NOTE SMJE363 DSP (04/05-) ------------------------------------------------------------------------- Week3 IIR Filter Design -------------------------------------------------------------------------

More information

ECE626 Project Switched Capacitor Filter Design

ECE626 Project Switched Capacitor Filter Design ECE626 Project Switched Capacitor Filter Design Hari Prasath Venkatram Contents I Introduction 2 II Choice of Topology 2 III Poles and Zeros 2 III-ABilinear Transform......................................

More information

ECE 3793 Matlab Project 4

ECE 3793 Matlab Project 4 ECE 3793 Matlab Project 4 Spring 2017 Dr. Havlicek DUE: 5/3/2017, 11:59 PM What to Turn In: Make one file that contains your solution for this assignment. It can be an MS WORD file or a PDF file. For Problem

More information

ECE438 - Laboratory 7a: Digital Filter Design (Week 1) By Prof. Charles Bouman and Prof. Mireille Boutin Fall 2015

ECE438 - Laboratory 7a: Digital Filter Design (Week 1) By Prof. Charles Bouman and Prof. Mireille Boutin Fall 2015 Purdue University: ECE438 - Digital Signal Processing with Applications 1 ECE438 - Laboratory 7a: Digital Filter Design (Week 1) By Prof. Charles Bouman and Prof. Mireille Boutin Fall 2015 1 Introduction

More information

Dorf, R.C., Wan, Z. Transfer Functions of Filters The Electrical Engineering Handbook Ed. Richard C. Dorf Boca Raton: CRC Press LLC, 2000

Dorf, R.C., Wan, Z. Transfer Functions of Filters The Electrical Engineering Handbook Ed. Richard C. Dorf Boca Raton: CRC Press LLC, 2000 Dorf, R.C., Wan, Z. Transfer Functions of Filters The Electrical Engineering Handbook Ed. Richard C. Dorf oca Raton: CRC Press LLC, Transfer Functions of Filters Richard C. Dorf University of California,

More information

George Mason University Signals and Systems I Spring 2016

George Mason University Signals and Systems I Spring 2016 George Mason University Signals and Systems I Spring 2016 Laboratory Project #4 Assigned: Week of March 14, 2016 Due Date: Laboratory Section, Week of April 4, 2016 Report Format and Guidelines for Laboratory

More information

DIGITAL FILTERS. !! Finite Impulse Response (FIR) !! Infinite Impulse Response (IIR) !! Background. !! Matlab functions AGC DSP AGC DSP

DIGITAL FILTERS. !! Finite Impulse Response (FIR) !! Infinite Impulse Response (IIR) !! Background. !! Matlab functions AGC DSP AGC DSP DIGITAL FILTERS!! Finite Impulse Response (FIR)!! Infinite Impulse Response (IIR)!! Background!! Matlab functions 1!! Only the magnitude approximation problem!! Four basic types of ideal filters with magnitude

More information

ECE 4213/5213 Homework 10

ECE 4213/5213 Homework 10 Fall 2017 ECE 4213/5213 Homework 10 Dr. Havlicek Work the Projects and Questions in Chapter 7 of the course laboratory manual. For your report, use the file LABEX7.doc from the course web site. Work these

More information

LABORATORY - FREQUENCY ANALYSIS OF DISCRETE-TIME SIGNALS

LABORATORY - FREQUENCY ANALYSIS OF DISCRETE-TIME SIGNALS LABORATORY - FREQUENCY ANALYSIS OF DISCRETE-TIME SIGNALS INTRODUCTION The objective of this lab is to explore many issues involved in sampling and reconstructing signals, including analysis of the frequency

More information

EE 422G - Signals and Systems Laboratory

EE 422G - Signals and Systems Laboratory EE 422G - Signals and Systems Laboratory Lab 3 FIR Filters Written by Kevin D. Donohue Department of Electrical and Computer Engineering University of Kentucky Lexington, KY 40506 September 19, 2015 Objectives:

More information

Digital Filter Design

Digital Filter Design Chapter9 Digital Filter Design Contents 9.1 Overview of Approximation Techniques........ 9-3 9.1.1 Approximation Approaches........... 9-3 9.1.2 FIR Approximation Approaches......... 9-3 9.2 Continuous-Time

More information

Infinite Impulse Response (IIR) Filter. Ikhwannul Kholis, ST., MT. Universitas 17 Agustus 1945 Jakarta

Infinite Impulse Response (IIR) Filter. Ikhwannul Kholis, ST., MT. Universitas 17 Agustus 1945 Jakarta Infinite Impulse Response (IIR) Filter Ihwannul Kholis, ST., MT. Universitas 17 Agustus 1945 Jaarta The Outline 8.1 State-of-the-art 8.2 Coefficient Calculation Method for IIR Filter 8.2.1 Pole-Zero Placement

More information

ijdsp Workshop: Exercise 2012 DSP Exercise Objectives

ijdsp Workshop: Exercise 2012 DSP Exercise Objectives Objectives DSP Exercise The objective of this exercise is to provide hands-on experiences on ijdsp. It consists of three parts covering frequency response of LTI systems, pole/zero locations with the frequency

More information

Design of a 100 MHz, 5 th Order Elliptic, Low-Pass Switched Capacitor Filter

Design of a 100 MHz, 5 th Order Elliptic, Low-Pass Switched Capacitor Filter Design of a 100 MHz, 5 th Order Elliptic, Low-Pass Switched Capacitor Filter 1 Jon Guerber, ECE 626, Student Member, IEEE Abstract The design and simulation of an Elliptic switched capacitor filter with

More information

Operational Amplifiers

Operational Amplifiers Operational Amplifiers Continuing the discussion of Op Amps, the next step is filters. There are many different types of filters, including low pass, high pass and band pass. We will discuss each of the

More information

Active Filter Design Techniques

Active Filter Design Techniques Active Filter Design Techniques 16.1 Introduction What is a filter? A filter is a device that passes electric signals at certain frequencies or frequency ranges while preventing the passage of others.

More information

EEO 401 Digital Signal Processing Prof. Mark Fowler

EEO 401 Digital Signal Processing Prof. Mark Fowler EEO 41 Digital Signal Processing Prof. Mark Fowler Note Set #17.5 MATLAB Examples Reading Assignment: MATLAB Tutorial on Course Webpage 1/24 Folder Navigation Current folder name here Type commands here

More information

EEL 4350 Principles of Communication Project 2 Due Tuesday, February 10 at the Beginning of Class

EEL 4350 Principles of Communication Project 2 Due Tuesday, February 10 at the Beginning of Class EEL 4350 Principles of Communication Project 2 Due Tuesday, February 10 at the Beginning of Class Description In this project, MATLAB and Simulink are used to construct a system experiment. The experiment

More information

Rahman Jamal, et. al.. "Filters." Copyright 2000 CRC Press LLC. <

Rahman Jamal, et. al.. Filters. Copyright 2000 CRC Press LLC. < Rahman Jamal, et. al.. "Filters." Copyright 000 CRC Press LLC. . Filters Rahman Jamal National Instruments Germany Robert Steer Frequency Devices 8. Introduction 8. Filter Classification

More information

Solution Set for Mini-Project #2 on Octave Band Filtering for Audio Signals

Solution Set for Mini-Project #2 on Octave Band Filtering for Audio Signals EE 313 Linear Signals & Systems (Fall 2018) Solution Set for Mini-Project #2 on Octave Band Filtering for Audio Signals Mr. Houshang Salimian and Prof. Brian L. Evans 1- Introduction (5 points) A finite

More information

Pole, zero and Bode plot

Pole, zero and Bode plot Pole, zero and Bode plot EC04 305 Lecture notes YESAREKEY December 12, 2007 Authored by: Ramesh.K Pole, zero and Bode plot EC04 305 Lecture notes A rational transfer function H (S) can be expressed as

More information

Demonstrating in the Classroom Ideas of Frequency Response

Demonstrating in the Classroom Ideas of Frequency Response Rochester Institute of Technology RIT Scholar Works Presentations and other scholarship 1-7 Demonstrating in the Classroom Ideas of Frequency Response Mark A. Hopkins Rochester Institute of Technology

More information

ECE580 Make-up Project 2: Filter Design. November, 30 th 2012

ECE580 Make-up Project 2: Filter Design. November, 30 th 2012 General Stopband Filter Design Report ECE580 Make-up Project 2: Filter Design by Arne Bostrom, Rick Crispo and Erin Sullivan November, 30 th 2012 Problem Statement The purpose of this project is to find

More information

7B.2 The optimal method

7B.2 The optimal method Appendices 445 7B.2 The optimal method The Signal Processing Toolbox in MATLAB contains a number of design programs and functions for designing optimal FIR filters based on Park-McClellan and Remez algorithms.

More information

ECE503 Homework Assignment Number 8 Solution

ECE503 Homework Assignment Number 8 Solution ECE53 Homework Assignment Number 8 Solution 1. 3 points. Recall that an analog integrator has transfer function H a (s) = 1 s. Use the bilinear transform to find the digital transfer function G(z) from

More information

Active Filter. Low pass filter High pass filter Band pass filter Band stop filter

Active Filter. Low pass filter High pass filter Band pass filter Band stop filter Active Filter Low pass filter High pass filter Band pass filter Band stop filter Active Low-Pass Filters Basic Low-Pass filter circuit At critical frequency, esistance capacitance X c ω c πf c So, critical

More information

1 PeZ: Introduction. 1.1 Controls for PeZ using pezdemo. Lab 15b: FIR Filter Design and PeZ: The z, n, and O! Domains

1 PeZ: Introduction. 1.1 Controls for PeZ using pezdemo. Lab 15b: FIR Filter Design and PeZ: The z, n, and O! Domains DSP First, 2e Signal Processing First Lab 5b: FIR Filter Design and PeZ: The z, n, and O! Domains The lab report/verification will be done by filling in the last page of this handout which addresses a

More information

EE Experiment 8 Bode Plots of Frequency Response

EE Experiment 8 Bode Plots of Frequency Response EE16:Exp8-1 EE 16 - Experiment 8 Bode Plots of Frequency Response Objectives: To illustrate the relationship between a system frequency response and the frequency response break frequencies, factor powers,

More information

Digital Filters IIR (& Their Corresponding Analog Filters) 4 April 2017 ELEC 3004: Systems 1. Week Date Lecture Title

Digital Filters IIR (& Their Corresponding Analog Filters) 4 April 2017 ELEC 3004: Systems 1. Week Date Lecture Title http://elec3004.com Digital Filters IIR (& Their Corresponding Analog Filters) 4 April 017 ELEC 3004: Systems 1 017 School of Information Technology and Electrical Engineering at The University of Queensland

More information

EEM478-DSPHARDWARE. WEEK12:FIR & IIR Filter Design

EEM478-DSPHARDWARE. WEEK12:FIR & IIR Filter Design EEM478-DSPHARDWARE WEEK12:FIR & IIR Filter Design PART-I : Filter Design/Realization Step-1 : define filter specs (pass-band, stop-band, optimization criterion, ) Step-2 : derive optimal transfer function

More information

Laboratory 7: Active Filters

Laboratory 7: Active Filters EGR 224L - Spring 208 7. Introduction Laboratory 7: Active Filters During this lab, you are going to use data files produced by two different low-pass filters to examine MATLAB s ability to predict transfer

More information

Filters and Tuned Amplifiers

Filters and Tuned Amplifiers CHAPTER 6 Filters and Tuned Amplifiers Introduction 55 6. Filter Transmission, Types, and Specification 56 6. The Filter Transfer Function 60 6.7 Second-Order Active Filters Based on the Two-Integrator-Loop

More information

Produced in cooperation with. Revision: May 26, Overview

Produced in cooperation with. Revision: May 26, Overview Lab Aignment 6: Tranfer Function Analyi Reviion: May 6, 007 Produced in cooperation with www.digilentinc.com Overview In thi lab, we will employ tranfer function to determine the frequency repone and tranient

More information

EELE 4310: Digital Signal Processing (DSP)

EELE 4310: Digital Signal Processing (DSP) EELE 4310: Digital Signal Processing (DSP) Chapter # 10 : Digital Filter Design (Part One) Spring, 2012/2013 EELE 4310: Digital Signal Processing (DSP) - Ch.10 Dr. Musbah Shaat 1 / 19 Outline 1 Introduction

More information

Answers to Problems of Chapter 4

Answers to Problems of Chapter 4 Answers to Problems of Chapter 4 The answers to the problems of this chapter are based on the use of MATLAB. Thus, if the readers have some prior elementary knowledge on it, it will be easier for them

More information

4 Experiment 4: DC Motor Voltage to Speed Transfer Function Estimation by Step Response and Frequency Response (Part 2)

4 Experiment 4: DC Motor Voltage to Speed Transfer Function Estimation by Step Response and Frequency Response (Part 2) 4 Experiment 4: DC Motor Voltage to Speed Transfer Function Estimation by Step Response and Frequency Response (Part 2) 4.1 Introduction This lab introduces new methods for estimating the transfer function

More information

CHAPTER 8 ANALOG FILTERS

CHAPTER 8 ANALOG FILTERS ANALOG FILTERS CHAPTER 8 ANALOG FILTERS SECTION 8.: INTRODUCTION 8. SECTION 8.2: THE TRANSFER FUNCTION 8.5 THE SPLANE 8.5 F O and Q 8.7 HIGHPASS FILTER 8.8 BANDPASS FILTER 8.9 BANDREJECT (NOTCH) FILTER

More information

Application Note 7. Digital Audio FIR Crossover. Highlights Importing Transducer Response Data FIR Window Functions FIR Approximation Methods

Application Note 7. Digital Audio FIR Crossover. Highlights Importing Transducer Response Data FIR Window Functions FIR Approximation Methods Application Note 7 App Note Application Note 7 Highlights Importing Transducer Response Data FIR Window Functions FIR Approximation Methods n Design Objective 3-Way Active Crossover 200Hz/2kHz Crossover

More information

Digital Signal Processing

Digital Signal Processing Digital Signal Processing Lab 1: FFT, Spectral Leakage, Zero Padding Moslem Amiri, Václav Přenosil Embedded Systems Laboratory Faculty of Informatics, Masaryk University Brno, Czech Republic amiri@mail.muni.cz

More information

Discretization of Continuous Controllers

Discretization of Continuous Controllers Discretization of Continuous Controllers Thao Dang VERIMAG, CNRS (France) Discretization of Continuous Controllers One way to design a computer-controlled control system is to make a continuous-time design

More information

Lab S-9: Interference Removal from Electro-Cardiogram (ECG) Signals

Lab S-9: Interference Removal from Electro-Cardiogram (ECG) Signals DSP First, 2e Signal Processing First Lab S-9: Interference Removal from Electro-Cardiogram (ECG) Signals Pre-Lab: Read the Pre-Lab and do all the exercises in the Pre-Lab section prior to attending lab.

More information

Solutions to Magnetic Bearing Lab #3 Notch Filtering of Resonant Modes

Solutions to Magnetic Bearing Lab #3 Notch Filtering of Resonant Modes Solutions to Magnetic Bearing Lab #3 Notch Filtering of Resonant Modes by Löhning, Matthias University of Calgary Department of Mechanical and Manufacturing Engineering 25 July 2004 Preliminary note: For

More information

LESSON 21: METHODS OF SYSTEM ANALYSIS

LESSON 21: METHODS OF SYSTEM ANALYSIS ET 438a Automatic Control Systems Technology LESSON 21: METHODS OF SYSTEM ANALYSIS 1 LEARNING OBJECTIVES After this presentation you will be able to: Compute the value of transfer function for given frequencies.

More information

Analog Filters D R. T A R E K T U T U N J I P H I L A D E L P H I A U N I V E R S I T Y, J O R D A N

Analog Filters D R. T A R E K T U T U N J I P H I L A D E L P H I A U N I V E R S I T Y, J O R D A N Analog Filters D. T A E K T U T U N J I P H I L A D E L P H I A U N I V E S I T Y, J O D A N 2 0 4 Introduction Electrical filters are deigned to eliminate unwanted frequencies Filters can be classified

More information

(Refer Slide Time: 02:00-04:20) (Refer Slide Time: 04:27 09:06)

(Refer Slide Time: 02:00-04:20) (Refer Slide Time: 04:27 09:06) Digital Signal Processing Prof. S. C. Dutta Roy Department of Electrical Engineering Indian Institute of Technology, Delhi Lecture - 25 Analog Filter Design (Contd.); Transformations This is the 25 th

More information

Massachusetts Institute of Technology Department of Electrical Engineering & Computer Science 6.341: Discrete-Time Signal Processing Fall 2005

Massachusetts Institute of Technology Department of Electrical Engineering & Computer Science 6.341: Discrete-Time Signal Processing Fall 2005 Massachusetts Institute of Technology Department of Electrical Engineering & Computer Science 6.341: Discrete-Time Signal Processing Fall 2005 Project Assignment Issued: Sept. 27, 2005 Project I due: Nov.

More information

Digital Filters FIR and IIR Systems

Digital Filters FIR and IIR Systems Digital Filters FIR and IIR Systems ELEC 3004: Systems: Signals & Controls Dr. Surya Singh (Some material adapted from courses by Russ Tedrake and Elena Punskaya) Lecture 16 elec3004@itee.uq.edu.au http://robotics.itee.uq.edu.au/~elec3004/

More information

Signal Processing. Naureen Ghani. December 9, 2017

Signal Processing. Naureen Ghani. December 9, 2017 Signal Processing Naureen Ghani December 9, 27 Introduction Signal processing is used to enhance signal components in noisy measurements. It is especially important in analyzing time-series data in neuroscience.

More information