I do not have an immediate need for a circuit that generates an output voltage proportional to the square of the potentiometer setting, but this circuit was interesting enough that I thought I would document it here. I found it while looking for a logarithmic potentiometer circuit.
Figure 1 shows the original article describing the circuit.
This circuit generates an output voltage given by , where k is the potentiometer setting as a percentage of full scale and VCC is the supply voltage.
To explain how this circuit works, let’s redraw the circuit using idealized components (Figure 2).
For , this circuit generates a voltage output of . Figure 3 shows my derivation.
There are lots of ways to build a current source that are well documented on the web, so I won’t go into detail here. I will attach a Maxim reference that I think is excellent.
AN3869
Empirical Results
Figure 4 shows a version of this circuit that I simulated using LT Spice (free simulator).
Figure 5 shows my empirical data. I did no resistor tuning. Just threw it together and it seemed to work well.
Pingback: Some Empirical Potentiometer Results | Math Encounters Blog