Electronic – Reducing noise in microphone amplifier circuit at higher gains

amplifiergainmicrophonenoise

I am using the below circuit to amplify the signal from an electret condenser microphone for analysis by a microcontroller to detect short bursts of sound. The circuit runs off a ~4.5V supply from 3 AA batteries, so options for opamps are limited. I am using an NJM4580D. Datasheets for microphone and opamp linked below:

https://www.cuidevices.com/product/resource/cma-4544pf-w.pdf

https://www.njr.com/electronic_device/PDF/NJM4580_E.pdf

enter image description here

Circuit includes a potentiometer to adjust gain on second stage. The circuit is working fine at low gains with louder sound bursts, but I am having an issue with the noise at the higher gains required to detect fainter sound bursts.

Low Gain

enter image description here

Higher Gain

enter image description here

The noise appears to be approx 580Hz. The room is quiet prior to sound bursts. The circuit is built on protoboard, and size is somewhat limited. Photo below:

enter image description here

So, given the limitations on power supply and construction, is there anything I could do to reduce the amplitude of the noise while maintaining the signal strength at higher gains?

Appreciate any feedback.

EDIT 1

Brian appears to be correct. I removed the microphone circuit board and powered directly from 4.5V batteries. At max gain, the noise was acceptable:

enter image description here

The rest of the circuit board that this device is connected to is fairly straightforward. I don't have a presentable schematic at the moment but it is constructed in a manner similar to the microphone circuitand made up of the following components:

The microcontroller is an ATMEGA328P
https://ww1.microchip.com/downloads/en/DeviceDoc/ATmega48A-PA-88A-PA-168A-PA-328-P-DS-DS40002061B.pdf

MAX7219 driven 8-digit segmented display
https://datasheets.maximintegrated.com/en/ds/MAX7219-MAX7221.pdf

Pair of SN74HC165N shift registers for keypad input (momentary pushbutton array)
https://www.ti.com/lit/ds/symlink/sn74hc165.pdf?ts=1607932478460

SN74HC125N buffer on SPI MISO line
https://www.ti.com/lit/ds/scls104e/scls104e.pdf?ts=1608013220070

100nF decoupling is provided at each IC power pin and I have a couple of 100uF electrolytic capacitors on the power rails.

Any thoughts as to what might be causing instability/interference?

EDIT 2

As suggested by Andy, I tried a different op-amp, the MCP6022, which I was able to drop into the existing circuit and the difference in output range is remarkable:

enter image description here

enter image description here

In addition to this, I took Brian's advice and added a 470uF capacitor to the power rails at on the mic board, which also helped significantly:

enter image description here

Finally, I added a 10ohm resistor in series with the power supply to the mic board and it also produced a noticeable reduction:

enter image description here

Original op-amp with the additional capacitor and resistor, for reference:

enter image description here

Best Answer

OK, from comments:

That's not noise, that's either instability or interference, perhaps on the PSU. (The regularity of the waveform shows this. Start by arranging a perfectly clean 4.5V supply for the mic amp, and see how it goes.

Having seen that a separate battery supply improves performance, I'd suggest improving the quality of power fed to the mic amp. Simplest approach would be an R-C low pass filter : 100 ohms would drop a fraction of a volt at the current required, and 1000uF (giving an 0.1 second time constant) should attenuate the power supply noise adequately. These values can then be tuned for size, cost, headroom, attenuation to suit your goals.

Andy also deserves credit for suggesting an improvement in opamp selection.