Continuous-Time Analog Filters

Similar documents
Analog Lowpass Filter Specifications

LECTURER NOTE SMJE3163 DSP

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

Digital Processing of Continuous-Time Signals

3 Analog filters. 3.1 Analog filter characteristics

Digital Processing of

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

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

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

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

Electric Circuit Theory

Filters and Tuned Amplifiers

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

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

ECE 203 LAB 2 PRACTICAL FILTER DESIGN & IMPLEMENTATION

ECE503: Digital Filter Design Lecture 9

CHAPTER 8 ANALOG FILTERS

Continuous-Time Signal Analysis FOURIER Transform - Applications DR. SIGIT PW JAROT ECE 2221

8: IIR Filter Transformations

Part B. Simple Digital Filters. 1. Simple FIR Digital Filters

EEM478-DSPHARDWARE. WEEK12:FIR & IIR Filter Design

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

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

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

EEO 401 Digital Signal Processing Prof. Mark Fowler

PHYS225 Lecture 15. Electronic Circuits

F I R Filter (Finite Impulse Response)

APPENDIX A to VOLUME A1 TIMS FILTER RESPONSES

The University of Texas at Austin Dept. of Electrical and Computer Engineering Midterm #2

Review of Filter Types

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

Using the isppac 80 Programmable Lowpass Filter IC

Signals and Systems Lecture 6: Fourier Applications

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

Filter Approximation Concepts

Active Filter Design Techniques

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

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

Experiment 4- Finite Impulse Response Filters

George Mason University Signals and Systems I Spring 2016

Chapter 7 Filter Design Techniques. Filter Design Techniques

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

Fourier Transform Analysis of Signals and Systems

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

Electronic PRINCIPLES

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

Signals and Filtering

EELE 4310: Digital Signal Processing (DSP)

Transfer function: a mathematical description of network response characteristics.

Boise State University Department of Electrical and Computer Engineering ECE 212L Circuit Analysis and Design Lab

ELEC-C5230 Digitaalisen signaalinkäsittelyn perusteet

Signals and Systems Lecture 6: Fourier Applications

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

E Final Exam Solutions page 1/ gain / db Imaginary Part

PYKC 13 Feb 2017 EA2.3 Electronics 2 Lecture 8-1

Design Digital Non-Recursive FIR Filter by Using Exponential Window

2.1 BASIC CONCEPTS Basic Operations on Signals Time Shifting. Figure 2.2 Time shifting of a signal. Time Reversal.

Final Exam Solutions June 14, 2006

Advanced Digital Signal Processing Part 5: Digital Filters

Frequency Response Analysis

Active Filters - Revisited

ECE 4213/5213 Homework 10

CS3291: Digital Signal Processing

Lecture XII: Ideal filters

4. Design of Discrete-Time Filters

Digital Filters FIR and IIR Systems

Design of infinite impulse response (IIR) bandpass filter structure using particle swarm optimization

Complex Digital Filters Using Isolated Poles and Zeroes

Design of FIR Filters

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

ECE 421 Introduction to Signal Processing

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

APPLIED SIGNAL PROCESSING

Copyright S. K. Mitra

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

Narrow-Band Low-Pass Digital Differentiator Design. Ivan Selesnick Polytechnic University Brooklyn, New York


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

Filters occur so frequently in the instrumentation and

EE247 Lecture 2. Butterworth Chebyshev I Chebyshev II Elliptic Bessel Group delay comparison example. EECS 247 Lecture 2: Filters

GEORGIA INSTITUTE OF TECHNOLOGY. SCHOOL of ELECTRICAL and COMPUTER ENGINEERING. ECE 2026 Summer 2018 Lab #8: Filter Design of FIR Filters

Design IIR Band-Reject Filters

EKT 356 MICROWAVE COMMUNICATIONS CHAPTER 4: MICROWAVE FILTERS

Adaptive Filters Application of Linear Prediction

EELE503. Modern filter design. Filter Design - Introduction

y(n)= Aa n u(n)+bu(n) b m sin(2πmt)= b 1 sin(2πt)+b 2 sin(4πt)+b 3 sin(6πt)+ m=1 x(t)= x = 2 ( b b b b

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

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

Microwave Circuits Design. Microwave Filters. high pass

Chapter 15: Active Filters

CHAPTER 6 INTRODUCTION TO SYSTEM IDENTIFICATION

Multirate Digital Signal Processing

Final Exam. EE313 Signals and Systems. Fall 1999, Prof. Brian L. Evans, Unique No

UNIT-II MYcsvtu Notes agk

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

Lecture 17 z-transforms 2

A Bessel Filter Crossover, and Its Relation to Other Types

Brief Introduction to Signals & Systems. Phani Chavali

1. Clearly circle one answer for each part.

Digital Signal Processing

Transcription:

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 LTIC Systems Ideal and Realizable Filters Data Truncation by Windows Specification of Practical Filters Analog Filter Transmissions Practical Filter Families

2.1 Frequency Response of an LTIC System

Frequency Response of an LTIC System Time Domain x(t) δ (t) h(t) y(t) = x(t) h(t) h(t) X(s) Laplace Domain H(s) Y(s) = X(s) H(s) X(ω) Frequency Domain H(ω) Y(ω) = X(ω) H(ω)

Time Domain Verses Frequency Domain

Frequency Response of Common Systems An Ideal Time Delay of T seconds yy tt = xx(tt TT) An Ideal Differentiator yy tt = dddd dddd An Ideal Integrator yy tt = xx ττ ddττ

Pole-Zero Plots LTIC system is described by the constant-coefficient linear differential Equation.

Example 2ss Consider a system whose transfer function is HH ss = ss 2 + 2ss + 5 Determine and plot the poles and zeros of H(s), and use the pole-zero information to predict overall system behavior. Confirm this predicted behavior by computing and graphing the system s frequency response (magnitude and phase). Lastly, find and plot the system response y(t) for the inputs (a) x a (t) = cos(2t) (b) x b (t) = 2sin(4t π/3)

Continue Example

2.2 Signal Transmission through LTIC Systems

Distortionless Transmission For distortionless transmission, we require that the system possess linear phase characteristics. For real systems, the phase is not only a linear function of ω but also passes through the origin (or ± π if a is negative) at ω = 0. Group Delay t g If group delay is constant then all frequency components are delayed by the same time interval.

Example Hilbert transformers are LTIC systems that, among other things, are useful in the study of communication systems. Ideally, a Hilbert transformer is described by h(t) =1/πt H(ω) = jsgn(ω). Compute and plot the magnitude response H(ω), the phase response H(ω), and the group delay t g (ω) of a Hilbert transformer. Compute and plot the output y(t) of this system in response to the pulse input x(t) = Π(t), and comment on the results. Solution

Nature of Distortion in Audio and Video Signals Human ear readily perceives amplitude distortion but is relatively insensitive to phase distortion. For phase distortion to become noticeable delay should be comparable to signal length. In audio signals, the average duration of a spoken syllable is on the order of 0.01 to 0.1 seconds the maximum variation in H(ω) is only a small fraction of a millisecond. A human eye is sensitive to phase distortion but is relatively insensitive to amplitude distortion.

Real Bandpass Systems and Group Delay For distortionless transmission of bandpass signals, the system need satisfy Generalized Linear Phase (GLP) Example: What is the output of an input x bp (t) = x(t) cos(ω c t) to the above bandpass filter. The envelope and carrier are both delayed by t g, although the carrier acquires an additional phase shift of φ 0. The delay t g is termed the group (or envelope) delay.

2.3 Ideal and Realizable Filters

Ideal and Realizable Filters

Ideal and Realizable Filters Example: Determine a suitable output delay t d for a practical audio filter designed to pass frequencies audible to humans. This delay is quite small compared with phoneme lengths, which are typically in the tens to hundreds of milliseconds.

2.4 Data Truncation by Windows

Data Truncation by Windows x(t): is the signal w(t): is the window x w (t): is the truncated x(t). The two side effects of truncation is spectral spreading and spectral leakage. Example: What is the effect of truncating a dc signal?

Lowpass Filter Design Using Windows Remedies for Truncation Impairments 1. The spectral spread (main lobe width) of a truncated signal is equal to the bandwidth of the window function w(t). 2. The smoother the signal, the faster is the decay of its spectrum (smaller leakage).

Common Window Functions

2.5 Specification of Practical Filters

Specification of Practical Filters (Gain) A stopband is a frequency band over which the gain is below some small number δ s (the stopband ripple parameter), A passband is a frequency band over which the gain is between 1 δ p and 1. ω P = Passband edge ω S = Stopband edge

Specification of Practical Filters (Attenuation) Frequently, it is more convenient to work with filter attenuation rather than filter gain. Filter attenuation, expressed in db, is the negative of filter gain, also expressed in db. The half-power gain of 1/ 2, for example, is 20log 10 1/ 2 3.01 db, which corresponds to 3.01 db of attenuation. α p : The maximum passband attenuation α s : The minimum stopband attenuation

2.6 Analog Filter Transformations

Analog Filter Transformation Filter design start with a prototype filter (usually normalized lowpass) and then transform it to the final desired filter type. A normalized lowpass filter has unity critical frequencies such as ω p and ω s. Frequency Transformation starts with a normalized lowpass response to produce, respectively, a lowpass, highpass, bandpass, or bandstop response.

Lowpass-to-Lowpass Transformation ω o is the half-power prototype frequency ω 1 is the half-power frequency of the desired filter H(ω) ω o ω ω 1 Example: A lowpass prototype filter is given as H p (s)= 2/s+2. Determine the lowpass-to-lowpass transformation rule to produce a lowpass filter H lp (s) with a half-power (3 db) frequency of ω 1 = 3 rad/s. Plot the magnitude response of the resulting lowpass filter.

Lowpass-to-Highpass Transformation In the lowpass-to-highpass transformation the frequencies undergo reciprocal transformation. Example: Apply the lowpass-to-highpass transformation ω 2/ ω to the lowpass prototype H p (ω) = 1/ jω+1. Plot the magnitude response, and determine the 3-dB frequency of the resulting filter.

Lowpass-to-Bandpass Transformation The lowpass-to-bandpass transformation utilizes a one-totwo mapping. In this way, the lowpass filter s single cutoff frequency becomes both the upper and lower cutoff frequencies required of the bandpass response. Or

Example A lowpass prototype filter is given as H p (s)= 2/s+2. Determine the lowpass-to-bandpass transformation rule to produce a bandpass filter H bp (s) with half-power (3 db) cutoff frequencies ω 1 = 1 rad/s and ω 2 =3 rad/s. Plot the magnitude response of the resulting bandpass filter.

Lowpass-to-Bandstop Transformation Much as the lowpass-to-highpass transformation reciprocally relates to the lowpass-to-lowpass transformation, the lowpass-to-bandstop transformation reciprocally relates to the lowpass-to-bandpass transformation. Or

Example Apply a lowpass-to-bandstop transformation to the lowpass prototype Hp(s)= 1/ s 2 + 2s+1. The resulting bandstop filter should have 3-dB cutoff frequencies of 1 and 3 rad/s. Plot the magnitude response of the resulting filter. Solution Hbs = @(s) (s.^2+3).^2./(s.^4+2*sqrt(2)*s.^3+10*s.^2+6*sqrt(2)*s+9); omega = 0:.01:6; plot(omega,abs(hbs(1j*omega))); xlabel('\omega'); ylabel(' H_{\rm bs}(\omega) ');

2.7 Practical Filter Families

Practical Filter Families Family of practical filters that are realizable (causal) and that possess rational transfer functions are: Butterworth Filters Chebyshev Filters Inverse Chebyshev Filters Elliptic Filters Bessel-Thomson Filters

Butterworth Filters The K poles of a K th order Butterworth filter are spaced equally by π/k radians around a half circle in the left hand side of the complex plane of radius ω c and centered at the origin. K = 4 K = 5

Butterworth Filters ω c = 1

Example Find the transfer function H(s) of a fourth-order lowpass Butterworth filter with a 3-dB cutoff frequency ω c = 10 by (a) frequency scaling the appropriate Table 2.2 entry and (b) direct calculation. Plot the magnitude response to verify filter characteristics.. Solution (a) (b) Find the poles using the equation in previous slide and then find the polynomial equation K = 4; k=1:k; omegac = 10; p = 1j*omegac*exp(1j*pi/(2*K)*(2*k-1)) A = poly(p) omega = linspace(0,35,1001); H = 10^4./polyval(A,1j*omega); plot(omega,abs(h)); xlabel('\omega'); ylabel(' H(j\omega) ');

Example (b) Find the poles using the equation and then find the polynomial equation. K = 4; k=1:k; omegac = 10; p = 1j*omegac*exp(1j*pi/(2*K)*(2*k-1)) A = poly(p) omega = linspace(0,35,1001); H = 10^4./polyval(A,1j*omega); plot(omega,abs(h)); xlabel('\omega'); ylabel(' H(j\omega) '); p = -3.8268 + 9.2388i -9.2388 + 3.8268i -9.2388-3.8268i -3.8268-9.2388i A = 1.0000 26.1313 341.4214 2613.1259 10000.0000

Determination of Butterworth Filter Order and Half- Power Frequency In filter design you will be given the passband (ω p, α p ) and stopband (ω s, α s ) parameters and you need to calculate, the order of the filter and the half-power cutoff frequency that meets these parameters. Solve equation to determine lower limit for ω c Solve equation to determine upper limit for ω c

Example Design the lowest-order Butterworth lowpass filter that meets the specifications ω p 10 rad/s, α p 2 db, ω s 30 rad/s, and α s 20 db. Plot the corresponding magnitude response to verify that design requirements are met. Solution Step 1: Determine the filter order K from equation omegap = 10; alphap = 2; omegas = 30; alphas = 20; K = ceil(log((10^(alphas/10)-1)/(10^(alphap/10)-1))/(2*log(omegas/omegap))) K = 3 Step 2: Determine the range for the Half-Power cutoff frequency ω c omegac = [omegap/(10^(alphap/10)-1).^(1/(2*k)),omegas/(10^(alphas/10)-1).^(1/(2*k))] ω c = 10.9350 13.9481 Choose ω c = 12.5

Continue Example Step 3: Determine the filter transfer function H(s) One way is to find the poles and then find H(s). omegac = 12.5; k = 1:K; A = poly(1j*omegac*exp(1j*pi/(2*k)*(2*k-1))) A = 1.00 25.00 312.00 1953.125 The second way it to start with the 3 rd order prototype lowpass filter 1 HH ss = ss 3 + 2ss 2 + 2ss + 1 and then apply lowpass-lowpass frequency transformation, s s(1/12.5) 1953.125 HH ss = ss 3 + 25ss 2 + 312.5ss + 1953.125

Continue Example omega = linspace(0,35,1001); H = omegac^k./(polyval(a,1j*omega)); plot(omega,abs(h)); Since the plot is not in db, the attenuation parameters are converted, the passband floor is 1 δ p = 10 αp/20 = 0.7943, and the stopband ceiling is δ s = 10 αs/20 = 0.1. The plot shows the Butterworth responses corresponding to the limiting values of ω c, the ω c = 10.9350 curve exactly meets passband requirements and exceeds stopband requirements. Similarly, the ω c = 13.9481 curve exactly meets stopband requirements and exceeds passband requirements, ω c = 12.5 meets both requirements.

Example Design the lowest-order Butterworth bandpass filter that meets the specifications ω p1 10 rad/s, ω p2 20 rad/s, α p 2 db, ω s1 5 rad/s, ω s2 35 rad/s, and α s 20 db. Plot the corresponding magnitude response to verify that design requirements are met. Solution Step 1: Determine the Lowpass Prototype First we normalize the passband frequency ω p = 1 and then we calculate the stopband frequency ω s for both transition bands of the bandpass filter and choose the most restrictive ω s. omegap1 = 10; omegap2 = 20; omegas1 = 5; omegas2 = 35; omegap = 1; omegas = abs([omegap*(omegas1^2-omegap1*omegap2)/(omegas1*(omegap2-omegap1)),... omegap*(omegas2^2-omegap1*omegap2)/(omegas2*(omegap2-omegap1))]) Omegas = 3.5000 2.9286 To meet the specifications of both transitions we choose the most restrictive which is the upper transition band, so ω s = 2.9286, this will lead to a higher order filter K.

Continue Example Next we determine the filter order K from equation omegas = min(omegas); alphap = 2; alphas = 20; K = ceil(log((10^(alphas/10)-1)/(10^(alphap/10)-1))/(2*log(omegas/omegap))) K = 3 Next we calculate the range for the Half-Power cutoff frequency ω c K = 3, ω p =1, ω s =2.9286, α p =2, α s =20 omegac = [omegap/(10^(alphap/10)-1).^(1/(2*k)),omegas/(10^(alphas/10)-1).^(1/(2*k))] omegac = 1.0935 1.3616 Choose the average for ω c = 1.2276 Next we transform the normalized 3 rd order prototype lowpass filter 1 1.85 HH ss = s s(1/1.2276) ss 3 + 2ss 2 HH ss = + 2ss + 1 ss 3 + 2.455ss 2 + 3.014ss + 1.85

Continue Example Step 2: We transform the prototype lowpass filter to the desired bandpass filter HH ss = 1.85 ss 3 + 2.455ss 2 + 3.014ss + 1.85 ss ss2 + 200 10ss

Continue Example

Example-Matlab Code omegap1 = 10; omegap2 = 20; omegas1 = 5; omegas2 = 35; omegap = 1; omegas = abs([omegap*(omegas1^2-omegap1*omegap2)/(omegas1*(omegap2-omegap1)),... omegap*(omegas2^2-omegap1*omegap2)/(omegas2*(omegap2-omegap1))]); omegas = min(omegas); alphap = 2; alphas = 20; K = ceil(log((10^(alphas/10)-1)/(10^(alphap/10)-1))/(2*log(omegas/omegap))); omegac = [omegap/(10^(alphap/10)-1).^(1/(2*k)),omegas/(10^(alphas/10)-1).^(1/(2*k))]; omegac = mean(omegac); k = 1:K; pk = (1j*omegac*exp(1j*pi/(2*K)*(2*k-1))); A = poly(pk); a = 1; b = -pk*(omegap2-omegap1); c = omegap1*omegap2; pk = [(-b+sqrt(b.^2-4*a*c))./(2*a),(-b-sqrt(b.^2-4*a*c))./(2*a)]; B = (omegac^k)*((omegap2-omegap1)^k)*poly(zeros(k,1)); A = poly(pk); omega = linspace(0,40,1001); H = polyval(b,1j*omega)./polyval(a,1j*omega); plot(omega,abs(h));

Comparing Chebyshev and Butterworth Response The Chebyshev filter has a sharper cutoff (smaller transition band) than the same-order Butterworth filter, but this is achieved at the expense of inferior passband behavior (rippling instead of maximally flat). Chebyshev filters typically require lower order K than Butterworth filters to meet a given set of specifications.

Chebyshev Filters Type I The magnitude of the K th-order Chebyshev polynomial filter is K = 6 Or αα PP = 20log 10 1 + εε 2 αα PP = 10log 10 1 + εε 2 εε 2 = 10 αα PP/10 1 K = 7

Determination of Chebyshev Filter Order Replace ϵ and C K in the above equation using the equations below and solve for K εε 2 = 10 αα PP/10 1 Note: Computing Chebyshev filter order is identical to the Butterworth case except that logarithms are replaced with inverse hyperbolic cosines.

Determination of Chebyshev Poles and H(s) the Chebyshev filter poles, and thus its transfer function, are found by squaring the magnitude response, substituting ω = s/j to yield H(s)H( s), and then selecting the left half-plane denominator roots. Similar to how Butterworth poles lie on a semicircle, the poles of a Chebyshev lowpass filter lie on a semi-ellipse. There is a close relationship between pole locations on a Chebyshev ellipse and those on Butterworth circles: the real part of the Chebyshev poles coincide with those of an equivalentorder Butterworth filter with radius ω p sinh[1/k sinh -1 (1/ϵ)] and the imaginary part of the Chebyshev poles are equal to those of a Butterworth filter with radius ω p cosh[1/k sinh -1 (1/ϵ)].

Coefficients of normalized Chebyshev denominator polynomials

Coefficients of normalized Chebyshev denominator polynomials

Example Design the lowest-order Chebyshev lowpass filter that meets the specifications ω p 10 rad/s, α p 2 db, ω s 30 rad/s, and α s 20 db. Plot the corresponding magnitude response to verify that design requirements are met. Solution Step 1: Determine the filter order K from equation omegap = 10; alphap = 2; omegas = 30; alphas = 20; K = ceil(acosh(sqrt((10^(alphas/10)-1)/(10^(alphap/10)-1)))/acosh(omegas/omegap)) K = 1.8479 K = 2 Step 2: Determine the range for the passband cutoff frequency ω P by setting ω s = 30 and K = 2 and solve the above equation for ω P. omegap = [omegap,omegas/cosh(acosh(sqrt((10^(alphas/10)-1)/(10^(alphap/10)-1)))/k)] ω P = 10.00 11.3349 Choose the average so ω P = 10.6674

Continue Example Step 3: Determine the prototype lowpass filter transfer function H(s) First we find ϵ, H(j0), poles, and then the lowpass prototype epsilon = sqrt(10^(alphap/10)-1); k = 1:K; H0 = (mod(k,2)==1)+(mod(k,2)==0)/sqrt(1+epsilon^2); pk = -omegap*sinh(asinh(1/epsilon)/k)*sin(pi*(2*k-1)/(2*k))+... 1j*omegap*cosh(asinh(1/epsilon)/K)*cos(pi*(2*k-1)/(2*K)); B = H0*prod(-pk), A = poly(pk) H(0) = 0.7943 B = H(0) *p 1 *p 2 =74.3963 A = [1.00 8.5747 93.6594] 74.3963 HH ss = ss 2 + 8.5747ss + 93.6594 Alternatively, the lowpass-to-lowpass transformation s s/ω p = s/10.6674 applied to the appropriate coefficients of Table 2.4 yields the same denominator

Continue Example omega = linspace(0,35,1001); H = B./(polyval(A,1j*omega)); plot(omega,abs(h)); HH ss = 74.3963 ss 2 + 8.5747ss + 93.6594

Example Design the lowest-order Chebyshev bandstop filter that meets the specifications ω P1 5 rad/s, ω P2 35, α p 2 db, ω s1 10 rad/s, ω s2 20 and α s 20 db. Plot the corresponding magnitude response to verify that design requirements are met. Solution Step 1: Determine the Lowpass Prototype First we normalize the stopband frequency ω S = 1 and then we calculate the passband frequency ω P for both transition bands of the bandpass filter and choose the most restrictive ω P. omegap1 = 5; omegap2 = 35; omegas1 = 10; omegas2 = 20; omegas = 1; omegap = abs([omegas*(omegap1*(omegas2-omegas1))/(-omegap1^2+omegas1*omegas2),... omegas*(omegap2*(omegas2-omegas1))/(-omegap2^2+omegas1*omegas2)]) ω P = 0.2857 0.3415 To meet the specifications of both transitions we choose the most restrictive which is the upper transition band, so ω P = 0.3415, this will lead to a higher order filter K.

Continue Example Next we determine the filter order K from equation omegap = max(omegap); alphap = 2; alphas = 20; K = ceil(acosh(sqrt((10^(alphas/10)-1)/(10^(alphap/10)-1)))/acosh(omegas/omegap)) K = 2 Determine the range for the stopband cutoff frequency ω S by setting ω P = 0.3415 and K = 2 and solve the above equation for ω S. omegas = mean([omegas,... omegap*cosh(acosh(sqrt((10^(alphas/10)-1)/(10^(alphap/10)-1)))/k)]) omegas = 1 0.9038 Choose the average to provide both passband and stopband buffer zones, so ω S = 0.9519

Continue Example Next, since we adjusted ω S we recalculate ω P using the equation omegap = omegas/cosh(acosh(sqrt((10^(alphas/10)-1)/(10^(alphap/10)-1)))/k); omegap = 0.3596 ω P = 0.3596 Step 3: Determine the lowpass prototype filter transfer function H(s) First we find ϵ, H(j0), the poles, and then the lowpass prototype epsilon = sqrt(10^(alphap/10)-1); k = 1:K; pk = -omegap*sinh(asinh(1/epsilon)/k)*sin(pi*(2*k-1)/(2*k))+... 1j*omegap*cosh(asinh(1/epsilon)/K)*cos(pi*(2*k-1)/(2*K)); H0 = mod(k,2)+mod(k+1,2)/sqrt(1+epsilon^2); B = H0*prod(-pk), A = poly(pk) H(0) = 0.7943 B = H(0) *p 1 *p 2 =0.0846 A = [1.00 0.2891 0.1065] HH ss = 0.0846 ss 2 + 0.2891ss + 0.1065

Continue Example Step 4: Determine the bandpass filter transfer function H(s) by transformation HH ss = 0.0846 ss 2 + 0.2891ss + 0.1065 ss 10ss ss 2 + 200 HH ss = 0.7943ss 4 + 317.7313ss 2 + 31773.1293 ss 4 + 27.155ss 3 + 1339.329ss 2 + 5431.0ss + 40000

Continue Example (Matlab Code) omegap1 = 5; omegap2 = 35; omegas1 = 10; omegas2 = 20; omegas = 1; omegap = abs([omegas*(omegap1*(omegas2-omegas1))/(- omegap1^2+omegas1*omegas2),... omegas*(omegap2*(omegas2-omegas1))/(-omegap2^2+omegas1*omegas2)]) omegap = max(omegap); alphap = 2; alphas = 20; K = ceil(acosh(sqrt((10^(alphas/10)-1)/(10^(alphap/10)-1)))/acosh(omegas/omegap)) omegas = mean([omegas,... omegap*cosh(acosh(sqrt((10^(alphas/10)-1)/(10^(alphap/10)-1)))/k)]) omegap = omegas/cosh(acosh(sqrt((10^(alphas/10)-1)/(10^(alphap/10)-1)))/k); epsilon = sqrt(10^(alphap/10)-1); k = 1:K; pk = -omegap*sinh(asinh(1/epsilon)/k)*sin(pi*(2*k-1)/(2*k))+... 1j*omegap*cosh(asinh(1/epsilon)/K)*cos(pi*(2*k-1)/(2*K)); H0 = mod(k,2)+mod(k+1,2)/sqrt(1+epsilon^2); B = H0*prod(-pk), A = poly(pk) a = 1; b = -(omegas2-omegas1)./pk; c = omegas1*omegas2; B = B/prod(-pk)*poly([1j*sqrt(c)*ones(K,1);-1j*sqrt(c)*ones(K,1)]) A = poly([(-b+sqrt(b.^2-4*a.*c))./(2*a),(-b-sqrt(b.^2-4*a.*c))./(2*a)]) omega = linspace(0,100,1001); H = polyval(b,1j*omega)./polyval(a,1j*omega); plot(omega,abs(h));

Inverse Chebyshev Filters Type II The magnitude response exhibits a maximally flat passband and an equiripple stopband. While Butterworth and Chebyshev type 1 filters have finite poles and no finite zeros, the inverse Chebyshev has both finite poles and zeros. The presence of zeros enhance the frequency response but the decay rate for ω > ω s is slower. The inverse Chebyshev response can be obtained from a Chebyshev response in two steps. To begin, let H c (ω) be a lowpass Chebyshev magnitude response with passband edge ω p and ripple parameter ϵ, as shown in Fig. a. In the first step, we subtract H c (ω) 2 from 1 to obtain the response shown in Fig. b. In the second step, we interchange the stopband and passband with the lowpass-to-highpass transformation of ω ω p ω s /ω yields the inverse Chebyshev response, shown in Fig. c.

Elliptic Filters and Bessel-Thomson Filters Elliptic Filters Chebyshev filters have a smaller transition bands compared with that of a Butterworth filter because Chebyshev filters allow rippling in either the passband or stopband. Elliptic filter allows ripple in both the passband and the stopband, so it achieves a further reduction in the transition band. For a given transition band, an elliptic filter provides the largest ratio of the passband gain to stopband gain, or for a given ratio of passband to stopband gain, it requires the smallest transition band. Bessel-Thomson Filters Unlike the previous filters, where we approximate the magnitude response without paying attention to the phase response, the Bessel-Thomson filter is designed for maximally flat time delay over a bandwidth of interest. This means that the phase response is designed to be as linear as possible over a given bandwidth. Bessel-Thomson filters are superior to the filters discussed so far in terms of the phase linearity or flatness of the time delay. However, they do not fair so well in terms of the flatness of the magnitude response.