Muff's Modules & More Forum Index Muff's Modules & More
we weren't even testing for that
 
 FAQ & Terms Of UseFAQ & Terms Of Use   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Information
Hello! This is a message to everyone who emailed or PM'ed me asking for an exemption to the '100-post rule' for our Buy-Sell-Trade forum. You didn't get a reply from me because you aren't above the rules. The rules are the same for everyone. I understand your position and I'm sorry I can't help you, but I can't help you. Thanks for understanding! Please enjoy our lovely forum.


Open player

Search for at
Muff's Modules & More Advanced Search

Your voluntary donation helps support the community!
Modding a log pot to linear pot ?
 
 
Post new topic   Reply to topic    Muff's Modules & More Forum Index -> Music Tech DIY
View previous topic :: View next topic  
Author Modding a log pot to linear pot ?
marcn
Learning to Wiggle


Joined: 10 Mar 2012
Last Visit: 23 May 2013

Posts: 46
Location: Berlin

PostPosted: Fri Mar 30, 2012 9:27 am    Post subject: Modding a log pot to linear pot ? Reply with quote Add User to Ignore List

Well I did a classic mistake and ordered a bunch of 100k log pots stead of linear pots d'oh!

After a bit of research I just put a 100k between lugs 1-3 so I got it down to 50k (which is still fine for my project) and the log curve is also a tad more linear now but well, not exactly perfect.
Was just wondering if anyone has done a similar thing and how it worked out in their project or if there's a better procedure to do this ?
(searched the almighty net and nothing found about log to linear)


ps. since I'm new around here gotta say great stuff in the diy section, much respect to what you people build and the fact that it's shared for everyone to see.
Back to top
View user's profile Send private message
sduck
WTF?


Joined: 18 Feb 2009
Last Visit: 22 May 2013

Posts: 4456
Location: Vortepexaion, TN, USA

PostPosted: Fri Mar 30, 2012 9:29 am    Post subject: Reply with quote Add User to Ignore List

I think you can mod linear to log, but not vice versa (edit - see Daverj's post - it seems you CAN get pretty close!). I also have a ton of unloved log pots here...
_________________
What they do is this: They leak current in proportion to the frequency of the signal. The ramifications of this can only be truly appreciated when solving nodal current balances in the Laplace domain, unfortunately.

flickr cloud of sound touyube


Last edited by sduck on Sat Mar 31, 2012 10:45 am; edited 1 time in total
Back to top
View user's profile Send private message
CLee
Veteran Wiggler


Joined: 05 Apr 2010
Last Visit: 23 May 2013

Posts: 700
Location: Chicago

PostPosted: Fri Mar 30, 2012 10:33 am    Post subject: Reply with quote Add User to Ignore List

I think you can bend a linear pot to a somewhat exponential response, so if you did that to a log pot you should get close to something linear.

Google "the secret life of pots". You'll find a whole section on bending response curves.

We all have some pile of unloved pots don't we... Mine are the 1K that were supposed to be 100K

_________________
www.clsound.com
Back to top
View user's profile Send private message
keninverse
Wiggling with Experience


Joined: 26 Jul 2010
Last Visit: 23 May 2013

Posts: 387
Location: mission control htx

PostPosted: Fri Mar 30, 2012 1:48 pm    Post subject: Reply with quote Add User to Ignore List

CLee wrote:

Google "the secret life of pots". You'll find a whole section on bending response curves.

I was just going to suggest this. R.G.'s article is pretty comprehensive. He even show how to tear apart a pot and sand down the element to adjust taper.
Back to top
View user's profile Send private message
daverj
Vintage Video Wiggler


Joined: 19 Jun 2009
Last Visit: 23 May 2013

Posts: 4813

PostPosted: Fri Mar 30, 2012 2:53 pm    Post subject: Reply with quote Add User to Ignore List

I just did a quick spreadsheet calculation.



The red line is a linear pot. The blue line is an audio taper (log) pot.

The yellow line is what you get with a 100k linear pot that has a 10K resistor from the center wiper to ground (counterclockwise pin).

The green line is what you get with a 100K audio taper pot with a 12K from the center wiper to the top pin (clockwise pin).

This is a crude calculation, but certainly worth trying with the real parts. Not a perfect conversion to linear, but a lot closer than using the audio taper pot in a place that calls for a linear one.

If you use this as a voltage source (outer pins to power rails and/or ground) the extra resistor just draws a little extra power. But if you try to use it as an attenuator the input is going to see a load that varies from about 10.7K to 100K (in parallel with whatever load the pot wiper is connected to). So not so ideal as a linear attenuator, but not too bad as a linear voltage source.

_________________
Dave Jones Design | http://www.jonesvideo.com
Back to top
View user's profile Send private message
marcn
Learning to Wiggle


Joined: 10 Mar 2012
Last Visit: 23 May 2013

Posts: 46
Location: Berlin

PostPosted: Fri Mar 30, 2012 3:37 pm    Post subject: Reply with quote Add User to Ignore List

Thanks for your replies guys.

To Lee and Ken, excellent site, I've been over it earlier but read rather quickly as it explains quite a lot about pots but as far as I've seen it doesn't mention changing log to linear (might have missed it though).

To Dave, yes, that's what I've sortta been trying, found another thread around where there were tons of more spreadsheet calculations and that got me thinking I might get it somehow close to linear.
Now I'm not really good at the mathematical part of this so I didn't figure out what values get you to where but I've tried a few things and it seems the closest to linear works with the 100k between the 2 outer lugs (1 and 3).

I think another addition is that i use Alpha pots and I guess it's the 'cheaper' log version with the 'fake' log curve, so the more you bring down the total resistance as with the 12k, the more pronounced the 'rectified' curve is going to be, at least that's what my DMM shows comparing the 100k with the 12k version.

Anyways, I'll try a few more things and will report how it worked out in the build if I consider it relevant for others who want to get rid of their unused log pot stash. Rasta-nana
Back to top
View user's profile Send private message
pugix
Super Deluxe Wiggler


Joined: 31 Oct 2009
Last Visit: 23 May 2013

Posts: 1765
Location: Charlottesville, Virginia

PostPosted: Fri Mar 30, 2012 5:42 pm    Post subject: Reply with quote Add User to Ignore List

Why not sell them and buy linear pots?
_________________
Richard
http://www.pugix.com

"Everything in our world is actually always modulated by everything else." - Peter B
Back to top
View user's profile Send private message Send e-mail
daverj
Vintage Video Wiggler


Joined: 19 Jun 2009
Last Visit: 23 May 2013

Posts: 4813

PostPosted: Fri Mar 30, 2012 7:00 pm    Post subject: Reply with quote Add User to Ignore List

Here's how the 12k would be connected to do the green line in my chart above:



The "clockwise" end is the pin that the center wiper connects to when you turn the pot shaft clockwise.

And you can't measure the linearity of this type method with just an ohm meter. You need to feed a voltage into the first one or a signal into the second one and see how the voltage changes or the amplitude changes.

_________________
Dave Jones Design | http://www.jonesvideo.com
Back to top
View user's profile Send private message
daverj
Vintage Video Wiggler


Joined: 19 Jun 2009
Last Visit: 23 May 2013

Posts: 4813

PostPosted: Fri Mar 30, 2012 7:08 pm    Post subject: Reply with quote Add User to Ignore List

marcn wrote:
I've tried a few things and it seems the closest to linear works with the 100k between the 2 outer lugs (1 and 3).


How are you testing the linearity? If you are doing it with an ohm meter you are getting a false idea of the results. Placing a resistor on the outer leads of a pot won't change the linearity at all if you use the pot as a voltage source (power or ground to the outer pins) or as an attenuator for a signal from a low impedance source, such as a module or op amp output.

_________________
Dave Jones Design | http://www.jonesvideo.com
Back to top
View user's profile Send private message
marcn
Learning to Wiggle


Joined: 10 Mar 2012
Last Visit: 23 May 2013

Posts: 46
Location: Berlin

PostPosted: Sat Mar 31, 2012 5:07 am    Post subject: Reply with quote Add User to Ignore List

Thanks Dave, didn't know there was a difference to the curve when reading ohms or testing with voltage.
I'll give that a try.
Back to top
View user's profile Send private message
daverj
Vintage Video Wiggler


Joined: 19 Jun 2009
Last Visit: 23 May 2013

Posts: 4813

PostPosted: Sat Mar 31, 2012 11:27 am    Post subject: Reply with quote Add User to Ignore List

When reading with ohms you're only reading between two terminals. But all 3 terminals are involved when adjusting a voltage or signal level. If you are trying to make a variable resistor rather than a variable voltage source or attenuator, then you could measure it with an ohm meter.
_________________
Dave Jones Design | http://www.jonesvideo.com
Back to top
View user's profile Send private message
JJ
Veteran Wiggler


Joined: 08 May 2010
Last Visit: 21 May 2013

Posts: 610
Location: Turku, Finland, EU

PostPosted: Mon Apr 02, 2012 2:16 pm    Post subject: Reply with quote Add User to Ignore List

Umm...

How does one calculate this? seriously, i just don't get it

I have a 1MΩ lin pot that I would prefer turning into a log...

(Buchlidian Voltage Control Processor Glide function comes in a bit too steep with a lin pot, only thing I had in stock (9mm pot) )

Do I just multiply with 10 and go with a 100k resistor?

_________________
Konekonekone
Back to top
View user's profile Send private message
daverj
Vintage Video Wiggler


Joined: 19 Jun 2009
Last Visit: 23 May 2013

Posts: 4813

PostPosted: Mon Apr 02, 2012 5:09 pm    Post subject: Reply with quote Add User to Ignore List

For turning linear into log, turn on Java in your browser and head over to:

http://www.mindspring.com/~clist/PotGraph.html

_________________
Dave Jones Design | http://www.jonesvideo.com
Back to top
View user's profile Send private message
JJ
Veteran Wiggler


Joined: 08 May 2010
Last Visit: 21 May 2013

Posts: 610
Location: Turku, Finland, EU

PostPosted: Mon Apr 02, 2012 5:16 pm    Post subject: Reply with quote Add User to Ignore List

daverj wrote:
For turning linear into log, turn on Java in your browser and head over to:

http://www.mindspring.com/~clist/PotGraph.html


Thank you! thumbs up

_________________
Konekonekone
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Muff's Modules & More Forum Index -> Music Tech DIY All times are GMT - 5 Hours
 
Page 1 of 1

 
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 cannot download files in this forum



Mark all forums read
Powered by phpBB © 2001, 2005 phpBB Group