Designing an Op-Amp with Variable Gain: Need Advice

Click For Summary
The discussion focuses on designing an op-amp circuit with a variable 50k ohm resistor to achieve gains of 13 and 3. The initial approach led to conflicting resistor values for the gain equations, prompting the need for additional variables. A successful solution involved introducing a second resistor, allowing for two equations with two unknowns, resulting in R1 at 10k ohms and Rf at 120k ohms. An alternative design suggestion included placing the variable resistor in the feedback loop to simplify gain adjustments. The conversation highlights the flexibility in circuit design while emphasizing the importance of correctly solving for multiple variables.
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:

(1 + \frac{R_f}{60k-ohms}) = 13

next extreme:

(1 + \frac{R_f}{110k-ohms}) = 3

combine the two equations:

11 + \frac{R_f}{110k-ohms} = 1 + \frac{R_f}{60k-ohms}

10 = R_f (\frac{1}{60k-ohms} - \frac{1}{110k-ohms})

R_f = 1.32M-ohms

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
Two equations in one variable? Why should they have the same solution? As expected, if you solve them individually, you find they do not.

How would you fix this?
 
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?
 
Yes, that would be one way to fix it. To solve a problem with n independent boundary values, you need n independent parameters.
 
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: 433
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.
 
  • #10
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
 

Similar threads

Replies
15
Views
2K
Replies
34
Views
4K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 21 ·
Replies
21
Views
3K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K