[quote author="gnd"]
I don't know how to deal with lag/delay of IC1B. I tried to add/change/remove C1 over R7 feedback on IC1B, and it reduced osci, but it affected opamp speed too, so I was not so happy about it.
On the other hand C from IC leg 3 to ground solves osci, and leaves speed almost intact. Does this make any sense?
[/quote]
Yes it makes sense. Signal at pin 3 + input first passes through IC1A, then through IC1B. The inversion of IC1B makes the feedback polarity correct for stability but we now have 2x the propagation delay of normal opamp feedback. C1 adds phase lag to IC1B so could make situation worse unless so large it kills gain and bandwidth as you noticed. I would lose C1. C to ground at pin 3 attenuates negative positive feedback before it turns positive positive.
Now, should I connect also inverting input (leg 3) ground via C?
If you mean pin 2, no. C to ground there would destabilize that opamp stage. If you mean C at pin 3, maybe.
How about that dual input R, instead of single, and C to ground in the middle? Probably that is not the same as C directly from leg 3 to ground, is it?
yes, dual input Rs for both pos and neg input legs with Cs across and to ground should help remove HF out of band crap before it gets into negative feedback path, and can attenuate feedback in both feedback legs that will work to improve stability. Note: input Rs within each leg do not have to be equal value so putting smaller value Rs closer to opamp inputs will improve stability.
That's interesting. In fact oscillation is only at 1x probe setting. If I change to 10x on probe, there is no oscillation. So I may be causing osci by adding probe capacitance.... How can I know if that is the case? Because output signal itself is clean, no sign of osci. If I had osci in circuit at leg 6, would it 100% show at output (leg 1)? Can I safely conclude, if output is clean, then osci is artificially generated by scope probe?
If you see it at 1x and not at 10x YOU ARE THE OSCILLATION. :guinness:
So should I keep that C from leg 3 to ground anyway? If it does no bad to circuit, I would keep it anyway, just to be on a safe side. What do you think?
thnx
gnd
You probably don't have a stability problem. In light of questions about optimal stability compensation and balancing input paths I would suggest one more measurement.
Pretty simple actually. HF CMR. Tie the + and - inputs together and feed in a high frequency signal. Perhaps your 10 kHz square wave. If you don't use my suggested passive input filter, maybe RC the square wave through a one pole RC to take some edge off it (say at a few hundred kHz). Ideally the entire signal being common mode should cancel and result in no output at pin 1. In the real world it probably won't cancel perfectly but this will answer your question about extra capacitance at pin 3 and whether C6 is needed or not.
Dial in sundry Cs for good HFCMR and if it doesn't oscillate with probe on pin 1 you're golden.
JR