Exact role of opamp in integration circuit..??

MikeML

Joined Oct 2, 2009
5,444
Think of if this way: The left end of the capacitor is also at virtual ground. The voltage at the right end is (1/C)*∫Idt, where I is the current through C which as I already showed is equal to the current in R.
 

Thread Starter

Himanshoo

Joined Apr 3, 2015
265
Himanshoo try study this link very carefully
By constant analysis of previous post ..it seems that I have got it .....

My inference :
The presence of opamp does one special thing that it makes input current independent of capacitor voltage…unlike in RC integrator the input current is dependent on capacitor voltage(as terminal voltage across the resistor changes) so in order to charge a capacitor the input current got dependent on cap voltage which cause the current to vary hence no linear charging is done ..but in case of opamp the input current is yet maintained constant and at the same time capacitor is linearly charged which was not possible in case of absence of opamp..thats why opamp is used…


one mistake which i made was to think that constant current means same magnitude all the time but constant means …constant rate of change of current..i.e the amount the current change with time is always constant…

Also with respect to Vin , the input current is never constant..but with respect to time it is …..

so the entire essence of this circuit is the virtual ground that is maintained by opamp despite of any capacitor voltage….so thats the difference.

Hope so I am right now...?
 

crutschow

Joined Mar 14, 2008
38,952
..........................
one mistake which i made was to think that constant current means same magnitude all the time but constant means …constant rate of change of current..i.e the amount the current change with time is always constant…

Also with respect to Vin , the input current is never constant..but with respect to time it is …..
.................
For the op amp integrator with a DC input, your statement that the "current change with time is always constant" is not correct. That implies the current changes with time and it doesn't.

Your first statement is actually correct. Constant current does mean the current magnitude is constant with time and does not change with time.

And the input current is also constant with time (for Vin being a DC input voltage).

If the input and capacitor charge currents weren't constant with time then the capacitor voltage would not be a linear ramp.
 

MikeML

Joined Oct 2, 2009
5,444
I still think my way of stating it is better: the opamp forces the current through the capacitor to be equal to the current in the resistor.

The current in the resistor is independent of the capacitor; it is simply I=Vin/R1

Reread post #20.

Himanshoo, what do you say about this?

127.gif

Note that I(I1) and I(C1) are identical (in the plot, one covers the other).
 
Last edited:

Thread Starter

Himanshoo

Joined Apr 3, 2015
265
Himanshoo, what do you say about this?
Thanks for your effort Mike...your post seemed to be very helpful to me....but still I am having some fundamental problems in visualizing the operation of the circuit ...
I' ll get back to your question ..once I am done with them....
OK
 

MikeML

Joined Oct 2, 2009
5,444
Thanks for your effort Mike...your post seemed to be very helpful to me....but still I am having some fundamental problems in visualizing the operation of the circuit ...
I' ll get back to your question ..once I am done with them....
OK
I was trying to show you that what matters is the current flowing in-to or out-of the virtual ground node. It matters not if that current gets there through a resistor (I=E/R), or directly via a current source/sink.

Whatever the input current, the same current flows in the capacitor. It has to; that is what an opamp with feedback does. The voltage across the capacitor (from virtual ground to output pin) is strictly a function of the current that has flowed in the capacitor per (1/C)*∫Idt.
 

Jony130

Joined Feb 17, 2009
5,601
I did not understood the phrase " Actually, the additional source helps the input source injecting exactly as much voltage as it drops across the capacitor." in your article...
Please explain it.....
This additional source is the op amp output voltage. And if Vout = Vc the voltage at "-" input will be equal to 0V.
And this is how op amp helps to make a "virtual ground".

See the example

20.PNG

And for this circuit we also can say " the additional source (V2) helps the input source injecting exactly as much voltage as it drops across R2 resistor."
Can you solve for Va ?
As for the virtual ground, capacitor don't care about it.
AA.png
In case A the cap finally voltage is 10V, but in case B the capacitor will also be charged but this time to -10V.
Capacitor do not care where ground is. Because the "ground" is just a "reference point". A point, with respect to which we measure all our voltage in the circuit.

As for the integrator.
For DC input voltage the output is a linear ramp witch represent the integral of a input voltage (area under the curve).

For R = 1Ω and C = 1F and Vin = 2V and and it lasts 2s. So the area of this square is 2*2 = 4V

Iin = 2V/1kΩ = 2A; so the capacitor voltage will reach Vc = (2A*2s)/1F = 4V

But for a sin wave we can find in integration table that the Vout is a cos wave.
And in frequency domain this circuit is just a inverting amplifier with the gain = Xc/R.
As the frequency increases the capacitor Xc "resistance" decreases. And thereby decreasing a voltage gain. So this circuit is a low pass filter with pole at zero frequency (DC).
This means that the gain at DC is full open loop gain of the op amp.
 
Last edited:

Thread Starter

Himanshoo

Joined Apr 3, 2015
265
input source injecting exactly as much voltage as it drops across R2 resistor."
In your first figure the voltage drop across R2 is 4V....that means V1 is injecting 4V..but how can it inject 4V ....,it is itself 2V...
This so called 'help' phrase is not making sense to me...
Please clarify further...

It might be this way that ...suppose Vin is some voltage ..and opamp in order to maintain virtual ground ejects as much voltage at its output terminal which could cancel the voltage maintained across input resistor but this voltage which opamp ejects is of the opposite polarity..which cancels out the voltage drop across input resistor.....
but if this is the case then according to terminal voltage rule the voltage across the branch(resistor+ capacitor) equals zero which brings Vout to be zero...but it isn't zero

I am totally confused
 
Last edited:

Jony130

Joined Feb 17, 2009
5,601
Additional source (V2 the op amp output voltage) injecting exactly as much voltage as it drops across R2 resistor. And thanks to this I1 = V1/R1 = 2V/10kΩ = 0.2mA and Va note is at "virtual ground"
 

MikeML

Joined Oct 2, 2009
5,444
In your first figure the voltage drop across R2 is 4V....that means V1 is injecting 4V..but how can it inject 4V ....,it is itself 2V...
This so called 'help' phrase is not making sense to me...
Please clarify further...

It might be this way that ...suppose Vin is some voltage ..and opamp in order to maintain virtual ground ejects as much voltage at its output terminal which could cancel the voltage maintained across input resistor but this voltage which opamp ejects is of the opposite polarity..which cancels out the voltage drop across input resistor.....
but if this is the case then according to terminal voltage rule the voltage across the branch(resistor+ capacitor) equals zero which brings Vout to be zero...but it isn't zero

I am totally confused
Jony is doing nothing but confusing you. Forget the voltages; think about the currents!!!!

The cause is the current through the capacitor. The effect is the final voltage across the capacitor {V(out)}. The current in the capacitor is forced there by the opamp and is equal to the current into the virtual ground.
 
Last edited:

Thread Starter

Himanshoo

Joined Apr 3, 2015
265
Hey guys I got the point...
My final inference...
Opamp dont care about the capacitor…it does its work tirelessly to equate both input terminals…it our work how to basically exploit this property to our need of integration.

So what our requirement

To linearly discharge the capacitor for true integration.

How will us achieve step 1…and the answer is to charge capacitor via constant currents

Now what are the problem that comes in generating constant current ….and those are —> i) If input voltage is varying for e.g sine cos etc and ii) the capacitor voltage Vc

Now with some voltage drops over R due to Vin at inverting terminal of opamp …the opamp according to its nature will try to equate the voltages of both terminal to the same value thus it output such a voltage which will make same current to flow across the capacitor and the same current to flow across R to cancel out….so literally its the same thing that means a same and opposite amount of current flows across the capacitor which is also flowing across R….hence th two currents are same ..so Mike is happy now…

Now considering fluctuation of Vin..first we should know what does constant current means..it means that the value of current should remain same no matter what Vin and R value is..it should be fixed at some value always.Suppose Vin rise positively to some extent(any atributary value)..as current starts flowing through R… voltage is developed at the inverting terminal…now in order to maintain constant current across the branch(resistor + capacitor) the opamp will output the same voltage in opposite direction..which literally maintains same potential in the branch ..no matter what value Vin goes ..Vout will go down or up the same extent hence maintaining the same current in the branch despite of Vin fluctuations.

Also one should not be confused about the direction of the current that is flowing in the branches ,there are no opposite currents..since the left end of cap is at zero volts due to virtual ground which is still at greater potential than the negative Vout potential of the cap..hence the current will maintain the same direction…(ie…Vin—>R—->C——>Vout..)….Now Jony is happy…
Thanks..
eager for your opinion too..
21.integrator.png
 

crutschow

Joined Mar 14, 2008
38,952
.....................
Suppose Vin rise positively to some extent(any atributary value)..as current starts flowing through R… voltage is developed at the inverting terminal…now in order to maintain constant current across the branch(resistor + capacitor) the opamp will output the same voltage in opposite direction..which literally maintains same potential in the branch ..no matter what value Vin goes ..Vout will go down or up the same extent hence maintaining the same current in the branch despite of Vin fluctuations.
.................................
These statements: "now in order to maintain constant current across the branch(resistor + capacitor) the opamp will output the same voltage in opposite direction" and ".no matter what value Vin goes ..Vout will go down or up the same extent" are somewhat ambiguous.

Vout will vary due to Vin but but it's not the same voltage magnitude (or the same extent).
Vout will vary by whatever amount it takes to keep the voltage at the summing junction zero for any change in Vin.
That's the magic of negative feedback.
 

Thread Starter

Himanshoo

Joined Apr 3, 2015
265
Vout will vary due to Vin but but it's not the same voltage magnitude (or the same extent).
Yes its true that the opamp output is not the same voltage.....but thats in case of when resistor is present in the feedback...as voltage drops across feedback resistor ..so the opamp will calculate how much voltage will get dropped across the resistor well in advance and then to compensate it ..it will magnifies the output voltage so that after getting dropped it will make the input terminals at same potential ..but in this case capacitor is present as a feedback element...so no voltage is getting actually dropped ..so there is no need of opamp to compensate this voltage by magnifying its output voltage....so thats the case
 

crutschow

Joined Mar 14, 2008
38,952
Yes its true that the opamp output is not the same voltage.....but thats in case of when resistor is present in the feedback...as voltage drops across feedback resistor ..so the opamp will calculate how much voltage will get dropped across the resistor well in advance and then to compensate it ..it will magnifies the output voltage so that after getting dropped it will make the input terminals at same potential ..but in this case capacitor is present as a feedback element...so no voltage is getting actually dropped ..so there is no need of opamp to compensate this voltage by magnifying its output voltage....so thats the case
No.
Voltage does get dropped across a capacitor as well as a resistor (don't understand why you think otherwise).
The op amp doesn't "calculate" anything (computers do that).
It just responds to the voltage across its inputs and (due to its high internal gain) will adjust its output to try and keep that voltage near 0V, independent of whats connected in the feedback loop.
You still seem a little hazy on that simple concept, which is the crux of most standard op amp negative feedback circuits.

For a capacitor, the output voltage will change with time due the the capacitor charging and the op amp varies it's output voltage to keep the current flowing into the cap as necessary to equal the input current.
For a resistor it doesn't need to change the output voltage with time since the drop across the resistor does not vary with time.

The only difference between a resistor in the feedback loop and a capacitor in the feedback loop is that the resistor voltage is constant for a given current through it while a capacitor voltage will change with a given current through it.

Don't overthink this and make it more complicated then it really is. ;)
 

RBR1317

Joined Nov 13, 2010
715
Post #2 by @Jony130 provided the correct answer to the original question. After all the ensuing discussion, does anyone not fully appreciate the direct simplicity and correctness of that response?

Reviewing one basic fact: a capacitor is by definition a perfect integrator of current flow. Net charge is the time integral of current, and the voltage across a capacitor is directly proportional to the net charge stored by the capacitor current.

If we wanted to integrate a current signal and receive an output voltage, then a capacitor would be the perfect solution. However, the usual requirement is to integrate an input voltage signal and receive an output voltage signal. In order to use a capacitor to perform this voltage integration, we must convert the input voltage signal into a current signal and then have the capacitor integrate the current.

So the exact role of the op-amp in the integration circuit is the voltage to current conversion.
 
Top