Go Back   Home > Forums > Blogs > abraxalito

Rate this Entry

Designing the best bang-for-the-buck headphone amp

Posted 10th October 2015 at 01:55 AM by abraxalito
Updated 16th October 2015 at 05:36 AM by abraxalito

Headphone amps aren't any different from speaker amps in principle - what you hear (apart from a bigger version of the input signal) is the power supply's noise coupled through the inadequate PSRR of the electronics.

SE classA operation is a way to minimize the generation of power supply noise by arranging the current flow to be constant to a first order so that any remaining ripple on the supply is the result of the finite output impedance of the follower's loading current source and those of the driving stages. But how significant are these 2nd order effects? This design is an attempt to find out - by reducing them as far as practicable.

The idea is to run SE classA at a much higher voltage than is needed to drive the 'phones (balanced, with 80V supplies giving 144V peak-peak) then step down the output voltage with a custom-wound output transformer. This has the effect of increasing the PSRR of the amp's output stage. I'm not worried overmuch about the PSRR of the earlier stages because not handling any significant current their power supplies don't need to be such low impedance. Running at high voltage also it means running at lower output currents so hopefully the semiconductors will be more linear too. The downside is more gain is needed because the trafo has negative gain (in dB terms). Another upside of running at higher voltage which is interesting to me is that the capacitance required for a given power supply ripple gets smaller (in uF and also in physical size and cost) because the energy storage of a cap is a function of the square of its working voltage.

Having the output transformer brings another major benefit - with multiple secondaries its possible to optimize the drive levels for a multitude of different impedance phones without wasting too much classA bias current. Without the trafo, the bias levels would need to be either variable according to the connected load or set to drive the lowest impedance with concomitant waste when driving high impedances. I've wound one of the output transformers and the second is underway. These transformers are seriously cheap in terms of materials (on Taobao the PQ32/30 core sets are about $0.50) - the major investment is in terms of the time taken to wind (ignoring the cost of a little wire).

With the first trafo I pretty early on got tired of counting the windings - I always lose track anyway - and this winding is the longest I've so far done, with a primary resistance of 1.3k. The wire is 0.07mm diameter which clocks in about 3.4ohms per metre length, so there's almost 400m of wire there. The calculations I made showed I'd need about 4900turns. Due to estimating the turns by measuring the diameter of the enlarging coil I actually ended up with about 5200, calculated by applying a known AC voltage and seeing what came out of a test secondary winding of 10 turns attached to my millivoltmeter.

The secondaries are much easier to handle, with the proviso that all four of them have to have precisely the same number of turns (141) so they can be wired in parallel to drive the lowest impedance phones with a respectable source impedance. They're made from 0.23mm diameter wire. Wired in series they'll put out about 100mW peak into a 600ohm load when the primary's driven to 72V.

So what bias current is necessary for the OPS? Its a function of the worst-case loading and also the magnetising inductamce of the trafo's primary which increases the current draw. On the LCR meter the primary inductance is 140H however this is somewhat level dependent, the ferrite material not being particularly linear. So I'll make some measurements when I have a working channel (i.e. two amps in anti-phase). I'm not yet sure how to do the phase splitting - perhaps an input trafo?

For a power supply I've re-wound the secondary of a 5VA EI transformer to hopefully give me around 90V unregulated which I'll use an LC then a series pass transistor on. Secondary resistance is 50ohms, primary 675ohms. I suppose if I had enough patience to wind a very large choke, a choke input supply would work - trouble is it would need a higher secondary voltage. That might be an experiment for a later time.

I've uploaded the schematic - there eventually will be opamps where the two voltage sources are, arranged to deliver anti-phase signals. The 1.75V sources (with 68R in series) are in practice red LEDs. The output is strung between the two phases - shown as a 52k resistor and the shunt inductance and capacitance of the transformer (140H, 65pF).

Of note are the 'Hawksford' style cascode for the top side current source, except I've tapped off its feed point to avoid instability. Similarly the darlington buffer is bootstrapped and its stability is ensured by the RC network to neg_rail.

One simulation result of interest. To see how much power supply noise is generated I introduced a 100R series resistor in the rail. But turns out LTSpice is better at showing the current through that resistor than the voltage induced on the rail. So I've added a plot of that current - it varies between 7.243mA and 7.24294mA with a full-scale 40Hz signal applied. So just 60nA peak-peak.

Pic of first prototype added - not yet powered. The TO126 transistors are 2SA1381Ds and the TO99 cans are LM144Hs.

Update - I've been listening to my mobile phone through it, into the AKG240s and Superlux HD668s. One of the first things I noticed, trying the Superlux first (I figured they're cheaper so if it proved unstable, less to blow up) was they reminded me of listening to Stax's, many years ago. The way the soundfield is so disconnected from the drivers that produce it was the main resemblance. At first unimpressive - which to me is a very good sign. There's so much ambience retrieval its difficult to tear myself away from listening. This amp sounds less like an amp of anything I've built to-date - quite hard to distinguish between sounds coming from outside and those on the recording as the soundfield is so 3D.
Attached Thumbnails
Click image for larger version

Name:	P1010035.JPG
Views:	282
Size:	588.0 KB
ID:	1741   Click image for larger version

Name:	P1010036.JPG
Views:	255
Size:	705.9 KB
ID:	1742   Click image for larger version

Name:	balSEclassAheadamp.png
Views:	761
Size:	28.5 KB
ID:	1744   Click image for larger version

Name:	PSUnoise100R.jpg
Views:	137
Size:	46.6 KB
ID:	1746   Click image for larger version

Name:	P1010039.JPG
Views:	284
Size:	643.0 KB
ID:	1748  

Click image for larger version

Name:	P1010041.JPG
Views:	481
Size:	686.1 KB
ID:	1749  
Views 1370 Comments 4
Total Comments 4

Comments

  1. Old Comment
    rjm's Avatar
    To be clear, I'm totally behind your experiments - I just want to keep you on the straight and level, thus:

    1. What we hear as the sound of an amplifier is first and foremost the distortion of the input signal by the output stage, the background noise level meanwhile almost always originates at the point where the signal is lowest: the phono stage or the input section of the preamplifier / headphone amp. The noise, self generated or power supply, of the output stage is not usually relevant in a competent design.

    2. Tube amplifiers are transformer coupled because vacuum tube output impedance is high. In solid state you can easily make an output stage to drive 200 W into 4 ohms directly. Making a transistor output stage drive any kind of headphone 16-600 ohms to 100 mW or more is trivial. "optimizing" for a given load is not necessary: milliwatt power is dirt cheap design cost. The only issue is gain, which can be addressed at the input stage.

    3. Speaking of voltage gain - voltage gain is not free. More gain introduces distortion and noise at the input / voltage amplification stage, and attenuating it back at the transformer doesn't remove either.

    That said, I can see that for your stated topology - single ended - the transformer has advantages since the circuit is fundamentally happier running at higher voltage / lower currents, and bias current (i.e. output power) is a relatively expensive design cost, compared to push-pull.

    By the way, could you perhaps append a sketch of your proposed circuit to the post above? It's not totally clear whether the transformer is parafeed or not, and I'd be interested in seeing the other details of the intended application.
    permalink
    Posted 12th October 2015 at 11:40 PM by rjm rjm is offline
  2. Old Comment
    abraxalito's Avatar
    On your first point, it must follow that I so far have only designed incompetent amplifiers as I've not heard the distortions of my output stages yet, but have heard noise from power supplies. I'm still learning though - but given what I hear, I'll concentrate on improving the things that I hear.

    On point 2, I agree and have done several designs where the output stage drives a speaker directly. I would also agree that optimizing isn't necessary, however it is desirable where the amp is classA. I'd like to build a portable classA amp and battery life most assuredly is an issue.

    Point 3 - agreement.

    I'm working on the design - yesterday I worked out the power supply so I'll post that up shortly. Today I'll continue to work on the amp stage - I listened to a single-ended version of it (with different transformers) and now I'm modifying that into balanced form.

    Thanks for the comments btw, appreciated.

    Incidentally here's a thread about a speaker amp where once again, power supply noise was the audible issue. I even show some measurements - Possibly the most frugal high-end sounding amp?
    permalink
    Posted 13th October 2015 at 12:06 AM by abraxalito abraxalito is offline
    Updated 13th October 2015 at 12:12 AM by abraxalito
  3. Old Comment
    rjm's Avatar
    You got banned?

    Okay, 'competent' was a poor word choice in my part. Still, total output noise is most likely to be dominated by the stage where the signal level is *lowest* not the stage where the signal level is highest, i.e. the power amplifier output stage.

    With a chip amp it's all in one, so the point is moot. You perceive the noise and since there is only one component you correctly assign it to that component. That and chip amps are notorious for noise coupling into the noninverting input, generating positive feedback of ripple and hum.
    permalink
    Posted 13th October 2015 at 05:36 AM by rjm rjm is offline
  4. Old Comment
    abraxalito's Avatar
    Yeah I got banned for nothing on there - on the whim of an admin (Amir I think) - presumably because he saw me as too much of a threat?

    Well it does look like you're thinking in noise terms about Johnson (thermal) noise. In an amp the signal that's subject to the most gain needs to have the lowest thermal noise because the subsequent gain amplifies the noise. I agree so far.

    In the case of an amp, the stages with the input signal level at the lowest (the LTP typically) the power supply can be insanely regulated and the LTP is in classA. So there's as low noise as you want on the PSU - for classA you can use the 'noise finessing' technique shown by Wenzel (oscillator people) if you really need to. Hence - bye bye supply noise.

    With a classAB amp the stage where you have to tolerate some load-induced supply noise is the OPS. Hence in practice that's the one which is going to give most grief, because it has the heaviest load.

    TL,DR version - noise per se isn't really a problem, but shifts in the noise floor correlated with the music ARE. Noise modulation in other words.
    permalink
    Posted 13th October 2015 at 06:03 AM by abraxalito abraxalito is offline
    Updated 13th October 2015 at 06:07 AM by abraxalito
 

New To Site? Need Help?
Copyright ©1999-2017 diyAudio