I have a simple noninverting amp around a LM158.
I am using a 158, not a 358, for the extended temp range.
The feedback resistors are 2k2 and 2k0 (the 2k0 goes to GND).
So a voltage gain of just under +2.
Supplies are +/-15V, well decoupled with 10uF ceramics.
I am finding that if I feed in a 100Hz sinewave of about 1V pk, the output shows a superimposed ~1MHz sinewave during the bottom 30% of the bottom half-cycle.
I can kill this oscillation by sticking say a 1uF ceramic from output to GND...
Looking at the schematic e.g. here
But I am not going anywhere near the -ve rail. I am going to -2V only.
Now look at page 18 of that PDF. It shows 6.2k resistors from the o/p to the -ve rail. Why?
And sure enough, putting a 10k from the o/p to the -ve rail removes the oscillation.
I am going to put in a 4k7 to be sure...
This op-amp is supposed to be unity gain compensated...
The data sheet for the STM version (which I am using) is different but it shows the same 6.2k resistors.
I'd appreciate any input on this...