I have a board that connects two analog sensors to an ADC via several op-amps (all MCP6042). One circuit is behaving as expected but the second (virtually identical) circuit on the same board is showing severe oscillation on two op-amp outputs. I don't have much experience with op-amps so I'm not sure how to approach debugging it. Both circuits share the same power supply, ground plane, and ADC. I've already tested for connectivity/shorts, reflowed the joints, and cleaned the board. Any ideas what could be causing this behavior?
The yellow trace is the clean output from the first circuit, blue is the same for the second (problematic) circuit. Both circuits were probed at the output of the final unity-gain stage (U3.1:B, pin 7); probing the output of the previous stage (U3.1:A, pin 1) gives similar results.
I'm seeing similar oscillations on the output of the second circuit's first stage (U2.1:A, pin 1) as well; these are mostly damped though by the RC network after it (R4.1, C2.1).
Here's the schematic of the problematic circuit. It's the reference design from the sensor's manufacturer. The only difference between the working and wonky circuits are the values of R2.1, R6.1, the position of the two Bias +/- jumpers, and the actual sensor used.
All parts on the problematic circuit (shown) have the suffix .1 (e.g. R6.1 or U3.1:A); those on the working one have the suffix .0.
On the working circuit R2.0=2kΩ, R6.0=100kΩ, bias=-, U1.0=SPEC 110-109 (CO sensor).
On the wonky circuit R2.1=16.2kΩ, R6.1=499kΩ, bias=+, U1.1=SPEC 110-407 (O3 sensor).
The two circuits are otherwise the same.
Bias jumpers XY1.1 and XY2.1 are connected pin 1 to 2 on the working circuit and pin 3 to 2 on the troublesome one.
My understanding of the sensors' design is that when the gas is present a current flows out of the sensor's W1 and W2 terminals. Current flows into terminal C to replenish the supply of electrons and terminal R is used to monitor the charge level within the sensor (i.e. a feedback loop).


