How to derive equation from op amp circuit?

In summary, the conversation discusses deriving a differential equation from a circuit and using Laplace transform for solving it. The suggested equation is y'' + y'/T2 = kx/T1T2 and the dc gain for the second stage is k.
  • #1
Nat3
69
0

Homework Statement



Derive the differential equation from the following circuit

m10a.png

Homework Equations



The solution needs to be a differential equation in standard form, so that I can solve the equation for the characteristic modes, zero-input response, zero-state response, etc.

The Attempt at a Solution



For the first op amp, I did this:

[itex]\frac{x(t)-0}{R_1} = C_1\frac{dV_{C_1}}{dt}[/itex]

[itex]V_{C1} = 0 - y_1(t) = -y_1(t)[/itex]

[itex]\frac{x(t)}{R_1} = C_1\frac{dy_1(t)}{dt}[/itex]

[itex]\frac{dy_1(t)}{dt} = \frac{x(t)}{R_1C_1}[/itex]

Then, for the second op amp:

[itex]\frac{y_1(t)}{R_2} = C_2\frac{dV_{C_2}}{dt} + \frac{0-y(t)}{R_3}[/itex]

[itex]V_{C_2}=0-y(t)[/itex]

[itex]\frac{y_1(t)}{R_2} = -C_2\frac{dy(t)}{dt} - \frac{y(t)}{R_3}[/itex]

At this point, I'm stuck.

Any help would be greatly appreciated!
 
Physics news on Phys.org
  • #2
Have you had the Laplace transform?

If not, solve for y1(t) and then write the d.e. for the second stage with y1(t) the input for the second stage.

So y2(t) is a d.e with y1(t) as the excitation function.

You did OK but insert y1(t) as part of your d.e. for y2(t) after you solved for y1(t).
 
  • Like
Likes 1 person
  • #3
Thanks for your help!

No Laplace transform yet..

I plugged the first equation into the second and got this:

[itex]\frac{\int \frac{x(t)}{R_1C_1}}{R_2} = -C_2\frac{dy(t)}{dt}-\frac{y(t)}{R_3}[/itex]

Differentiating both sides results in:

[itex]\frac{\frac{x(t)}{R_1C_1}}{R_2} = -C_2\frac{d^2y(t)}{dt^2}-\frac{1}{R_3}\frac{dy(t)}{dt}[/itex]

or

[itex]\frac{x(t)}{R_1R_2C_1} = -C_2D^2y(t)-\frac{Dy(t)}{R_3}[/itex]

or

[itex]D^2y(t)+\frac{Dy(t)}{R_3C_2} = -\frac{x(t)}{R_1R_2C_1C_2}[/itex]

Is that correct?
 
  • #4
Nat3 said:
[itex]D^2y(t)+\frac{Dy(t)}{R_3C_2} = -\frac{x(t)}{R_1R_2C_1C_2}[/itex]

Is that correct?

Yes, except for the - sign on the rhs.

There arer two inversions so the output is + if the input is +.

Suggestion: if you let R3/R2 = k , R1C1 = T1 and R3C2 = T2 the math is cleaner. The equation then is
y'' + y'/T2 = kx/T1T2.

If you look at the 2nd stage the dc gain is k.

When you get the Laplace transform all this becomes much easier.
 
  • Like
Likes 1 person
  • #5




To derive the differential equation from an op amp circuit, we can use Kirchhoff's current law and voltage law to analyze the circuit. First, we can assume that the op amps are ideal, meaning that the input impedance is infinite and the output impedance is zero. This allows us to simplify the circuit and treat the op amps as virtual short circuits, meaning that the voltage at the input terminals of the op amps are equal.

Next, we can use Kirchhoff's current law to write the following equation for the first op amp:

\frac{x(t) - y_1(t)}{R_1} = C_1\frac{dV_{C_1}}{dt}

Since the input voltage at the op amp is equal to the output voltage, we can substitute y_1(t) for x(t) to get:

\frac{y_1(t) - y_1(t)}{R_1} = C_1\frac{dV_{C_1}}{dt}

This simplifies to:

0 = C_1\frac{dV_{C_1}}{dt}

Using the relationship between voltage and capacitor current, we can rewrite this as:

0 = C_1\frac{dy_1(t)}{dt}

Now, we can use Kirchhoff's voltage law to write the following equation for the second op amp:

\frac{y_1(t)}{R_2} = C_2\frac{dV_{C_2}}{dt} + \frac{y_1(t) - y(t)}{R_3}

Again, we can substitute y_1(t) for x(t) to get:

\frac{y_1(t)}{R_2} = C_2\frac{dV_{C_2}}{dt} + \frac{y_1(t) - y_1(t)}{R_3}

Simplifying this equation gives us:

\frac{y_1(t)}{R_2} = C_2\frac{dV_{C_2}}{dt} + 0

From here, we can use the relationship between voltage and capacitor current to rewrite this as:

\frac{y_1(t)}{R_2} = C_2\frac{dy_2(t)}{dt}

where y_2(t) represents the voltage across
 

1. How do I identify the circuit topology of an op amp circuit?

The circuit topology of an op amp circuit can be identified by analyzing the connections between the op amp and the other components in the circuit. The most common topologies include inverting, non-inverting, differential, and summing configurations.

2. What are the basic steps for deriving an equation from an op amp circuit?

The basic steps for deriving an equation from an op amp circuit are: 1) Identify the circuit topology, 2) Write Kirchhoff's voltage law equations for each loop in the circuit, 3) Apply the ideal op amp assumptions, 4) Solve for the output voltage using algebraic manipulation and substitution, and 5) Simplify the equation to the desired form.

3. How do I account for the ideal op amp assumptions in the equation derivation?

The ideal op amp assumptions can be accounted for by considering the properties of an ideal op amp, such as infinite input impedance, zero output impedance, and infinite gain. These assumptions can be used to simplify the equations and eliminate certain terms, leading to a more manageable equation.

4. Can I use the op amp Golden Rules to derive the equation?

Yes, the op amp Golden Rules can be used to derive the equation for an op amp circuit. These rules state that the input terminals draw no current and have the same voltage, and the output attempts to do whatever is necessary to make the voltage difference between the inputs zero.

5. How can I verify the derived equation for an op amp circuit?

The derived equation for an op amp circuit can be verified by simulating the circuit in a software program or by building the circuit and measuring the output voltage. If the measured output voltage matches the derived equation, then the derivation has been successful.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
6
Views
764
  • Engineering and Comp Sci Homework Help
Replies
34
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
28
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
16
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
9
Views
2K
  • Engineering and Comp Sci Homework Help
2
Replies
36
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
0
Views
511
  • Engineering and Comp Sci Homework Help
Replies
1
Views
2K
Back
Top