# Homework Help: Op-amp circuit analysis

Tags:
1. Mar 9, 2015

### ichabodgrant

• Member warned to use homework template
In the following circuit, compute the values of R1 and R3 in terms of R2 and R4, such that vo is always equal to v1 - 5v2.

I have marked 3 nodes, A, B and C. v+ = v- as assumption for the op-amp.
Consider node A.
v- = v+ = v1 × (R2 / (R1+R2))

Consider node B and C.

(v- - v2) / R3 = (vo - v-) / R4

I now stick at here...
I can write R1 in terms of R2, but there exist v- and v1.
And for R3, the same problem exists.

First, is there anything wrong in my above computations?
Second, can I express R1 and R3 in terms of R2 and R4 without using other unknowns?

File size:
7.4 KB
Views:
152
File size:
7.8 KB
Views:
135
2. Mar 9, 2015

### LvW

The two given expressions (formulas) are correct. However, I would use another approach.
Do you know the gain formulas for (a) non-inverting and (b) inverting opamp circuits?
Your circuit is a combination of both and the most simple solution uses the above mentioned formulas. This is allowed because of the superposition theorem.
That means: The output voltage is Vo = V1- 5V2 = V1*k*gain1 - V2*gain2.
It shouldn`t be a problem to solve the system (starting with gain2).

3. Mar 9, 2015

### psparky

That's good stuff and all, but how do you get R1 and R3 in terms of R2 and R4?

This is a tough one!

4. Mar 9, 2015

### LvW

"...compute the values of R1 and R3 in terms of R2 and R4,"

I think the task is not well formulated. For all opamp amplifiers it is only the ratio of resistors that matters.
Therefore, we have - in theory - an infinite number of resistor values which all fulfill the required ratios.
The answer can only be R2/R1=C*R4/R3 and we can select - as one possible solution - R1=R3 and R2=C*R4.

5. Mar 9, 2015

### donpacino

You have 2 equations. both equations have extra variables (V+ and V-). so plug one equation into the other getting rid of V+ and V-. Then solve for Vo.

The equation will then look like this

Vo=XV1-YV2

you know X=1 and Y=5

so solve for the two equations and you will get the relationship between all the resistors in the form of two equations. take it one step further and solve in the form of

R1=Z and R3=T

6. Mar 9, 2015

### donpacino

1. In general the goal of the exercise is to find that C value
2. I don't want to just give the answer to the OP, but I do want to point for his/her sake that your solution is incorrect.

7. Mar 10, 2015

### ichabodgrant

I solve it...
I had never thought of using comparing coefficients... turns out to be not too difficult...Thanks everyone

8. Mar 10, 2015

### LvW

Can you tell us your solution?

9. Mar 10, 2015

### ichabodgrant

R1 = 5R2
R3 = (1/5)R4

there might be some calculation mistakes...

10. Mar 10, 2015

### LvW

Yes - is correct. And - as I have expected - no other results than a RATIO only (with infinite alternatives for resistor values9.