Op Amp Filter Transient

A low-pass filter is built around an ideal operational amplifier. At time t = 0 t = 0 , the capacitors are de-energized. The input voltage V i n ( t ) = 1 + cos ( 3 t ) V_{in}(t) = 1 + \cos(3 t) . Determine the following integral:

0 20 1 V o u t ( t ) d t \large{\int_0^{20} |1 - V_{out}(t) | \, dt}

Details and Assumptions:
1) R 1 = R 2 = C 1 = C 2 = 1 R_1 = R_2 = C_1 = C_2 = 1
2) The voltages at the + + and - terminals of the op amp are the same
3) The currents into the + + and - terminals of the op amp are zero

Bonus: Comment on the output voltage in relation to the input voltage, and how that corresponds to the nature of the filter


The answer is 2.933.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Karan Chatrath
Mar 14, 2020

Consider the diagram as labelled above. The currents and junctions have been assigned a name.

Let the voltages at junctions P P , Q Q , R R , S S and T T respectively be V P V_P , V Q V_Q , V R V_R , V S V_S , V T = 0 V_T = 0 . The charges on the capacitors C 1 C_1 and C 2 C_2 are Q 1 Q_1 and Q 2 Q_2 respectively. Therefore:

I 1 = Q ˙ 1 I_1 = \dot{Q}_1 I 2 = Q ˙ 2 I_2 = \dot{Q}_2

As per the circuit diagram above, the following equations can be generated.

V i n + I R 1 + I 2 R 2 + Q 2 C 2 = 0 -V_{\mathrm{in}} + IR_1 + I_2R_2 + \frac{Q_2}{C_2} = 0 V i n V P = I R 1 V_{\mathrm{in}} -V_P = IR_1 V P V R = Q 1 C 1 V_P - V_R = \frac{Q_1}{C_1} V Q V T = Q 2 C 2 V Q 0 = Q 2 C 2 V_Q - V_T = \frac{Q_2}{C_2} \implies V_Q - 0 = \frac{Q_2}{C_2}

Considering an ideal operational amplifier, I have had no prior experience of working with them, so I had to read up a bit. What I understood was that the input current I i n = 0 I_{\mathrm{in}} = 0 for the ideal case and that V Q = V S V_Q = V_S .

Using these bits of information gives us the following equations:

V R = V S = V o u t = V Q V_R = V_S = V_{\mathrm{out}} = V_Q V Q = V o u t = Q 2 C 2 \implies V_Q = V_{\mathrm{out}} = \frac{Q_2}{C_2}

Moreover, Kirchoff's current law dictates that:

I = I 1 + I 2 I = I_1 + I_2

Manipulating, rearranging and simplifying the above equations leads to the following system of equations:

V i n + I + I 2 + Q 2 = 0 -V_{\mathrm{in}} + I + I_2 + Q_2 =0 V i n I V o u t = Q 1 -V_{\mathrm{in}} - I - V_{\mathrm{out}} =Q_1 I 1 = Q ˙ 1 I_1 = \dot{Q}_1 I 2 = Q ˙ 2 I_2 = \dot{Q}_2 I = I 1 + I 2 I = I_1 + I_2 V o u t = Q 2 V_{\mathrm{out}} = Q_2

The above system of equations can be recast into a state-space form and is solved numerically to obtain the output voltage as a function of the input voltage. The required integral is also computed numerically. The numerical details are left out and I will attach if requested. This solution lays out the outline of the problem-solving approach.

The answer is:

0 20 1 V o u t d t 2.933 \boxed{\int_{0}^{20} \lvert 1 - V_{\mathrm{out}} \rvert dt \approx 2.933}

The plot showing input and output voltage is as follows:

It can be seen that the transients die out somewhere between five and six seconds after start of the simulation, and the amplitude of the steady-state output is highly attenuated. I suppose there might be some kind of electronic application where such a filter proves to be useful. Would like to know more.

Thank you very much for posting this problem. I got a chance to learn and test something new to me

Karan Chatrath - 1 year, 3 months ago

Log in to reply

Glad you liked it. I had pretty much exhausted all of the RLC transient circuits I could think of, so I added a new element.

Steven Chase - 1 year, 2 months ago

Log in to reply

Thanks for sharing your solution. This RLC problem set has been fun. I would gladly give any new variants of this problem a shot.

Karan Chatrath - 1 year, 2 months ago
Steven Chase
Mar 14, 2020

@Karan Chatrath has provided a nice explanation already. I will show my approach as well, since there are some minor stylistic differences. I also want to point out that the filter obeys the principle of superposition. Since it is a low-pass filter, the DC component passes through without attenutation, while the AC portion is greatly reduced. As it turns out, the frequency of the AC portion is three times the cutoff frequency of this filter. This is known as a Sallen-Key topology.

The state-space model is:

V = V C 2 + V C 1 I R 2 = V V C 2 R 2 I R 1 = V i n V R 1 I C 2 = I R 2 I C 1 = I R 1 I R 2 I C 1 = C 1 V ˙ C 1 I C 2 = C 2 V ˙ C 2 from op amp voltage property from op amp current property V = V_{C2} + V_{C1} \,\,* \\ I_{R2} = \frac{V - V_{C2}}{R_2} \\ I_{R1} = \frac{V_{in} - V}{R_1} \\ I_{C2} = I_{R2} \,\,** \\ I_{C1} = I_{R1} - I_{R2} \\ I_{C1} = C_1 \dot{V}_{C1} \\ I_{C2} = C_2 \dot{V}_{C2} \\ * \text{from op amp voltage property} \\ ** \text{from op amp current property}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...