Potentiometer Math


Introduction

I have an application where a potentiometer may be useful. In fact, it would be useful if the potentiometer had a logarithmic resistance characteristic, which is also called an audio taper for reasons that I will cover later. I have never used a potentiometer with a logarithmic characteristic before and I thought it would be worth documenting what I learned during this effort.

Background

Logarithmic Misnomer

What is normally referred to as a logarithmic taper is really an exponential characteristic. A typical logarithmic taper potentiometer characteristic is shown in Figure 1 (Source).

Figure 1: Example of A Logarithmic/Audio Taper Potentiometer Resistance Characteristic

Figure 1: Example of A Logarithmic/Audio Taper Potentiometer Resistance Characteristic


Each vendor will have a different “series” label for the logarithmic potentiometers, which often have names like “series A” or “series W.” The series designation indicates a different set of resistance curves.

Potentiometer Specifications

Not all vendors include a graph of the resistance characteristics of their logarithmic potentiometers. Many of the vendors include a specification that says something similar to the following quote. (Source)

The “W” taper attains 20% resistance value at 50% of clockwise rotation (left-hand).

This specification means that the potentiometer has

  • 0% of it full scale resistance value with the wiper at 0% of its full scale position
  • 20% of it full scale resistance value with the wiper at 50% of its full scale position
  • 100% of the total resistance value at 100% of its full scale position.

This type of specification gives you sufficient information to create an exponential curve fit, which I illustrate in Figure 2.

Figure 2: Illustration of the Fitting of an Exponential Function to the Specified Points.

Figure 2: Illustration of the Fitting of an Exponential Function to the Specified Points.

The math associated with this curve fitting is shown in Figure 3.

Figure 3: Curve Fitting Math.

Figure 3: Curve Fitting Math.

Equation 1 illustrates the basic form of the logarithmic potentiometer’s resistance characteristic R(x), where x is the wiper position as a percentage of full scale.

Eq. 1 R(x)={{R}_{0}}\cdot \left( {{e}^{{{R}_{1}}\cdot x}}-1 \right)

where

  • R0 is a curve fitting parameter
  • R1 is a curve fitting parameter
  • x is the wiper position as a percentage of full scale range

Human Hearing

The logarithmic taper is commonly called an audio taper because it is often used audio applications for loudness control. Understanding why involves knowing a little bit about human hearing. Figure 4 (Source) illustrates a human’s perception of loudness relative to the Sound Pressure Level (SPL). Sound pressure level is proportional to an audio amplifier’s output power. However, the ear is sensitive to the log of the sound pressure level. This is why the “logarithmic” taper is useful.

Figure 4: Loudness Level Versus Sound Pressure Level (dB).

Figure 4: Loudness Level Versus Sound Pressure Level (dB).


When people are adjusting the loudness of their audio gear, they prefer that the loudness increase by an amount proportional to amount of dial or slide movement. If a linear potentiometer is used to control output power (and therefore loudness), you will need to use larger and larger amounts of wiper movement to get the same loudness change. To get the same amount of loudness change for a the same amount of wiper movement, the potentiometer resistance needs to increase exponentially.

Compensating for Hearing

Figure 5 shows what how the loudness is perceived by a person as the potentiometer’s wiper is moved. You can see that the perceived loudness increases approximately linearly for wiper positions above ~20%.

Figure 5: Potentiometer Resistance Model and Linearized Loudness Characteristic.

Figure 5: Potentiometer Resistance Model and Linearized Loudness Characteristic.

Conclusion

After all this research, I ended up not using the logarithmic potentiometer because it was not logarithmic. I ended up using another approach which I will discuss in a later post.

About these ads

About mathscinotes

I am an engineer who encounters interesting math and science problems almost every day. I am not talking about BIG math here. These are everyday problems where a little bit of math really goes a long way. I thought I would write some of them down and see if others also found them interesting.
This entry was posted in Electronics and tagged , . Bookmark the permalink.

4 Responses to Potentiometer Math

  1. Pingback: Another Circuit with a “Logarithmic” Characteristic | Math Encounters Blog

  2. Pingback: Another Circuit with a “Logarithmic” Characteristic | Math Encounters Blog

  3. Andrew Withers says:

    how do you work out that the tapper position is at 20% Vout at 50% position mathenatically

    • mathscinotes says:

      20% of full-scale resistance at 50% wiper full-scale travel is actually the manufacturer’s specification. In Figure 1, I referred to vOUT as defined in the manufacturer’s test circuit. The manufacturer applied a voltage to the non-wiper contacts on the pot and measured the percentage of that applied voltage at the wiper.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s