I am using LTSpice III to simulate a filter using an LT1739 opamp. The filter is a two pole Multiple Feedback type set up for 4 kHz corner freq and a gain of 10. When I run the simulation it oscillates (in spite of the fact that the opamp is supposed to be stable at gains of 10 or more, but I guess the gain is not 10 at the higher freqs). So I have added a resistor and capacitor across the + and - input as indicated in the data sheet for the LT1739. That takes out the oscillation just fine. It appears that the cap value can be anything above about 2 pF to work and I will likely use 15 or 20 pF.
When I use 4 kHz, 1 Vp to drive the input, it simulates ok. When I use 8 kHz, I get other oscillations. Playing with the component values I find I can stop these oscillations, but I still see a few perturbations. At a few time points, I see an abrupt spike in the output signal which then rings and damps out. I don't see any rhyme or reason to when these spikes occur and when it was oscillating, it would start at different times, as much as 80 mS into the simulation.
What the heck is going on? The spikes don't seem to come from the input, an ideal sinusoidal voltage source. I only see the spike and oscillation in the output and feedback points. If I graph the output minus the inverting input to the opamp, it shows that the output is leading the input, so that seems to be the source. How can the opamp model produce this spikes and why would it be related to the input frequency?
Should I be concerned about this in a real circuit? The original component values stopped the oscillations due to a lack of compensation. But I don't know if I need to worry about these "spike" related oscillations and the component values that stop them seem to be chaotic and not predictable. That makes me very concerned as any parasitics could easily make the "spike" oscillations reappear in a real circuit.