Designing an Op-Amp with Variable Gain: Need Advice

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
9 replies · 3K views
Number2Pencil
Messages
204
Reaction score
1

Homework Statement


Design an op-amp that uses a variable 50k ohm resistor. when this variable resistor is at one extreme, the gain is 13, and at the other extreme, the gain is 3. you may use up to 2 op-amps, and up to 7 resistors (including the variable resistor)

The Attempt at a Solution



here is the circuit i came up with:

OPAMPdesign.jpg


I made it so all I would have to find is Rf to satisfy the design.

here is how I solved for Rf

first extreme:

[tex](1 + \frac{R_f}{60k-ohms}) = 13[/tex]

next extreme:

[tex](1 + \frac{R_f}{110k-ohms}) = 3[/tex]

combine the two equations:

[tex]11 + \frac{R_f}{110k-ohms} = 1 + \frac{R_f}{60k-ohms}[/tex]

[tex]10 = R_f (\frac{1}{60k-ohms} - \frac{1}{110k-ohms})[/tex]

[tex]R_f = 1.32M-ohms[/tex]

this answer gives a gain of 13 on one extreme of the variable resistor and 23 on the other. whoops. any help?
 
Last edited:
Physics news on Phys.org
you're right, I get a different resistor values for each equation, yet it needs to be the same value.

Mathematically, I should have one equation for each variable. There's only one but I forget how to solve an equation that has an answer of 3 OR 13...

either i need more variables or i need less equations

yeah i need another pointer
 
Last edited:
What I make the 60kohm resistor R1 (or another unknown)...

that way I could have two equations with two unknowns. Is this the correct way to approach this problem?
 
Good, cause it worked. I got R1 = 10k ohm and Rf = 120k ohm which give me the correct gain(s). Thank you so much I appreciate all the help this forum gives me.

But out of curiousity, you said that's "one" way to solve it. got another trick up your sleeve?
 
Last edited:
Number2Pencil said:
But out of curiousity, you said that's "one" way to solve it. got another trick up your sleeve?

There are a huge number of ways you could design the circuit within the constraints you are given. For example this is a completely different idea which doesn't need any algebra to figure it out.

(Except its deliberately wrong because it has gains of -3 to -13, so its not a complete solution to your question!)
 

Attachments

  • amp.jpg
    amp.jpg
    7.7 KB · Views: 464
Last edited:
AlephZero said:
(Except its deliberately wrong because it has gains of -3 to -13, so its not a complete solution to your question!)

Getting kind of sneaky there, are we? :biggrin:
 
Number2Pencil said:
But out of curiousity, you said that's "one" way to solve it. got another trick up your sleeve?
I would have put the trimpot on the feedback loop, instead of as an input resistor.
 
yeah, i realized it today that by putting the trimmer on the feedback, i'd get the low, 3 gain when it's shorted and 13 when it's the full 50k, which would just make it less confusing to use