Simple(?) potmeter + opamp puzzle

Aug 26, 2011 34 Replies

Simplified representation....

formatting link

Embellish to your heart's content ;-) ...Jim Thompson

[On the Road, in New York]
| James E.Thompson, CTO | mens | | Analog Innovations, Inc. | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | Phoenix, Arizona 85048 Skype: Contacts Only | | | Voice:(480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at http://www.analog-innovations.com | 1962 | I love to cook with wine. Sometimes I even put it in the food.

formatting link

Well, this is a very neat solution, and it works like a charm! Thanks!

Richard Rasker

http://www.linetec.nl

You are quite welcome. I like "puzzles" ;-)

But watch the currents. You'll probably want to "pad" the emitter end of the pot to prevent excessive currents. ...Jim Thompson

[On the Road, in New York]
| James E.Thompson, CTO | mens | | Analog Innovations, Inc. | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | Phoenix, Arizona 85048 Skype: Contacts Only | | | Voice:(480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at http://www.analog-innovations.com | 1962 | I love to cook with wine. Sometimes I even put it in the food.

Summing junction.

Sure. You are asking for a wide-range variable gain, after all. This one has an exponential gain characteristic, though, i.e. the gain in dB per degree of shaft rotation is constant, which is what I thought you were after.

Cheers

Phil Hobbs

Dr Philip C D Hobbs Principal Consultant ElectroOptical Innovations LLC Optics, Electro-optics, Photonics, Analog Electronics 160 North State Road #203 Briarcliff Manor NY 10510 845-480-2058 hobbs at electrooptical dot net http://electrooptical.net

ith a

with a

n.

ity

a bit

imple

10K

al fed

: for

nd

ays

nt of

the

e. Can

lose

ck

=A0|

=A0 =A0 =A0|

=A0 =A0 |

=A0>----'

=3D=3D=3D

=3D +1/10

Exactly

... better to change the value of the fixed Rs.

NT

10K
n
I

of

h

ns

With the right op-amp you can get the output with a single supply to be

y=3Dmx+c

where y is the output voltage, x the input voltage andm and c can be pos or neg constants.

formatting link

Hardy

For "non-inverting", m=>1, failing the OP's stated requirements. ...Jim Thompson

[On the Road, in New York]
| James E.Thompson, CTO | mens | | Analog Innovations, Inc. | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | Phoenix, Arizona 85048 Skype: Contacts Only | | | Voice:(480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at http://www.analog-innovations.com | 1962 | I love to cook with wine. Sometimes I even put it in the food.

formatting link

WHOO! That's brilliant! It seems a little sad that it's just used to avoid using a negative supply, though. Gain (assuming some range-limiting fixed resistors are added) is of the form Av = (1-X)/X where the 'dB' knob solution would be Av = a + exp(b*X) where X is the fractional setting of the pot (in the [0, 1] range).

Both forms can hit the three gain targets at equispaced settings on the knob.

Probably THAT2181 as an exponential-gain element and something QUITE other than a digital potentiometer would suit as an inelegant but flexible solution. I kinda .. hate... digital potentiometers.

Back from holidays, so I hope it's not too late...

Like that one?

|\ -----------|+\ | >----------+-------- .---|-/ | | |/ | | | | R1 /| | | ___ /+|-' +----|___|-+-< | | | \-|--+---. .-. | \| | .-. | | | ___ | | | R2| | '-|___|-' | |R2 '-' R1 '-' | ___ | '--------|___|---------' A | GND

I've not worked out the resistors values but you should be able to do that :-)

And mind the stability issues too.

Thanks, Fred.

10K
n
I

of

h

ns

Dunno if someone already suggested this almost trivial circuit or not- gain is linear adjust with pot rotation- closed loop operation throughout- wide range- and noninverting single supply operation all the way:

Please view in a fixed-width font such as Courier.

. . . . |\ . Vi >------|+\ . | >---. . ---|-/ | . | |/ | . | _ | . | /| | . +----[Rv]--' . | / . | Vi . |- -- x Rv + . + | Rs . | . Vi [Rs] . | . - | . --- . . . . Vi produces linear wide range voltage across Rv . . Ground reference this voltage with diff amp: . . . . . . Vi . Vi >-----+----------[R]--+-----[R]--+--> -- x Rv . | | | Rs . | |\ | | . '---|+\ | |\ | . | >-. '--|-\ | . ---|-/ | | >----' . | |/ | .--|+/ . | _ | | |/ . | /| | | . +--[Rv]--+-[R]--+ . | / | . | | . [Rs] [R] . | | . | | . --- --- . . . .

ith a

with

ion.

ity

a bit

imple

10K

al

back:

n,

ise

the

e.

one

lose

es

s

ween

range

ound

I

:-)

xt -

DEFINITELY!

a 10K

ain

y, I

e

t of

ugh

e

ains

an

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Vi

x Rv

=A0 | =A0 =A0 =A0 =A0 =A0| =A0 =A0 Rs

| =A0 =A0 =A0 =A0 =A0|

=A0|\ =A0 =A0 =A0|

'--|-\ =A0 =A0 |

| =A0>----'

-|+/

| =A0|/

=A0|

=A0 |

=A0 |

=A0 |

If you want exponential adjust then interchange Rs and Rv...

    Vi
  Rs

Ah, stuffing a unity-and-higher gain signal in a differential amp with the input also at the negative input -- another interesting solution that's actually so simple it's strange that no-one ( including me) came up with it before. This is definitely one for the records! Thanks!

Richard Rasker

http://www.linetec.nl

... And we have another prize winner! Sheesh, so there's me, shoving potmeters around in all the worn-out familiar patterns in opamp circuits, but never a moment thinking outside the box (or into double loops, like this one ;-) -- but here people have come up with several very nice and (at least to me) novel solutions within mere days. I really love this group :-) Thanks!

Indeed that could get a bit dicey here. I'm sure to try and build it in the worst possible configuration (breadboard without ground plane) before committing it to PCB. Then again, small negative feedback caps solve most of these problems (except in the case of Jim Thompson's current mirror solution, which behaves a bit, um, "differently" in this respect).

Cheers,

Richard Rasker

http://www.linetec.nl

See! I told you that Bloggs was smarter than Larkin ;-) ...Jim Thompson

[On the Road, in New York] | James E.Thompson, CTO | mens | | Analog Innovations, Inc. | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | Phoenix, Arizona 85048 Skype: Contacts Only | | | Voice:(480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at http://www.analog-innovations.com | 1962 | I love to cook with wine. Sometimes I even put it in the food.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required