Electronic – OP amps distort sine wave

amplifieroperational-amplifierwaveform

I am creating a simple circuit in order to amplify the signal from an electret microphone and then add a 2.5V bias to the signal.
The problem I'm having is that the signal from the mic is distorted as it leaves the op amps.

With an oscilloscope I have measured the signal from the microphone when exposed to 440 Hz sound and the wave looks like a perfect sine just as expected.

However once the signal passes the part of the circuit to amplify the signal the sine wave starts to get slightly distorted.

After the signal has passed the circuit of the inverting summing amplifier the signal gets even more distorted.

This is the circuit I use to amplify the signal:

Amplification circuit

This circuit leads to a 20 uF capacitor and is then followed by the following circuit to add the 2.5V DC bias:

enter image description here

where all resistor values are the same. This circuit uses the same LM324 as the amplification part of the circuit.

The resulting waves at 440 Hz look as follows:

enter image description here

This is after both the amplification and the summation. The distortion of the sine wave starts happening after the amplification, and gets more obvious after the summing op amp.

I have no idea what can cause this and hope somebody can point me into the right direction.

Best Answer

This is classic crossover distortion in LM324.

Add a load resistor to output until crossover distortion disappears. Start with 1K to V- or gnd if using single supply.

This occurs with capacitive loads or next stage pullup R bias to Vcc/2 perhaps. Increase R load values as alternative if so... ( by design in order to minimize idle current)

Datasheet

"For ac applications,where the load is capacitively coupled to the output of the amplifier, a resistor should be used, from the output of the amplifier to ground to increase the class A bias current and prevent crossover distortion."

Note for single supply use. R1 could be 2K to V+ and 2K/Gnd THis depends on output swing max you need. enter image description here

Related Topic