Signals and Systems (Lab) Resource Person : Hafiz Muhammad Ijaz

Slides:



Advertisements
Similar presentations
Design of Digital IIR Filter
Advertisements

Digital Signal Processing IIR Filter IIR Filter Design by Approximation of Derivatives Analogue filters having rational transfer function H(s) can be.
Nonrecursive Digital Filters
ECE 8443 – Pattern Recognition EE 3512 – Signals: Continuous and Discrete Objectives: Filters and Difference Equations Signal Flow Graphs FIR and IIR Filters.
Chapter 6 Infinite Impulse Response Filter Design.
CHAPTER 7 Digital Filter Design Wang Weilian School of Information Science and Technology Yunnan University.
Infinite Impulse Response (IIR) Filters
ECE651 Digital Signal Processing I Digital IIR Filter Design.
So far We have introduced the Z transform
Hossein Sameti Department of Computer Engineering Sharif University of Technology.
Digital Signal Processing – Chapter 11 Introduction to the Design of Discrete Filters Prof. Yasser Mostafa Kadah
Unit 9 IIR Filter Design 1. Introduction The ideal filter Constant gain of at least unity in the pass band Constant gain of zero in the stop band The.
IIR Filter Design: Basic Approaches Most common approach to IIR filter design: (1)Convert specifications for the digital filter into equivalent specifications.
Signals and Systems (Lab) Resource Person : Hafiz Muhammad Ijaz COMSATS Institute of Information Technology Lahore Campus
5.1 the frequency response of LTI system 5.2 system function 5.3 frequency response for rational system function 5.4 relationship between magnitude and.
5th Order Butterworth Low Pass Filter. Fifth Order Butterworth LPF The normalized Butterworth low pass filter equation is: Design a fifth order Butterworth.
EEE422 Signals and Systems Laboratory Filters (FIR) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Designing Bandpass Filters We will design several filters for the following normalized frequencies and desired frequency response. First, specify the desired.
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
DSP-CIS Chapter-4: FIR & IIR Filter Design Marc Moonen Dept. E.E./ESAT, KU Leuven
SIGNAL PROCESSING WITH MATLAB Presented by: Farah Hani Nordin Dr. Farrukh Hafiz Nagi.
UNIT-5 Filter Designing. INTRODUCTION The Digital filters are discrete time systems used mainly for filtering of arrays. The array or sequence are obtained.
MATLAB for Signal Processing The MathWorks Inc. Natick, MA USA Filter Design.
Functional Brain Signal Processing: EEG & fMRI Lesson 3 Kaushik Majumdar Indian Statistical Institute Bangalore Center M.Tech.
Chapter 8 Design of infinite impulse response digital filter.
1 Lab. 4 Sampling and Rate Conversion  Sampling:  The Fourier transform of an impulse train is still an impulse train.  Then, x x(t) x s (t)x(nT) *
Lecture 10: IIR Filter Designs XILIANG LUO 2014/11 1.
Dan Ellis 1 ELEN E4810: Digital Signal Processing Topic 8: Filter Design: IIR 1.Filter Design Specifications 2.Analog Filter Design 3.Digital.
1 Digital Signal Processing. 2 Digital Signal Processing Topic 8: Filter Design: IIR 1. Filter Design Specifications 2. Analog Filter Design 3. Digital.
LIST OF EXPERIMENTS USING TMS320C5X Study of various addressing modes of DSP using simple programming examples Sampling of input signal and display Implementation.
Lecturer: Dr Igor Khovanov Office: D207 Syllabus: Biomedical Signal Processing. Examples of signals. Linear System Analysis. Laplace.
2/17/2007DSP Course-IUST-Spring Semester 1 Digital Signal Processing Electrical Engineering Department Iran University of Science & Tech.
1 Digital Signal Processing. 2 Digital Signal Processing Topic 6: Filters-Introduction 1. Simple Filters 2. Ideal Filters 3. Linear Phase and FIR filter.
EE422 Signals and Systems Laboratory Infinite Impulse Response (IIR) filters Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Signals and Systems Filter Design. Part III Design.
Transform Analysis of LTI Systems Quote of the Day Any sufficiently advanced technology is indistinguishable from magic. Arthur C. Clarke Content and Figures.
Filters Background:. Filters may be classified as either digital or analog. Digital filters. Digital filters are implemented using a digital computer or.
Nov '03csDSP61 CS3291: Section 6 IIR discrete time filter design Introduction: Many design techniques for IIR discrete time filters have adopted ideas.
GROUP MEMBERS ELISHBA KHALID 07-CP-07 TAHIRA SAMEEN 07-CP-31.
Chapter 6 Discrete-Time System. 2/90  Operation of discrete time system 1. Discrete time system where and are multiplier D is delay element Fig. 6-1.
DISP 2003 Lecture 5 – Part 1 Digital Filters 1 Frequency Response Difference Equations FIR versus IIR FIR Filters Properties and Design Philippe Baudrenghien,
Finite Impulse Response Filtering EMU-E&E Engineering Erhan A. Ince Dec 2015.
DSP-CIS Part-II / Chapter-4 : Filter Design Marc Moonen Dept. E.E./ESAT-STADIUS, KU Leuven
1 BIEN425 – Lecture 12 By the end of the lecture, you should be able to: –Design and implement IIR filters using zero-pole placement.
 What is Filter ? A Filter is an electrical network that can transmit signal within a specified frequency range. This Frequency range is called PASS BAND.
Digital Signal Processing
Figure 8.1 (p. 615) Time-domain condition for distortionless transmission of a signal through a linear time-invariant system. Signals and Systems, 2/E.
UNIT - 5 IIR FILTER DESIGN.
Lattice Struture.
Lecture: IIR Filter Design
EEE422 Signals and Systems Laboratory
Speech Signal Processing
IIR Filters FIR vs. IIR IIR filter design procedure
Infinite Impulse Response (IIR) Filters
EE Audio Signals and Systems
Chapter 8 Design of Infinite Impulse Response (IIR) Digital Filter
Review of Filter Design
ECET 350 Education for Service/tutorialrank.com
3.4 Frequency-domain Filters
Lect5 A framework for digital filter design
MMSE Optimal Design: The Least Squares method
Biomedical Signal processing Chapter 7 Filter Design Techniques
Lect6 Finite Impulse response (FIR) filter design
Digital Control Systems (DCS)
Chapter 6 Discrete-Time System
Everything You Ever Wanted to Know About Filters*
Biomedical Signal processing Chapter 7 Filter Design Techniques
DIGITAL SIGNAL PROCESSING WITH MATLAB
DSP-CIS Chapter-4: FIR & IIR Filter Design
Presentation transcript:

Signals and Systems (Lab) Resource Person : Hafiz Muhammad Ijaz COMSATS Institute of Information Technology Lahore Campus

MATLAB implementation of Analog and Digital Filters EXPERIMENT # 9 MATLAB implementation of Analog and Digital Filters

In This Lab… How to implement RC Low Pass Filter using MATLAB What are Filters and their Types? What is meant by Analog Filters? How to implement RC Low Pass Filter using MATLAB How to implement RC High Pass Filter using MATLAB What are Digital Filters and their types? How to design FIR Low Pass Filter? How to design FIR High Pass Filter? How to design FIR Band Pass Filter? MATLAB implementation of Butterworth IIR Low Pass Filter?

Filters and their Types Types of Filters Analog Filters Digital Filters

Analog Filters

RC Low Pass Filter with Cutoff 200Hz R=1000; C=0.00001/2; w=0:0.01:5000; a=sqrt(1+(w*R*C).^2); b=1./a; plot(w,abs(b)) title('Low Pass Filter') xlabel('Frequency') ylabel('Magnitude')

RC High Pass Filter with Cutoff 200Hz R=1000; C=0.00001/2; w=0:0.01:5000; a=sqrt(1+(w*R*C).^2); b=(w*R*C)./a; plot(w,abs(b)) title('High Pass Filter') xlabel('Frequency') ylabel('Magnitude')

Comparison of Low Pass & High Pass R=1000; C=0.00001/2; 1/(R*C) w=0:0.01:5000; a=sqrt(1+(w*R*C).^2); b=1./a; subplot(211) plot(w,abs(b)) title('Low Pass Filter') xlabel('Frequency') ylabel('Magnitude') b=(w*R*C)./a; subplot(212) title('High Pass Filter') ylim([0 1.1])

Digital Filters and its types IIR Filters FIR Filters linear phase always possible always stable, more no analog history Phase Stability Order History difficult to control, no particular techniques available can be unstable, less derived from analog filters

FIR Low Pass Filter with Cutoff 1200Hz fs=8000; % sampling frequency n=50; % order of the filter w=1200/ (fs/2); b=fir1(n,w,'low'); % Zeros of the filter freqz(b,1,128,8000 figure(2) [h,w]=freqz(b,1,128,8000); plot(w,abs(h));

FIR High Pass Filter with Cutoff 1200Hz fs=8000; n=50; w=1200/ (fs/2); b=fir1(n,w,'high'); freqz(b,1,128,8000); figure(2) [h,w]=freqz(b,1,128,8000) plot(w,abs(h));

FIR Band Pass Filter with Pass Band 1200--1800Hz fs=8000; n=40; b=fir1(n,[1200/4000 1800/4000],'bandpass'); freqz(b,1,128,8000) figure(2) [h,w]=freqz(b,1,128,8000); plot(w,abs(h));

Butterworth IIR Low Pass Filter fs=8000; [n,w]=buttord(1200/4000,1500/4000,1,50); % finding the order of the filter [b,a]=butter(n,w); % finding zeros and poles for filter figure(1) freqz(b,a,512,8000); figure(2) [h,q] = freqz(b,a,512,8000); plot(q,abs(h));

Summary Filters and their basic Types Analog Filters MATLAB implementation of RC Low Pass and High Pass Filters Digital Filters and their types MATLAB implementation of FIR Low Pass, High Pass and Band Pass Filter MATLAB implementation of Butterworth IIR Low Pass Filter