Designing an op-amp given the output formula

Click For Summary

Discussion Overview

The discussion revolves around designing an operational amplifier (op-amp) circuit to achieve a specific output function, Vout = 5*V1 - 4*V2. The focus is on the theoretical and practical aspects of circuit design, including resistor selection and op-amp configurations.

Discussion Character

  • Homework-related
  • Technical explanation
  • Exploratory

Main Points Raised

  • Some participants express uncertainty about how to approach the design of the op-amp circuit and the selection of resistor values.
  • One participant suggests the use of a summing op-amp configuration and questions whether the subtraction can be accomplished with one or two op-amps.
  • Another participant proposes using one op-amp with feedback to the negative input and applies Kirchhoff's Current Law (KCL) to derive the necessary equations for resistor values.
  • A participant mentions using two resistors, specifically values of 20k and 5k, to achieve the desired output function.
  • Another participant challenges the feasibility of achieving the design with only two resistors and prompts for clarification on the connections of the inputs V1 and V2.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the optimal configuration or the number of resistors required for the design. Multiple approaches and configurations are discussed, indicating ongoing exploration and uncertainty.

Contextual Notes

There are unresolved questions regarding the specific connections of inputs and the implications of using different numbers of resistors in the circuit design.

rasen58
Messages
71
Reaction score
2

Homework Statement


Design an op-amp based circuit to produce the function
Vout = 5*V1 - 4*V2


Homework Equations





The Attempt at a Solution


I have no idea how to approach this. I know there are two voltages on the two inputs, and that the feedback resistors should be going to the negative input, but how do I pick the values for the resistors?
 
Physics news on Phys.org
rasen58 said:

Homework Statement


Design an op-amp based circuit to produce the function
Vout = 5*V1 - 4*V2


Homework Equations





The Attempt at a Solution


I have no idea how to approach this. I know there are two voltages on the two inputs, and that the feedback resistors should be going to the negative input, but how do I pick the values for the resistors?

What opamp configurations are you familiar with? Have you worked with the summing opamp configuration? Can you think of a way to do this subtraction all with one opamp? How about with two opamps?
 
I think I got it. I can use one op amp and there is a voltage source on each input. So using feedback to the negative side, I can use KCL on the node there and once rearranging that equation, I tried values for the two resistors to make them equal the equation.
 
rasen58 said:
I think I got it. I can use one op amp and there is a voltage source on each input. So using feedback to the negative side, I can use KCL on the node there and once rearranging that equation, I tried values for the two resistors to make them equal the equation.

How many resistors in total you plan to use?
 
I used 2: one was 20k and the other was 5k
 
If you can do that with only 2 resistors you are a genius!
So where are your two inputs V1 and V2 connected?
(Hint: try 4).
 

Similar threads

Replies
15
Views
3K
Replies
34
Views
4K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 21 ·
Replies
21
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 44 ·
2
Replies
44
Views
5K