Adding resistors to a differentiating op-amp?

Click For Summary

Discussion Overview

The discussion revolves around understanding the role of resistors R2 and R3 in a differentiating op-amp circuit, particularly in the context of a practice exercise. Participants explore the analysis of the circuit's behavior, especially in relation to the output signal when subjected to a square wave input.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant expresses confusion about the necessity of R2 and R3 in the circuit and seeks clarification on how to analyze it.
  • Another participant suggests that the frequency of the input square wave might be too high for the differentiator and recommends changing the capacitor value to 1nF.
  • A participant argues that if the goal is differentiation, R2 should be removed, while R3 is necessary for stability in real op-amps.
  • It is noted that R1 and R3 set the gain around the operational amplifier, while C1 and R2 form the differentiating circuit, with R2 being treated as parallel to R3.
  • One participant proposes an experiment to remove R2 and R3 and connect C1 directly to R1, but expresses concern about potential instability.
  • Another participant emphasizes that the circuit is a C-R differentiator followed by a buffer amplifier and suggests changing the frequency of the driving signal to allow the capacitor to charge and discharge effectively.
  • There is a discussion about whether the circuit should be modified or analyzed as presented, with differing opinions on the necessity of alterations.

Areas of Agreement / Disagreement

Participants express differing views on the necessity and role of R2 and R3, with some advocating for their removal and others emphasizing their importance for stability. The discussion remains unresolved regarding the optimal approach to analyzing the circuit.

Contextual Notes

Participants highlight the complexity of the circuit's behavior, including the impact of frequency on the output and the assumptions regarding ideal versus real op-amps. There are unresolved questions about the relationship between the components and the expected output.

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: 517
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
6K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
9
Views
8K
  • · 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