diyAudio (
-   Analog Line Level (
-   -   Swapping Op-Amps... you have checked to see it's stable haven't you ? (

Mooly 23rd June 2011 11:55 AM

Swapping Op-Amps... you have checked to see it's stable haven't you ?
5 Attachment(s)
The subject of swapping op-amps is one of the more frequent topics to crop up on these forums... and regulars will know that I often add a proviso that you should ALWAYS check that the replacement is at the very least stable. Never assume it will be.

So here just to show what I mean is a simple op-amp swap of the sort that crops up on diyAudio all the time.

The circuit shown was designed for the NE5534 with no external compensation used on the op-amp. A typical scenario then, where everyone has their own ideas and favourites on what to fit. What could possibly go wrong... a double sided PCB with large ground planes with extensive decoupling and local regulators it is a model of impeccable layout.

The opamp we are replacing is U30 that sums the output of the DAC. The two scope traces show the substituted op-amp as the top trace and the original as the lower trace. The scope was on the output of U30

The first picture is of the OPA604 FET opamp, one of my personal favourites. Straight away it is obvious that something is not right... the trace is "thicker", a classic effect of very high frequency instability. This was playing a 1khz track at around -40 db. The frequency of oscillation was around 1.8 Mhz and around 0.6 volts peak to peak.

Second shot is the AD797 op-amp. Here the track played is 1 khz at 0db. As can be seen the op-amp is oscillating like crazy. To see just how crazy look at the next shot.

Third shot is the player in stop mode leaving just the oscillation. It's around 1.4Mhz but at a whopping 6 volts peak to peak.

Fourth shot is the output of the op-amp with a 5pf cap across R33... clean with just a small amount of HF hash from the DAC itself that the following stage (the low pass filter) removes.

Would you know it was unstable by listening ? Well actually, you may not, and may put the change in sound down to the op-amp ! The AD797 certainly sounded over bright and thin but I can imagine some saying, "hey listen to that extra detail" it just shows how murky and dull the 5534 was. A bit extreme maybe, but you see my point.

The OPA604... far more subtle and many wouldn't notice the problem in a lot of systems.

So I hope that helps explain the "always check for stabilty etc" that I always trot out, and some of you reading this are probably doing so because I just linked your thread on "what should I replace xxxxxx with" to this one ;)

Happy swapping...

jan.didden 23rd June 2011 12:47 PM

Excellent post and very good points! Thanks!

jan didden

geraldfryjr 23rd June 2011 01:01 PM

Very Good ,Mooly !

I had suspected such issues every time I had read a review of opamp swapping and the overly extreme critizism of some opamp types.

Good work! jer

Radugazon 23rd June 2011 01:26 PM

Good lesson, but what can do those who don't have a scope ?

(and how comes the NE5534 was used without compensation ?)

coluke 23rd June 2011 01:39 PM

Very good point - who wants to swap a 5532 with an LT1364 (yeah, i've just heard this a few days ago...) should keep it in mind.


ps - Mooly, may I take your pictures to show them on another forum?

Mooly 23rd June 2011 01:54 PM

Thanks for the kind words folks :)

SY 23rd June 2011 01:54 PM


Originally Posted by Radugazon (
Good lesson, but what can do those who don't have a scope ?

Get a scope. Seriously. Why in the world would someone try to do electronics without the basic tools? May as well try to get by without a soldering iron.

Mooly 23rd June 2011 01:57 PM


Originally Posted by coluke (
ps - Mooly, may I take your pictures to show them on another forum?

Well perhaps you could link another forum post to this... :)

Mooly 23rd June 2011 01:58 PM


Originally Posted by Radugazon (
(and how comes the NE5534 was used without compensation ?)

Because the circuit was designed to use the chosen device correctly.

Bonsai 23rd June 2011 02:13 PM

Great post Mooly!

Swapping op amps ain't 'basic stuff' and I am sure this example along with a few others I can think of accounts for the 'gritty,nasty' sound some people claim.

This belongs in the Wiki.

All times are GMT. The time now is 04:40 AM.

vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Copyright 1999-2016 diyAudio

Content Relevant URLs by vBSEO 3.3.2