Adding resistors to a differentiating op-amp?

Click For Summary
The discussion focuses on understanding the role of resistors R2 and R3 in a differentiating op-amp circuit. R2 is deemed unnecessary for differentiation, while R3 is essential for stability, especially with real op-amps at high frequencies. The circuit is a C-R differentiator followed by a buffer amplifier, and the time constant should consider R2 in parallel with R3 due to the virtual ground at the op-amp's negative input. Adjusting the input frequency is suggested to allow the capacitor to charge and discharge effectively. Overall, the circuit's analysis should be based on its provided configuration rather than modifications.
dilloncyh
Messages
39
Reaction score
0
I know how to derive the expression Vout = -CR*d(Vin)/dt for a circuit differentiator that consists of a capacitor and a resistor, how I can understand the attached circuit, which is part of practice exercise for my class. Why do we need to add R2 and R3? When I run the simulation Vout = -V3*R3/R1, and Vout is just the normal square wave. How to analyze this circuit?

PS: I am quite new to electronics so sorry if this question sounds stupid. thanks
 

Attachments

  • diff-op-am.jpg
    diff-op-am.jpg
    14.2 KB · Views: 506
Engineering news on Phys.org
dilloncyh said:
When I run the simulation Vout = -V3*R3/R1, and Vout is just the normal square wave. How to analyze this circuit?
I suspect that the frequency of your square wave is too high for the differentiator. Change C1 to 1nF and see what happens.
 
Svein said:
I suspect that the frequency of your square wave is too high for the differentiator. Change C1 to 1nF and see what happens.

by changing the C1 to 1nF, V2 and Vout becomes close to zero all the time (in the nano range), but still I don't quite understand why we need R2 and R3. How to analyze the circuit and get the relationship between Vout and Vin (or V2) in terms of C1, R1, R2 and R3?

thanks
 
If it is your goal to differentiate the input signal, the resistor R2 makes no sense. Just remove it. The resistor R3 is necessary for stability reasons - if the opamp would be ideal (no gain drop and no phase deviations with rising frequencies) you could make R3=0.
However, for real opamps and large frequencies (in the region where the loop gain is approximately zero) it is necessary to limit the phase contribution from the feedback factor using a resistor R3. But its value should be as small as possible (trade-off between stability aspects and disturbing influence on differentiating performance).
 
R1 and R3 sets the gain around the operational amplifier. C1 and R2 is the differentiating circuit (well, to be exact R2 || R3). Your circuit has a gain of -1, so I can understand why you do not see what R1 and R3 is doing. Try an experiment: Remove R2 and R3, and connect C1 directly to R1 (and the - input of the operational amplifier).
 
Svein said:
Try an experiment: Remove R2 and R3, and connect C1 directly to R1 (and the - input of the operational amplifier).
I am afraid that - in this case - the circuit will be unstable (works for ideal opamp only).
 
LvW said:
I am afraid that - in this case - the circuit will be unstable (works for ideal opamp only).
I am betting on the internal impedance of the source...
 
dilloncyh said:
Why do we need to add R2 and R3? When I run the simulation Vout = -V3*R3/R1, and Vout is just the normal square wave. How to analyze this circuit?
The circuit as presented is a C-R differentiator (an approximation to a differentiator) followed by a buffer amplifier of gain = -R1 / R3

In calculating the time constant of the differentiator you use R2∥R3 because the (-) input of the op-amp is a "virtual earth" and this means R3 appears as a resistance to ground from the capacitor.

Other respondents have suggested that you modify the circuit; I can't see any reason to do so, since you apparently are required to analyze the circuit provided. Instead of altering the circuit, I suggest that you change the frequency of the driving signal to allow the capacitor time to charge and discharge appreciably during each half period of the input.

If you don't know what wave-shape to expect, try a google search on "RC differentiator circuit"
 
NascentOxygen said:
Other respondents have suggested that you modify the circuit; I can't see any reason to do so, ..

Well - I can try to justify my recommendation as given in my response: The title of the question contains the term "differentiating opamp" - for me an indication that the opamp is intended to work not as an amplifier but as the "heart" of a differentiating block.
However, I agree with you - perhaps the questioner has the task to live with the circuit as it is and to explain what it does - and how.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
9
Views
7K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
2
Views
2K
Replies
19
Views
3K