Designing an op-amp given the output formula

AI Thread Summary
The discussion revolves around designing an op-amp circuit to achieve the output function Vout = 5*V1 - 4*V2. Participants express uncertainty about selecting resistor values and the appropriate configuration for the op-amp. Suggestions include using a summing op-amp configuration and considering the possibility of using one or two op-amps for the design. One contributor proposes using two resistors, specifically 20k and 5k, to meet the desired output equation. The conversation highlights the importance of feedback and KCL in determining the correct resistor values and connections for the inputs.
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).
 
Back
Top