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...
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...