Design and comparison of butterworth and chebyshev type-1 low pass filter using Matlab

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

Electric Circuit Theory

The University of Texas at Austin Dept. of Electrical and Computer Engineering Final Exam

ELEC-C5230 Digitaalisen signaalinkäsittelyn perusteet

Using the isppac 80 Programmable Lowpass Filter IC

MULTIRATE IIR LINEAR DIGITAL FILTER DESIGN FOR POWER SYSTEM SUBSTATION

UNIT-II MYcsvtu Notes agk

Pole, zero and Bode plot

Signals and Filtering

DSP Laboratory (EELE 4110) Lab#10 Finite Impulse Response (FIR) Filters

3 Analog filters. 3.1 Analog filter characteristics

CHAPTER 8 ANALOG FILTERS

Review of Filter Types

Chapter 15: Active Filters

LECTURER NOTE SMJE3163 DSP

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

EXPERIMENT 1: Characteristics of Passive and Active Filters

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

Design IIR Filter using MATLAB

Introduction (cont )

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

Low Pass Filter Introduction

Bode plot, named after Hendrik Wade Bode, is usually a combination of a Bode magnitude plot and Bode phase plot:

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

B.Tech III Year II Semester (R13) Regular & Supplementary Examinations May/June 2017 DIGITAL SIGNAL PROCESSING (Common to ECE and EIE)

Filters. Phani Chavali

Comparative Study of RF/microwave IIR Filters by using the MATLAB

EE 422G - Signals and Systems Laboratory

Team proposals are due tomorrow at 6PM Homework 4 is due next thur. Proposal presentations are next mon in 1311EECS.

Underwater Signal Processing Using ARM Cortex Processor

EE 470 Signals and Systems

Active Filter Design Techniques

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

Design of FIR Filter for Efficient Utilization of Speech Signal Akanksha. Raj 1 Arshiyanaz. Khateeb 2 Fakrunnisa.Balaganur 3

A Comparative Performance Analysis of High Pass Filter Using Bartlett Hanning And Blackman Harris Windows

Classic Filters. Figure 1 Butterworth Filter. Chebyshev

DSP Filter Design for Flexible Alternating Current Transmission Systems

Active Filters - Revisited

HARDWARE IMPLEMENTATION OF LOCK-IN AMPLIFIER FOR NOISY SIGNALS

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

DESIGN OF FIR AND IIR FILTERS

Aparna Tiwari, Vandana Thakre, Karuna Markam Deptt. Of ECE,M.I.T.S. Gwalior, M.P, India

Filter Notes. You may have memorized a formula for the voltage divider - if not, it is easily derived using Ohm's law, Vo Vi

Bode Plots. Hamid Roozbahani

CHAPTER -2 NOTCH FILTER DESIGN TECHNIQUES

Lecture 3 Review of Signals and Systems: Part 2. EE4900/EE6720 Digital Communications

EEO 401 Digital Signal Processing Prof. Mark Fowler

Build Your Own Bose WaveRadio Bass Preamp Active Filter Design

Advanced Digital Signal Processing Part 5: Digital Filters

Final Exam Solutions June 14, 2006

Digital Filters IIR (& Their Corresponding Analog Filters) Week Date Lecture Title

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

The above figure represents a two stage circuit. Recall, the transfer function relates. Vout

Problem Point Value Your score Topic 1 28 Discrete-Time Filter Analysis 2 24 Upconversion 3 30 Filter Design 4 18 Potpourri Total 100

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

Department of Electronic Engineering NED University of Engineering & Technology. LABORATORY WORKBOOK For the Course SIGNALS & SYSTEMS (TC-202)

Operational Amplifiers

DFT: Discrete Fourier Transform & Linear Signal Processing

Analog Electronics. Lecture. Op-amp Circuits and Active Filters. Muhammad Amir Yousaf

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

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

FREQUENCY RESPONSE AND PASSIVE FILTERS LABORATORY

CHAPTER 2 FIR ARCHITECTURE FOR THE FILTER BANK OF SPEECH PROCESSOR

Design of FIR Filters

Designing Filters Using the NI LabVIEW Digital Filter Design Toolkit

Chapter 7 Filter Design Techniques. Filter Design Techniques

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

EEM478-DSPHARDWARE. WEEK12:FIR & IIR Filter Design

Signals and Systems Lecture 6: Fourier Applications

1. Find the magnitude and phase response of an FIR filter represented by the difference equation y(n)= 0.5 x(n) x(n-1)

Corso di DATI e SEGNALI BIOMEDICI 1. Carmelina Ruggiero Laboratorio MedInfo

LECTURE FOUR Time Domain Analysis Transient and Steady-State Response Analysis

An active filters means using amplifiers to improve the filter. An acive second-order RC low-pass filter still has two RC components in series.

Discrete-Time Signal Processing (DTSP) v14

v(t) = V p sin(2π ft +φ) = V p cos(2π ft +φ + π 2 )

LECTURE 3 FILTERING OBJECTIVES CHAPTER 3 3-1

Optimal FIR filters Analysis using Matlab

PROBLEM SET 6. Note: This version is preliminary in that it does not yet have instructions for uploading the MATLAB problems.

Signal Processing. Naureen Ghani. December 9, 2017

Performance Analysis of FIR Digital Filter Design Technique and Implementation

Application of Fourier Transform in Signal Processing

Advanced Measurements

ECE 203 LAB 2 PRACTICAL FILTER DESIGN & IMPLEMENTATION

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

Digital Signal Processing. VO Embedded Systems Engineering Armin Wasicek WS 2009/10

Communication Engineering Prof. Surendra Prasad Department of Electrical Engineering Indian Institute of Technology, Delhi

Filters occur so frequently in the instrumentation and

The steeper the phase shift as a function of frequency φ(ω) the more stable the frequency of oscillation

Brief Introduction to Signals & Systems. Phani Chavali

Designing Passive Filter Using Butterworth Filter Technique

Digital Processing of Continuous-Time Signals

Digital Filters FIR and IIR Systems

Lab 9: Operational amplifiers II (version 1.5)

ijdsp Workshop: Exercise 2012 DSP Exercise Objectives

Continuous-Time Analog Filters

Digital Processing of

ActiveLowPassFilter -- Overview

Digital Signal Processing

PHYS225 Lecture 15. Electronic Circuits

Background (What Do Line and Load Transients Tell Us about a Power Supply?)

Transcription:

Research Cell: An International Journal of Engineering Sciences ISSN: 2229-6913 Issue Sept 2011, Vol. 4 423 Design and comparison of butterworth and chebyshev type-1 low pass filter using Matlab Tushar Malica 1, Singdha Shekhar 2, Zakir Ali 3 Institute of Engineering & Technology, Bundelkhand University, Jhansi,India tmalica27@gmail.com, snigdha2090@gmail.com, zakirali008@gmail.com Abstract: In the communication system, signals are analogous to carriers of information, be it useful or unwanted. Hence it becomes essential to extract or enhance the useful information and remove any redundancy from a mix of conflicting information. This is the simplest aim of signal processing. The objective of this paper is to know characteristics of each filter for a particular frequency specification- Butterworth low-pass and Chebyshev type-1 low-pass filter and to know how these filters compare. The main concentration being on the magnitude response. An ideal low pass filter has a gain of one in the pass band, zero outside that region. In this paper we compare a Butterworth low pass filter and a Chebyshev type-i low pass filter designed using MATLAB codes which gives the magnitude and phase responses of each of the filters. I. Introduction Signal processing is an operation designed for extracting, enhancing, storing and transmitting useful information. The distinction between useful and unwanted information is situation and need dependant. Hence signal processing is application dependent. An important element in digital signal processing is the filter. In circuit theory, a filter is an electrical circuit that manipulates the amplitude and/or phase characteristics of a signal with respect to frequency. In signal

424 Tushar Malica, Singdha Shekhar, Zakir Ali processing, the function of a filter is to remove unwanted parts of the signal, such as noise, or selective extraction of the signal such as the components in a certain frequency range. Hence filter has a gain which depends on signal frequency. Our study will concentrate on two types of filters only- Butterworth low-pass filter Chebyshev type-1 low pass filter Some of the important terms used here are :- Transfer function The frequency-domain behaviour of a filter is described mathematically in terms of its transfer function or network function. This is the ratio of the Laplace transforms of its output to its input signals. The voltage transfer function H(s) of a filter can therefore be written as :- H(s) = Vout(s) ( i ) Vin(s) where Vin(s) and Vout(s) are the input and output signal voltages respectively and s is the complex frequency variable. The transfer function defines the filter s response to any arbitrary input signal. The magnitude of the transfer function as a function of frequency, indicates the effect of the filter on the amplitudes of sinusoidal signals at various frequencies. Knowing the transfer function magnitude (or gain) at each frequency allows us to determine how well the filter can distinguish between signals at different frequencies. By replacing the variable s in ( i ) with jω, where ω is the radian frequency (2πf), we can find the filter s effect on the magnitude and phase of the input signal. The magnitude is found by taking the absolute value of ( i ):- H(jω) = Vout(jω) Vin(jω) And the phase is :- arg H(jω) = arg Vout(jω) Vin(jω)

Research Cell: An International Journal of Engineering Sciences ISSN: 2229-6913 Issue Sept 2011, Vol. 4 425 Order of a filter The order of a filter is the highest power of the variable s in its transfer function. With every increase of order n, the attenuation at higher frequencies increases by n 20 db. It is directly related to the number of components in the filter, and therefore to its cost, its physical size, and the complexity of the design task. Therefore, higher-order filters are more expensive, take up more space, and are more difficult to design. The primary advantage of a higher-order filter is that it will have a steeper roll-off slope than a similar lower order filter. In general, a transfer function for an nth-order network, (one with n capacitors and inductors), can be written as below:- H(s) = H 0 s n + b n-1 s n-1 + b n-2 s n-2 +... +b 1 + b 0 s n + a n-1 s n-1 + a n-2 s n-2 +... +a 1 + a 0 Poles and zeroes The factored form of a network function can be depicted graphically in a pole-zero diagrams. A pole anywhere to the right of the imaginary axis indicates instability. If the pole is located on the positive real axis, the network output will be an increasing exponential function. A positive pole not located on the real axis will give an exponentially increasing sinusoidal output Stable networks will have their poles located on or to the left of the imaginary axis. Poles on the imaginary axis indicate an undamped sinusoidal output (in other words, a sine-wave oscillator), while poles on the left real axis indicate damped exponential response, and complex poles in the negative half plane indicate damped sinusoidal response. Basic elements in digital filter designing To completely describe digital filters, three basic elements (or building blocks) are needed: an adder, a multiplier, and a delay element. The adder has two inputs and one output, and it simply adds the two inputs together. The multiplier is a gain element, and it multiplies the input signal by a constant. The delay element delays the incoming signal by one sample. Digital filters can be implemented using either a block diagram or a signal flow graph.

426 Tushar Malica, Singdha Shekhar, Zakir Ali Figure 1.Depiction of the basic designing elements With the basic building blocks, the two different filter structures depending on the form of the system s response to a unit pulse input can easily be implemented. These two structures are Infinite Impulse Response (IIR) and Finite Impulse Response (FIR). The former is commonly implemented using a feedback (recursive) structure, while the latter usually require no feedback (non-recursive). The system response and the difference equation for IIR filter is as follows:- b 0 + b 1 z -1 +...+ b M z -M 1 + a 1 z -1 +... + a N z -N Y(n) = b m x(n-m) - a m y(n-m) Summation being from zero M and N respectively. The system response and the difference equation for a FIR filter is as follows: b 0 + b 1 z -1 +...+ b M z 1-M = b k z -k Y(n)= b k x(n-k) Summation being from zero to m-1.

Research Cell: An International Journal of Engineering Sciences ISSN: 2229-6913 Issue Sept 2011, Vol. 4 427 Figure 2. Signal Flow Graph of IIR Filter II. Filter Design Figure 3. Signal flow graph of FIR filter MATLAB has several design algorithms that can be used to create and analyze both IIR and FIR digital filters. The IIR filters that can be created in MATLAB are Butterworth, Chebyshev type 1 and 2, and Elliptic. The FIR filter algorithms in Matlab are equiripple, least squares, and Kaiser window. Among the most widely used filters are the Butterworth low pass filter and Chebyshev low pass filter. Butterworth low pass filter Figure 4. An ideal low pass filter The first and probably best-known filter approximation is the Butterworth. The rolloff is smooth and monotonic, with a low-pass or high-pass roll-off

428 Tushar Malica, Singdha Shekhar, Zakir Ali rate of 20 db/decade(6 db/octave) for every pole. The general equation for a Butterworth filter s amplitude response when =1 is: < c (ii) > c where N is the order of the filter, and can be any positive whole number (1, 2, 3, ), and c is the cut-off frequency in rad/sec. The code used displays the magnitude and phase responses of a butterworth low- pass filter of order ranging from 1-10 and normalized value of 0.6 (i.e. 300/500). The results are shown in appendix- I. Chebyshev type-i low-pass filter Another approximation to the ideal filter is the Chebyshev or equal ripple response. The addition of pass band ripple as a parameter makes the specification process for a Chebyshev filter a bit more complicated than for a Butterworth filter, but also increases flexibility. The nominal gain of the filter is equal to the filter s maximum pass band gain. An odd-order Chebyshev will have a dc gain (in the low-pass case) equal to the nominal gain, with dips in the amplitude response curve equal to the ripple value. An evenorder Chebyshev low-pass will have its dc gain equal to the nominal filter gain minus the ripple value; the nominal gain for an even-order Chebyshev occurs at the peaks of the pass band ripple.the general equation for a Chebyshev filter s amplitude response when (epsilon) =1is:- < c > c

Research Cell: An International Journal of Engineering Sciences ISSN: 2229-6913 Issue Sept 2011, Vol. 4 429 where N is the order of the filter, and can be any positive whole number (1, 2, 3, ), and &! c is the cut-off frequency in rad/sec. The code used displays the magnitude and phase responses of a Chebyshev type-i low- pass filter of order ranging from 1-10 and normalized value of 0.6 (i.e. 300/500). The pass band ripple is calculated by : R = -10 log 10 H(j ) 2 As R = -10 log 10 1 [1+ 2 ] and H(j ) 2 has its maximum values as 1/[1+ 2 ] for < c The results are shown in appendix- IV. Results and Discussion Hardware required for similar order filter is same irrespective of the type. The increase in order indicates increase in hardware too. This increases the complexity of the design and the production cost too. For instance, number of adders can be given by 2N, where N is the order of the filter. [refer appendix- III] The Chebyshev characteristic has a steeper rolloff near the cutoff frequency when compared to the Butterworth. Though the monotonicity in the pass band is compromised. [refer appendix-vi]. This means that the Chebyshev filter for the same order attenuates or rejects frequencies at the stop band in a better way than the Butterworth filter. Hence, a same order Chebyshev low-pass filter will work more effectively than a Butterworth low-pass filter in disposing unwanted frequencies but, if the Butterworth filters maybe the better choice when a ripple-less and maximally flat response is desired. While, the Butterworth filter is maximally flat at =0, the Chebyshev filter may have ripple in the pass band of amplitude response. This can be further proved by putting =0 in (ii). The gain comes out to be 1 which is the maximum Butterworth magnitude value. It exhibits a nearly flat pass band with no ripple and smooth rolloff. [refer appendix- I]. On the other hand, The amount of pass band ripple is one of the parameters used in specifying a Chebyshev filter. [refer appendix-iv]

430 Tushar Malica, Singdha Shekhar, Zakir Ali Also the Chebyshev filter has a bigger decrease in magnitude with the increase in frequency than Butterworth. So, the derivative of Chebyshev s gain will be more negative than Butterworth filter. The phase response is linear at first but some ripple or non-linearity is observed as the order of the Butterworth filter increases.[refer appendix-i]. Phase response maybe linear piece-wise in Chebyshev filter.[refer appendix- IV]

Research Cell: An International Journal of Engineering Sciences ISSN: 2229-6913 Issue Sept 2011, Vol. 4 431 APPENDIX-I The output of Butterworth low-pass filter with uniformly increasing order of the filter is shown below. The blue line represents the magnitude response and the green line traces the phase response.

432 Tushar Malica, Singdha Shekhar, Zakir Ali

Research Cell: An International Journal of Engineering Sciences ISSN: 2229-6913 Issue Sept 2011, Vol. 4 433 APPENDIX-II Butterworth filters magnitude responses of different order compared.

434 Tushar Malica, Singdha Shekhar, Zakir Ali APPENDIX-III Butterworth filter structure: direct form II transposed, second order sections Chebyshev filter structure: direct form II transposed, second order sections Order Number of sections Stable Linear phase Number of multipliers Number of adders 1 1 yes no 2 2 2 1 yes no 4 4 3 2 yes no 5 6 4 2 yes no 7 8 5 3 yes no 8 10 6 3 yes no 10 12 7 4 yes no 11 14 8 4 yes no 13 16 9 5 yes no 14 18 10 5 yes no 16 20 Table 1. Butterworth low-pass filter. Filter information data acquired and compiled Order Number of sections Stable Linear phase Number of multipliers Number of adders 1 1 yes no 2 2 2 1 yes no 4 4 3 2 yes no 5 6 4 2 yes no 7 8 5 3 yes no 8 10 6 3 yes no 10 12 7 4 yes no 11 14 8 4 yes no 13 16 9 5 yes no 14 18 10 5 yes no 16 20 Table 2. Chebyshev type-i low-pass filter. Filter information data acquired and compiled

Research Cell: An International Journal of Engineering Sciences ISSN: 2229-6913 Issue Sept 2011, Vol. 4 435 APPENDIX-IV

436 Tushar Malica, Singdha Shekhar, Zakir Ali

Research Cell: An International Journal of Engineering Sciences ISSN: 2229-6913 Issue Sept 2011, Vol. 4 437 The output of Chebyshev type-i low-pass filter with uniformly increasing order of the filter is shown below. The blue line represents the magnitude response and the green line traces the phase response APPENDIX-V Chebyshev filters magnitude responses of different order compared. APPENDIX-VI Comparison of magnitude responses of Butterworth and Chebyshev type-i low pass filters. The red trace indicates the Butterworth responses while the blue lines traces the Chebyshev magnitude responses.

438 Tushar Malica, Singdha Shekhar, Zakir Ali References [1] Vinay K. Ingle, John G. Proakis, Digital Signal Processing Using MATLAB V.4 [2] Digital Filter Design Using Matlab, by Timothy J. Schlichter, EE 4000 Introduction to Digital Filtering, February 1999 [3] 10 MHz Butterworth Filter Using the Operational Amplifier THS4001 Dirk Gehrke and Andreas Hahn, Application Report SLOA032 - October 1999, Texas Instruments [4] Signals and systems with Matlab computing and simulink modellong by Steven T. Karris [5] www.mathworks.com