fbpx
Wikipedia

Bessel filter

In electronics and signal processing, a Bessel filter is a type of analog linear filter with a maximally flat group delay (i.e., maximally linear phase response), which preserves the wave shape of filtered signals in the passband.[1] Bessel filters are often used in audio crossover systems.

The filter's name is a reference to German mathematician Friedrich Bessel (1784–1846), who developed the mathematical theory on which the filter is based. The filters are also called Bessel–Thomson filters in recognition of W. E. Thomson, who worked out how to apply Bessel functions to filter design in 1949.[2]

The Bessel filter is very similar to the Gaussian filter, and tends towards the same shape as filter order increases.[3][4] While the time-domain step response of the Gaussian filter has zero overshoot,[5] the Bessel filter has a small amount of overshoot,[6][7] but still much less than other common frequency-domain filters, such as Butterworth filters. It has been noted that the impulse response of Bessel–Thomson filters tends towards a Gaussian as the order of the filter is increased.[3]

Compared to finite-order approximations of the Gaussian filter, the Bessel filter has better shaping factor, flatter phase delay, and flatter group delay than a Gaussian of the same order, although the Gaussian has lower time delay and zero overshoot.[8]

The transfer function edit

 
A plot of the gain and group delay for a fourth-order low-pass Bessel filter. Note that the transition from the passband to the stopband is much slower than for other filters, but the group delay is practically constant in the passband. The Bessel filter maximizes the flatness of the group delay curve at zero frequency.

A Bessel low-pass filter is characterized by its transfer function:[9]

 

where   is a reverse Bessel polynomial from which the filter gets its name and   is a frequency chosen to give the desired cut-off frequency. The filter has a low-frequency group delay of  . Since   is indeterminate by the definition of reverse Bessel polynomials, but is a removable singularity, it is defined that  .

Bessel polynomials edit

 
The roots of the third-order Bessel polynomial are the poles of the filter transfer function in the   plane, here plotted as crosses.

The transfer function of the Bessel filter is a rational function whose denominator is a reverse Bessel polynomial, such as the following:

 
 
 
 
 

The reverse Bessel polynomials are given by:[9]

 

where

 

Setting the cutoff attenuation edit

There is no standard set attenuation value for Bessel filters, however, −3.0103 dB is a common choice. Some applications may use a higher or lower attenuation, such as −1 dB or −10 dB. The attenuation is set by frequency scaling the denominator. This can be approximated by interpolating Bessel filter attenuation tables, or calculated precisely with Newton's method.

The denominator may be frequency scaled by using a scaling factor that we will refer to as  . The frequency-scaled denominator of the Bessel transfer function may be rewritten for the   case above and the example below as follows:

 

The task for modifying   to is to find an   that results in the desired attenuation at 1 r/s for the normalized transfer function. Newton's method can be easily summarized to do this by its basic definition:

 

through successive iterations of   until  is the frequency that attenuates  to the desired attenuation at 1 radian/s.

While the above summary may be concise and easily understood, the mechanics of obtaining an accurate derivative of the magnitude function along the   axis may be problematic. Digital techniques may be used, but it is generally better to apply Newton's method with continuous functions, if possible, so as to maximize accuracy. Therefore, it is useful to modify the expression to eliminate excess mathematical functions by making the following alterations:

  1. Multiply   by   to obtain  . This will eliminate complex numerical results when evaluating   by removing the odd order terms in the polynomial.
  2. In  , negate all terms of   when   is divisible by  . That would be  ,  ,  , and so on. We will call the modified function  , and this modification will allow the use of real numbers instead of complex numbers when evaluating the polynomial and its derivative. That is, we can now use the real  in place of the complex  
  3. Convert the desired attenuation in dB,  , to an arithmetic attenuation value,  , using  . For example, −3.010 dB is 0.7071, −1 dB is 0.8913 and so on. This simplifies the derivative evaluation.
  4. Square the resulting arithmetic attenuation to correlate with the squaring of the   function.
  5. Calculate the modified   in Newton's method using the real value,  . Always take the absolute value.
  6. Calculate the derivative the modified   with respect to the real value,  . Negate the derivative computation to account for the effects due to the modifications made to create  . DO NOT take the absolute value of the derivative.

When steps 1) through 4) are complete, the expression involving Newton's method may be written:

 

using a real value for  with no complex arithmetic needed. The movement of   should be limited to prevent it from going negative early in the iterations for increased reliability. When complete, invert  to obtain an  that can be used to scale the original   transfer function denominator. The attenuation of   will then be virtually the exact desired value at 1 radian/s. If performed properly, only a handful of iterations are needed to set the attenuation through a wide range of desired attenuation values for both small and very large order Bessel filters.

Example edit

 
Gain plot of the third-order Bessel low-pass filter, versus normalized frequency.
 
Group delay plot of the third-order Bessel low-pass filter, illustrating flat unit delay in the passband.

The transfer function for a third-order (three-pole) Bessel low-pass filter with   is

 

where the numerator has been chosen to give unity gain at zero frequency ( ).The roots of the denominator polynomial, the filter's poles, include a real pole at  , and a complex-conjugate pair of poles at  , plotted above.

The gain is then

 

The −3-dB point, where   occurs at  . This is conventionally called the cut-off frequency.

The phase is

 

The group delay is

 

The Taylor series expansion of the group delay is

 

Note that the two terms in   and   are zero, resulting in a very flat group delay at  . This is the greatest number of terms that can be set to zero, since there are a total of four coefficients in the third-order Bessel polynomial, requiring four equations in order to be defined. One equation specifies that the gain be unity at   and a second specifies that the gain be zero at  , leaving two equations to specify two terms in the series expansion to be zero. This is a general property of the group delay for a Bessel filter of order  : the first   terms in the series expansion of the group delay will be zero, thus maximizing the flatness of the group delay at  .

Digital edit

Although the bilinear transform is used to convert continuous-time (analog) filters to discrete-time (digital) infinite impulse response (IIR) filters with comparable frequency response, IIR filters obtained by the bilinear transformation do not have constant group delay.[10] Since the important characteristic of a Bessel filter is its maximally-flat group delay, the bilinear transform is inappropriate for converting an analog Bessel filter into a digital form.

The digital equivalent is the Thiran filter, also an all-pole low-pass filter with maximally-flat group delay,[11][12] which can also be transformed into an allpass filter, to implement fractional delays.[13][14]

See also edit

References edit

  1. ^ . 2013. Archived from the original on 2013-01-24. Retrieved 2022-05-14.
  2. ^ Thomson, W. E. (November 1949). "Delay networks having maximally flat frequency characteristics" (PDF). Proceedings of the IEE - Part III: Radio and Communication Engineering. 96 (44): 487–490. doi:10.1049/pi-3.1949.0101.
  3. ^ a b Roberts, Stephen (2001). "Transient Response and Transforms: 3.1 Bessel-Thomson filters" (PDF).
  4. ^ "comp.dsp | IIR Gaussian Transition filters". www.dsprelated.com. Retrieved 2022-05-14. An analog Bessel filter is an approximation to a Gaussian filter, and the approximation improves as the filter order increases.
  5. ^ . www.nuhertz.com. Archived from the original on 2020-01-11. Retrieved 2022-05-14.
  6. ^ "How to choose a filter? (Butterworth, Chebyshev, Inverse Chebyshev, Bessel–Thomson)". www.etc.tuiasi.ro. Retrieved 2022-05-14.
  7. ^ "Free Analog Filter Program". www.kecktaylor.com. Retrieved 2022-05-14. the Bessel filter has a small overshoot and the Gaussian filter has no overshoot.
  8. ^ Paarmann, L. D. (2001). Design and Analysis of Analog Filters: A Signal Processing Perspective. Springer Science & Business Media. ISBN 9780792373735. the Bessel filter has slightly better Shaping Factor, flatter phase delay, and flatter group delay than that of a Gaussian filter of equal order. However, the Gaussian filter has less time delay, as noted by the unit impulse response peaks occurring sooner than they do for Bessel filters of equal order.
  9. ^ a b Bianchi, Giovanni; Sorrentino, Roberto (2007). Electronic filter simulation & design. McGraw–Hill Professional. pp. 31–43. ISBN 978-0-07-149467-0.
  10. ^ Zhang, Xi (2008-07-01). "Design of maximally flat IIR filters with flat group delay responses". Signal Processing. 88 (7): 1792–1800. doi:10.1016/j.sigpro.2008.01.016. ISSN 0165-1684.
  11. ^ Thiran, J.-P. (1971). "Recursive digital filters with maximally flat group delay". IEEE Transactions on Circuit Theory. 18 (6): 659–664. doi:10.1109/TCT.1971.1083363. ISSN 0018-9324.
  12. ^ Madisetti, Vijay (1997). "Section 11.3.2.2 Classical IIR Filter Types". The Digital Signal Processing Handbook. CRC Press. p. 11-32. ISBN 9780849385728.
  13. ^ Smith III, Julius O. (2015-05-22). "Thiran Allpass Interpolators". W3K Publishing. Retrieved 2022-05-14.
  14. ^ Välimäki, Vesa (1995). Discrete-time modeling of acoustic tubes using fractional delay filters (PDF) (Thesis). Helsinki University of Technology.

External links edit

  • — Nuhertz
  • Bessel Filter Constants — C.R. Bond
  • Bessel Filters Polynomials, Poles and Circuit Elements — C.R. Bond
  • Java source code to compute Bessel filter poles

bessel, filter, electronics, signal, processing, type, analog, linear, filter, with, maximally, flat, group, delay, maximally, linear, phase, response, which, preserves, wave, shape, filtered, signals, passband, often, used, audio, crossover, systems, filter, . In electronics and signal processing a Bessel filter is a type of analog linear filter with a maximally flat group delay i e maximally linear phase response which preserves the wave shape of filtered signals in the passband 1 Bessel filters are often used in audio crossover systems The filter s name is a reference to German mathematician Friedrich Bessel 1784 1846 who developed the mathematical theory on which the filter is based The filters are also called Bessel Thomson filters in recognition of W E Thomson who worked out how to apply Bessel functions to filter design in 1949 2 The Bessel filter is very similar to the Gaussian filter and tends towards the same shape as filter order increases 3 4 While the time domain step response of the Gaussian filter has zero overshoot 5 the Bessel filter has a small amount of overshoot 6 7 but still much less than other common frequency domain filters such as Butterworth filters It has been noted that the impulse response of Bessel Thomson filters tends towards a Gaussian as the order of the filter is increased 3 Compared to finite order approximations of the Gaussian filter the Bessel filter has better shaping factor flatter phase delay and flatter group delay than a Gaussian of the same order although the Gaussian has lower time delay and zero overshoot 8 Contents 1 The transfer function 2 Bessel polynomials 3 Setting the cutoff attenuation 4 Example 5 Digital 6 See also 7 References 8 External linksThe transfer function edit nbsp A plot of the gain and group delay for a fourth order low pass Bessel filter Note that the transition from the passband to the stopband is much slower than for other filters but the group delay is practically constant in the passband The Bessel filter maximizes the flatness of the group delay curve at zero frequency A Bessel low pass filter is characterized by its transfer function 9 H s 8n 0 8n s w0 displaystyle H s frac theta n 0 theta n s omega 0 nbsp where 8n s displaystyle theta n s nbsp is a reverse Bessel polynomial from which the filter gets its name and w0 displaystyle omega 0 nbsp is a frequency chosen to give the desired cut off frequency The filter has a low frequency group delay of 1 w0 displaystyle 1 omega 0 nbsp Since 8n 0 displaystyle theta n 0 nbsp is indeterminate by the definition of reverse Bessel polynomials but is a removable singularity it is defined that 8n 0 limx 08n x displaystyle theta n 0 lim x rightarrow 0 theta n x nbsp Bessel polynomials edit nbsp The roots of the third order Bessel polynomial are the poles of the filter transfer function in the s displaystyle s nbsp plane here plotted as crosses The transfer function of the Bessel filter is a rational function whose denominator is a reverse Bessel polynomial such as the following n 1 s 1 displaystyle n 1 quad s 1 nbsp n 2 s2 3s 3 displaystyle n 2 quad s 2 3s 3 nbsp n 3 s3 6s2 15s 15 displaystyle n 3 quad s 3 6s 2 15s 15 nbsp n 4 s4 10s3 45s2 105s 105 displaystyle n 4 quad s 4 10s 3 45s 2 105s 105 nbsp n 5 s5 15s4 105s3 420s2 945s 945 displaystyle n 5 quad s 5 15s 4 105s 3 420s 2 945s 945 nbsp The reverse Bessel polynomials are given by 9 8n s k 0naksk displaystyle theta n s sum k 0 n a k s k nbsp where ak 2n k 2n kk n k k 0 1 n displaystyle a k frac 2n k 2 n k k n k quad k 0 1 ldots n nbsp Setting the cutoff attenuation editThere is no standard set attenuation value for Bessel filters however 3 0103 dB is a common choice Some applications may use a higher or lower attenuation such as 1 dB or 10 dB The attenuation is set by frequency scaling the denominator This can be approximated by interpolating Bessel filter attenuation tables or calculated precisely with Newton s method The denominator may be frequency scaled by using a scaling factor that we will refer to as wc displaystyle omega c nbsp The frequency scaled denominator of the Bessel transfer function may be rewritten for the n 3 displaystyle n 3 nbsp case above and the example below as follows H s 15 s wc 3 6 s wc 2 15s wc 15 displaystyle H s frac 15 s omega c 3 6 s omega c 2 15s omega c 15 nbsp The task for modifying H s displaystyle H s nbsp to is to find an wc displaystyle omega c nbsp that results in the desired attenuation at 1 r s for the normalized transfer function Newton s method can be easily summarized to do this by its basic definition wa wa H jwa DesiredAttenuation d H jwa djwa displaystyle omega a omega a H j omega a text DesiredAttenuation d H j omega a dj omega a nbsp through successive iterations of wa displaystyle omega a nbsp until wa displaystyle omega a nbsp is the frequency that attenuates H jwa displaystyle H j omega a nbsp to the desired attenuation at 1 radian s While the above summary may be concise and easily understood the mechanics of obtaining an accurate derivative of the magnitude function along the jw displaystyle j omega nbsp axis may be problematic Digital techniques may be used but it is generally better to apply Newton s method with continuous functions if possible so as to maximize accuracy Therefore it is useful to modify the expression to eliminate excess mathematical functions by making the following alterations Multiply H s displaystyle H s nbsp by H s displaystyle H s nbsp to obtain H s H s displaystyle H s H s nbsp This will eliminate complex numerical results when evaluating H s H s displaystyle H s H s nbsp by removing the odd order terms in the polynomial In H s H s displaystyle H s H s nbsp negate all terms of sn displaystyle s n nbsp when n 2 displaystyle n 2 nbsp is divisible by 4 displaystyle 4 nbsp That would be s2 displaystyle s 2 nbsp s6 displaystyle s 6 nbsp s10 displaystyle s 10 nbsp and so on We will call the modified function H2 s H2 s displaystyle H 2 s H 2 s nbsp and this modification will allow the use of real numbers instead of complex numbers when evaluating the polynomial and its derivative That is we can now use the real wa displaystyle omega a nbsp in place of the complex jwa displaystyle j omega a nbsp Convert the desired attenuation in dB AdB displaystyle A dB nbsp to an arithmetic attenuation value Aarith displaystyle A arith nbsp using Aarith 10AdB 20 displaystyle A arith 10 A dB 20 nbsp For example 3 010 dB is 0 7071 1 dB is 0 8913 and so on This simplifies the derivative evaluation Square the resulting arithmetic attenuation to correlate with the squaring of the H s displaystyle H s nbsp function Calculate the modified H2 wa H2 wa displaystyle H 2 omega a H 2 omega a nbsp in Newton s method using the real value wa displaystyle omega a nbsp Always take the absolute value Calculate the derivative the modified H2 wa H2 wa displaystyle H 2 omega a H 2 omega a nbsp with respect to the real value wa displaystyle omega a nbsp Negate the derivative computation to account for the effects due to the modifications made to create H2 wa H2 wa displaystyle H 2 omega a H 2 omega a nbsp DO NOT take the absolute value of the derivative When steps 1 through 4 are complete the expression involving Newton s method may be written wa wa H2 wa H2 wa DesiredAttenuation d H2 wa H2 wa dwa displaystyle omega a omega a H 2 omega a H 2 omega a text DesiredAttenuation d H 2 omega a H 2 omega a d omega a nbsp using a real value for wa displaystyle omega a nbsp with no complex arithmetic needed The movement of wa displaystyle omega a nbsp should be limited to prevent it from going negative early in the iterations for increased reliability When complete invert wa displaystyle omega a nbsp to obtain an wc displaystyle omega c nbsp that can be used to scale the original H s displaystyle H s nbsp transfer function denominator The attenuation of H s wc displaystyle H s omega c nbsp will then be virtually the exact desired value at 1 radian s If performed properly only a handful of iterations are needed to set the attenuation through a wide range of desired attenuation values for both small and very large order Bessel filters Example edit nbsp Gain plot of the third order Bessel low pass filter versus normalized frequency nbsp Group delay plot of the third order Bessel low pass filter illustrating flat unit delay in the passband The transfer function for a third order three pole Bessel low pass filter with w0 1 displaystyle omega 0 1 nbsp is H s 15s3 6s2 15s 15 displaystyle H s frac 15 s 3 6s 2 15s 15 nbsp where the numerator has been chosen to give unity gain at zero frequency s 0 displaystyle s 0 nbsp The roots of the denominator polynomial the filter s poles include a real pole at s 2 3222 displaystyle s 2 3222 nbsp and a complex conjugate pair of poles at s 1 8389 j1 7544 displaystyle s 1 8389 pm j1 7544 nbsp plotted above The gain is then G w H jw 15w6 6w4 45w2 225 displaystyle G omega H j omega frac 15 sqrt omega 6 6 omega 4 45 omega 2 225 nbsp The 3 dB point where H jw 12 displaystyle H j omega frac 1 sqrt 2 nbsp occurs at w 1 756 displaystyle omega 1 756 nbsp This is conventionally called the cut off frequency The phase is ϕ w arg H jw arctan 15w w315 6w2 displaystyle phi omega arg H j omega arctan left frac 15 omega omega 3 15 6 omega 2 right nbsp The group delay is D w dϕdw 6w4 45w2 225w6 6w4 45w2 225 displaystyle D omega frac d phi d omega frac 6 omega 4 45 omega 2 225 omega 6 6 omega 4 45 omega 2 225 nbsp The Taylor series expansion of the group delay is D w 1 w6225 w81125 displaystyle D omega 1 frac omega 6 225 frac omega 8 1125 cdots nbsp Note that the two terms in w2 displaystyle omega 2 nbsp and w4 displaystyle omega 4 nbsp are zero resulting in a very flat group delay at w 0 displaystyle omega 0 nbsp This is the greatest number of terms that can be set to zero since there are a total of four coefficients in the third order Bessel polynomial requiring four equations in order to be defined One equation specifies that the gain be unity at w 0 displaystyle omega 0 nbsp and a second specifies that the gain be zero at w displaystyle omega infty nbsp leaving two equations to specify two terms in the series expansion to be zero This is a general property of the group delay for a Bessel filter of order n displaystyle n nbsp the first n 1 displaystyle n 1 nbsp terms in the series expansion of the group delay will be zero thus maximizing the flatness of the group delay at w 0 displaystyle omega 0 nbsp Digital editAlthough the bilinear transform is used to convert continuous time analog filters to discrete time digital infinite impulse response IIR filters with comparable frequency response IIR filters obtained by the bilinear transformation do not have constant group delay 10 Since the important characteristic of a Bessel filter is its maximally flat group delay the bilinear transform is inappropriate for converting an analog Bessel filter into a digital form The digital equivalent is the Thiran filter also an all pole low pass filter with maximally flat group delay 11 12 which can also be transformed into an allpass filter to implement fractional delays 13 14 See also editBessel function Butterworth filter Chebyshev filter Comb filter Elliptic filter Group delay and phase delayReferences edit Bessel Filter 2013 Archived from the original on 2013 01 24 Retrieved 2022 05 14 Thomson W E November 1949 Delay networks having maximally flat frequency characteristics PDF Proceedings of the IEE Part III Radio and Communication Engineering 96 44 487 490 doi 10 1049 pi 3 1949 0101 a b Roberts Stephen 2001 Transient Response and Transforms 3 1 Bessel Thomson filters PDF comp dsp IIR Gaussian Transition filters www dsprelated com Retrieved 2022 05 14 An analog Bessel filter is an approximation to a Gaussian filter and the approximation improves as the filter order increases Gaussian Filters www nuhertz com Archived from the original on 2020 01 11 Retrieved 2022 05 14 How to choose a filter Butterworth Chebyshev Inverse Chebyshev Bessel Thomson www etc tuiasi ro Retrieved 2022 05 14 Free Analog Filter Program www kecktaylor com Retrieved 2022 05 14 the Bessel filter has a small overshoot and the Gaussian filter has no overshoot Paarmann L D 2001 Design and Analysis of Analog Filters A Signal Processing Perspective Springer Science amp Business Media ISBN 9780792373735 the Bessel filter has slightly better Shaping Factor flatter phase delay and flatter group delay than that of a Gaussian filter of equal order However the Gaussian filter has less time delay as noted by the unit impulse response peaks occurring sooner than they do for Bessel filters of equal order a b Bianchi Giovanni Sorrentino Roberto 2007 Electronic filter simulation amp design McGraw Hill Professional pp 31 43 ISBN 978 0 07 149467 0 Zhang Xi 2008 07 01 Design of maximally flat IIR filters with flat group delay responses Signal Processing 88 7 1792 1800 doi 10 1016 j sigpro 2008 01 016 ISSN 0165 1684 Thiran J P 1971 Recursive digital filters with maximally flat group delay IEEE Transactions on Circuit Theory 18 6 659 664 doi 10 1109 TCT 1971 1083363 ISSN 0018 9324 Madisetti Vijay 1997 Section 11 3 2 2 Classical IIR Filter Types The Digital Signal Processing Handbook CRC Press p 11 32 ISBN 9780849385728 Smith III Julius O 2015 05 22 Thiran Allpass Interpolators W3K Publishing Retrieved 2022 05 14 Valimaki Vesa 1995 Discrete time modeling of acoustic tubes using fractional delay filters PDF Thesis Helsinki University of Technology External links editBessel and Linear Phase Filters Nuhertz Bessel Filter Constants C R Bond Bessel Filters Polynomials Poles and Circuit Elements C R Bond Java source code to compute Bessel filter poles Retrieved from https en wikipedia org w index php title Bessel filter amp oldid 1210448174, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.