Glitching at the output OPA197 unity gain inverting amplifier

newbie_hs

Full Member level 2
Full Member level 2
Joined
Mar 4, 2023
Messages
143
Helped
1
Reputation
2
Reaction score
2
Trophy points
18
Activity points
1,156
I am designing a unity gain inverting amplifier using OPA197.The input is a square wave of amplitude 8V peak to peak and a frequency of 50Khz.
Please find the attached circuit.
May I know why it is happening

1741944097736.png
 

Attachments

  • OPA197.zip
    7.1 KB · Views: 11

Hi,

An OPAMP is made for analog signals. But your input is a digital signal.
While one can use a digital signal to test a step response, stability and overshoot .. it usually is not very useful as signal in a true application.
Many OPAMPs suffer from input stage saturation .. often causing much wores output signals.

If you read the datasheet .. you already see the overshoot at a step response. There are diagrams.
For sure the overshoot is different if you have different conditions (different supply voltage, different input signal levels, different load, different resistor values..)

If you read the datasheet .. you will see the "slew rate" specification. It also tells you that an OPAMP can not follow extremely steep input signals.

****

I usually put an RC LPF in front of the OPAMP input to avoid input stage saturation .. and thus distortion, ringing, DC drift ...

Klaus
 



OpAmp input C also problematic. Cure is small amount of fdbk C. You can derive optimal Cfdbk thru LaPlace analysis,
signal flow graph probably easiest due to number poles in T(s) of the internal/external transfer function. There are tools
on web to make that easy. Dotted line in output graph is for Cfdbk = 0, eg. the ringing case you observe.

The following excellent treatment of problem -


Below dotted line graph Fdbk C = 0, otherwise 6 pf

1741956780855.png


Regards, Dana.
 
Last edited:

    newbie_hs

    Points: 2
    Helpful Answer Positive Rating
May I know how you get 12p.

I tried the equation given here page no 17 .I got 6pf,but it's not working
 

I did not compute (lazy), just tried a value.

Note here also how OpAmp loses control of virtual ground both when slewing
and due to finite bandwidth, but is also helped with Cfdbk, does not fix slewing
problems, if anything aggravates it (effective response) a little (slewing causes
OpAmp to be non linear for slew time , many papers on web about this).

 

Thank you...
I reduced the resistors value to 2K.Then I observed no ringing.
 

Note I changed Cstray at NI input to 5 pF, thats more representative in layouts. So that caused
Cfdbk to be more like the 6 pF I finally used.

Of course your Zin will change.



Regards, Dana.
 
Last edited:
OpAmp input C also problematic.
Here the C2 does not work as RC LPF, because the node is virtual GND.

So you are right, the C in the feedback is an improvement.

Even better would be: signal_input -> R1 -> C2 to GND --> R2 --> Inverting_input
Where R1 and C2 build the low pass ...
But for (DC) gain calculation one needs to use (R1 + R2) as input resistor

Klaus