Showing posts with label Amplification. Show all posts
Showing posts with label Amplification. Show all posts

Sunday, 11 August 2013

Class A contenders numbers 2 and 3...

As it is now heading towards the winter months again, my thoughts go back to Class A amplification.  While the JLH is a very nice amplifier, I haven't felt it is the ultimate solution, at least not for the whole of my odd speaker.

The JLH simplicity makes it a slightly quirky affair... too much deviation from the original design and it gets upset, which is a shame as a chunk more feedback would make it fit much better in my system in terms of gain and also lower the distortion helpfully.

I also thought it worth to revisit the JLH to see what was possible with higher voltages and bias points... at this point, I'm just interested in the 1 watt into 8 ohms performance... here's the results I got from the experiments...

                    2H   3H   4H   5H
24V 560mA = 13.4W  -59  -73  -89  -102
27V 667mA = 18.1W  -61  -76  -95  -109
24V 835mA = 20.1W  -67  -79  -104 -113
30V 774mA = 23.2W  -63  -79  -99  -114
33V 922mA = 30.4W  -65  -82  -104 -118
35V 973mA = 34.1W  -66  -83  -105 -118 

So substantial gains from higher voltages but also a lot more waste.

I have been looking at other simple designs too.  A kind audio fellow in France sent me some original boards for the Hiraga 8W design.  I've had my own boards based on this design sitting around for, ooh, probably a year now, including one based on PTFE (christened the "Slippy Amp" as ink would just slide off it) but never quite got around to finishing them.  All that needed to be re-added was some 1 ohm power resistors, after I'd carelessly not mounted one of the power transistors very well.



The schematic can be found on the link above.  It is a very simple amplifier with a lovely symmetry to the stages.  It runs at fairly low voltage, but with very high bias... around 1.7A.  You can run it off big lead acid batteries, if not for that long.

I haven't actually sat and listened to the Hiragas as yet simply because the measurements suggested a big difference in characteristics between the two boards, which is likely to lead to a flawed evaluation.

                 2H   3H   4H   5H   6H   7H
Hiraga Board 1  -42  -81  -76  -74  -83 -101
Hiraga Board 2  -45  -52  -86  -69  -81  -79


I'm not entirely sure why that is, whether it is careless abuse on my part or whether some of the parts are damaged, but in any case it will be interesting to compare to my own boards when complete.  The basic distortion performance appears to be considerably worse than the even simpler JLH design for the same power consumption.


To throw something very different into the mix, I had decided to build a new amplifier for the bass drivers... rather than going for a Class D, I'd decided to try a Class AB which had the potential to run in Class A for a few watts.  The design in question is the LME49830 reference design, originally from National Semiconductor, before being absorbed by TI.

The LM49830 is essentially a near-complete MOSFET driving solution for an amplifier design, containing all the front end and driving circuitry required for building an amplifier.  It is very low distortion and results in a fairly simple PCB.  Rather than go to the trouble of designing my own from scratch, I decided to use the reference design.


The boards are 3.2mm FR4, with 4 oz traces.  Not cheap, but if you are building something to handle power and want something that will not flex, this makes a lot of sense.  I decided to stay close to the original specifications of the parts - a lot of the parts are exactly as listed on the BOM.  A few minor changes are the use of silver mica instead of polypropylene for the signal filtering, non-inductive wirewound power resistors, and slightly bigger local decoupling caps for the LME49830.

The power devices used in the design are the Toshiba 2SK1530 and 2SJ201, PDFs on Bob Cordell's website.  These are beefy complementary MOSFETs with a lower than usual turn-on voltage - they should not be confused with lateral MOSFETs which have a very different structure.

When finally built up, they look something like this...


A parallel pair of N FETs and P FETs are used for high power handling and low output impedance.  The pairs of FETs were as tightly matched as were possible from the ones I had.

As supplied, it appeared that the LME49830 reference design can be biased from approximately 200mA to 550mA.  For normal use, that is plenty but for lower voltage operation I was interested in seeing what benefits there were from going that little bit further.  Adding a resistor in parallel let me increase the maximum point to see what was possible.  I decided that going beyond 700mA would probably be pointless so ended up setting that as the maximum.  Here are the distortion results so far, again for 1W into 8 ohms, with +/- 23.5V rails...

             2H   3H   4H   5H   6H   7H   8H   9H
201mA bias   -98 -100 -111 -107 -124 -119 -124 -127
541mA bias  -105 -107 -125 -118 -125 -124 -126 -127
700mA bias  -115 -116 -133 -126 -133 -132 n/a  -135

The distortion as can be seen is incredibly low.  For the 700mA bias result, I suspect the D/A and A/D are actually the limiting factor in the results rather than the amplifier itself.

Listening to the amplifier is an unusual experience.  I'm not sure what to make of it so far... it reminds me slightly of the ExtremeA amplifier, but will need a bit more time to make my mind up...

Monday, 14 May 2012

JLH gets regulated (temporarily)...

Over the weekend, I tried to get modify some of the high efficiency DC/DC converter boards to output 26V for the JLH, by replacing most of the passive components with different values suggested by TI's design software, but not a great deal of joy was had - while they will happily do 26V into no load, the under voltage lockout/ramping doesn't appear to be right as they only output around 3.3V when connected up to the amp... ah well.

So why not try plugging into the linear bench supply?  If memory serves (I built it a few years ago), this is LT1084 based, so capable of decent grunt with the die cast aluminium case acting as a heatsink.  The outputs have been configured for a voltage of around 33V.

First results are promising with an 8 ohm load - modulation is now down to almost nothing, and the noise floor is much flatter... but there's a lot of high order harmonics present that weren't seen before in the unregulated supply.  Let's try reintroducing that hand-wound 2mH 0.03 ohm choke between the supply and the JLH... hey presto, much cleaner!

(Note: signals are still being normalised to 0dBFS)

It's important to remember that most linear regulator ICs are not good at suppressing higher frequency noise... that said, it is surprising just how big an effect the choke is having.  The performance is now very impressive indeed for a simple circuit, and fully satisfies a basic objective criteria for a "clean watt".

Let's go further and try it with a 15 ohm load again, this time comparing to the measurement reference DAC being used as a source in these tests.  The DAC is based around an old WM8740 evaluation board whose heart has been replaced by an AK4396 in the name of better objective measurements... here's what it looks like inside...


All the mains circuitry in the picture is purely for charging - when in use, the design is disconnected from the mains and the DAC runs fully off battery power, with digital input coming via. optical for electrical isolation - this eliminates the possibility of annoying ground loops at the input end.

The measurement reference DAC is driven with a 24-bit 96kHz test signal, captured by a modified LynxTWO-B board with AK5394 A/D conversion... this is as high as the board will take in its current form via. S/PDIF, and appears to give good results... while it is certainly possible to achieve lower distortion than this (the simplest means being high order filtering around the test tones), the results are plenty good enough for a basic check point.


Putting to one side the second and third order harmonic, the JLH closely mirrors the distortion and noise of the input signal... in fact, if anything, you could say that the JLH appears to have "cleaned" the signal up a bit - this suggests that the output of the DAC probably would benefit from a little bit more filtering.

This is pretty good performance and suggests I should build up some linear regulators as soon as possible for the JLH so I can go back and listen to them again!  While a discrete regulator would be interesting to play with, I've ordered some LT1083 to do an initial first run with, as the design seems to work so well with even a traditional series regulator.

Friday, 11 May 2012

Class A contender no.1 - JLH 1969

When it comes to audio, in my opinion, quite often simple is good, sometimes best.  It's very easy to overcomplicate designs and introduce additional problems, only having to add additional parts to ameliorate basic flaws.

A perfect amplifier, as someone once said, is a piece of straight wire with gain.  While there are plenty of line level ICs such as opamps capable of vanishingly small levels of measurable distortion, achieving the same with much higher levels of current and voltage is much more taxing.

As has been said, running in Class A gives a head start in terms of low distortion, as it avoids the problem of crossover distortion in Class B amplifiers, where the amplifier switches fully from sourcing to sinking current, or vice versa.  To lessen the problem, Class B amplifiers are often offset biased to become a Class AB, so that the amplifier operates effectively in Class A for a fraction of its rated power.  This is very effective at reducing crossover distortion, but as Class AB amplifiers tend to be designed for much higher powers (and therefore, typically run on higher rail voltages), the bias amount tends to be fairly small to keep consumption down.

For the sake of a single clean audio watt, I believe that (with mains power at least!) Class A is probably the best way of achieving the goal... as an added benefit, Class A circuitry tends to be simpler which means from my perspective, less componentry to sully the sound.  An excellent reference on the subject of Class A amplifiers is the Class A amplifier site, run by Geoff Moss.  The site focuses on variations of an amplifier developed by John Linsley Hood, or JLH as he is often referred to.

JLH came up with quite a brilliant little Class A design which was the subject of a Wireless World article back in 1969, and is still a reference today.  It uses just four transistors, one input level PNP, a mid powered NPN for phase splitting and two beefy NPN power transistors for the output.  As was common for the time, this is a single rail non-complementary design which means you can really go to town on just one rail of power supply and not worry about how complementary your output pair really is.


One of the reasons why the design needs so few active parts and can run single rail is due to the simplistic biasing and that both the input and output are AC coupled (so coupling capacitors in the signal path).  Some audio enthusiasts run a mile at the thought of capacitors in the signal path, but I am not one of them.  Providing the cap is of high quality, I'll happily take one over a far less linear active device which will leave a much bigger sonic imprint (to my ears, anyway).  They also provide a degree of safety over that inevitable time when then the bias "wanders" and there is an unpleasant amount of DC going where it is not desired...

I won't go into the circuit operation in detail as far wiser heads than me have debated it in great detail over the years, but it can be read as a simple three stage amplifier.  While I've grown to have a fondness for FETs over the past few years, the sound of a JLH amplifier has always stuck with me, so thought it was an excellent bipolar-based design to start with.

As someone who's designed a few bits of audio kit in their time (and still do, when time permits!), it feels a little lazy to use someone elses' PCB, but you have to value your time when it comes to these things... there is often little point in reinventing the wheel, particularly when going after a fairly faithful recreation.

I decided to start with the first iteration of the JLH design, as this is the simplest (and you could argue, purest) form of a bipolar Class A that you could wish for.  I found a seller on eBay that does what appeared to be authentic looking 1969-design PCBs with the added bonus of supporting more modern component pinouts if you wanted to try different parts.

On the whole, I was keen to stick close to the original transistors, with the exception of the output transistors... by all accounts, the OnSemi MJE15003 are considerably superior to the originals in this design and so could be used without hesitation.  TO-3 packages are a pain to mount compared to the more modern TO-247/TO-3P as they usually need an angle bracket when using with a PCB... this is then thermally coupled to the primary heatsink.


For extra security against misalignment, I put PTFE sleeving around the TO-3 pins... this ensures even if the TO-3 packages somehow wiggle their way to making contact with the metal, no shorting should occur.  Fancy alumina ceramic shims (about 1.5mm thick or so) were used to thermally couple but electrically isolate the TO-3s from the heatsink, with liberal use of good quality thermal paste in the sandwich. This naturally gives a bit more lead inductance but reduces stray capacitance.

I chose to keep the original 2N3906 PNP (using a Magnatec part which should be very close as a second source to the original Motorola version) for the input transistor, though for the NPN splitter, I ended up going with a 2N1711 branded part with lovely-looking gold plated leads - the 2N1711 was endorsed by JLH as a superior replacement so feels authentic enough.  All transistors were tightly Hfe matched, across both pairs and channels.  I would have preferred higher Hfe parts but out of 16 power transistors, the "best" were around 50ish, with a lot of them much lower.

There didn't seem much point to throw exotica at this first attempt, so you won't see any teflon capacitors or tantalum resistors here - the input cap is a salvaged WIMA Polypropylene from an amplifier refresh, and the output capacitors are effectively "no name" Forever-branded units of basic merit.  The decoupling capacitors are good quality Rubycons, bought in for the job


 I socketed R5 in the picture so that I could tune the output to be half the rail voltage as JLH recommends, but the fixed 100K was so close to half rail already that I took the trimmer pot out and put the 100K back in.

For the sake of getting things up and running quickly, I wanted to skip the regulated supply and try one of the many simple unregulated supplies floating around here of many voltages - unfortunately never quite the *right* voltages, it seems!  Commandeering a set of 2x25V 160VA toroids from Antrim, back when Maplin used to sell more interesting componentry, I put the secondaries in parallel, rigged up a simple full wave rectifier and threw a big Elna Cerafine on the output.  Hm... a bit high... off-load DC voltage was something like 45V!

This design is meant to run off 27V for 8 ohm loads... more could certainly be tolerated by the parts in question, but that it going to get properly toasty at that, never mind being worried about the health of the some of the parts from a voltage point of view.  A bit of thought, and I remembered that there were a couple of 100VA toroid cores spare which I'd intended to wind chokes with... a spool of 30A wire and a patient Anna resulted in two simple chokes of approximately 2mH each, and very low DCR.  These were put in series with the rectifier, and kept well away from the mains toroid in use.


As the angle brackets were rather oversized for the job, it was thought that it would function as a basic heatsink for now - after all, it should be only 30W or so per channel.

Both amplifiers were gingerly powered up, and gladly showed signs of sane biasing the first time around, rail being between approximately 32 and 35V.  The bias starts off fairly low and stabilises at a considerably higher point, being similar for both channels... the bias appears to be very sensitive indeed to temperature - just grabbing the heatsink with your hand is enough to affect the bias to a significant degree, which does sound like an element of the design that will benefit from slightly more complexity!

Ok... enough of this faffing about, let's get them into the main system and see how they sound.  First night impressions were very positive indeed... while I wouldn't call the resulting sound "airy", it certainly came across as more beguiling and of fine definition.  I've experimented with many amplifiers over the years but have usually come back to my humble Arcam Alpha 8Ps... a quite traditional (and relatively complex) Class AB amplifier with a complementary MOSFET output stage - the JLH was certainly bringing something new, though quite hard to define.

Let's see what some measurements show.  For sake of brevity, I'm just going to show some normalised 24/96 65536-point FFTs of a 1kHz input... load is a 25W wirewound power resistor of either 8.2 or 15 ohms.  This lets you see the harmonic spectrum, and give a great deal more information that any single THD figure will.  While these traditional measurements only give, IMO, a small insight into the sound quality of a device, the order and shape of the harmonics can be quite revealing.  There have been alternative tests proposed for quite some years, but this a reasonable starting point.

Let's start with a 15 ohm load first.  This was done at considerably less than a watt as the MF+HF units will rarely get anywhere near a full watt... if they do for any length of time, I'll probably have my fingers in my ears, and perhaps the neighbours might want a word...

The first thing that is immediately obvious is that the JLH output is being modulated, probably from mains harmonics... at a relatively low level, but nevertheless impacting on the sound.  This is likely to be a combination of the very primitive unregulated supply and the primitive biasing arrangement.

The second thing that struck me is how much (relatively speaking) high order harmonic distortion the Arcam has.  While this amplifier will no doubt measure very well in terms of a THD figure, the harmonics of this single test tone are spread across the whole frequency range.  Second order harmonic distortion in my experience is fairly benign and is generally overwhelmed by the speaker contribution, so isn't worth worrying about unless of a very high quantity... third order is a bit more concerning, and I'll generally like to see it below -80dB on the reproduction front, and fifth and above odd harmonics preferably below the noise floor.

A high noise floor is evident on the Arcam, possibly down in part due to the high gain that this amplifier offers, considerably higher than that of the JLH - I suspect when the JLH is given a better power supply and better biasing, the noise floor will drop further to go with the lower modulation.

Let's have a look at an 8.2 ohm load now, at close to a watt - this is considerably harder than I'm putting on the amplifier at the moment due to a resistive attenuator network for gain matching, but is interesting for comparison purposes.

Note that with the more difficult (albeit still only mostly resistive) load, the modulation on the JLH output has dropped considerably.  The JLH second harmonic is quite high (which would lend a rather poor THD score, for what that's worth - not very much) and slightly higher on third harmonic, but aside from a few odd glitches, higher harmonics are pretty much absent.  Odd order harmonics on the Arcam are visible all the way up the 15th, and this isn't even with extra averaging.

So the Arcam isn't very good objectively at low power levels... consistent, yes, but not particularly low in even basic distortion tests.  The JLH is already sounding good, although these results do suggest that the modulation will be impacting on the sound - hard to know if this is being perceived positively or negatively at the moment.

In any case, there is more work to do on the JLH... whether I will attempt to modify the existing boards or start afresh, I'm not sure, but it's certainly worth some more listening hours!  :)

Wednesday, 9 May 2012

The perfect watt...

And so we move neatly to the subject of amplification.  The amplifier in a system is generally dictated by the speakers, as different speakers have different requirements.

Broadly speaking, the majority of modern commercial speakers are in the region of 86-90dB/W/m, which is what I'd class as "mid efficiency" units.  These can be driven to modest levels by almost any amplifier, but ideally 20 watts or more, depending on how wild the impedance curve is.

Heading into the realm of drive units designed for high SPLs (a typical example would be for PA use) are units in region of 95-100dB/W/m... I class these as "high efficiency" drive units, which typically have very powerful magnet systems and lighter diaphragms.  There is a penalty (other than the typically high price) in that the lighter cones often lack the critical damping of lower efficiency units, which can lead to considerable colouration in the sound... however, the gains can be worth it.

Once you are beyond 100dB/W/m, you are in "super high efficiency" territory.  While even a 100dB drive unit may only be technically a few percent efficient in terms of converting electrical power into sound, these units are vastly more efficient than a conventional unit due to the log scaling.  The use of horns in particular can allow (given enough space!) very high SPLs from only a handful of watts.  If you are prepared to spend serious money, then 110dB/w is feasible!  At this point, an amplifier is practically unnecessary - a liability, even.

Back in the real world, we have limited resources, and without the space for large horns (or wanting to deal with their own set of issues), "high" efficiency is a reasonable goal.

My own speakers are essentially divided into two.  A bass driver operating essentially in free air, which is very inefficient, and a midrange and HF unit of relatively high efficiency.  While the bass driver requires a powerful amp, ideally of at least 100-200W in power handling, the midrange and HF unit are never likely to see more than a watt in typical use.

You can further lower the workload on the MF+HF amplifier by taking advantage of the fact that there tends to be more musical energy at the low frequencies than the high.  By moving the high pass filter from the speaker crossover to before the amplifier input, you can reduce the load by 3dB or more, depending on the music.  Do note that this is fine for a midrange like the TD15M Apollo which has insane (>500W) power handling as even if the amplifier goes DC, the speaker won't care, but it's a really bad idea to DC couple any kind of high frequency driver without suitable protection in place.  Be warned that it can be an expensive lesson...

The high power demands of the bass driver realistically limit choices to a Class AB or a Class D solid state amplifier, which aren't very interesting from a purist point of view, and this drive unit is only covering a few hundred Hz with fairly quick rolloff, so let's not concern ourselves with that for now.  What is interesting is the watt for the MF+HF, which covers roughly 250Hz onwards... the bulk of the sonic spectrum.

So we want a good watt... how to get it?  The immediate answer is Class A operation... whether it be a single output device or a push pull pair, "always on" operation yields the lowest distortion, but unfortunately also the lowest efficiency.  For a single clean watt, we can sacrifice efficiency and still keep power consumption within manageable limits.

(Do note that I've seen a Class D amplifier that idles at over 20 watts, so it can be dangerous to make assumptions purely based on topology!)

There are some very well known Class A designs that put out a few nice watts, and I've been endeavouring to build them up to try with the speakers... time to build, listen and measure... in that order.  :)