electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » DIY Hardware and Software
High pass sallen key filter
Post new topic   Reply to topic Moderators: jksuperstar, Scott Stites, Uncle Krunkus
Page 1 of 1 [15 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
JingleJoe



Joined: Nov 10, 2011
Posts: 878
Location: Lancashire, England
Audio files: 14

PostPosted: Tue Jul 31, 2012 9:51 am    Post subject:  High pass sallen key filter
Subject description: Resonance?
Reply with quote  Mark this post and the followings unread

A few weeks ago I started work on two sallen key filters for a device I'm building, a high pass and low pass, however I had some problems with the high pass filter. The low pass filter worked great, I used the standard arrangement with an op amp but adapted it for single supply use and added divided feedback to the inverting input for adjustable resonance (acctually it changes the filter type to bessel and chebyshev). However I found that the same method could not be implimented in the high pass filter to acheive resonance. Why not? Sad it was so simple and effective! Damn you high pass filter! Can anyone reveal the mystery of resonant high pass filters?

Here is a diagram of the circuit I used, except R1 went to virtual ground (for single supply operation) and divided feedback (like this) was supplied to the inverting input via a pot and resistor, both 100k. This allowed for gain between 1 (unity, output shorted to inverting input to make it into a voltage follower) and 2, gain being approx 1+(Rf/Rin), Rf was the pot in the feedback path and Rin went from inverting input to virtual ground.

I gave up experimenting with this at the time because I had a good low pass filter working and other things to work on, but now the time has come for a high pass filter.

_________________
As a mad scientist I am ruled by the dictum of science: "I could be wrong about this but lets find out"


Green Dungeon Alchemist Laboratories
Back to top
View user's profile Send private message
The Real MC



Joined: Jun 20, 2008
Posts: 62
Location: Painted Post NY

PostPosted: Tue Jul 31, 2012 12:32 pm    Post subject: Reply with quote  Mark this post and the followings unread

Check this wikipedia page

http://en.wikipedia.org/wiki/Sallen%E2%80%93Key_topology

If you study the formulas for Q, the sum of the resistors in the denominator is a factor in the LP but only one resistor in the denominator is a factor for HP. You may be scaling the wrong resistor.

The only resonant highpass I have seen in a synth is the SVF - the SEM and A6 had it. Voyager and Moog 904B has HP which is derived from simple manipulation of the 24dB ladder filter but resonance is disabled, not sure why.
Back to top
View user's profile Send private message
JingleJoe



Joined: Nov 10, 2011
Posts: 878
Location: Lancashire, England
Audio files: 14

PostPosted: Tue Jul 31, 2012 12:44 pm    Post subject: Reply with quote  Mark this post and the followings unread

Ah interesting, thankyou, I allways get put off by those transfer functions with lots of symbols I don't recognise Laughing However I see what you're getting at there, in the high pass filter, the value of R2 (according to denotion in this diagram) is half R1, however if I have you right, altering that value will change the resonance.
By the same token, perhaps altering the other resistor will change the Q too? Because (I'm going to assume) certain ratios of the resistors will produce higher or lower Q ...
Experiments await Smile

_________________
As a mad scientist I am ruled by the dictum of science: "I could be wrong about this but lets find out"


Green Dungeon Alchemist Laboratories
Back to top
View user's profile Send private message
Psyingo



Joined: Jun 11, 2009
Posts: 248
Location: Canada

PostPosted: Tue Jul 31, 2012 3:03 pm    Post subject: Reply with quote  Mark this post and the followings unread

Have you tried the synthacon style sallenkey? It has bpf, lpf and hpf in the same circuit.

Posted Image, might have been reduced in size. Click Image to view fullscreen.

No need to build two circuits. Unless you need hpf and lpf separately tunable, but you could still omit a bunch of those components related to the bpf and lpf for a resonant hpf.

Last edited by Psyingo on Tue Jul 31, 2012 5:51 pm; edited 1 time in total
Back to top
View user's profile Send private message
JingleJoe



Joined: Nov 10, 2011
Posts: 878
Location: Lancashire, England
Audio files: 14

PostPosted: Tue Jul 31, 2012 5:19 pm    Post subject: Reply with quote  Mark this post and the followings unread

Yes, however doesn't that one require a dual supply?
_________________
As a mad scientist I am ruled by the dictum of science: "I could be wrong about this but lets find out"


Green Dungeon Alchemist Laboratories
Back to top
View user's profile Send private message
Psyingo



Joined: Jun 11, 2009
Posts: 248
Location: Canada

PostPosted: Tue Jul 31, 2012 5:53 pm    Post subject: Reply with quote  Mark this post and the followings unread

JingleJoe wrote:
Yes, however doesn't that one require a dual supply?


I have successfully used that type of sallen key, with bias additions, a number of times I'm single supply situations.
Back to top
View user's profile Send private message
JingleJoe



Joined: Nov 10, 2011
Posts: 878
Location: Lancashire, England
Audio files: 14

PostPosted: Wed Aug 01, 2012 4:02 am    Post subject: Reply with quote  Mark this post and the followings unread

I can remember this one was mentioned in the same thead in which LDR control was discussed, I couldn't locate that thread but nevertheless I've got a good working low pass now, so I'll stick with that and a separate high pass for the moment. Also this allows one separate control over cutoff of the high and low pass filters, whereas both are controlled in one filter there.
Anyways long story short, I'll experiment with that one another time if it works from a single supply.
I am estimating your bias additions were perhaps to R1 and R8 and maybe to the input signal too?

_________________
As a mad scientist I am ruled by the dictum of science: "I could be wrong about this but lets find out"


Green Dungeon Alchemist Laboratories
Back to top
View user's profile Send private message
isak



Joined: Dec 13, 2009
Posts: 847
Location: Israel
Audio files: 18

PostPosted: Sat Aug 18, 2012 5:59 am    Post subject: Reply with quote  Mark this post and the followings unread

Psyingo wrote:
Have you tried the synthacon style sallenkey? It has bpf, lpf and hpf in the same circuit.

Posted Image, might have been reduced in size. Click Image to view fullscreen.


I found in Synthacon blog updated scheme of mixed type filters.
http://blog.skincontact.com/2010/11/phoenix-project-part-12-resuming-with-a-second-chassis/
http://blog.skincontact.com/wp-content/uploads/2010/11/ldr-skfilter1b1.jpg

I want to build it but not with LDR's for cutoff.
How to modify it to be able to use it with a cutoff pot?
any help will be much appreciate.

Cheers,
Isak E.

_________________
http://www.myspace.com/mgmtrance
Back to top
View user's profile Send private message
JingleJoe



Joined: Nov 10, 2011
Posts: 878
Location: Lancashire, England
Audio files: 14

PostPosted: Sat Aug 18, 2012 6:44 am    Post subject: Reply with quote  Mark this post and the followings unread

A Dual gang pot is the solution, altering the ratio of those two resistors will change the type of the filter. (butterworth to bessel to chebyshev)
_________________
As a mad scientist I am ruled by the dictum of science: "I could be wrong about this but lets find out"


Green Dungeon Alchemist Laboratories
Back to top
View user's profile Send private message
Cynosure
Site Admin


Joined: Dec 11, 2010
Posts: 1000
Location: Toronto, Ontario - Canada
Audio files: 82

PostPosted: Sat Aug 18, 2012 8:24 am    Post subject: Reply with quote  Mark this post and the followings unread

I think the lm13700 can be used too as a voltage controlled resistor. Psy had linked me to some schematics in chat, but I don't have them now.
_________________
JacobWatters.com
Back to top
View user's profile Send private message
JovianPyx



Joined: Nov 20, 2007
Posts: 1988
Location: West Red Spot, Jupiter
Audio files: 224

PostPosted: Sat Aug 18, 2012 8:53 am    Post subject: Reply with quote  Mark this post and the followings unread

Cynosure wrote:
I think the lm13700 can be used too as a voltage controlled resistor. Psy had linked me to some schematics in chat, but I don't have them now.


If one is going to use an LM13700, then there are better filters than the Sallen-Key. The main advantage of Sallen-Key is that it can be made with one opamp. While that saves parts, it is a "crippled" filter. For example, there are rather low limits for the Q factor (3 if I remember) which is not very good for a musical filter in my opinion.

For multimode, one popular filter that can be built from 2 LM13700 amps (one IC) is the venerable State Variable. It can output simultaneously any or all of bandpass, lowpass, highpass and notch. The Q factor is not limited except to the point where it oscillates (but remains stable) and the SVF is very easily voltage tuned.

_________________
FPGA, dsPIC and Fatman Synth Stuff

Time flies like a banana.
Fruit flies when you're having fun.
BTW, Do these genes make my ass look fat?
corruptio optimi pessima
Back to top
View user's profile Send private message Visit poster's website
isak



Joined: Dec 13, 2009
Posts: 847
Location: Israel
Audio files: 18

PostPosted: Sat Aug 18, 2012 10:27 am    Post subject: Reply with quote  Mark this post and the followings unread

JingleJoe wrote:
A Dual gang pot is the solution, altering the ratio of those two resistors will change the type of the filter. (butterworth to bessel to chebyshev)


thank you for replying.
did you mean something like this, but linked?

Posted Image, might have been reduced in size. Click Image to view fullscreen.

if you can redraw it it would be great!

thank you very much,
cheers,
Isak E.

_________________
http://www.myspace.com/mgmtrance
Back to top
View user's profile Send private message
isak



Joined: Dec 13, 2009
Posts: 847
Location: Israel
Audio files: 18

PostPosted: Sat Aug 18, 2012 1:41 pm    Post subject: Reply with quote  Mark this post and the followings unread

JovianPyx wrote:
Cynosure wrote:
I think the lm13700 can be used too as a voltage controlled resistor. Psy had linked me to some schematics in chat, but I don't have them now.


If one is going to use an LM13700, then there are better filters than the Sallen-Key. The main advantage of Sallen-Key is that it can be made with one opamp. While that saves parts, it is a "crippled" filter. For example, there are rather low limits for the Q factor (3 if I remember) which is not very good for a musical filter in my opinion.

For multimode, one popular filter that can be built from 2 LM13700 amps (one IC) is the venerable State Variable. It can output simultaneously any or all of bandpass, lowpass, highpass and notch. The Q factor is not limited except to the point where it oscillates (but remains stable) and the SVF is very easily voltage tuned.

Actually in the link I gave as I understand it's a combination of the Sallen key and State Variable filter and with the style of Steiner VCF.
So I guess it's ok or am i wrong?

_________________
http://www.myspace.com/mgmtrance
Back to top
View user's profile Send private message
JovianPyx



Joined: Nov 20, 2007
Posts: 1988
Location: West Red Spot, Jupiter
Audio files: 224

PostPosted: Sat Aug 18, 2012 6:25 pm    Post subject: Reply with quote  Mark this post and the followings unread

Not really a combination of state variable and Sallen-Key, they are two different filter cores. It may use similar techniques (subtracting one signal from another) to get a desired response, but that's where the similarity ends.

Look at the example circuits in the data sheet for a LM13700. It has a state variable filter that is setup for only lowpass. That is the core of the state variable filter, all that needs to be added for multimode is an opamp package that does the subtracting to get highpass, bandpass and band reject. You can see a full multimode schematic for state variable filters by using google on "state variable filter" - the wikipedia article is quite good.

In the case of Sallen-Key, it's a completely different core. While they are both 2 pole filters, they are very different. The Sallen-Key can be built from one opamp, the State Variable cannot. As previously mentioned as a Sallen-Key disadvantage, the Q of a Sallen-Key filter can't be pushed higher than about 3 without causing problems. A state variable will allow Q to be set much much higher. A state variable filter has an Fc input that does not affect Q.

One of the main things Sallen-Key is used for is when the filter doesn't need much Q and has fixed Fc (yes you can make it varaible, but it's just not very good) and it's an inexpensive product. It is not a particularly good synthesizer filter because of it's limited Q and I believe that changing Fc also changes the Q.

_________________
FPGA, dsPIC and Fatman Synth Stuff

Time flies like a banana.
Fruit flies when you're having fun.
BTW, Do these genes make my ass look fat?
corruptio optimi pessima

Last edited by JovianPyx on Sun Aug 19, 2012 6:19 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
JingleJoe



Joined: Nov 10, 2011
Posts: 878
Location: Lancashire, England
Audio files: 14

PostPosted: Sun Aug 19, 2012 5:25 am    Post subject: Reply with quote  Mark this post and the followings unread

isak wrote:
JingleJoe wrote:
A Dual gang pot is the solution, altering the ratio of those two resistors will change the type of the filter. (butterworth to bessel to chebyshev)


thank you for replying.
did you mean something like this, but linked?

Almost, except there would be no CV input. You didn't say you wanted to keep a control voltage input Rolling Eyes
Just connect your potentiometer as a voltage divider and mix that signal into your vactrol's CV input. That will give you the standard cutoff control.


Thanks for the info about the LM13700 SVF, JovianPyx Smile

_________________
As a mad scientist I am ruled by the dictum of science: "I could be wrong about this but lets find out"


Green Dungeon Alchemist Laboratories
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: jksuperstar, Scott Stites, Uncle Krunkus
Page 1 of 1 [15 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use