SlideShare a Scribd company logo
١
١
Butterworth
Filter
Spring 2009
© Ammar Abu-Hudrouss -Islamic
University Gaza
Slide ٢
Digital Signal Processing
What are the function of Filters ?
Filters can be classified according to range of signal
frequencies in the passband
Lowpass filter
Highpass filter
Bandpass filter
Stopband (bandreject) filter
A filter is a system that allow certain frequency to pass to
its output and reject all other signals
Filter types
٢
Slide ٣
Digital Signal Processing
Filter types
Slide ٤
Digital Signal Processing
Filter types according to its frequency response
Butterworth filter
Chebychev I filter
Chebychev II filter
Elliptic filter
Filter types
٣
Slide ٥
Digital Signal Processing
Butterworth filter
Ideal lowpass filter is shown in the figure
The passband is normalised to one.
Tolerance in passband and stopband are allowed to enable
the construction of the filter.
Slide ٦
Digital Signal Processing
Lowpass prototype filter
Lowpass prototype filter: it is a lowpass filter with
cutoff frequency p=1.
Lowpass
prototype
filter
Frequency
Transformation
Lowpass filter
Highpass filter
Bandpass filter
Bandreject filter
The frequency scale is normalized by p. We use  = / p.
٤
Slide ٧
Digital Signal Processing
Lowpass prototype filter
Notation
In analogue filter design we will use
s to denote complex frequency
to denote analogue frequency
p to denote complex frequency at lowpass prototype
frequencies.
 to denote analogue frequency at the lowpass prototype
frequencies.
Slide ٨
Digital Signal Processing
Magnitude Approximation of Analog Filters
 The transfer function of analogue filter is given as rational
function of the form
 The Fourier transform is given by
  nm
sdsdsdd
scscscc
sH n
n
m
mo






2
210
2
21
   
  n
n
n
m
m
m
o
js
djdjdd
cjcjcc
sHH


 


 


2
210
2
21
)(
   
 j
ejHH )(
٥
Slide ٩
Digital Signal Processing
Magnitude Approximation of Analog Filters
 Analogue filter is usually expressed in term of
 Example
 Consider the transfer function of analogue filter, find
      jHjHjH *2

 
22
1
2



ss
s
sH
       jsjs
ss
s
ss
s
sHsHjH 





22
1
22
1
22
2
 
42
1
2 4
2





jH
 
 
 


2


jH
jH
Slide ١٠
Digital Signal Processing
In order to approximate the ideal filter
1) The magnitude at  = 0 is normalized to one
2) The magnitude monotonically decreases from this value to
zero as ∞.
3) The maximum number of its derivatives evaluated at  = 0
are zeros.
This can be satisfied if
Butterworth filter
n
n
m
mo
DDD
CCCC
H 2
2
4
4
2
2
2
2
4
4
2
22
1
)(








Will have only even powers of , or
N
ND
H 2
2
2
1
1
)(




 2
jH
٦
Slide ١١
Digital Signal Processing
The following specification is usually given for a lowpass
Butterworth filter is
1) The magnitude of H0 at  = 0
2) The bandwidth p.
3) The magnitude at the bandwidth p.
4) The stopband frequency s.
5) The magnitude at the stopband frequency s.
6) The transfer function is given by
Butterworth filter
  N
ND
H
H 2
2
02
1
)(


Slide ١٢
Digital Signal Processing
To achieve the equivalent lowpass prototype filter
1) We scale the cutoff frequency to one using transformation
 = / p.
2) We scale the magnitude to 1 to one by dividing the magnitude
by H0 .
The transfer function become
We denotes D2N as  2 where  is the ripple factor, then
Butterworth filter
  N
ND
H 2'
2
2
1
1
)(


  N
H 22
2
1
1
)(



٧
Slide ١٣
Digital Signal Processing
If the magnitude at the bandwidth  = p = 1 is given as (1 - p)2
or −Ap decibels,
the value of 2 is computed by
If we choose Ap = -3dB   2 = 1. this is the most common case
and gives
Butterworth filter
pAH
p
2)(log20
2
1
 
pA
 2
1
1
log10

110
1.02
 pA

  N
H 2
2
1
1
)(


Slide ١٤
Digital Signal Processing
If we use the complex frequency representation
The poles of this function occurs at
Or in general
Poles occurs in complex conjugates
Poles which are located in the LHP are the poles of H(s)
Butterworth filter
 
 Njp
p
HpH
2/
22
1
1
)(

 
 






 
even,2,...,2,1
odd,2,...,2,1
2/12
2/2
nNke
nNke
p Nk
Nk
k 

Nkep NNkj
k 2,...,2,12/)12(
  
Nkep NNkj
k ,...,2,12/)12(
  
٨
Slide ١٥
Digital Signal Processing
When we found the N poles we can construct the filter transfer
function as
The denominator polynomial D (p) is calculated by
Butterworth filter
 
 pD
pH
1

   

n
k
kpppD
1
Slide ١٦
Digital Signal Processing
Butterworth filter
Another method to calculate D (p ) using
The coefficients dk is calculated recursively where d0 = 1
  
k
kpppD )(
n
n pdpdpdpD  2
211)(
   Nkd
N
k
k
d kk ,,3,2,1
2
sin
2/1cos
1 





 


٩
Slide ١٧
Digital Signal Processing
Butterworth filter
The minimum attenuation as dB is usually given at certain
frequency s.
The order of the filter can be calculated from the filter
equation
s (rad/sec)
H()
dB
 N
s
ss AH
2
2
1log10
)(log10


 
 s
As
N



log2
110log 10/
Slide ١٨
Digital Signal Processing
Design Steps of Butterworth Filter
1. Convert the filter specifications to their equivalents in the
lowpass prototype frequency.
2. From Ap determine the ripple factor .
3. From As determine the filter order, N.
4. Determine the left-hand poles, using the equations given.
5. Construct the lowpass prototype filter transfer function.
6. Use the frequency transformation to convert the LP
prototype filter to the given specifications.
١٠
Slide ١٩
Digital Signal Processing
Butterworth filter
Example:
Design a lowpass Butterworth filter with a maximum gain of 5 dB
and a cutoff frequency of 1000 rad/s at which the gain is at least
2 dB and a stopband frequency of 5000 rad/s at which the
magnitude is required to be less than −25dB.
Solution:
p = 1000 rad/s , s = 5000 rad/s,
By normalization,
p = p/ p = 1 rad/s,
s = s / p = 5 rad/s,
And the stopband attenuation As = 25+ 5 =30 dB
The filter order is calculated by
  3146.2
)5log(2
)110log( 10/



sA
N
Slide ٢٠
Digital Signal Processing
Butterworth filter
The pole positions are:
  
3,2,16/22
 
kep kj
k

   866.05.0,1,866.05.0,, 3/43/2
jjeeep jjj
k  
   866.05.01866.05.0)( jppjppD 
  11)( 2
 ppppD
122)( 23
 ppppD
Hence the transfer function of the normalized prototype
filter of third order is
122
1
)( 23


ppp
pH
١١
Slide ٢١
Digital Signal Processing
Butterworth filter
To restore the magnitude, we multiply be H0
20logH0 = 5dB which leads H0 = 1.7783
To restore the frequency we replace p by s/1000
122
)( 23
0


ppp
H
pH
 
1
1000
2
1000
2
1000
7783.1
)( 231000/


















 
sss
pHsH sp
  9623
9
101022000
10.7783.1
)(


sss
sH
Slide ٢٢
Digital Signal Processing
Butterworth filter
If the passband edge is defined for Ap  3 dB (i.e.   1).
The design equation needs to be modified. The formula for
calculating the order will become
And the poles are given by
Home Study: Repeat the previous example if Ap = 0.5 dB
  
 s
As
N



log2
110log 10/

Nkep NNkjN
k ,...,2,12/)12(/1
  


More Related Content

PPTX
Butterworth filter
DOCX
PPTX
Bilinear z transformaion
PPTX
FILTER DESIGN
PPTX
Design of Filters PPT
PDF
Warping Concept (iir filters-bilinear transformation method)
PDF
Basics of Analogue Filters
PDF
DSP_FOEHU - Lec 11 - IIR Filter Design
Butterworth filter
Bilinear z transformaion
FILTER DESIGN
Design of Filters PPT
Warping Concept (iir filters-bilinear transformation method)
Basics of Analogue Filters
DSP_FOEHU - Lec 11 - IIR Filter Design

What's hot (20)

PDF
DSP_2018_FOEHU - Lec 07 - IIR Filter Design
PDF
DDSP_2018_FOEHU - Lec 10 - Digital Signal Processing Applications
PDF
Analysis of Butterworth and Chebyshev Filters for ECG Denoising Using Wavelets
DOCX
Design of Filter Circuits using MATLAB, Multisim, and Excel
PPT
Digital Filters Part 2
PPT
Fir and iir filter_design
PDF
Design and realization of fir filter using chebyshev window
PDF
Design of IIR filters
PPT
1 digital filters (fir)
PPTX
filter design
PDF
Dsp 2018 foehu - lec 10 - multi-rate digital signal processing
PDF
DSP_FOEHU - Lec 07 - Digital Filters
PPTX
Design of infinite impulse response digital filters 2
PPT
Digital Filters Part 1
PDF
DSP_2018_FOEHU - Lec 1 - Introduction to Digital Signal Processing
PPTX
IIR filter
PDF
DSP_FOEHU - Lec 10 - FIR Filter Design
PPTX
Design of digital filters
DSP_2018_FOEHU - Lec 07 - IIR Filter Design
DDSP_2018_FOEHU - Lec 10 - Digital Signal Processing Applications
Analysis of Butterworth and Chebyshev Filters for ECG Denoising Using Wavelets
Design of Filter Circuits using MATLAB, Multisim, and Excel
Digital Filters Part 2
Fir and iir filter_design
Design and realization of fir filter using chebyshev window
Design of IIR filters
1 digital filters (fir)
filter design
Dsp 2018 foehu - lec 10 - multi-rate digital signal processing
DSP_FOEHU - Lec 07 - Digital Filters
Design of infinite impulse response digital filters 2
Digital Filters Part 1
DSP_2018_FOEHU - Lec 1 - Introduction to Digital Signal Processing
IIR filter
DSP_FOEHU - Lec 10 - FIR Filter Design
Design of digital filters
Ad

Similar to 01analog filters (20)

PPTX
Analog Electronics Active Filters Lecture 19
PPT
IIR filter design, Digital signal processing
PPTX
Some important topics in IIR filter.pptx
PDF
Active_Filter.pptx.pdffdffgygydhdudyddyxyddyd
PPT
Digital signal processing By Er. Swapnil Kaware
PPTX
iir_filter_design.pptx
PDF
IRJET- Design and Implementation of Butterworth, Chebyshev-I Filters for Digi...
PDF
5 Filter Part 1 (16, 17, 18).pdf5 Filter Part 2 (Lecture 19, 20, 21, 22).pdf5...
PPT
Electronic_Filters_1565961125903_10698.ppt
PDF
Solution Manual for Introduction to Digital Signal Processing, 1st Edition, D...
PDF
Lecture-1.pdf
PDF
Module 2 handouts part 2
PPT
Filter- IIR - Digital signal processing(DSP)
PDF
Solution Manual for Introduction to Digital Signal Processing, 1st Edition, D...
PPTX
SignalDecompositionTheory.pptx
PPTX
Butterworth filter design
PPT
Unit 1
PPTX
Discrete time signal processing unit-2
PPTX
Signal Processing Assignment Help
DOCX
Steps for design of butterworth and chebyshev filter
Analog Electronics Active Filters Lecture 19
IIR filter design, Digital signal processing
Some important topics in IIR filter.pptx
Active_Filter.pptx.pdffdffgygydhdudyddyxyddyd
Digital signal processing By Er. Swapnil Kaware
iir_filter_design.pptx
IRJET- Design and Implementation of Butterworth, Chebyshev-I Filters for Digi...
5 Filter Part 1 (16, 17, 18).pdf5 Filter Part 2 (Lecture 19, 20, 21, 22).pdf5...
Electronic_Filters_1565961125903_10698.ppt
Solution Manual for Introduction to Digital Signal Processing, 1st Edition, D...
Lecture-1.pdf
Module 2 handouts part 2
Filter- IIR - Digital signal processing(DSP)
Solution Manual for Introduction to Digital Signal Processing, 1st Edition, D...
SignalDecompositionTheory.pptx
Butterworth filter design
Unit 1
Discrete time signal processing unit-2
Signal Processing Assignment Help
Steps for design of butterworth and chebyshev filter
Ad

More from LingalaSowjanya (20)

PPT
8251 communication interface
PPTX
ADDRESSING MODES OF 8085
PDF
(724429257) cylindrical coordinate system (1)
PDF
Fet biasing boylestad pages
PPTX
Wave analysers
PPTX
Transducers (1)
PPTX
Thermocouple
PPTX
Thermistor
PPTX
Temperature measurement
PPTX
Strain gauge
PPTX
Pressure measurement
PPT
Oscillators (1)
PPT
Multivibrators (1)
PPTX
PPTX
Classification of transducer
PPTX
Wheatstone bridge
PPTX
Energy meter
PDF
Bridges problems
PPTX
Bridge ppt 1
8251 communication interface
ADDRESSING MODES OF 8085
(724429257) cylindrical coordinate system (1)
Fet biasing boylestad pages
Wave analysers
Transducers (1)
Thermocouple
Thermistor
Temperature measurement
Strain gauge
Pressure measurement
Oscillators (1)
Multivibrators (1)
Classification of transducer
Wheatstone bridge
Energy meter
Bridges problems
Bridge ppt 1

Recently uploaded (20)

PPTX
Artificial Intelligence
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
web development for engineering and engineering
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
Well-logging-methods_new................
PPTX
Lecture Notes Electrical Wiring System Components
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPT
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
PDF
PPT on Performance Review to get promotions
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PDF
R24 SURVEYING LAB MANUAL for civil enggi
Artificial Intelligence
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
web development for engineering and engineering
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Well-logging-methods_new................
Lecture Notes Electrical Wiring System Components
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
CH1 Production IntroductoryConcepts.pptx
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
PPT on Performance Review to get promotions
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
Foundation to blockchain - A guide to Blockchain Tech
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
R24 SURVEYING LAB MANUAL for civil enggi

01analog filters

  • 1. ١ ١ Butterworth Filter Spring 2009 © Ammar Abu-Hudrouss -Islamic University Gaza Slide ٢ Digital Signal Processing What are the function of Filters ? Filters can be classified according to range of signal frequencies in the passband Lowpass filter Highpass filter Bandpass filter Stopband (bandreject) filter A filter is a system that allow certain frequency to pass to its output and reject all other signals Filter types
  • 2. ٢ Slide ٣ Digital Signal Processing Filter types Slide ٤ Digital Signal Processing Filter types according to its frequency response Butterworth filter Chebychev I filter Chebychev II filter Elliptic filter Filter types
  • 3. ٣ Slide ٥ Digital Signal Processing Butterworth filter Ideal lowpass filter is shown in the figure The passband is normalised to one. Tolerance in passband and stopband are allowed to enable the construction of the filter. Slide ٦ Digital Signal Processing Lowpass prototype filter Lowpass prototype filter: it is a lowpass filter with cutoff frequency p=1. Lowpass prototype filter Frequency Transformation Lowpass filter Highpass filter Bandpass filter Bandreject filter The frequency scale is normalized by p. We use  = / p.
  • 4. ٤ Slide ٧ Digital Signal Processing Lowpass prototype filter Notation In analogue filter design we will use s to denote complex frequency to denote analogue frequency p to denote complex frequency at lowpass prototype frequencies.  to denote analogue frequency at the lowpass prototype frequencies. Slide ٨ Digital Signal Processing Magnitude Approximation of Analog Filters  The transfer function of analogue filter is given as rational function of the form  The Fourier transform is given by   nm sdsdsdd scscscc sH n n m mo       2 210 2 21       n n n m m m o js djdjdd cjcjcc sHH           2 210 2 21 )(      j ejHH )(
  • 5. ٥ Slide ٩ Digital Signal Processing Magnitude Approximation of Analog Filters  Analogue filter is usually expressed in term of  Example  Consider the transfer function of analogue filter, find       jHjHjH *2    22 1 2    ss s sH        jsjs ss s ss s sHsHjH       22 1 22 1 22 2   42 1 2 4 2      jH         2   jH jH Slide ١٠ Digital Signal Processing In order to approximate the ideal filter 1) The magnitude at  = 0 is normalized to one 2) The magnitude monotonically decreases from this value to zero as ∞. 3) The maximum number of its derivatives evaluated at  = 0 are zeros. This can be satisfied if Butterworth filter n n m mo DDD CCCC H 2 2 4 4 2 2 2 2 4 4 2 22 1 )(         Will have only even powers of , or N ND H 2 2 2 1 1 )(      2 jH
  • 6. ٦ Slide ١١ Digital Signal Processing The following specification is usually given for a lowpass Butterworth filter is 1) The magnitude of H0 at  = 0 2) The bandwidth p. 3) The magnitude at the bandwidth p. 4) The stopband frequency s. 5) The magnitude at the stopband frequency s. 6) The transfer function is given by Butterworth filter   N ND H H 2 2 02 1 )(   Slide ١٢ Digital Signal Processing To achieve the equivalent lowpass prototype filter 1) We scale the cutoff frequency to one using transformation  = / p. 2) We scale the magnitude to 1 to one by dividing the magnitude by H0 . The transfer function become We denotes D2N as  2 where  is the ripple factor, then Butterworth filter   N ND H 2' 2 2 1 1 )(     N H 22 2 1 1 )(   
  • 7. ٧ Slide ١٣ Digital Signal Processing If the magnitude at the bandwidth  = p = 1 is given as (1 - p)2 or −Ap decibels, the value of 2 is computed by If we choose Ap = -3dB   2 = 1. this is the most common case and gives Butterworth filter pAH p 2)(log20 2 1   pA  2 1 1 log10  110 1.02  pA    N H 2 2 1 1 )(   Slide ١٤ Digital Signal Processing If we use the complex frequency representation The poles of this function occurs at Or in general Poles occurs in complex conjugates Poles which are located in the LHP are the poles of H(s) Butterworth filter    Njp p HpH 2/ 22 1 1 )(              even,2,...,2,1 odd,2,...,2,1 2/12 2/2 nNke nNke p Nk Nk k   Nkep NNkj k 2,...,2,12/)12(    Nkep NNkj k ,...,2,12/)12(   
  • 8. ٨ Slide ١٥ Digital Signal Processing When we found the N poles we can construct the filter transfer function as The denominator polynomial D (p) is calculated by Butterworth filter    pD pH 1       n k kpppD 1 Slide ١٦ Digital Signal Processing Butterworth filter Another method to calculate D (p ) using The coefficients dk is calculated recursively where d0 = 1    k kpppD )( n n pdpdpdpD  2 211)(    Nkd N k k d kk ,,3,2,1 2 sin 2/1cos 1          
  • 9. ٩ Slide ١٧ Digital Signal Processing Butterworth filter The minimum attenuation as dB is usually given at certain frequency s. The order of the filter can be calculated from the filter equation s (rad/sec) H() dB  N s ss AH 2 2 1log10 )(log10      s As N    log2 110log 10/ Slide ١٨ Digital Signal Processing Design Steps of Butterworth Filter 1. Convert the filter specifications to their equivalents in the lowpass prototype frequency. 2. From Ap determine the ripple factor . 3. From As determine the filter order, N. 4. Determine the left-hand poles, using the equations given. 5. Construct the lowpass prototype filter transfer function. 6. Use the frequency transformation to convert the LP prototype filter to the given specifications.
  • 10. ١٠ Slide ١٩ Digital Signal Processing Butterworth filter Example: Design a lowpass Butterworth filter with a maximum gain of 5 dB and a cutoff frequency of 1000 rad/s at which the gain is at least 2 dB and a stopband frequency of 5000 rad/s at which the magnitude is required to be less than −25dB. Solution: p = 1000 rad/s , s = 5000 rad/s, By normalization, p = p/ p = 1 rad/s, s = s / p = 5 rad/s, And the stopband attenuation As = 25+ 5 =30 dB The filter order is calculated by   3146.2 )5log(2 )110log( 10/    sA N Slide ٢٠ Digital Signal Processing Butterworth filter The pole positions are:    3,2,16/22   kep kj k     866.05.0,1,866.05.0,, 3/43/2 jjeeep jjj k      866.05.01866.05.0)( jppjppD    11)( 2  ppppD 122)( 23  ppppD Hence the transfer function of the normalized prototype filter of third order is 122 1 )( 23   ppp pH
  • 11. ١١ Slide ٢١ Digital Signal Processing Butterworth filter To restore the magnitude, we multiply be H0 20logH0 = 5dB which leads H0 = 1.7783 To restore the frequency we replace p by s/1000 122 )( 23 0   ppp H pH   1 1000 2 1000 2 1000 7783.1 )( 231000/                     sss pHsH sp   9623 9 101022000 10.7783.1 )(   sss sH Slide ٢٢ Digital Signal Processing Butterworth filter If the passband edge is defined for Ap  3 dB (i.e.   1). The design equation needs to be modified. The formula for calculating the order will become And the poles are given by Home Study: Repeat the previous example if Ap = 0.5 dB     s As N    log2 110log 10/  Nkep NNkjN k ,...,2,12/)12(/1    