5
\$\begingroup\$

I am learning about op amps right now and have gone through all the problems in my book. I understand them fairly well at this point but there is one that I just don't understand.

What is throwing me off is the 20k resistor. What do I do with it? I understnad that the first one is a inverting op amp and that the output from it would be the ratio of the impedance from the cap to the resistor. I also see that the second one is a non inverting and that voltage out of there would be the first output times k. k = 1+r1/r2

But how do I handle the 20k? I am just totally lost with it. I don't even know where to start.

enter image description here

\$\endgroup\$
8
  • \$\begingroup\$ This site has a built in circuit editor \$\endgroup\$
    – PlasmaHH
    Commented Nov 1, 2015 at 21:49
  • 3
    \$\begingroup\$ Is my circuit hard to read? \$\endgroup\$
    – user125621
    Commented Nov 1, 2015 at 21:50
  • 1
    \$\begingroup\$ Imagine this circuit without right opamp and the two 5k resistors. Left opamp's output is now connected to Vo. Can you solve it now ? Then what does right opamp + two 5 k do ? \$\endgroup\$ Commented Nov 1, 2015 at 21:55
  • \$\begingroup\$ Can you handle it if there was one op-amp with a 20k across the capacitor? If so, how? I.e. show how you would do it. \$\endgroup\$
    – Andy aka
    Commented Nov 1, 2015 at 21:55
  • \$\begingroup\$ @FakeMoustache great minds they say!! \$\endgroup\$
    – Andy aka
    Commented Nov 1, 2015 at 21:55

3 Answers 3

4
\$\begingroup\$

It is actually pretty easy. I'll solve it symbolically and double-check with the QsapecNG result, which I'm also using as schematic to give symbolic names and assign some arbitrary current directions.

enter image description here

The symbolic result there (output voltage) is

$$ V_o = E\; \frac{-R_2(R_3+R_4)}{sCR_1R_2R_4+R_1(R_3+R_4)}$$

So how do we get this by hand? Rather simple actually. First because of the virtual grounding of the fist opamp's negative input (and a current divider):

$$I_1 = \frac{E}{R_1} = I_c + I_2$$

So

$$I_2 = \frac{E}{R_1} - I_c\;\; \text{(*)}$$

Then because of the equality of voltages on the second opamp's inputs

$$ I_4 R_4 = - \frac{I_c}{sC}$$

Also, obviously \$I_3 = I_4\$ so

$$I_c = -sCR_4I_3 \;\;\text{(**)}$$

Again because of the [virtual] grounding of the first opamp's inputs and Ohm' law:

$$ V_o = (R_3+R_4) I_3 = -I_2R_2$$

Substituting in turn the values for \$I_2\$ and \$I_c\$ from (*) and (**) in the right-hand side of this latter equality, we get:

$$ (R_3+R_4) I_3 = -I_2R_2 = - R_2 (\frac{E}{R_1}-I_c) = -R_2 (\frac{E}{R_1} + sC R_4 I_3)$$

The first and last bit of this latter equality we solve for \$I_3\$ as:

$$ I_3 = \frac{-E R_2}{R_1(R_3+R_4 + sC R_2 R_4)}$$

Finally, multiplying this by \$R_3+R_4\$ gives us \$V_o\$ as desired. If you plug in the numerical values for the passives you get:

$$V_o = \frac{-E}{0.0005s+0.5}$$

For \$s=1000j\$, this gives an nice looking result (as expected for an academic problem): \$V_o = E(-1+j)\$. I think you can take it from here :)


And to add a bit of insight into the formula for \$V_o\$, it can be rewritten as:

$$ V_o = -E\; \frac{R_2}{R_1}\frac{R_3+R_4}{R_3 + R_4 (1+sCR_2)} = -E\; \frac{R_2}{R_1}\frac{1+\frac{R_3}{R_4}}{1+\frac{R_3}{R_4}+sCR_2} = \\ = -E\; \frac{R_2}{R_1}\frac{1}{1+\frac{sCR_2}{1+\frac{R_3}{R_4}}}$$

I don't really know what practical function this circuit might have (it seems the integration time constant gets sliced by the gain of the second opamp stage), but it's worth comparing with the formula for the [single stage] non-ideal integrator, e.g. from here:

enter image description here

I've confirmed through simulation (by sweeping a few values of R3: 0, 5K and 15K) that the last "insightful" formula for Vo I derived is indeed what this circuit does. The division of the time constant (equivalently multiplication of the corner frequency) is what the second opamp does (besides buffering). I don't quite see the point of it practice (when you can alter the time constant directly), but I guess that's why it's called an academic exercise.

enter image description here

\$\endgroup\$
1
  • \$\begingroup\$ I appreciate all the help. I just messed around with it a lot more and something just clicked. Now I am having no trouble with any of these. \$\endgroup\$
    – user125621
    Commented Nov 3, 2015 at 3:03
1
\$\begingroup\$

You can write node equations for two op-amps just like you do for a single op-amp. Since you still have negative feedback, there shouldn't be anything particularly weird about it.

\$\endgroup\$
4
  • \$\begingroup\$ Maybe its just that I'm not totally sure how to write the node equations fot this. \$\endgroup\$
    – user125621
    Commented Nov 1, 2015 at 22:39
  • \$\begingroup\$ @user125621: Laplace is your friend. \$\endgroup\$ Commented Nov 1, 2015 at 23:17
  • \$\begingroup\$ Would be nice if I had learned how Laplace applies to this. As I have not yet. \$\endgroup\$
    – user125621
    Commented Nov 1, 2015 at 23:26
  • \$\begingroup\$ @user125621: Look at electronics.stackexchange.com/questions/77457/… for an example. Also see my comments below EM Field's for expected result for your problem. \$\endgroup\$ Commented Nov 2, 2015 at 1:49
0
\$\begingroup\$

Hmm...

Seems like that pesky cap and the second opamp with a gain of 2 upset the applecart.

enter image description here

\$\endgroup\$
5
  • \$\begingroup\$ I am unsure how this helps? \$\endgroup\$
    – user125621
    Commented Nov 1, 2015 at 23:28
  • \$\begingroup\$ Well, at the very least it shows that the second opamp, with its gain of 2, makes a difference? \$\endgroup\$
    – EM Fields
    Commented Nov 1, 2015 at 23:41
  • \$\begingroup\$ Yeah I can see that but how would you solve it by hand... Actually how did you do the graph? I would love to be able to run sims to check my answers... \$\endgroup\$
    – user125621
    Commented Nov 1, 2015 at 23:43
  • \$\begingroup\$ @user125621: QsapecNG can probably solve this one symbolically. \$\endgroup\$ Commented Nov 1, 2015 at 23:50
  • \$\begingroup\$ @user125621: Solve it by hand? Beats me... The schematic and the plot are from LTspice, available free at linear.com/designtools/software \$\endgroup\$
    – EM Fields
    Commented Nov 1, 2015 at 23:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.