Designing an op-amp given the output formula

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 2K views
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