Talk:Butterworth filter

From Wikipedia, the free encyclopedia

From sci.electronics.misc:

:Looks like it's STEPHEN Butterworth OBE !

:A Leslie Green (CEng MIEE) replied to a post that I made on the IEE web
:site. Aparently S. Butterworths 1930 article says he worked for a that he
:worked for the  Admiralty Research Laboratory.

:Then "Data Junkie" from the soc.genealogy.britain newsgroup sent me this
:obituary from the Times...

> The Times, Friday, Nov 07, 1958; pg. 15; Issue 54302; col G
> Mr. S. Butterworth
> Category: Obituaries
>
> [Extract]
>
> Mr. Stephen Butterworth, O.B.E., who died recently, joined the Admiralty
> scientific staff in 1921 after having served for a short time in the
> National Physical Laboratory. He retired in 1945.
>
>
> Data Junkie

> The award of an OBE made me look at the London Gazette at
> http://www.gazettes-online.co.uk/archiveSearch.asp?WebType=0&Referer=WW2
> where I found the following in the Birthday Honours for 1942:
>
> ================
> SUPPLEMENT TO THE LONDON GAZETTE, 11 JUNE, 1942
>
> CENTRAL CHANCERY OF THE ORDERS
> OF KNIGHTHOOD.
>
> St. James's Palace, S.W.1.
> 11th June, 1942.
>
> The KING has been graciously pleased, on
> the occasion of the Celebration of His Majesty's
> Birthday, to give orders for the following
> promotions in, and appointments to, the Most
> Excellent Order of the British Empire: -
>
> To be Additional Officers of the Civil Division
> of the said Most Excellent Order: -
>
> Stephen Butterworth, Esq., M.Sc., Principal
> Scientific Officer, Admiralty.
> =================
>
> He is also shown in the Navy List, and the March 1939 edition has him
> as a Principal Scientific Officer at the Admiralty Research Laboratory
> in the Scientific Research and Experiment Department of the Admiralty.

In case we write an article about the man. - Omegatron 12:58, Apr 5, 2004 (UTC)

The article does not address the phase loss associated with the increase in filter order. This is an important point for practical filter usage (and why other filters types are used). The filter exhibits flat (unity) reponse in the pass band region but the trade off is more phase loss versus say a Chebyshev filter of the same order. The phase loss can become important in signal quality when used as a signal filter and can effect system stability when used in a close loop conrtroller.

Contents

[edit] Images

I am working on finding the general transfer function of the filter, and making a better graph that shows multiple orders like so http://ece.gmu.edu/~gbeale/ece_320/images/sampling_02_01.gif

http://www.freqdev.com/guide/images/fig5.gif

Also we need pole zero plots of the first few orders, like so http://www.ee.bgu.ac.il/~dsp/slides/slides/Butterworth_poles.jpg - Omegatron 15:21, July 19, 2005 (UTC)

[edit] First order filters are all the same

I though all first order filters were the same. ie they're not designated Butterworth, Bessel, TBT, Chebychev, Gaussian, Cauer etc because there can be no difference between them. So that diagram could be any old RC network. Right?--Light current 02:27, 4 October 2005 (UTC)

re omegatron's latest change, all first order filters do not have the same response, because it depends on where the pole is. Can we improve the wording or just take out that assertion about all filters being the same? It's not really necessary to state that. I'd improve it myself but I can't think of anything. Pfalstad 05:42, 14 October 2005 (UTC)

"All frequency-normalized filters have the same response?" "All first order filters have the same shape?" something like that? it is a good idea to point out that they're the same. (though this doesn't mean they're irrelevant...) — Omegatron 06:53, 14 October 2005 (UTC)

Souldn't a pole at w=0 vs. pole at i be considered different shapes? (i.e. simple RC vs. op amp integrator). One is unstable at DC.

 3ch 68.109.164.40 02:28, 13 June 2006 (UTC)
Yes, of course. That's why we need to change the wording. He means that it is not necessary to refer to a first-order filter as Bessel, Butterworth, etc. A first-order low-pass Butterworth filter looks the same as a Bessel; it's completely defined by the cutoff frequency. Pfalstad 02:39, 13 June 2006 (UTC)

But a 1st order filter with only a pole at zero has no cutoff frequency (what is 3 dB down from infinity?) so it -can't- be defined by the cutoff frequency. Also, you can have a pole -and- a zero (even demanding stability). A response like (1-iw/w_1)/(1-iw/w_2) is approx. 1 for w << w_1,w_2 and w_2/w_1 for w >> w_1,w_2. I wouldn't consider that as the same shape as a butterworth either. [What definition of order is used here? pole count? max(number of poles, number of zeros)?] About the strongest statment you can make is that for 1st order a Butterworth is the same as most other common types.

 3ch 68.109.164.40 03:19, 17 June 2006 (UTC)
A filter with a pole at zero is not low-pass. I'm saying a low-pass first order is defined only by the cut-off frequency. Similarly for high-pass. "About the strongest statment you can make is that for 1st order a Butterworth is the same as most other common types." That's what we're saying! Pfalstad 03:35, 17 June 2006 (UTC)

""All frequency-normalized filters have the same response?" "All first order filters have the same shape?" something like that?" is saying much something stronger, even alowing frequency normalized to include hipghpass-lowpass mappings.

Also, the def'n I learned was a low pass attenuated high frequencies more than low, so 1/iw and (1-iw/w_1)/(1-iw/w_2), w_2 < w_1 are low pass. You can claim instability disqualifies the first but -not- the second. Order I learned as the highest of the order of the numberator or the denominator but I don't think that is the source of conflict here.

Maybe then you need to state [or link to] your definitions of high pass, low pass, order etc. explicitly?

 3ch Colonel hack 04:24, 17 June 2006 (UTC)

[edit] Butterworths first name- is it important?

Do we really need this trivia about his/her first name in the lead para. It has nothing to do with the subject. I removed it once but its found its way back. Can we have some justifiaction for keeping it?--Light current 02:35, 4 October 2005 (UTC)

Why not? It's natural to want to know who this Butterworth guy was. Unfortunately we don't know enough about him to write a whole article, I guess. Pfalstad 15:27, 4 October 2005 (UTC)
Of course it's important. Ideally we'd have it in an article about him, but there isn't enough info available to devote an entire article to him. — Omegatron 15:52, 4 October 2005 (UTC)

Well if its important to you two guys, can we put it somwhere other than the lead para where it detracts from the flow?--Light current 22:39, 4 October 2005 (UTC)

That whole sentence could be moved lower in the article. Pfalstad 22:43, 4 October 2005 (UTC)

THank you.--Light current 23:28, 4 October 2005 (UTC)

I see Stephen has found his way back near the top of the article. Whats the point of arguing and agreeing something if its going to get changed back again? Do we really need this at the top of the page -- seriously??--Light current 04:11, 10 January 2006 (UTC)

If you look at articles like Fourier series, Bessel function, etc., they all have the name of the inventor in the first sentence. In this case, we have a little extra parenthetical remark because his name is not known. This could be put in the article on Stephen Butterworth, if we had one, but the article would be one sentence long, so we don't. Go look at Chebyshev polynomials, which has the guy's name twice (once in Russian) in the first sentence, if you really want to see something that interrupts the flow. I didn't move the Stephen sentence (Omegatron did, on Oct 13) and I don't really care if you want it lower in the article, but if it were me, I would put it right at the top, in the first or second sentence, without a separate heading. Pfalstad 04:27, 10 January 2006 (UTC)

In the chebyshev article the name does not interrupt the flow beacise attention is not drawn to it like it is in this article. If his name was quoted with no comment as 'Stephen Butterworth', I would have no problem.--Light current 04:31, 10 January 2006 (UTC)

[edit] Equations

The actual equations in Laplace domain (not just the magnitude):

1st order:

H(s)={1\over s+1}

2nd order:

H(s)={1\over s^2 + \sqrt{2} s + 1}

3rd order:

H(s)={1\over s^3 + 2 s^2 + 2 s + 1}

From here. Others [1]

There's no simple universal equation that works for all of them?? I thought there was. There is for the magnitude... — Omegatron 16:41, 8 October 2005 (UTC)

THe equation describing the Butterworth approximation are given in terms of omega (w) on the article page. Substituting s=jw in to this gives you all the above TFs. I think.

Those are just the magnitude half. These three are the full transfer function, but I don't see the condensed single-equation form. I'll think about it a bit. — Omegatron 20:08, 8 October 2005 (UTC)

[edit] First or second order filters do not have names.

Moved to Wikipedia talk:WikiProject Electronics#1st-_and_2nd-order_filters

[edit] Bode Plot

How does the magnitude response in the Bode plot differ from, say, a Bessel first order filter>? If it doesnt, why are we crediting Mr Butterworth with it?--Light current 11:07, 10 October 2005 (UTC)

Aren't we already having a discussion about this elsewhere? — Omegatron 11:53, 10 October 2005 (UTC)

No I think this is a different one! (similar maybe)--Light current 12:01, 10 October 2005 (UTC)

I think the other ones about Butterworth in the LPF page. But I could be wrong. I ve forgotten.--Light current 12:05, 10 October 2005 (UTC)

Yeah youre right! Dammit! Sorry - getting confused.--Light current 12:09, 10 October 2005 (UTC)

[edit] Enormous pic

It's a very nice pic, but a lot of people only have 800x640 screens, you know... Pfalstad 16:57, 10 October 2005 (UTC)

[edit] More math

n Factors of Polynomial Bn(s) Magnitude response Pole-zero plots
1 (s + 1)
(s + 1)
1 \over \sqrt{1 + \omega^2} ...
2 (s + ej(π / 4))(s + e j(π / 4))
s^2+\sqrt{2}s+1
1 \over \sqrt{1 + \omega^4} ...
3 (s + 1)(s + ej(π / 3))(s + e j(π / 3))
(s + 1)(s2 + s + 1)
1 \over \sqrt{1 + \omega^6} ...
4 (s + ej(π / 8))(s + e j(π / 8))(s + ej(3π / 8))(s + e j(3π / 8))
(s2 + 0.7654s + 1)(s2 + 1.8478s + 1)
1 \over \sqrt{1 + \omega^8} ...
5 ...
(s + 1)(s2 + 0.6180s + 1)(s2 + 1.6180s + 1)
... ...
6 ...
(s^2+0.5176s+1)(s^2+\sqrt{2}s+1)(s^2+1.9318s+1)
... ...
7 ...
(s + 1)(s2 + 0.4450s + 1)(s2 + 1.247s + 1)(s2 + 1.8022s + 1)
... ...
8 ...
(s2 + 0.3986s + 1)(s2 + 1.111s + 1)(s2 + 1.6630s + 1)(s2 + 1.9622s + 1)
... ...

Just an idea. (I don't like approximations.) :-) — Omegatron 04:18, 14 October 2005 (UTC)

And these are the "minimum phase" implementations, but other implementations can be had for the same magnitude response, which is what actually defines the filter (if I understand this correctly...) — Omegatron 04:29, 14 October 2005 (UTC)

[edit] Incorrect Derivation

In the article, the derivation of the Butterworth coefficients is given as follows:

"The first (2n-1)th derivatives of g are zero for ω = 0. This means that the rate of change of gain with respect to ω is zero i.e., the gain is constant with ω, where n is taken to be the order of the filter."

This is incorrect due to the following:

The premise of the low-pass Butterworth filter is that the passband is maximally flat, having a gain | H(w) | = 1 for w = 0. For a first-order Butterworth filter (or any first-order filter, for that matter), the transfer function is of the form: H(w) = 1 / (jwp0), where p0 is a pole. If n = 1 (first-order), then the value of the pole p0 is required to equal -1 by the constraint that | H(0) | = 1. With any first-order filter, the derivative with respect to w evaluated at w = 0 equals zero, regardless of the value of p0. It is only for higher-order Butterworth filters that the requirement that dk / dwk | H(w = 0) | = 0 becomes necessary.

Moreover, the formula (2n − 1) is incorrect due to the fact that requiring (2n − 1) derivatives to equal zero for a transfer function of only n poles would create an over-determined system for all n > 1. The derivation should read:

| H(0) | = 1

dk / dwk | H(w = 0) | = 0 for 0 < k < n

Breebo 21:23, 27 November 2005 (UTC)

[edit] Mention of Cauer form

Just one question-- Why are we mentioning Cauer on the Butterworth page?--Light current 04:08, 10 January 2006 (UTC)

Well I don't know what I'm talking about here, but I believe there is something called Cauer form (unrelated to Cauer filters, just discovered by the same guy) which is a method of realizing an analog filter (converting a set of poles/zeros to components). Pfalstad 04:37, 10 January 2006 (UTC)

Why does the diagram have a switch in it? Oli Filth 11:52, 23 August 2006 (UTC)

Its not a switch. The dashes indicate more similar sctions of passive components. --Electron Kid 01:58, 25 August 2006 (UTC)
The way you've drawn it looks almost identical to the symbol for a push-to-make switch (see e.g. [[2]], see the diagram near the bottom). I think a better way to represent this would be something like the following:
Image:Cauer_lowpass.png
We should also mention:
  • The "first" component doesn't have to be a shunt capacitor, it may be a series inductor (in which case all component types are swapped).
  • This is normalised to ωc = 1, and Rs = Ro = 1Ω.
  • Seeing as in normalised form, the equations for capacitor and inductor values is the same, we don't necessarily need both equations.
Oli Filth 13:44, 25 August 2006 (UTC)

[edit] Explanation of maximum flatness

Perhaps it would be useful to explain in the article why the Butterworth formula causes maximum flatness in the passband. In most textbooks this is done by calculating the McLaurin series and showing that the n first derivatives cancel out at w=0. Does anyone else think it could make the article more didactic?

Barna, 3rd July 2006

[edit] Massive rewrite

Well, I bit the bullet and did a massive rewrite of the article. The main changes are:

  • A new section entitled "Simple Example" which gives the basics for a simple 3rd order filter without a lot of derivation, etc. and relating an actual circuit to an actual gain formula to an actual pole plot.
  • Elimination of a number of redundant or unreadable gain plots
  • Inclusion of a design section showing how to design a Butterworth filter. (this could be improved, especially the Cauer topology stuff).
  • Some derivations, and making it so the meaning and usefulness of the Butterworth polynomials is evident (hopefully)

PAR 15:53, 20 July 2006 (UTC)

[edit] S-plane diagram

Why is there a log density plot of the s-plane representation of the filter, instead of the standard pole-zero diagram as would be given in any textbook on the subject? The density plot provides no useful information; the only useful bit is the gain along the jω axis, and this is obscured by the axis itself! Oli Filth 12:13, 23 August 2006 (UTC)

The density plot gives the same information as standard pole-zero diagram and more. They give an idea of how the poles and zeroes influence the gain (along the ω axis), and they give an immediate idea of what a pole or zero IS, for someone who might not know. I could remove the axis lines, does that sound like a good idea? PAR 15:06, 23 August 2006 (UTC)
The density plot gives no extra information, as H(s) is uniquely determined by the location of the poles. Whilst I agree that it does demonstrate that poles are in some rough sense "maxima" of the function, that's not going to help someone who doesn't already understand the relevance of the s-plot.
As you say, the importance (to a newcomer to the subject) is the connection between pole location and the magnitude (and perhaps phase) along the jω axis. Personally, I think this would be illustrated better with a "normal" pole-zero plot, along with the geometric interpretation - that the magnitude is the inverse of the product of the Euclidean distances from the poles, and the phase is the sum of the angles. Although this would be better off in another article. Perhaps I will write one... Oli Filth 17:11, 23 August 2006 (UTC)
Well, sure, H(s) is uniquely determined by the function given in the text, so why have a plot at all? It provides no extra information, but it is helpful for giving an idea of what the function looks like.My only complaint is that it's hard to see the zeros. Pfalstad 17:42, 23 August 2006 (UTC) (Oops, forgot the zeros were at infinity; I was thinking of digital filters. Pfalstad 19:00, 23 August 2006 (UTC))
My point was that the magnitude of the function for \sigma \ne 0 is irrelevant; the only important issues are the pole locations, and the magnitude (and phase) along the jω axis. Which is probably why textbooks draw pole-zero plots - they're the simplest graphical representation that contains all the useful information.
Incidentally, the only zeros here are at infinity, so they're going to be pretty hard to illustrate by any method!! Oli Filth 18:17, 23 August 2006 (UTC)
Yes, I can't think about why the gain function looks the way it does without thinking about what it looks like in complex frequency space. I am working on similar plots for the Chebyshev filters, and the type II do have zeroes. My work page for modifying the present Chebyshev filter page is at User:PAR/Work8 - check out the gain image for the type II filter. When I get this done, I will replace the present Chebyshev filter with it. PAR 18:20, 23 August 2006 (UTC)
I guess we'll have to agree to disagree on this one. Whilst I admit these diagrams are kind of cool (especially the Chebyshev Type II) I think that's all they are. They aren't going to help someone new to the idea of s-plots to say "Ah! Now it all makes sense!"
And with no disrepect intended, just because you aren't able to visualise what's going on in pole-zero land without a density plot, I don't see that as a reason to introduce a completely non-standard depiction into an encyclopedic article. People working in control theory, for instance, have to cope with the idea of poles moving around in the s-plane without needing to see density plots.
Standard pole-zero sketches are completely intuitive, IMHO - as you move along the jω axis, if you get closer to poles, the gain goes up, and if you get closer to zeros, the gain goes down. They're really only useful as indicative guides of the general trends of the function ("does the gain go up or down?") and to illustrate the geometric relationships between the various poles and zeros ("the poles are equi-spaced on the unit circle", "the pole is to the left of the zero", "this pole is dangerously close to the jw-axis").
Incidentally, if we are sticking with the density plots, we need to be consistent. The Butterworth plot only contains poles for H(s), whilst the Chebyshev and Elliptic ones show the poles for |H(s)|^2. Oli Filth 19:07, 23 August 2006 (UTC)
I agree on the consistency point and I will work to fix that. PAR 19:21, 23 August 2006 (UTC)
I think they do help.. I would have appreciated these diagrams when learning the subject. I'm sure people working in control theory can get along without them, but they are not the target audience for an introductory article on Butterworth filters. The fact that we're leaving out the standard form of the diagrams might be a problem, though. Pfalstad 20:31, 23 August 2006 (UTC)
Yes, I think that's more the issue I have - the lack of standard diagrams. If these were present, I'd have no issue with the density plots being there too. Oli Filth 23:00, 23 August 2006 (UTC)

Do you have any links to a suitable standard diagram?PAR 01:20, 24 August 2006 (UTC)

I don't know specifically where one can find them on the web, but I'm happy to create some. Oli Filth 13:54, 25 August 2006 (UTC)

[edit] How about a digital implementation section?

Sure would be nice if this article included a section on digital implementation, like in the Chebyshev Filters article. I would want to know how to go from the analog filter, once designed, to the digital filter coefficients and the algorithm that uses those coefficients. I'd do it, but it's not my competency (by any stretch!).

The bilinear transform procedure is essentially the same for any analogue prototype. IMO, the Chebyshev article does not need this; as the general procedure should be in the article on the bilinear transform. Oli Filth 00:46, 22 September 2006 (UTC)