+ Post New Thread
Page 1 of 2 1 2 LastLast
Results 1 to 20 of 25
  1. #1
    Newbie level 4
    Points: 41, Level: 1

    Join Date
    Jan 2015
    Posts
    6
    Helped
    0 / 0
    Points
    41
    Level
    1

    How to design specific filter ?

    Hello,

    I studied filter design, I know usual canonical forms to express 1st and 2nd order filter.
    These forms lead us to -20/-40dB per decade. I was wondering how to design filters that aren't -20/-40..etc dB/dec.
    Is there other mathematical tools to do it ? I found schematics and tryed to compute transfert function and I couldn't make the identification to canonical form.

    Thanks for any help

    •   AltAdvertisement

        
       

  2. #2
    Super Moderator
    Points: 260,308, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    45,463
    Helped
    13830 / 13830
    Points
    260,308
    Level
    100

    Re: How to design specific filter ?

    Wat kind of filter do you want to design?



  3. #3
    Advanced Member level 5
    Points: 53,716, Level: 56
    Achievements:
    7 years registered
    Audioguru's Avatar
    Join Date
    Jan 2008
    Location
    Toronto area of Canada
    Posts
    8,749
    Helped
    2053 / 2053
    Points
    53,716
    Level
    56

    Re: How to design specific filter ?

    One RC gives a filter that is 20dB per decade, two separated RCs give 40dB per decade, three separated RCs give 60dB per decade etc. That is how RC filters work.
    You can make filters that have sharper cutoffs but they have some ripple in the passband and the maximum attenuation might not be much.



  4. #4
    Advanced Member level 5
    Points: 40,458, Level: 49
    Achievements:
    7 years registered
    LvW's Avatar
    Join Date
    May 2008
    Location
    Germany
    Posts
    5,790
    Helped
    1729 / 1729
    Points
    40,458
    Level
    49

    Re: How to design specific filter ?

    Quote Originally Posted by Audioguru View Post
    You can make filters that have sharper cutoffs .....
    Yes - but only in the vicinity of the pole frequency. In the other frequency regions the slope always approaches n*20 dB/dec.



  5. #5
    Advanced Member level 5
    Points: 19,100, Level: 33
    Achievements:
    7 years registered
    crutschow's Avatar
    Join Date
    Feb 2012
    Location
    L.A. USA Zulu -8
    Posts
    3,678
    Helped
    874 / 874
    Points
    19,100
    Level
    33

    Re: How to design specific filter ?

    Quote Originally Posted by Ibtissam Aziz View Post
    ........................ I was wondering how to design filters that aren't -20/-40..etc dB/dec.
    ............................
    Why would you want to?
    That is only of interest in an academic sense.
    I see no reason to do it in practice.
    Zapper
    Curmudgeon Elektroniker



  6. #6
    Super Moderator
    Points: 52,953, Level: 56

    Join Date
    Apr 2011
    Location
    Minneapolis, Minnesota, USA
    Posts
    12,951
    Helped
    2580 / 2580
    Points
    52,953
    Level
    56

    Re: How to design specific filter ?

    In case you want to customize a rolloff curve so it is shallower....
    You can tap at different positions on the resistor in an RC filter. That is, using a potentiometer.



    Filter action starts at the same frequency (159 Hz). It is most pronounced in the lefthand network. Output approaches zero at higher frequencies.

    Filter action is less sharp in the other networks. They mix some input with some output. Output does not approach zero at higher frequencies.



    •   AltAdvertisement

        
       

  7. #7
    Full Member level 1
    Points: 609, Level: 5

    Join Date
    Jan 2015
    Posts
    114
    Helped
    17 / 17
    Points
    609
    Level
    5

    Re: How to design specific filter ?

    Quote Originally Posted by LvW View Post
    Yes - but only in the vicinity of the pole frequency. In the other frequency regions the slope always approaches n*20 dB/dec.
    (Sorry this BB has taken the policy decision to delete the context of your point, but) you're not always correct.

    In the late 70s I built commutating capacitor N-path bandpass filter, centre frequency ~4khZ. Q ~4000. With 10% capacitors and resistors. The rolloff would have been 20dB in 10Hz, i.e. considerably more than 20dB/decade :)

    And then there are crystal filters, of course. And SAW filters, some with extremely curious phase/frequency responses, e.g. for chirped radars :)



  8. #8
    Advanced Member level 5
    Points: 19,100, Level: 33
    Achievements:
    7 years registered
    crutschow's Avatar
    Join Date
    Feb 2012
    Location
    L.A. USA Zulu -8
    Posts
    3,678
    Helped
    874 / 874
    Points
    19,100
    Level
    33

    Re: How to design specific filter ?

    Quote Originally Posted by BradtheRad View Post
    In case you want to customize a rolloff curve so it is shallower....
    ........................
    But that's the question.
    Why, in practice would you want to have a shallower rolloff...?
    Zapper
    Curmudgeon Elektroniker



  9. #9
    Newbie level 4
    Points: 41, Level: 1

    Join Date
    Jan 2015
    Posts
    6
    Helped
    0 / 0
    Points
    41
    Level
    1

    Re: How to design specific filter ?

    Quote Originally Posted by crutschow View Post
    Why would you want to?
    That is only of interest in an academic sense.
    I see no reason to do it in practice.
    For example I'd like to produce pink noise from white noise and I need to make a -10dB/dec filter. I found schematics which can realise this function but I wanted to know how to design it since every filter i know is -n*20dB/dec with n >=1.



    •   AltAdvertisement

        
       

  10. #10
    Super Moderator
    Points: 52,953, Level: 56

    Join Date
    Apr 2011
    Location
    Minneapolis, Minnesota, USA
    Posts
    12,951
    Helped
    2580 / 2580
    Points
    52,953
    Level
    56

    Re: How to design specific filter ?

    Quote Originally Posted by crutschow View Post
    But that's the question.
    Why, in practice would you want to have a shallower rolloff...?
    One application is an audio tone control. Of course the baxandall type is commonly used in this role.



  11. #11
    Super Moderator
    Points: 260,308, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    45,463
    Helped
    13830 / 13830
    Points
    260,308
    Level
    100

    Re: How to design specific filter ?

    A pink noise filter isn't a simple low-pass. The 10 dB/decade frequency response can be only implemented as a combination of poles and zeros, e.g. as a RC ladder circuit. See e.g. http://electronicdesign.com/analog/b...oise-generator

    The design method is an approximation.



  12. #12
    Newbie level 4
    Points: 41, Level: 1

    Join Date
    Jan 2015
    Posts
    6
    Helped
    0 / 0
    Points
    41
    Level
    1

    Re: How to design specific filter ?

    Quote Originally Posted by FvM View Post
    A pink noise filter isn't a simple low-pass. The 10 dB/decade frequency response can be only implemented as a combination of poles and zeros, e.g. as a RC ladder circuit. See e.g. http://electronicdesign.com/analog/b...oise-generator

    The design method is an approximation.
    Yes i saw this article during my research, but how do you approximate a given curve with analog design ?
    I tried to compute the transfert function of this filter. But I can't formulate it to get a known form.
    So it must be some other mathematical tools to do it.



  13. #13
    Super Moderator
    Points: 260,308, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    45,463
    Helped
    13830 / 13830
    Points
    260,308
    Level
    100

    Re: How to design specific filter ?

    I don't understand what you mean with "known form"? It's a passive RC network, it's transfer function can be derived by applying basic AC network calculation. In this case, only the magnitude matters.

    Then use a nonlinear solver to fit the transfer curve to the intended magnitude characteristic. You can e.g. use the Excel solver or the MINPACK library. A convenient tool is also the PSpice optimizer.



  14. #14
    Newbie level 4
    Points: 41, Level: 1

    Join Date
    Jan 2015
    Posts
    6
    Helped
    0 / 0
    Points
    41
    Level
    1

    Re: How to design specific filter ?

    I mean once you compute tranfer function you can identify elements from the canonic forms
    http://ressource.electron.free.fr/bt..._canonique.pdf
    It is in french but you will get it.
    I can bode plot by hand if get one of these function.
    For example if I get :

    HTML Code:
            R1
           ___      
    in --+|___|-----+ out
                 |            .-.
                | |
                | |R2
                '-'
                 |     
                --- C1
                ---
                 |
    --------+-----+
    I found function transfert is (1+jR2C1w)/(1+j(R1C1+R2C2)w)

    And I can't make the link between 1st order low pass form (1/(1+jTow))



  15. #15
    Super Moderator
    Points: 260,308, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    45,463
    Helped
    13830 / 13830
    Points
    260,308
    Level
    100

    Re: How to design specific filter ?

    I found function transfert is (1+jR2C1w)/(1+j(R1C1+R2C2)w)

    And I can't make the link between 1st order low pass form (1/(1+jTow))
    The transfer function is a pole-zero-pair, in this case acting as lag-lead element. It can't be mapped to a pure low-pass (pole).

    The pole-zero pair K*(1+Td s)/(1+T1 s) should be admitted as another canonical form in your table, it's a basic building block for frequency equalizers with arbitrary characteristic like your pink noise filter. It's also designated PDT1 in control theory literature.

    The form is similar to the all-pass listed in your table, but the latter is behaving different due to the RHP zero.


    1 members found this post helpful.

  16. #16
    Advanced Member level 5
    Points: 34,834, Level: 45
    Achievements:
    7 years registered Created Blog entry Created Album pictures
    SunnySkyguy's Avatar
    Join Date
    Sep 2007
    Location
    Richmond Hill, ON, Canada
    Posts
    6,729
    Helped
    1679 / 1679
    Points
    34,834
    Level
    45
    Blog Entries
    7

    Re: How to design specific filter ?

    a pink noise filter uses -3dB/oct VS -6dB/oct

    You may be interested in the Nth order LC filters where you can design passband ripple or linear phase or max. flat and skirt band reject levels such as Butterworth , Causer, Gaussian etc.

    you can also find chips that do 5th order filters with variables,... switched cap, and other implementations where you can choose the parameters.
    A best design is easily achieved with good test specs™
    A better question deserves a better answer. ™
    ... so include all your acceptance criteria ( values, % tolerance) and assumptions in your question or any design.

    ... Tony Stewart EE since 1975
    - slightly north of Toronto



  17. #17
    Newbie level 4
    Points: 41, Level: 1

    Join Date
    Jan 2015
    Posts
    6
    Helped
    0 / 0
    Points
    41
    Level
    1

    Re: How to design specific filter ?

    Well thank you you taught me something :) (I'd like to read more about this kind of filter, do you have any link,book,.. for me ?)
    So, if I cascade several of these specific filters and place correctly poles and zeros I should be able to get what I want -10dB/dec for example.
    Am I right ?
    And to do that I'll need to use some solver to aproximate the curve I want to follow to determine the values of the components.



  18. #18
    Super Moderator
    Points: 260,308, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    45,463
    Helped
    13830 / 13830
    Points
    260,308
    Level
    100

    Re: How to design specific filter ?

    Unfortunately I don't have specific literature. See below an example of a 5-stage equalizer using buffer isolated lag-lead-circuits. The time constants are simply chosen as a geometrical series. You can further improve the response by individualy tuning the values.



    I also appended the LTSpice file. The buffer isolated implementation is more easy to calculate than the RC ladder circuit in your example, but the behaviour is similar.



  19. #19
    Advanced Member level 5
    Points: 34,834, Level: 45
    Achievements:
    7 years registered Created Blog entry Created Album pictures
    SunnySkyguy's Avatar
    Join Date
    Sep 2007
    Location
    Richmond Hill, ON, Canada
    Posts
    6,729
    Helped
    1679 / 1679
    Points
    34,834
    Level
    45
    Blog Entries
    7

    Re: How to design specific filter ?

    Quote Originally Posted by Ibtissam Aziz View Post
    So, if I cascade several of these specific filters and place correctly poles and zeros I should be able to get what I want -10dB/dec for example.

    Solutions are easy to find if you know the name and know whereto look.. Example.

    -10dB/dec = Pink Noise Filter
    A best design is easily achieved with good test specs™
    A better question deserves a better answer. ™
    ... so include all your acceptance criteria ( values, % tolerance) and assumptions in your question or any design.

    ... Tony Stewart EE since 1975
    - slightly north of Toronto



  20. #20
    Advanced Member level 5
    Points: 14,971, Level: 29
    schmitt trigger's Avatar
    Join Date
    Apr 2013
    Posts
    2,488
    Helped
    805 / 805
    Points
    14,971
    Level
    29

    Re: How to design specific filter ?

    sunnyskyguy:

    Indeed, in the late 70s I built a pink noise generator using some of the schematics you show in your link.
    The MM5937 white noise generator was a wonderful little IC, although its sequence was not very long would repeat every two or three seconds. One could listen to a "bump" when this happened.



    •   AltAdvertisement

        
       

--[[ ]]--