DIYstompboxes.com

Projects => Diode-Compression Op Amp => Topic started by: BAARON on September 18, 2009, 11:45:24 AM

Title: What does the diode actually do?
Post by: BAARON on September 18, 2009, 11:45:24 AM
What does the diode do that makes this opamp compress?  What does the output signal look like in comparison to the input?  What's the output swing like - does it reach the voltage rails, or will it not go that far?  How much does it compress, and why?

I already know how to plug this into a circuit and use it as an op-amp.  I've breadboarded it and it worked fine, though I don't know how much compression it actually added to the signal.  Now I want to know more about HOW this circuit does its job... I'm not sure whether or not I want to use it in a pedal (for a TS-style gain stage), because I don't know how much compression it would add compared to something like a Burr Brown, or whether it's well-suited to using LEDs as clipping diodes (because I don't know what it's capable of as far as the output voltage swing goes).

Any clues?  Or articles you could link to by way of explanation?
Title: Re: What does the diode actually do?
Post by: Joe on September 18, 2009, 09:18:15 PM
The diode keeps the transistor from going into saturation, which is the primary cause of the "transistor sound". Placing it within the bias network keeps it conducting, so the smaller signals pass through, but the larger ones are met with more resistance and eventually clipped entirely.

There are other ways, but the diode guarantees that the transistor can never saturate, and also reacts to the input signal differently than say a fixed series resistor would. JFETs also suffer from the saturation problem, so the diode is helpful in those circuits as well.
Title: Re: What does the diode actually do?
Post by: BAARON on September 18, 2009, 09:59:56 PM
So at what point does the signal clip inside the opamp?  What's the available output signal swing like?  If I'm using LEDs as clipping diodes in the non-inverting feedback loop, will the opamp be able to deliver a hot enough signal that the LEDs will clip, or will it clip earlier than that within the opamp itself because of the compression diode?
Title: Re: What does the diode actually do?
Post by: Joe on September 18, 2009, 10:47:35 PM
The output should be rail-to-rail, minus about 1/2 volt on either side. (This is a guess, I never looked at it on a scope.)

Title: Re: What does the diode actually do?
Post by: BAARON on September 19, 2009, 12:25:30 AM
Splendid.  I'll put in the effort of breadboarding this again (takes a while - the full circuit gets pretty massive when I'm through with it!), and A/B it against an IC version of the same circuit to see how much of a difference there is as far as compression goes.
Title: Re: What does the diode actually do?
Post by: Joe on September 29, 2009, 11:48:21 PM
"Compression" has more to do with what it does to signal peaks rather than sounding like a compressor. It should sound warmer than a regular opamp.
Title: Re: What does the diode actually do?
Post by: BAARON on September 30, 2009, 12:54:01 AM
Ah!  Now THAT'S a good thing to know.