Why Does a Second Order Opamp Circuit Show Contradictory Derivatives?

8 replies · 3K views · last reply
paulmdrdo
Messages
89
Reaction score
2
Homework Statement
Find the expression for vo(t)
Relevant Equations
See the attached photo
I was trying to understand the way this problem was solved and I got confused with the latter part of the solution. I encircled the part that confused me. They seem to contradict each other. If dv(0+)/dt = 0 why is it dv(0+)/dt = -1 in the other one? Please explain. TIA!
Handwritten worked solution for an op amp circuit problem: node equations, a second-order differential equation, and initial-condition steps, with two circled expressions for dv(0+)/dt showing values 0 and -1.

http://i67.tinypic.com/t6s31y.jpg
 
Last edited:
here's a readable version of the photos
 
Attachments
  • Handwritten-style derivation of node equations for an op-amp circuit: equation (1) at node 1, equation (2) at node 2 giving dv1/dt = -vo/(C2R2), and equation (3) solving for v1. Below is the circuit schematic with R1, C2 and C1, R2 feedback, node labels 1 and 2, and output vo.
    PROBLEM 8.67 SADIKU P1.png
    15.5 KB · Views: 458
  • Handwritten derivation of a second-order op-amp circuit equation, with a repeated-root characteristic equation s^2 + 2s + 1 = 0 giving s = -1, -1 and the solution v_o(t) = [(A + Bt)e^(-t)] + V_f.
    PROBLEM 8.67 SADIKU P2.png
    20.3 KB · Views: 435
  • Handwritten-style typeset derivation of a second-order circuit response: Vf = vo(∞) = 0, vin = 10u(t) mV, v_o(t) = Bte^-t, dv_o/dt = (B − Bt)e^-t (4), with two red-circled expressions dv_o(0+)/dt = 0 and dv_o(0+)/dt = −1/(C1R1) = −1, concluding B = −1 and v(t) = −te^-t u(t) V.
    PROBLEM 8.67 SADIKU P3.png
    26.1 KB · Views: 420
paulmdrdo said:
here's a readable version of the photos
Thanks for the higher resolution images. I notice that the resolution is fine when I click on the tinypic URL in your first post -- do you have any idea why the image you Uploaded in post #1 is lower resolution?

I also find the equations confusing that you are pointing out. I'll try to spend more time later today looking at it.
 
paulmdrdo said:
I was trying to understand the way this problem was solved and I got confused with the latter part of the solution. I encircled the part that confused me. They seem to contradict each other. If dv(0+)/dt = 0 why is it dv(0+)/dt = -1 in the other one? Please explain. TIA!

Not a direct answer to your question, but have you thought of working through the problem in Laplace space? It saves you from working with all these derivative terms around and should give the same answer.

In direct answer to your question, an initial look leads me to believe that there might be a typo, but I will indeed have a proper look later on.
 
  • Like
Likes   Reactions: gneill and berkeman
I have made an attempt at the problem (apologies for length, but tried to make sure it was clear), here are the images below (I hope that they are legible...). However, when I put my transfer function into MATLAB, I didn't end up with [itex]V_{out}(t) = -t \exp(-t) u(t)[/itex] and I was hoping someone could help point out any errors I made. Thanks.

Handwritten nodal analysis of an op-amp circuit with input Vin(s) through R1 to node V1, feedback capacitor C1 and resistor R2 in parallel with C2 around the op-amp, and output Vout, ending in the transfer function -Vin/R1 = Vout[(s^2(C1C2R2) + sR1(C1+C2) + 1)/(sR2C2)].
Handwritten derivation of a second-order op-amp transfer function Vout/Vin(s) with R1 = R2 = 10^4 ohms and C1 = C2 = 10^-4 F, simplifying to Vout(s) = (-1/10^4)(1/(s^2(10^-4) + 2s + 1)) for a unit step input.
 
Master1022 said:
I have made an attempt at the problem (apologies for length, but tried to make sure it was clear), here are the images below (I hope that they are legible...). However, when I put my transfer function into MATLAB, I didn't end up with [itex]V_{out}(t) = -t \exp(-t) u(t)[/itex] and I was hoping someone could help point out any errors I made. Thanks.

You made an algebra mistake; you left out R1 in a denominator. I've shown where it belongs in red. Of course you need to redo all the calculations after that point.

Handwritten derivation of a second-order op-amp transfer function, with a small circuit schematic at top showing Vin(s), R1, C1, C2, R2 and Vout around an op-amp; the step where R1 is missing from a denominator is marked in red.
 
  • Like
Likes   Reactions: berkeman
The Electrician said:
You made an algebra mistake; you left out R1 in a denominator. I've shown where it belongs in red. Of course you need to redo all the calculations after that point.

Ah yes, thank you very much. How embarrassing...

For the interest of the OP (@paulmdrdo ), correcting my error yields [tex]V_{out}(s) = \frac{-1}{s^2 + 2s + 1}[/tex] taking the inverse Laplace transform of that does indeed yield [itex]V_{out}(t) = -t\exp(-t) u(t)[/itex]. I think this way is a much better way of dealing with these problems as you don't have to deal with all these derivative operators around and this allows you to find the response of the circuit to a wide range of inputs, rather than just specifically solving for one type.

Hope that is of some help.
 
  • Like
Likes   Reactions: berkeman
paulmdrdo said:
I was trying to understand the way this problem was solved and I got confused with the latter part of the solution. I encircled the part that confused me. They seem to contradict each other. If dv(0+)/dt = 0 why is it dv(0+)/dt = -1 in the other one? Please explain. TIA!
View attachment 241869
http://i67.tinypic.com/t6s31y.jpg
The first thing you have encircled in red says that it's "From (2)". If you go back to (2) you'll see that where the red circled part says first thing: dVo/dt (0+), it should actually be dV1/dt (0+)