Sensors - February Demystifying Analog Filter Design

Similar documents
Filters and Tuned Amplifiers

Analogue Filters Design and Simulation by Carsten Kristiansen Napier University. November 2004

Speaker: Arthur Williams Chief Scientist Telebyte Inc. Thursday November 20 th 2008 INTRODUCTION TO ACTIVE AND PASSIVE ANALOG

Start with the transfer function for a second-order high-pass. s 2. ω o. Q P s + ω2 o. = G o V i

ECE3050 Assignment 7

Active Filter Design by Carsten Kristiansen Napier University. November 2004

The Approximation Problem

DIGITAL SIGNAL PROCESSING UNIT III INFINITE IMPULSE RESPONSE DIGITAL FILTERS. 3.6 Design of Digital Filter using Digital to Digital

The Approximation Problem

Dynamic circuits: Frequency domain analysis

Time Varying Circuit Analysis

Lectures: Lumped element filters (also applies to low frequency filters) Stub Filters Stepped Impedance Filters Coupled Line Filters

D is the voltage difference = (V + - V - ).

Input and Output Impedances with Feedback

The Approximation Problem

ENGN3227 Analogue Electronics. Problem Sets V1.0. Dr. Salman Durrani

Series and Parallel ac Circuits

Electronic Circuits EE359A

Sophomore Physics Laboratory (PH005/105)

FILTER DESIGN FOR SIGNAL PROCESSING USING MATLAB AND MATHEMATICAL

Resonant Matching Networks

Case Study: Parallel Coupled- Line Combline Filter

OPERATIONAL AMPLIFIER APPLICATIONS

Second-order filters. EE 230 second-order filters 1

Homework 6 Solutions and Rubric

Time Series Analysis: 4. Digital Linear Filters. P. F. Góra

Homework Assignment 11

Designing Information Devices and Systems I Fall 2018 Lecture Notes Note Introduction: Op-amps in Negative Feedback

Signals and Systems. Lecture 11 Wednesday 22 nd November 2017 DR TANIA STATHAKI

Time Series Analysis: 4. Linear filters. P. F. Góra

EE482: Digital Signal Processing Applications

Experiment 13 Poles and zeros in the z plane: IIR systems

HIGHER-ORDER RC-ACTIVE FILTERS

Bandwidth of op amps. R 1 R 2 1 k! 250 k!

Analog Circuits Prof. Jayanta Mukherjee Department of Electrical Engineering Indian Institute of Technology - Bombay

Solving Linear Equations (in one variable)

Analog and Digital Filter Design

BIOEN 302, Section 3: AC electronics

SYNTHESIS OF BIRECIPROCAL WAVE DIGITAL FILTERS WITH EQUIRIPPLE AMPLITUDE AND PHASE

University of Illinois at Chicago Spring ECE 412 Introduction to Filter Synthesis Homework #4 Solutions

(Refer Slide Time: 02:11 to 04:19)

IMPERIAL COLLEGE OF SCIENCE, TECHNOLOGY AND MEDICINE UNIVERSITY OF LONDON DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING EXAMINATIONS 2010

Exercise s = 1. cos 60 ± j sin 60 = 0.5 ± j 3/2. = s 2 + s + 1. (s + 1)(s 2 + s + 1) T(jω) = (1 + ω2 )(1 ω 2 ) 2 + ω 2 (1 + ω 2 )

H(s) = 2(s+10)(s+100) (s+1)(s+1000)

DSP Configurations. responded with: thus the system function for this filter would be

Impedance. Reactance. Capacitors

Electric Circuits Part 2: Kirchhoff s Rules

Feedback design for the Buck Converter

Ver 3537 E1.1 Analysis of Circuits (2014) E1.1 Circuit Analysis. Problem Sheet 1 (Lectures 1 & 2)

Low-Sensitivity, Highpass Filter Design with Parasitic Compensation

1. Design a 3rd order Butterworth low-pass filters having a dc gain of unity and a cutoff frequency, fc, of khz.

w n = c k v n k (1.226) w n = c k v n k + d k w n k (1.227) Clearly non-recursive filters are a special case of recursive filters where M=0.

Basic Electronics. Introductory Lecture Course for. Technology and Instrumentation in Particle Physics Chicago, Illinois June 9-14, 2011

Studio 9 Review Operational Amplifier Stability Compensation Miller Effect Phase Margin Unity Gain Frequency Slew Rate Limiting Reading: Text sec 5.

8. Active Filters - 2. Electronic Circuits. Prof. Dr. Qiuting Huang Integrated Systems Laboratory

f = 1 T 6 a.c. (Alternating Current) Circuits Most signals of interest in electronics are periodic : they repeat regularly as a function of time.

Circuit Theory Prof. S.C. Dutta Roy Department of Electrical Engineering Indian Institute of Technology, Delhi

Laplace Transform Analysis of Signals and Systems

The Approximating Impedance

Electronic Circuits EE359A

Filter Analysis and Design

Biquads Based on Single Negative Impedance Converter Implemented by Classical Current Conveyor

Operational amplifiers (Op amps)

analyse and design a range of sine-wave oscillators understand the design of multivibrators.

Steady State Frequency Response Using Bode Plots

Switched-Capacitor Circuits David Johns and Ken Martin University of Toronto

Op-Amp Circuits: Part 3

EE 508 Lecture 15. Filter Transformations. Lowpass to Bandpass Lowpass to Highpass Lowpass to Band-reject

Frequency Dependent Aspects of Op-amps

IN SPITE of the large variety of available modern filter

Extending the Number System

Homework Assignment 08

Electronics for Analog Signal Processing - II Prof. K. Radhakrishna Rao Department of Electrical Engineering Indian Institute of Technology Madras

Sinusoidal Steady-State Analysis

Bode plots by example

Department of Mechanical and Aerospace Engineering. MAE334 - Introduction to Instrumentation and Computers. Final Examination.

Unit 2-1: Factoring and Solving Quadratics. 0. I can add, subtract and multiply polynomial expressions

Analog Circuits and Systems

AC Circuits. The Capacitor

Appendix A Butterworth Filtering Transfer Function

Some of the different forms of a signal, obtained by transformations, are shown in the figure. jwt e z. jwt z e

Algebra Year 10. Language

MITOCW MITRES_6-007S11lec09_300k.mp4

Master Degree in Electronic Engineering. Analog and Telecommunication Electronics course Prof. Del Corso Dante A.Y Switched Capacitor

Biquad Filter. by Kenneth A. Kuhn March 8, 2013

Linear Second-Order Differential Equations LINEAR SECOND-ORDER DIFFERENTIAL EQUATIONS

1 1.27z z 2. 1 z H 2

L L, R, C. Kirchhoff s rules applied to AC circuits. C Examples: Resonant circuits: series and parallel LRC. Filters: narrowband,

Description of Systems

ECE145A/218A Course Notes

CHAPTER 14 SIGNAL GENERATORS AND WAVEFORM SHAPING CIRCUITS

UNIT - III PART A. 2. Mention any two techniques for digitizing the transfer function of an analog filter?

Power System Operations and Control Prof. S.N. Singh Department of Electrical Engineering Indian Institute of Technology, Kanpur. Module 3 Lecture 8

EE 508 Lecture 24. Sensitivity Functions - Predistortion and Calibration

Compensator Design to Improve Transient Performance Using Root Locus

Mathematics for Health and Physical Sciences

Conceptual Explanations: Radicals

Butterworth Filter Properties

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

Chapter 4. Solving Systems of Equations. Chapter 4

Transcription:

Page 1 of 11 FEBRUARY 2002 SENSOR TECHNOLOGY AND Demystifying Analog Filter Design Armed with a little help and a little math you can hack your way fearlessly through the wild world of analog filter design and gain the confidence that comes with doing it yourself. Simon Bramble, Maxim Integrated Products It s a jungle out there. A small tribe, hidden from view in the dense wilderness, is much sought after by headhunters from the surrounding plains. The tribe knows it s threatened, because its numbersækilled off by the accelerating advance of modern technologyæare dwindling at an alarming rate. This is the tribe of the Analog Engineers. The guru of Analog Engineers is the Analog Filter Designer, who sits on the throne of the besieged kingdom and imparts wisdom while reminiscing of better days. But you re desperate. Your boss told you to design a data acquisition system, and that means you need an analog filter fast. You try a book on filter design. Alas! The countless pages of equations found in such books can frighten small dogs and children, let alone engineers. What to do? - Select - September 7, 2002 Industry News Updated Twice Weekly Ansoft Reports First Quarter Losses Kaman's Sensor System Wins Award Sensor Film Measures Tactile Surface Stress Sensors Technology Technical Committee to Meet at MFPT 56 Crystal Growing Consortium Offers R&D Service News From Sensors Editors of Sensors Select 11 New Products as Finalists for Upcoming Best of Sensors Expo Awards Ray Kurzweil to Present Keynote Address at Fall 2002 Sensors Expo & Conference in Boston Fear not! This article unravels the mystery of filter design so that you can design continuous-time analog filters quickly and with a minimum of mathematics. The throne will soon be vacant. The Theory of Analog Electronics Analog electronics has two distinct sides: theory (e.g., using the equations of stability and phase-shift calculations), taught by academic institutions, and practical considerations (e.g., avoiding oscillation by tweaking the gain with a capacitor), familiar to most engineers. Unfortunately, filter design is based firmly on longestablished equations and tables of theoretical results. The theoretical equations can prove arduous, so this article uses a minimum of mathæeither in translating the theoretical tables into practical component values or in deriving the response of a general-purpose filter. Now! Simple RC low-pass filters have the following transfer function:

Page 2 of 11 (1) Cascading such filters complicates the response by giving rise to quadratic equations in the denominator of the transfer function. Thus, the denominator of the transfer function for any second-order lowpass filter is as 2 + bs + c. Substituting values for a, b, and c determines the filter response over frequency. Anyone who remembers high school math will note that the preceding expression equals zero for certain values of s given by the equation: (2) At the values of s for which this quadratic equation equals zero, the transfer function theoretically has infinite gain. These values, which establish the performance of each type of filter over frequency, are known as the poles of the quadratic equation. Poles usually occur as pairs, in the form of a complex number (a + jb) and its complex conjugate (a jb). The term jb is sometimes zero. The thought of a transfer function with infinite gain may frighten you, but in practice, it isn t a problem. The pole s real part, a, indicates how the filter responds to transients; its imaginary part, jb, indicates the response over frequency. As long as this imaginary part is negative (as it must be), the system is stable. The following discussion explains how to transfer the tables of poles found in many textbooks into component values suitable for circuit design. Filter Types The most common filter responses are the Butterworth, Chebyshev, and Bessel types. Many other types are available, but 90% of all applications can be solved with one of these three. A Butterworth filter ensures a flat response in the pass band and an adequate rate of rolloff. A good all-round filter, the Butterworth is simple to understand and suitable for such applications as audio processing. A Chebyshev filter gives a much steeper rolloff, but pass-band ripple makes it unsuitable for audio systems. It s superior for applications in which the pass band includes only one frequency of interest (e.g., the derivation of a sine wave from a square wave by filtering out the harmonics). A Bessel filter gives a constant propagation delay across the input frequency spectrum. Therefore, applying a square wave (consisting of a fundamental and many harmonics) to the input of a Bessel filter yields an output square wave with no overshoot (i.e., all of the frequencies are delayed by the

Page 3 of 11 same amount). Other filters delay the harmonics by different amounts; the result is an overshoot on the output waveform. One other popular type, the elliptical filter, is a much more complicated beast, and it will not be discussed in this article. Similar to the Chebyshev response, it has ripple in the pass band and severe rolloff at the expense of ripple in the stop band. Standard Filter Blocks The generic filter structure (see Figure 1A) lets you realize a high-pass or low-pass implementation by substituting capacitors or resistors in place of components G1 G4. Considering the effect of these components on the opmp feedback network, you can easily derive a low-pass Figure 1. By substituting for G1-G4 in the generic filter block (A), you can implement a low-pass filter (B) or a high-pass filter (C). filter by making G2/G4 into capacitors and G1/G3 into resistors (see Figure 1B). The opposite yields a high-pass implementation (see Figure 1C). The transfer function for the low-pass filter (see Figure 1B) is: (3) This equation is simpler with conductances. Replace the capacitors with a conductance of sc and the resistors with a conductance of G. If this looks complicated, you can normalize the equation. Set the resistors to 1 or the capacitors to 1 F, and change the surrounding components to fit the response. Thus, with all resistor values equal to 1, the low-pass transfer function is: (4) This transfer function describes the response of a generic, secondorder low-pass filter. You take the theoretical tables of poles (see Tables 1 7) that describe the three main filter responses and translate them into real component values.

Page 4 of 11 The Design Process To determine the filter type most appropriate for your application, use the preceding descriptions to select the pass-band performance needed. The simplest way to determine filter order is to design a second-order filter stage and then cascade multiple versions of it as required. Check to see if the result gives the desired stop-band rejection. Next, proceed with correct pole locations as shown in the tables at the end of the article. Once pole locations are established, the component values can soon be calculated. First, transform each pole location into a quadratic expression similar to that in the denominator of our generic second-order filter. If a quadratic equation has poles of (a ± jb), then it has roots of (s a jb) and (s a + jb). When these roots are multiplied together, the resulting quadratic expression is s 2 2as + a 2 +b 2. In the pole tables, a is always negative, so for convenience you declare s 2 + 2as + a 2 +b 2 and use the magnitude of a regardless of its sign. To put this into practice, consider a fourth-order Butterworth filter. The poles and the quadratic expression corresponding to each pole location are as follows: Poles (a ± jb) 0.9239 ± j0.3827 0.3827 ± j0.9239 Quadratic Expression s 2 + 1.8478s + 1 s 2 + 0.7654s + 1 You can design a fourth-order Butterworth low-pass filter with this information. Simply substitute values from the preceding quadratic expressions into the denominator of Equation 4. Thus, C2C4 = 1 and 2C4 = 1.8478 in the first filter, which implies that C4 = 0.9239F and C2 = 1.08F. For the second filter, C2C4 = 1 and 2C4 = 0.7654, implying that C4 = 0.3827F and C2 = 2.61F. All resistors in both filters equal 1. Cascading the two second-order filters yields a fourth-order Butterworth response with rolloff frequency of 1 rad/s, but the component values are impossible to find. If the frequency or component values just given are not suitable, read on. It so happens that if you maintain the ratio of the reactances to the resistors, the circuit response remains unchanged. You might therefore choose 1 k resistors. To ensure that the reactances increase in the same proportion as the resistances, divide the capacitor values by 1000. You still have the perfect Butterworth response, but unfortunately the rolloff frequency is 1 rad/s. To change the circuit s frequency response, you must maintain the ratio of reactances to resistances but simply at a different frequency. For a rolloff of 1 khz rather than 1 rad/s, the capacitor value must be further reduced by a factor of 2 1000. Thus, the capacitor s

Page 5 of 11 reactance does not reach the original (normalized) value until the higher frequency. The resulting fourth-order Butterworth low-pass filter with 1 khz rolloff takes the form of Figure 2. Figure 2. These two nonidentical second-order filter sections form a fourth-order Butterworth low-pass filter. Using this technique, you can obtain any even-order filter response by cascading second-order filters. Note, however, that a fourth-order Butterworth filter is not obtained simply by calculating the components for a second-order filter and then cascading two such stages. Instead, two second-order filters must be designed, each with different pole locations. If the filter has an odd order, you can simply cascade second-order filters and add an RC network to gain the extra pole. For example, a fifth-order Chebyshev filter with 1 db ripple has the following poles: Poles Quadratic Expression 0.2265 ± j0.5918 s 2 + 0.453s + 0.402 2.488s 2 + 1.127s + 1 0.08652 ± j0.9575 s 2 + 0.173s + 0.924 1.08s 2 + 0.187s + 1 0.2800 See text To ensure conformance with the generic filter described by Equation 4 and to ensure that the last term equals unity, the first two quadratics have been multiplied by a constant. Thus, in the first filter, C2C4 = 2.488 and 2C4 = 1.127, which implies that C4 = 0.5635F and C2 = 4.41F. For the second filter, C2C4 = 1.08 and 2C4 = 0.187, which implies that C4 = 0.0935F and C2 = 11.55F. Earlier, you saw that an RC circuit has a pole when 1 + scr = 0: s = 1/CR. If R = 1, then to obtain the final pole at s = 0.28, you must set C = 3.57F. Using 1 k resistors, you can normalize for a 1 khz rolloff frequency (see Figure 3). Figure 3. A fifth-order, 1 db ripple Chebyshev low-pass filter is constructed from two nonidentical second-order sections and an output RC network.

Page 6 of 11 Thus, designers can boldly go and design low-pass filters of any order at any frequency. All of this theory also applies to the design of high-pass filters. You ve seen that a simple RC low-pass filter has the transfer function of: (5) Similarly, a simple RC high-pass filter has the transfer function of: (6) Normalizing these functions to correspond with the normalized pole tables give: (7) for low-pass and (8) for high-pass. Note that the high-pass pole positions, s, can be obtained by inverting the low-pass pole positions. Inserting those values into the high-pass filter block ensures the correct frequency response. To obtain the transfer function for the high-pass filter block, you need to go back to the transfer function of the low-pass filter block. Thus, from: (9) you obtain the transfer function of the equivalent high-pass filter block by interchanging capacitors and resistors: (10) Again, life is much simpler if capacitors are normalized instead of resistors:

Page 7 of 11 (11) (12) Equation 12 is the transfer function of the high-pass filter block. This time, you calculate resistor values instead of capacitor values. Given the general high-pass filter response, you can derive the high-pass pole positions by inverting the low-pass pole positions and continuing as before. But inverting a complex-pole location is easier said than done. For example, consider the fifth-order, 1 db-ripple Chebyshev filter discussed earlier. It has two pole positions at ( 0.2265 ± j0.5918). The easiest way to invert a complex number is to multiply and divide by the complex conjugate, thereby obtaining a real number in the numerator. You then find the reciprocal by inverting the fraction. Thus: (13) gives: (14) and inverting gives: You can convert the newly derived pole positions to the corresponding quadratic expression and values calculated as before. The result is: (15) Poles (a ± jb) 0.564 ± j1.474 Quadratic Expression s 2 + 1.128s + 2.490 0.401s 2 + 0.453s + 1

Page 8 of 11 From Equation 12, you can calculate the first filter component values as R2R4 = 0.401 and 2R2 = 0.453, which implies that R2 = 0.227 and R4 = 1.77. You can repeat the procedure for the other pole locations. Because we ve shown that s = 1 / CR, a simpler approach is to design for a low-pass filter by using suitable low-pass poles and then treat every pole in the filter as a single RC circuit. To invert each low-pass pole to obtain the corresponding high-pass pole, simply invert the value of CR. Once you ve obtained the high-pass pole locations, you ensure the correct frequency response by interposing the capacitors and resistors. You calculated a normalized capacitor value for the low-pass implementation, assuming that R = 1. Hence, the value of CR equals the value of C, and the reciprocal of the value of C is the high-pass pole. Treating this pole as the new value of R yields the appropriate high-pass component value. Considering again the fifth-order, 1 db ripple Chebyshev low-pass filter, the calculated capacitor values are C4 = 0.5635F and C2 = 4.41F. To obtain the equivalent high-pass resistor values, invert the values of C (to obtain high-pass pole locations) and treat these poles as the new normalized resistor values: R4 = 1.77 and R2 = 0.227. This approach provides the same results as does the more formal method mentioned earlier. Thus, the circuit in Figure 3 can be converted to a high-pass filter with 1 khz rolloff by inverting the normalized capacitor values, interposing the resistors and capacitors, and scaling the values accordingly. Earlier, we divided by 2 fr to normalize the low-pass values. The scaling factor in this case is 2 fc, where C is the capacitor value and f is the frequency in hertz. The resulting circuit is shown in Figure 4. Figure 4. Transposing resistors and capacitors in the circuit in Figure 3 yields a fifth-order, 1 db ripple, Chebyshev high-pass filter. Conclusion By using the methods described here, you can design low-pass and high-pass filters with response at any frequency. Band-pass and band-stop filters can also be implemented (with single op amps) by using techniques similar to those shown, but those applications are beyond the scope of this article. You can, however, implement bandpass and band-stop filters by cascading low-pass and high-pass

Page 9 of 11 filters. This article promises to be your guide through the wilderness, your defense against the headhunters, and your key to the analog kingdom. TABLE 1 Butterworth Pole Locations 2 0.7071 0.7071 3 0.5000 1.0000 4 0.9239 0.3827 5 0.8090 0.3090 1.0000 6 0.9659 0.7071 0.2588 7 0.9010 0.6235 0.2225 1.0000 8 0.9808 0.8315 0.5556 0.1951 9 0.9397 0.7660 0.5000 0.1737 1.0000 10 0.9877 0.8910 0.7071 0.4540 0.1564 0.8660 0.3827 0.9239 0.5878 0.9511 0.2588 0.7071 0.9659 0.4339 0.7818 0.9749 0.1951 0.5556 0.8315 0.9808 0.3420 0.6428 0.8660 0.9848 0.1564 0.4540 0.7071 0.8910 0.9877 TABLE 2 Bessel Pole Locations 2 1.1030 0.6368 3 1.0509 1.3270 4 1.3596 0.9877 5 1.3851 0.9606 1.5069 6 1.5735 1.3836 0.9318 7 1.6130 1.3797 0.9104 1.6853 8 1.7627 0.8955 1.3780 1.6419 9 1.8081 1.6532 1.3683 0.8788 1.8575 1.0025 0.4071 1.2476 0.7201 1.4756 0.3213 0.9727 1.6640 0.5896 1.1923 1.8375 0.2737 2.0044 1.3926 0.8253 0.5126 1.0319 1.5685 2.1509 TABLE 3 0.01 db Chebyshev Pole Locations 2 0.6743 0.7075 3 0.4233 0.8467 0.8663 4 0.6762 0.3828 TABLE 4 0.1 db Chebyshev Pole Locations 2 0.6104 0.7106 3 0.3490 0.6979 0.8684 4 0.2177 0.9254

Page 10 of 11 0.2801 0.9241 5 0.5120 0.1956 0.6328 6 0.5335 0.3906 0.1430 7 0.4393 0.3040 0.1085 0.4876 8 0.4268 0.3618 0.2418 0.0849 9 0.3686 0.3005 0.1961 0.0681 0.3923 0.5879 0.9512 0.2588 0.7072 0.9660 0.4339 0.7819 0.9750 0.1951 0.5556 0.8315 0.9808 0.3420 0.6428 0.8661 0.9848 5 0.3842 0.1468 0.4749 6 0.3916 0.2867 0.1049 7 0.3178 0.2200 0.0785 0.3528 8 0.3058 0.2592 0.1732 0.0608 9 0.2622 0.2137 0.1395 0.0485 0.2790 0.5257 0.3833 0.5884 0.9521 0.2590 0.7077 0.9667 0.4341 0.7823 0.9755 0.1952 0.5558 0.8319 0.9812 0.3421 0.6430 0.8663 0.9852 TABLE 5 0.25 db Chebyshev Pole Locations 2 0.5621 0.7154 3 0.3062 0.6124 4 0.4501 0.1865 5 0.3247 0.1240 0.4013 6 0.3284 0.2404 0.0880 7 0.2652 0.1835 0.0655 0.2944 8 0.2543 0.2156 0.1441 0.0506 9 0.2176 0.1774 0.1158 0.0402 0.2315 0.8712 0.3840 0.9272 0.5892 0.9533 0.2593 0.7083 0.9675 0.4344 0.7828 0.9761 0.1953 0.5561 0.8323 0.9817 0.3423 0.6433 0.8667 0.9856 TABLE 6 0.5 db Chebyshev Pole Locations 2 0.5129 0.7225 3 0.2683 0.5366 4 0.3872 0.1605 5 0.2767 0.1057 0.3420 6 0.2784 0.2037 0.0746 7 0.2241 0.1550 0.0553 0.2487 8 0.2144 0.1817 0.1214 0.0426 9 0.1831 0.1493 0.0974 0.0338 0.1949 0.8753 0.3850 0.9297 0.5902 0.9550 0.2596 0.7091 0.9687 0.4349 0.7836 0.9771 0.1955 0.5565 0.8328 0.9824 0.3425 0.6436 0.8671 0.9861

Page 11 of 11 Simon Bramble is Corporate Applications Engineer, Maxim Integrated Products, Station Road, Theale, Berkshire, England, RG7 4XX, 011 44 118 930 3388, fax 011 44 1189 302 311; simon_bramble@maximhq.com. Click here for information on Maxim op amps. Send to a friend Submit comments Printer friendly version We Love Sensors and Sensors Expo are registered trademarks of Advanstar Communications Inc. Sensors Online Home Sensors Expo Contact Us