PDA

View Full Version : Determining the function of logarithmic potentiometer

abcd1234!@#\$
02-20-2013, 09:44 PM
I am using a logarithmic rotary potentiometer. The voltage output should be related to the rotation of the shaft as a logarithmic function. So the relation should be of the kind y= log_b(x). But the potentiometer I bought was very cheap and in wikipedia I found the following article.

"Most (cheaper) "log" potentiometers are not accurately logarithmic, but use two regions of different resistance (but constant resistivity) to approximate a logarithmic law. The two resistive tracks overlap at approximately 50% of the potentiometer rotation, this gives a stepwise logarithmic taper. A logarithmic potentiometer can also be simulated (not very accurately) with a linear one and an external resistor. True logarithmic potentiometers are significantly more expensive."

If this is true then the function should be more complicated. Can anyone please tell me how can I determine this function accurately?

P.S:- I also bought a 1k linear potentiometer but its shaft was too small for any knob to fit in. So interfacing it with the device I am making will be much more expensive and tough. The shaft of the logarithmic potentiometer was the perfect size for my device. Also note that the maximum rotation required of the potentiometer is 180 degrees.