Electronic – Op-amp circuit works correctly only when the oscilloscope’s probe is connected to it

operational-amplifier

I'm using a piezoelectric speaker as an shock sensor. I made a simple non-inverting amplifier using the MCP6021 op-amp as shown in the circuit below. I'm only interesting in the positive output of the speaker so I put a diode to protect the op-amp's input from the negative spikes.

The circuit works as expected when the the oscilloscope's probe is connected to the input (either before or after the diode). When I disconnect the probe from the input, the output of the op-amp seems the become unstable. Sometimes it oscillates at different voltage levels and sometimes it saturates at the positive rail.

What could cause this behavior?

circuit

Best Answer

Connect a high value resistor from pin 3 = op-amp non-inverting input (OA+) to ground. 10 megohm may be OK but 1M better and lower still better still - but lower will load MK1 more.

What is [very probably] happening is that there is no DC bias to the OA+ input and in the absence of signal the very high impedance input is driven by a combination of inset-offset voltage, input bias current and the prior positive input - all stored in or charging or discharging the capacitance at OA+ to ground.

Oscilloscope probes and fingers (when connected to bodies) tend to make such arrangements work better or differently by providing a small amount of "ground reference" current or a degree of sink impedance.