How to control multiple POTs with one Master POT??

Status
Not open for further replies.

ibnul7

Newbie level 6
Joined
Aug 23, 2013
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
95
Hey guys, I was just wondering how I would go about controlling 3 potentiometers around a circuit with a single (master) potentiometer. I am making a sine wave generator and I need a way to change 3 different pots, but with the same value (ie. 10k, 10k, 10k). I was thinking of using MOSFETs or BJTs as variable resistors by controlling their gates somehow, but how do i do it?

Thanks

Here is the cct



- - - Updated - - -

Also, i would like the resistor values to be from 6ohms to 10k.
 

You can use a JFET as a variable resistor for signals less than about 1/2 a Volt. The trouble is that their parameters are so loosely defined that you'd end up spending all day measuring individual devices and trying to find three that match.

Another approach would be to use LDRs (light dependent resistors). They're not very well matched either, but you could get reasonable tracking by adding trimpots to adjust the low and high resistance of each LDR. Yech.

Plan C is to use digital potentiometer chips. No problem with that except that the resistance isn't continuously variable, it increments in discrete steps.

Or you could just use a 3-gang potentiometer. You can't buy those, but you can buy seperate wafers, shafts etc and make your own.

----------------------------------------------

However all of those solutions involve too much hassle, expense and complication for my liking, which suggests that any circuit requiring three pots is a bad idea.

Another slight problem with your circuit is that the three variable resistors have to be well matched. If they're not, then the gain of the circuit changes. Presumably you were going to make Rf or Rg adjustable so you can set the gain to a value that gives stable oscillation with minimum distortion. However you don't want to have to re-adjust the gain every time you change frequency because the three pots don't track well.

----------------------------------------------

I suggest using a circuit like the one below instead. It only needs two potentiometers (VR2 and VR3) to set the frequency so you can use a normal stereo potentiometer.

As an added bonus, the outputs of the four opamps are in quadrature, with equal amplitude, which may come in handy.

Because it's based on all-pass phase shift filters, any mismatch in the capacitor or potentiometer values just causes a change in the relative phase of the outputs, rather than affecting the gain.

VR1 is a trimmer to adjust the gain. In the pic below, some of the waveforms are clipped because I set the gain too high in the simulation. It could be a lot better but if you want the lowest possible distortion VR1 should be replaced with some sort of AGC control.

Also, i would like the resistor values to be from 6ohms to 10k.
That's a bit of a tall order. The normal approach is to use the potentiometers to adjust the frequency over a range of about 10 to 1, and use a switch to select different pairs of capacitors for different decade ranges.

 

Thanks. I got nowhere searching on the RS, Digikey and Mouser websites.
 

You can easily buy something like that
Should be better phrased as "are made on custom order from specialized manufacturers. With some luck you might find a surplus part that fits your requirements."

As previously reported, there are trim potentiometers available that can be stacked on a shaft. https://www.edaboard.com/threads/288599/
The 6 ohms to 10 k range mentioned in the original post requests however for a log curve which is less easily available as more than dual gang.

As a generally remark, it seems reasonable to design electronic circuits considering the availability of critical components instead of realizing lately that a design isn't feasible. In so far, we won't design a variable frequency oscillator requiring a 3-gang pot if circuits based on dual gang exist.
 

The 6 ohms to 10 k range mentioned in the original post requests however for a log curve which is less easily available as more than dual gang.
Ideally you want an anti-log* law pot so the frequency increases when you turn the knob clockwise. Even more of a PITA to find.

* or reverse-log, or whatever they're called
 
Last edited:

Should be better phrased as "are made on custom order from specialized manufacturers. With some luck you might find a surplus part that fits your requirements."

eBay is plenty of these n-gang potentiomenters, 15-20 years ago was widely used without problems, i don't see all this weirdness on find the simple solution for a problem like that.

Don't use a Gatling for kill one ant
 

Thanks for everyone's support I think i will go with the adaptation to the quadrature oscillator (actually called bubba oscillator) suggested by godfreyl. I don't think i wanna ditch out more than $5 for a gang pot

Here is a wide variety of oscillators with feedback and stability explained by TI
https://www.ti.com/sc/docs/apps/msp/journal/aug2000/aug_07.pdf

- - - Updated - - -

Actually nvm godfreyl. I had originally replied that your suggested circuit was a bubba oscillator, but your one only has 2 poles that shift it by 90deg each :/ that may be a problem for frequency drift
 

Also, i would like the resistor values to be from 6ohms to 10k.

Only 6 ohms and 10nF will probably be too much of a capacitive load for the op amps. 6 ohms is not enough to prevent loss of phase margin in the amplifier. The whole thing may oscillate at a higher frequency than intended at low settings of the pot(s).
 
Last edited:

Actually nvm godfreyl. I had originally replied that your suggested circuit was a bubba oscillator, but your one only has 2 poles that shift it by 90deg each :/ that may be a problem for frequency drift
Yes, it's definately not a Bubba oscillator. Unfortunately I have no idea what it's called, if it even has a name.

Interesting point about frequency stability. TBH, I hadn't actually thought about that before. I notice that Texas document you linked has this to say:
Out of curiousity I simmed a few different oscillators to compare their loop gain and phase shift vs frequency. Interestingly, the phase shift vs frequency of the one I posted is identical to that of the Bubba oscillator. (the green curve is completely covered by the blue curve)



- - - Updated - - -

the classical dual integrator topology is another oscillator that can be well tuned with two variable resistors.
That reminds me - there's an interesting variation of it in the book "A practical introduction to electronic circuits" by Martin Hartley Jones. The author claims low distortion (<0.1%), and explains the non-obvious bits as follows:



Disclaimer: My copy of the book is over 30 years old. I've no idea what's in the newer editions.
 

Thanks once again for the replies. BTW what program do you use to simulate these circuits? I've tried using LTSpice to simulate these circuits, but I can't get a descent oscillation to start.
 

I use the free version of SIMetrix-SIMPLIS, but I have tried LTSpice as well.

To get the oscillation started in a simulator, you need to specify an initial condition somewhere, or inject a small pulse.

In real life, circuit noise is enough to get it started, (or the jolt from switching the power supply on)

- - - Updated - - -

Aha, I've still got LTSpice installed. From the help file:

 

Your post #1 schematic is the phase shift oscillator with 3 capacitors. This variation has op amps after each RC cell, to improve stability.

It is a tricky circuit to get going. Gain needs to be adjusted at just the right amount, so that oscillations sustain, yet not get out of hand.

The potentiometer settings do not have to be equal. The RC time constants do not have to be equal. Oscillations will occur at the frequency which results in a phase shift of 180 degrees.

To fine tune the frequency, you only need to adjust one resistor value (one pot adjust). Gain may be affected to some extent.

BTW what program do you use to simulate these circuits?

I used Falstad's animated interactive simulator:



If you click the link below, it will open the www.falstad.com/circuit website, load my schematic into his Java program,and run it on your computer.

https://tinyurl.com/oltek7y
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…