Go Back   Home > Forums > Amplifiers > Solid State
Home Forums Rules Articles Store Gallery Blogs Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Solid State Talk all about solid state amplification.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 9th July 2005, 11:48 AM   #1
Mr Evil is offline Mr Evil  United Kingdom
diyAudio Member
 
Join Date: Aug 2004
Location: Behind you
Default Miniscule discrete op-amp

This is something that has been in the back of my mind for ages, but it was the thread a while ago about someone selling very expensive op-amps potted in copper tubes that prompted me to actually have a go at it...

The idea is to create a discrete op-amp small enough to directly replace a DIP8 IC op-amp, ideally surpassing the performance of one of similar cost (materials cost is ~£7 for a one-off, plus a few hours work). What has put me off trying before is the fact that to keep the footprint small enough it needs to be constructed entirely from SMT components, which are a pain to solder by hand.

For the first attempt I wanted to keep it as minimalistic as possible to ensure that the size target was reachable. The resulting schematic is attached (shown in a non-inverting configuration). It is a standard 3-stage topology with absolutely no components not essential to operation. Ten components in total (Q1 and Q2 are a monolithic current mirror in a SOT143 package).

The input stage uses SST113 JFETs, which need to be matched (unfortunately I couldn't find any SMT dual JFETs) with a constant current diode in the tail and loaded with a current mirror. The current mirror has no degeneration resistors to reduce the component count by two. This means increased DC offset even with matched BJTs, so the LTP's degeneration resistors are replaced by a tiny potentiometer, allowing DC offset to be reduced to arbitrarily low levels.

The Vas uses a MOSFET (ZVP3306F) to present a high impedance to the input stage. It too is biased by a constant current diode. Dominant pole compensation encompasses the output stage rather than being taken from Vas output, which necessitates a larger value of capacitor and therefore lower slew rate and bandwidth but greatly reduced distortion, especially at higher frequencies.

The output stage is a complementary JFET source-follower, which is just about the simplest output stage possible.
Attached Images
File Type: png schematic.png (3.7 KB, 1922 views)
__________________
https://mrevil.asvachin.eu/
  Reply With Quote
Old 9th July 2005, 11:49 AM   #2
Mr Evil is offline Mr Evil  United Kingdom
diyAudio Member
 
Join Date: Aug 2004
Location: Behind you
To best fit the circuit into the available space, I split it into two double-sided PCBs mounted parallel to each other. One contains the input stage, the other the Vas and output stage. The offset pot is sandwiched between the two boards, conveniently spacing them to exactly the width of a DIP8. Three jumpers physically bond the boards together.

A photo of the completed item is attached (stuck in a chip carrier to keep the pins straight). It's 12x20x9mm, excluding the pins. I could have squished it down to a smaller size, but I didn't want to push my luck on the first attempt; it's small enough anyway.
Attached Images
File Type: jpg photo.jpg (60.8 KB, 1745 views)
__________________
https://mrevil.asvachin.eu/
  Reply With Quote
Old 9th July 2005, 11:50 AM   #3
Mr Evil is offline Mr Evil  United Kingdom
diyAudio Member
 
Join Date: Aug 2004
Location: Behind you
Performance is better than expected for such a simple circuit. Slew rate is a rather ordinary 10V/us, although I think I overdid the compensation capacitor, so higher should be reachable without problems (LTP current could also be increased from the present 1mA to the same end, but I want to keep quiescent current reasonably low). It's stable into capacitive loads of up to 1nF or so. I can't measure the bandwidth, but sims say the GBP should be around 36MHz with the 100pF compensation. Open-loop gain is about 120dB.

I can't yet make accurate THD measurements, but there is no discernible difference in distortion spectrum between the test signal from my soundcard (2nd harmonic at about -96dB, decreasing above that) and the op-amp output, so it can't be adding very much distortion. Sims say all harmonics are better than -160dB, or something ridiculous like that.

Noise is almost below my ability to measure too; it just pops up above the noise floor of my soundcard at -120dB (relative to 2V peak).

Output voltage swing is to within just a few tenths of a volt of the rails. Clipping is clean. Maximum supply voltage is about +/-18V.

Open-loop output impedance is about 40 Ohms. Input impedance is very high.

I'm pretty happy with how it's turned out.
__________________
https://mrevil.asvachin.eu/
  Reply With Quote
Old 9th July 2005, 06:50 PM   #4
AndrewT is offline AndrewT  Scotland
diyAudio Member
 
Join Date: Jul 2004
Location: Scottish Borders
Hi MrEvil,
the most read disadvantage of miller comp is the inability to source current from the LTP thus limiting slew rate.
A Less referenced disadvantage is the effect on sound quality.
Your 2 stage feedback is a similar toplogy that some writers have criticised.
Please comment on the pros & cons of 2 stage vs miller comp and on the sound quality of your discrete opamp.

What maximum output voltage at reasonable distortion can you achieve, +24dbu? (12.4Vrms).
__________________
regards Andrew T.
  Reply With Quote
Old 9th July 2005, 07:49 PM   #5
EUVL is offline EUVL  Europe
diyAudio Member
 
Join Date: Oct 2003
>unfortunately I couldn't find any SMT dual JFETs

Linear Systems (www.linearsystems.com) has a variety of matched JFETs in SMD packages. And they would send you some samples. Unfortunately, none of them (or indeed any SMD JFETs I could find) comes close to 2SK389 / 2SJ109 in terms of low noise and high transconductance.


Patrick
  Reply With Quote
Old 9th July 2005, 09:36 PM   #6
Mr Evil is offline Mr Evil  United Kingdom
diyAudio Member
 
Join Date: Aug 2004
Location: Behind you
Quote:
Originally posted by AndrewT
Please comment on the pros & cons of 2 stage vs miller comp and on the sound quality of your discrete opamp...
The disadvantage is reduced stability. The Vas needs to work hard at high frequencies to combat crossover distortion. I should have fitted a smaller compensation capacitor so I could experiment with different values of external compensation to see exactly how much is needed; with 100pF it's perfectly stable.

The advantage is reduced distortion. The gain of the Vas is used to reduce crossover distortion. Reduced crossover distortion can only be good!

Other than that it's virtually identical to normal Miller compensation.

As for how it sounds: It's the equal of any op-amp I've ever heard. Much better than cheap, common op-amps. I don't have any expensive op-amps spare to compare it with.

Quote:
Originally posted by AndrewT
...What maximum output voltage at reasonable distortion can you achieve, +24dbu? (12.4Vrms).
Distortion increases slowly as output increases towards clipping. At about 1V below the rails 2nd harmonic is about -70dB, higher harmonics decreasing smoothly. Above that level distortion rises fast. I'm not sure if that's what you would consider reasonable distortion.

That's with +/-15V rails, giving 9.9Vrms. Assuming performance is similar with +/-18V rails (I don't want to push it to the limit since it's the only one I have right now) then that would be 12Vrms.

Note that it won't be able to drive heavy loads at that level or the output stage might be damaged.



Quote:
Originally posted by EUVL
Linear Systems (www.linearsystems.com) has a variety of matched JFETs in SMD packages. And they would send you some samples. Unfortunately, none of them (or indeed any SMD JFETs I could find) comes close to 2SK389 / 2SJ109 in terms of low noise and high transconductance.


Patrick
They look interesting. I might see if they'll ship to the UK. They may not be as good as 2SK389 / 2SJ109, but then neither are the ones I'm using now.
__________________
https://mrevil.asvachin.eu/
  Reply With Quote
Old 10th July 2005, 10:00 AM   #7
AndrewT is offline AndrewT  Scotland
diyAudio Member
 
Join Date: Jul 2004
Location: Scottish Borders
Thanks MrEvil,
-70db @ 1v below rails sounds not bad for an absolute peak in music signal.

What is limiting the circuit to +-18Vrails?
What is the minimum load impedance?
__________________
regards Andrew T.
  Reply With Quote
Old 10th July 2005, 03:37 PM   #8
Mr Evil is offline Mr Evil  United Kingdom
diyAudio Member
 
Join Date: Aug 2004
Location: Behind you
Actually, going over the datasheets again I see it won't be able to get maximum output swing at +/-18V because although the n-JFETs (j113) are rated for 35V, the p-JFET (j177) is only 30V. So if it were used at +/-18V, an output swing greater than +12V peak might break something. Even if they were both rated 35V, swinging to within 1V of +/-18V rails would be right at the limit.

Other than that, the current diodes (SST505) are rated at 45V and the MOSFET (ZVP3306F) at 60V, which would limit the suppl voltage to +/-22V and +/-30V respectively.

The output current capability will vary depending on the exact specs of the output stage JFETs. In the worst case it will be about 9mA. Higher Idss/Vgs(off) devices may give 20mA. Minimum load impedance will be whatever doesn't exceed that.

Exceeding that current will cause the gate-source junctions to be forward biased and current will be drawn through the gate. In the negative direction this will be limited to 1mA by the current source, so no damage will occur (as long as the power rating is not exceeded). In the positive direction there is no limit. The maximum gate current is given as 50mA for j113, then it dies (much more than that and the MOSFET won't be too happy either).

Somewhat higher output current could be acheived by putting a resistor between the two gates of the output JFETs, with the n-channel one being attached to the negative side, the p-channel to the positive side. That would decrease quiescent current and increase the maximum output current before forward-biasing occured.
__________________
https://mrevil.asvachin.eu/
  Reply With Quote
Old 10th July 2005, 04:04 PM   #9
Mr Evil is offline Mr Evil  United Kingdom
diyAudio Member
 
Join Date: Aug 2004
Location: Behind you
With all the talk about output impedance recently, I thought this might be interesting: It's a graph of simulated output impedance vs. frequency for normal Miller compensation (blue) and output-stage-inclusive compensation (green) at a non-inverting gain of ten.

Including the output stage in the compensation feedback loop gives an extra two decades of flat output impedance.
Attached Images
File Type: png outputimpedance.png (2.4 KB, 1147 views)
__________________
https://mrevil.asvachin.eu/
  Reply With Quote
Old 13th July 2005, 02:55 PM   #10
Mr Evil is offline Mr Evil  United Kingdom
diyAudio Member
 
Join Date: Aug 2004
Location: Behind you
I can make better distortion measurements now, so here's an FFT of the output, 1kHz, 5V peak, 10K load, +/-15V supplies, non-inverting gain of 10. The fundamental is reduced by 30dB, so the actual relative amplitude of the harmonics can be read directly off the scale. THD is about 0.003%

It's not as good as I was hoping for; it only just manages to match an OPA604 and falls short of better op-amps. It does have much smoother clipping though.

I suspect that the output stage is responsible for much of the distortion. I'll try BJT and MOSFET output stages at some point.
Attached Images
File Type: png harmonics.png (4.4 KB, 1014 views)
__________________
https://mrevil.asvachin.eu/
  Reply With Quote

Reply


Hide this!Advertise here!

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
My first discrete amp danfo098 Solid State 60 30th July 2009 05:40 AM
discrete op amp unclejed613 Solid State 24 5th January 2007 09:49 AM
Ic Vs Discrete AR1 Parts 4 29th April 2005 02:09 PM


New To Site? Need Help?

All times are GMT. The time now is 12:36 PM.

Page generated in 0.14597 seconds (78.28% PHP - 21.72% MySQL) with 11 queries

Copyright ©1999-2012 diyAudio