0
\$\begingroup\$

I have some queries regarding this peak detector from an audio compressor circuit:

enter image description here

My understanding of the process is that when the positive input swings low, D5 is negatively biased and stops conducting whereas D4 is positively biased so the input of the op-amp sinks current and charges C1 down to a negative voltage. During this period there is no negative feedback so the output of the op-amp goes into negative saturation.

Once the voltage across the capacitor becomes equal to the input voltage, the inputs of the op-amp become equal and the op-amp stabilises. The image below shows a simulation of the circuit in which the input voltage drops from 0, to -1V. Why does the output of the op-amp (purple trace) stabilise at -0.6V?. I note that this is equal to one diode drop voltage, but can't see why this happens.

Also, it's not visible on this image but over time the op-amp output slowly drops down to become equal to the input voltage, but the circuit is static, so why would there be current flowing to cause the voltage to drop?

enter image description here

Finally, given that this is a negative peak detector, aren't these capacitors in the wrong direction? If they're being charged to negative voltages, shouldn't the anode be connected to ground?

\$\endgroup\$
2
  • \$\begingroup\$ Consider the charge (and hence voltage) on C4. \$\endgroup\$ – user_1818839 Feb 22 at 13:15
  • \$\begingroup\$ I can see that C4 can discharge via the resistor in the feedback loop when the op-amp value is high enough to bias D5. But in the simulation the voltage never increases? \$\endgroup\$ – Josh Taylor Feb 22 at 13:25
1
\$\begingroup\$

Why does the output of the op-amp (purple trace) [initially] stabilise at -0.6V?

The feedback loop (R at the top) compensates for the diode drop.

Why does the output finally go to zero?

This will depend on the diode model used. A good model will conduct some current at very low voltages and eventually have a drop of zero.

Are the caps in the wrong direction?

Non-polarized caps would normally be used here (better tolerances). I realize that you didn't draw this, but when drawing your own schematics, please don't use that symbol for polarized caps, it is not widely used anymore and not everyone will immediately recognize it. Add a plus sign for polarized caps.

What is the purpose of D5?

D5 keeps the opamp out of saturation (when the input is + for a negative peak detector). It takes time to recover from saturation and part of the next valid input signal can be missed without it.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.