Designing an Op-Amp with Variable Gain: Need Advice

Click For Summary

Discussion Overview

The discussion revolves around designing an operational amplifier (op-amp) circuit with a variable gain controlled by a 50k ohm resistor. Participants explore the mathematical relationships governing the gain at two extremes and propose various approaches to meet the design requirements using up to two op-amps and seven resistors.

Discussion Character

  • Homework-related
  • Mathematical reasoning
  • Technical explanation
  • Exploratory

Main Points Raised

  • One participant presents an initial circuit design and attempts to derive the feedback resistor value (Rf) to achieve the specified gains of 13 and 3.
  • Another participant questions the validity of having two equations in one variable, suggesting that they should not have the same solution.
  • A participant acknowledges the need for more variables to solve the equations correctly, indicating a misunderstanding of the problem's requirements.
  • One suggestion involves introducing an additional resistor (R1) to create two equations with two unknowns, which is seen as a potential solution.
  • A later reply confirms that this approach worked, providing specific resistor values that yield the correct gains.
  • Another participant mentions that there are numerous ways to design the circuit within the given constraints, hinting at alternative methods without providing a complete solution.
  • One participant humorously acknowledges a deliberately incorrect design that produces negative gains, indicating a playful exploration of circuit design possibilities.
  • Another participant suggests placing the variable resistor (trimpot) in the feedback loop instead of as an input resistor, which could simplify the design and clarify gain adjustments.

Areas of Agreement / Disagreement

Participants express differing views on the approach to solving the problem, with some agreeing on the need for additional variables while others explore alternative circuit configurations. The discussion remains unresolved regarding the best method to achieve the desired gain characteristics.

Contextual Notes

Participants highlight limitations in their initial approaches, including the need for independent parameters to satisfy multiple gain conditions. The discussion reflects varying levels of understanding regarding circuit design and mathematical relationships.

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
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: 448
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
3K
Replies
34
Views
4K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 21 ·
Replies
21
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
6K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K