DIY Headphone Amplifier

Man of Honour
Joined
13 Oct 2006
Posts
92,062
Some might remember I mentioned I was having a go at building one in another thread where I built a couple of basic ones - tonight finally got the result I was looking for :D

Quite a steep learning curve as I've not really touched electronics in any real way since dropping out of electrical engineering 15 odd years ago and I'd chosen the AD8066 op amp early on which being a high speed IC can't just be dropped into any old circuit with good results.

Not much to look at but image of the debug board - finally ready to commit the design to the final PCB (with some layout adjustment) and box it up (will upload pics of the enclosure when its all done):

0cAFgfc.jpg

(Some of the components at funny angles due to height restrictions on the enclosure I have in mind).

At its heart its basically a cmoy with some minor tweaking (mostly in regard to bypass capacitors) with goldpoint's experimental fully regulated virtual ground which seems to be the best power supply option with the 8066 - fully stable from 16 ohm through to 300 in my testing with plenty of power for the higher ohm headphones and no problems supplying the voltage for lower (no hint of clipping). AC/DC noise has been effectively eliminated when using wall power (its intended for desktop use) and there is virtually no background noise even with sensitive headphones - not even a hint of hiss until you really wind it up.

While ideally an op amp should be sonically transparent the 8066 does some magic with the bass that had to be heard - bass is really deep, extended and crisp and overall really happy with the sound - through the whole frequency range its pin sharp and punchy with good separation - playing something like Hotel California for testing the instruments have a satisfyingly lifelike quality. Only criticism is that the upper mid-range is a little bit what I believe is referred to as "veiled" and could be a little livelier.
 
Joined
1 Oct 2006
Posts
14,071
Very nice. Any chance of a circuit diagram or parts list?

I've just churned out my first CMOY, and whilst I've got parts for another 5 or so for mates, I'd quite like a different challenge. This looks ideal.
 
Man of Honour
OP
Joined
13 Oct 2006
Posts
92,062
Very nice. Any chance of a circuit diagram or parts list?

I've just churned out my first CMOY, and whilst I've got parts for another 5 or so for mates, I'd quite like a different challenge. This looks ideal.

Largely its similar to cmoybb minus the bass boost: http://www.jdslabs.com/pdf/Assembly_cMoyBB.pdf though I'm using some different input capacitor values and 1-2 other resistors are different.

Couldn't seem to get desirable results from the bass boost with lower levels when combined with the 8066 and was a bit over the top when turned up so left it out.

The virtual ground is based off the 3rd image on this page:

http://www.head-fi.org/t/654485/virtual-ground-regulated-and-rail-splitter-circuits (the output diodes connect to the virtual ground).

I can't really recommend it as a virtual ground generally as it not a cheap option, takes up a lot of space, isn't efficient on battery power and has some questionable qualities from an engineering perspective (apparently) - your generally better off with the TLE splitter (from a lot of playing about unless you go with something really advanced the TLE seems the best option) but 1-2 high speed op amps like the 8066 seem to work best with it - sonically and stability wise in testing it I found it performs much better than the TLE or discrete based splitters with the 8066 - with the OPA2132, LM4562, etc. that I also have I couldn't really tell any difference.

Most of the changes from those designs are minor ones that I found worked best with the 8066 through experimenting.

(Not sure what version of the cmoy design your working off but with many op amps I found that the addition of rail bypass caps close to the IC - with some careful testing to avoid overly "hardening" of the sound made a huge difference to stability and using either an LD1085V or LM317LZ with an appropriate bypass capacitor as a filtering stage when using a DC power adapter cleaned up the background noise levels nicely).

EDIT: On the subject of challenges - the 8066 only comes as a SMD component (SOIC-8 1.27 mm pitch) so has to be soldered to a break out board (or used in a programmers adapter if you have space) if your using a regular DIP socket for the OP AMP which is quite fiddly though surprisingly I managed it fairly well... I picked up some PCM2902 USB DAC chips while I was at it which are SSOP-28 (0.635mm pitch) and is another story again :( if I can find a programmers adapter thats not like £90 for them I might just go with that as I don't seem to have much joy soldering them by hand hehe...

Nice work, you must be really chuffed that not only does it work as planned but it sounds so good.

I look forward to seeing it on the final PCB :)

It is quite satisfying to finally get the results I'd hoped for - while a cmoy is not exactly the most advanced design in the world to work with and well trodden ground its a fair step up from my experience level going in.
 
Last edited:
Soldato
Joined
3 Sep 2012
Posts
11,376
Location
P town
Cool, no idea what any of that means but I guess I should take it in as I was looking at doing something similar before. How much did it/ will it cost overall? It's nice that that there's some cheap kits out there I recall looking at some t amps from China, the same ones used in the cheap class D amps?
 
Last edited:
Soldato
Joined
13 Jul 2009
Posts
7,201
Location
Llanelli
Nice.

Looks similar to my design that I put together a few years ago, apart from the virtual ground circuit, for which I used a jelly bean op-amp to split the voltage. I also used a DIP package opamp rather than SOIC or MSOP.

I designed a power supply section in a similar way to the split design you used which I then used in a low power speaker amplifier which maintained near perfect regulation even with stupidly low and unbalanced resistors strapped across the rails. I now use the power supply for a sine wave generator which I have used to test audio circuits on my scope.

I built my cmoy for about £20. I got most of the parts in small quantities from bitsbox, scavenged the rest from my parts box. They used to say £50 could get you the parts to build a Cmoy.
 
Man of Honour
OP
Joined
13 Oct 2006
Posts
92,062
Cool, no idea what any of that means but I guess I should take it in as I was looking at doing something similar before. How much did it/ will it cost overall? It's nice that that there's some cheap kits out there I recall looking at some t amps from China, the same ones used in the cheap class D amps?

You "can" build one really cheap <£20 but I don't recommend it - the first basic cmoy I built was with mostly cheap parts sourced from amazon, ebay, etc. mostly generic chinese capacitors, resistors, etc. even though the specs on paper were acceptable 1% tolerances, etc. (and they seemed to perform well enough for non-audio use) the noise floor of the resulting cmoy was atrocious - even at low volume levels there was significant background hiss and whistling type noise.

For reference incase anyone else is thinking of building one the original article by chu moy:

http://headwize.com/?page_id=707

Tangent does an excellent job of breaking it down for anyone with basic electronic skills:

http://tangentsoft.net/audio/cmoy/

However I recommend working off the JDS labs design once you have your head around it:

http://www.jdslabs.com/pdf/Assembly_cMoyBB.pdf

As 1-2 tiny changes they made make quite a difference to the end result with only a small level of extra complexity - though you might want to skip the bass boost part for a first build.

From my experience (and seems to be generally the advice) if you stick with an OPA2132 op amp you can build a decent high sound quality, stable op amp with only using a simple resistor divider for the virtual ground, if your wanting to use other op amps then either using a TLE virtual ground or as tealc mentioned another op amp as the ground seems to produce the best results - however its an extra level of complexity if your starting with minimal electronics knowledge.

I tried a few different versions of the virtual ground including various discrete component based ones like sijosae's rail splitter and while some of them performed really well from an engineering perspective I was never quite convinced they weren't detracting from the sound quality.

Also as I mentioned above if your going anywhere near a dc adaptor rather than battery power I'd strongly recommend a filtering stage based around an LD1085V or LM317LZ as it makes a big difference to background noise.

Price wise I didn't really approach it from a value for money perspective - after the first bit of playing around I did an order from Mouser for about £70 with enough bits (op amps aside) to build like 5 headphone amplifiers like randal heh.

Nice.

Looks similar to my design that I put together a few years ago, apart from the virtual ground circuit, for which I used a jelly bean op-amp to split the voltage. I also used a DIP package opamp rather than SOIC or MSOP.

The 8066 only comes in SOIC form and while its probably not intentionally the case I can kind of see why as you struggle to really do it justice on a bit of prototype board heh - 145MHz 180V/us slew rate compared to the more typical 10s of MHz/slew rate of more commonly used op amps.
 
Last edited:
Man of Honour
OP
Joined
13 Oct 2006
Posts
92,062
EDIT: On the subject of challenges - the 8066 only comes as a SMD component (SOIC-8 1.27 mm pitch) so has to be soldered to a break out board (or used in a programmers adapter if you have space) if your using a regular DIP socket for the OP AMP which is quite fiddly though surprisingly I managed it fairly well... I picked up some PCM2902 USB DAC chips while I was at it which are SSOP-28 (0.635mm pitch) and is another story again :( if I can find a programmers adapter thats not like £90 for them I might just go with that as I don't seem to have much joy soldering them by hand hehe...

Going in a bit blase (soldering the PCM2902) with 60/40 and no flux didn't exactly end well... managed to clean it up and had another go with 63/37 and plenty of flux and think I've got it though not entirely sure if all the pins are soldered well enough, think I've managed to not get any bridges this time though.
 
Man of Honour
OP
Joined
13 Oct 2006
Posts
92,062
While still going to do a proper build and this is only representative of the final thing (better layout, more decoration/features, etc. - got some fancy surrounds for the LED and so on) ended up boxing up the prototype build as I was using it so much and I'd scratched the case up pretty badly anyhow in testing things out (fortunately had the foresight to order a few of the enclosure).

ik964TX.png

Really enjoying listening through it to be fair even with headphones that don't need amping - while it is a bit "veiled" the separation, detail and low range performance are perfectly to my taste.

(Quite hard to take a good picture of it with the lighting in here as well - it looks a bit better in the flesh than the phone camera can handle with the mixture of light and blacks)
 
Last edited:
Soldato
Joined
25 Jul 2012
Posts
7,396
Location
Ankh Morpork
Is that input and output on the front or twin headphone sockets?

I think if I were making one I think I'd want RCA inputs on the rear along with power with both 3.5mm and 1/4" headphone sockets on the front along with low/high gain switching so I could use my full sized headphones and IEMs.

Seeing the fun you are having I'm almost tempted to bring my soldering iron out of retirement :D
 
Man of Honour
OP
Joined
13 Oct 2006
Posts
92,062
I'm going with inputs on the rear with the final version (I actually cut holes for it on this one but not used hence no picture of the rear as it looks a mess) - RCA would be a good idea though.

Most of my headphones (600s aside) use 3.5mm though I did really start the whole thing originally with the 600s in mind. I did experiment originally with 2x 3.5mm output (one setup for low Z) plus 1x 6.35mm but had problems with space constraints. (One of the nice things about the virtual ground on this - aslong as you don't mind adjusting the volume - it quite happily powers 16 ohm headphones without any stability problems - though a gain switch is also planned for the final version - so far not detected any issues with frequency response though its not something I'm an expert on).

Was playing around with an alternative style for the front (inspired by the HD 90s/Orpheus) - this was just a bit to test the finish and different holes:

me8OPRi.png

But I don't really have the equipment/experience to quite pull the look off.

This has been while frustrating at times overall a very rewarding experience - I probably just had a massive grin on my face before posting this thread just listening to it all working with my test playlist.

EDIT: If anyone has pics, etc. of their own builds feel free to share - its been a great experience and I'm interested in what other people have come up with.
 
Last edited:
Man of Honour
OP
Joined
13 Oct 2006
Posts
92,062
Something slightly different - PCM2902 USB DAC soldered onto a breakout board

7smLCfv.jpg

SSOP-28 by hand is no fun even with flux and drag soldering (no idea yet if the chip survived the ordeal).

EDIT: It lives! (USB DAC)

XpT8Gx4.png

1O7ys8D.png

Audio quality isn't amazing (especially as I didn't have one of the voltage regulators required for "high performance" operation mode) - about on par with the quality from an "ok" realtek integrated or something but the main goal was to familiarise myself (and see if I could even solder a SSOP chip) before spending on anything more expensive.

EDIT: Having some problems with the microphone side of it - had a suspicion the capacitors were the wrong way around in the datasheet example though not sure if thats the problem.

EDIT2: Line in/Mic is messed up - not sure if something got damaged or it just doesn't have enough power due to the missing regulator, added one cap to help with power delivery on the DAC side and the audio quality improved immensely (I actually can't really hear any issues with it now) - with the high performance circuit it would probably sound pretty decent.

EDIT3: Jury rigged a LM317T in there on the USB DAC as a regulator (didn't have any joy with the 317LZ seemed to actually drop more voltage than the T) - not really very optimal (ugly hack job) but seems to have sorted out the issues - just about squeezing enough voltage out of it skipping the adjust circuitry. The input seems to only function as a line in without further changes. Sound quality is now respectable enough though the input side is a bit lacking.
 
Last edited:
Soldato
Joined
25 Jul 2012
Posts
7,396
Location
Ankh Morpork
That looks like a project well worth doing, probably all the amp you would ever need and then some. While you were at it, you could add the ability to use balanced inputs as well as unbalanced in case you should build yourself a balanced output DAC to go with it. That would be a project well worth putting in a fancy box, certainly better than the one they used. :D
 
Man of Honour
OP
Joined
13 Oct 2006
Posts
92,062
Don't think anyone does a single chip balanced DAC with USB controller :S not sure I want to get into building something like that :S (It looks quite advanced to get it all working properly).
 
Man of Honour
OP
Joined
13 Oct 2006
Posts
92,062
For a USB based balanced DAC looks like to do it proper i.e. better than 16bit/48KHz would need to pair something like TMS320C5533 and PCM1794A which involves a certain amount of software programming (the framework is provided so that side of it would be well within my capabilities) bit of a project to take on as a hobby though :S

EDIT: Looks like another option would be CM6631A into something like the PCM179x line.

EDIT2: Problem is by that point your into high end territory that really needs something more appropriate than a pseudo balanced op amp jobbie :S so might as well just chuck the money at a Gungnir, HDVD 800 or similar and/or matching amp.
 
Last edited:
Soldato
Joined
3 Sep 2012
Posts
11,376
Location
P town
Have you tacked any other DIY project such as speakers? Would also make a nice challenge and you could say it's more "accessible" as not much if any soldering would be required, mainly woodwork :p
 
Man of Honour
OP
Joined
13 Oct 2006
Posts
92,062
I was pondering speakers but I don't really have anywhere to properly use them at the moment and to do it proper means getting my head around all the enclosure acoustics issues, port tuning, etc.
 
Soldato
Joined
3 Sep 2012
Posts
11,376
Location
P town
Yeah in some ways it's more time consuming and difficult I guess due to the extra materials and tools that are needed.

Some simple electrics with a soldering iron is a nice place to start like you have :)
 
Back
Top Bottom