How does a step function affect the output voltage of an ideal OP-AMP?

Click For Summary

Discussion Overview

The discussion revolves around the behavior of an ideal operational amplifier (OP-AMP) circuit with a capacitor and resistor when subjected to a step function input voltage. Participants explore the implications of the step function on the output voltage over time, particularly focusing on the integration of the input voltage and the resulting voltage across the capacitor.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant presents the circuit configuration and the step function input voltage, seeking to find the output voltage at a specific time.
  • Another participant confirms the integration approach for calculating the voltage across the capacitor, suggesting that the output voltage is related to the integral of the input voltage over time.
  • There is a question about whether to add integrals from two different time intervals to find the output voltage at 2 seconds.
  • One participant argues that when the input voltage switches to zero, the capacitor will discharge, while another insists that the output will hold at the last voltage due to the nature of the virtual ground in the circuit.
  • Participants discuss the implications of the capacitor being charged negatively and the current flow through the resistor when the input voltage is zero.
  • One participant provides a hypothetical table to illustrate the output voltage behavior over time, emphasizing the integrative nature of the circuit.

Areas of Agreement / Disagreement

Participants express disagreement regarding the behavior of the capacitor when the input voltage is zero. Some argue that the capacitor will discharge, while others maintain that it will hold its voltage due to the virtual ground condition in the circuit. The discussion remains unresolved with multiple competing views on the output behavior.

Contextual Notes

Participants have not reached consensus on the discharge behavior of the capacitor and the implications of the virtual ground in the circuit. There are also unresolved mathematical steps regarding the integration of the step function input.

EvLer
Messages
454
Reaction score
0
I am given an ideal OP-AMP like this (R-resistor, Cap-capacitor):
Code:
          ____+Cap-_
         |          |
 ___R____|__|\______|_____ +
|          -|/
+         |
V in      |                  V out
-         |
|         |                 
|_________|______________ -
and V in is given as a step function like so:
Code:
/\ (volts)
|
|____1____2_______> (t, sec)
|____| (-2)                  
|
|
that is V(in) is -2 on [0,1] and then 0 further. I need to find V(out) at 2sec.
So far I think I got the expression I need to work with.
V(out) = -Vc
Vc = 1/(RC) * integral(V in dt)
But my problem is how I deal with a step function in this case of integration. Any help is appreciated.
Thanks.
 
Last edited:
Engineering news on Phys.org
[tex]Vc = \frac{1}{C} \int_{0}^{t} i_c dt[/tex]

In your circuit [tex]i_c = V_{in}/R[/tex]

so your form,

[tex]Vc = \frac{1}{RC} \int_{0}^{t} V_{in} dt[/tex]

looks right. So, assuming Vc started at zero at To with Vin = -2V, you have,

[tex]Vc = \left[\frac{1}{RC} \times -2(t)\right]_{0}^{1}[/tex]

When you switch from Vin = -2V to Vin = 0V the output will stop ramping because the current goes to zero.

Does that make sense?
 
Thanks for reply.
So, to find V(out) at t = 2, I need to add integral from 0 to 1s and then from 1 to 2s? That is my question.
 
Jeff273 said:
[tex]Vc = \frac{1}{C} \int_{0}^{t} i_c dt[/tex]

In your circuit [tex]i_c = V_{in}/R[/tex]

so your form,

[tex]Vc = \frac{1}{RC} \int_{0}^{t} V_{in} dt[/tex]

looks right. So, assuming Vc started at zero at To with Vin = -2V, you have,

[tex]Vc = \left[\frac{1}{RC} \times -2(t)\right]_{0}^{1}[/tex]

When you switch from Vin = -2V to Vin = 0V the output will stop ramping because the current goes to zero.

Does that make sense?

Not really! When the input voltage switchs to zero the capacitor is charged. So it will start discharging towards zero
[tex]Vc(t) = Vc(1) + \frac{1}{RC} \int_{1}^{t} V_{in} dt[/tex]
Where [tex]V_{in} = 2.u(t-1)[/tex]
 
SGT,

Ignore the math for a second and check the circuit. When Vin is at zero the current through R is zero. Since there is no current flow at the virtual node (which is always at zero volts - the reference - in this circuit) the voltage across the cap as measured at Vout will hold at whatever voltage is across it.
 
EvLer,

Yes. Evaluating, you will have:


[tex]Vc = \left[\frac{1}{RC} \times -2(t)\right]_{0}^{1} \plus+ \left[\frac{1}{RC} \times 0(t)\right]_{1}^{2}[/tex]

You can see that the second term is zero forever with Vin = 0.
 
Jeff273 said:
SGT,

Ignore the math for a second and check the circuit. When Vin is at zero the current through R is zero. Since there is no current flow at the virtual node (which is always at zero volts - the reference - in this circuit) the voltage across the cap as measured at Vout will hold at whatever voltage is across it.
Nope! The capacitor is negatively charged and since there is a path to ground through R, the capacitor will discharge.
 
SGT:

Nope! The capacitor is negatively charged and since there is a path to ground through R, the capacitor will discharge.
Nope. The voltage at the RC node is always zero (this is a virtual gnd). With Vin at zero, the circuit looks like this:

Code:
                      _ Vout
                     |
                     | -
         I           C
        <---         | +
gnd ____ R __________|
                 |
               Vgnd
I = zero, and no current can flow into or out of a virtual gnd, therefore the cap has no discharge path and holds at whatever the last ramp voltage was.

Think about it. This is an ideal integrator. Assume R and C are 1 so it sums -Vin x (t).

t...Vin...Vout
--------------
0...0...0
1...1...-1
2...1...-2
3...0...-2
4...0...-2
5...1...-3
6...1...-4
7...0...-4

Looks like this:

Code:
 0 _
-1  \
-2   \____
-3        \
-4         \_
If it discharged at Vin = 0, it would be useless as an integrator.
 
Last edited:

Similar threads

  • · Replies 6 ·
Replies
6
Views
6K
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 31 ·
2
Replies
31
Views
6K
  • · Replies 9 ·
Replies
9
Views
5K
Replies
12
Views
2K
Replies
15
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 50 ·
2
Replies
50
Views
8K