A HiFi Power Amp
The recent aquisition of a pair of vintage Infinity RS-5b speakers prompted a search for an amplifier to drive them. According to the documentation that came with my speakers, an amplifier between 35W and 135W is recommended (not my 10W at 10% THD piece of garbage Sharp 3-in-1). Initially, I looked at commercial amplifiers (Yamaha, NAD, and Rotel), but was disappointed at their fairly pedestrian distortion figures. Thus a new hobby project was born :) I came up with some nominal specifications: ·
·
1
Stereo. Whilst I'll use it for watching movies, my flat just doesn't have the room for a full set of surround sound speakers. My main motivation is listening to stereo music sources, so a stereo amplifier is appropriate. Low THD and IMD. In audio-speak, this translates either as clinical or as accurate. I'm an engineer by trade, so prefer terms like THD over "warm" or "cold" which could mean anything. Given that most of the commercial amps offer 0.02% THD or thereabouts, I figured a good target was 0.001%. This
www.forumelectro.ro www.tehnium-azi.ro
·
· · ·
·
means the harmonics and intermods will be 100 dB below the fundamental, and will thus mean that the system performance will be dictated by the source (CD) material, rather than the amplifier. Ample power. 100W seems a reasonable amount. I currently live in a two bedroom flat, and don't want my neighbours to kill me :) However seriously, I figured 100W gives me a clear 20dB headroom at a nominal listening level of 1W. Low noise. I usually listen to my music at reasonably low level, so it's important for the amplifier input to have a low noise contribution. Moderate cost. I'm happy to blow around $1000, as long as I get plenty of enjoyable hobby hours (and listening hours) as payback. Good looks. This thing will (along with my preamp) live in my loungeroom. That means it needs to fit in. I don't want something that looks like an escapee from my shed, so a significant part of the design is involved with building a nice case. Useability. This pertains more to the preamp, but I wanted the whole thing to be completely remote controllable.
Design Background When I was a kid, one of my favorite monthly reads was ETI magazine. In January 1981, they published a series of articles describing the ETI477 MOSFET power amplifier, designed by David Tilbrook. This monoblock formed the basis of the "series 5000" HiFi amp. I desperately wanted to build one, but being all of 9 at the time, it wasn't going to happen. The neat thing about the series 5000 is that it was built around new (at the time) Hitachi lateral power MOSFETs. Most power MOSFETs (VMOS, trenchFETs, HexFETs etc) use a vertical structure, where the current flows vertically. This has the advantage of stunningly low Rds and hence high efficiency, but does nothing for linearity or capacitance. Lateral MOSFETs are a much simpler structure, where the gate oxide is formed on a flat substrate, and the current flows across the substrate. This results in well defined, controllable device parameters, good linearity, and relatively low gate capacitance. However, the Rds of lateral MOSFETs is nothing to write home about. Most amplifiers at the time (and now as well) used bipolar output drivers. Bipolar transistors are cheap and plentiful. They have relatively high transconductance, and can operate reasonably fast. However they have some drawbacks when used at high power. The main one is thermal runaway. The gain of a bipolar transistor increases as it gets hotter. That means that if there's any imbalance between output transistors, the hottest one will pass most of the current, getting hotter until it ultimately expires. MOSFETs don't have this problem. Their gain decreases with temperature, so they share the load well. MOSFETs also have a high input impedance at low frequencies, and are capable (when driven by a suitable source) of extremely high slew-rates. Of course this very attribute makes them rather prone to HF oscillation when improperly compensated, but with careful design they're capable of impressive intermod performance. So having decided that now was the time to build a MOSFET amp, I wandered into the library at work and dug out the old ETI series 5000 amp articles, and had a read. I subsequently found that the series 5000 wasn't Tilbrook's final word on MOSFET amps. In 1987 he revisited the topic for a new magazine, Australian Electronics Monthly. This time (with the AEM6000 amplifier) he went all-out, with a matched-JFET differential input stage, and a complementary symmetrical voltage amplifier stage. A quest for super low distortion figures, with heaps of available gain. This looks like a good place to start.
2
www.forumelectro.ro www.tehnium-azi.ro
Optimisation There were a couple of drawbacks with the design. Firstly, it was based on obsolete TO-3 packaged lateral MOSFETs, and secondly the PCBs (like many kitset boards) were a pretty poor design anyway. I set to work redesigning the PCBs around modern flatpack equivalents (Hitachi 2SK1058 and 2SJ162). While I was at it, I swapped many of the remaining transistors for modern (faster) equivalents. I made the following active device substitutions: · · · ·
JFET input diffamp: SST404 (SO-8). Was ECG461. Low power bipolars: MMBTA06/56 (SOT-23). Were BC547/557 and BC639/640. Medium power bipolars: MJE340/350 (TO-126). Unchanged. Power MOSFET drivers: 2SK1058/2SJ162 (TO-3P). Were 2SK176/2SJ56 (AEM6000) or 2SK134/2SJ49 (AEM6005 and ETI5000).
In order to dissipate 100W in an 8 Ohm speaker, one needs to put 28V RMS across the load. That's 40V peak. At the peak (assuming a resistive load) the amplifier needs supply 5A. Doing the SOA sums (more later) means that 2 pairs of drivers are needed. Further, the Vgs for the MOSFET can be around 10V at high current. This means the supply must be at least 10V greater than the peak output voltage. A twin 40V transformer is appropriate, with a peak secondary voltage of +/-56V. Now that I'd changed the transistors, I had to play with the values of most of the other components as well, in order to get reasonable performance while maintaining stability. Firstly, I decided that rather than the usual 1V RMS full-power input, I'd increase this a bit, to 1.8V RMS. This allows me to use more of the available dynamic range of my preamp, and requires a gain of 16, or 24dB. Transistors (and valves) are inherently non-linear devices. They must be linearised, or else they'll distort the sound. There are three ways to achieve this goal: · · ·
Use the transistor over a very small operating range. Use feedforward to cancel distortion (symmetry). Use feedback to cancel distortion.
Pretty much all amplifiers use a combination of the three. Feedback has a bad name amongst "audiophile" types. Poorly thought out feedback (especially across multiple stages) can result in oscillation (usually at very high frequency, which isn't audible in itself, but destroys the performance of the amplifier. Feedback needn't all be global though. A robust scheme involves linearising each stage of an amplifier independently (for example with emitter degeneration), then using overall feedback (with appropriate compensation) to set the gain. I used Linear-Tech's free spice simulator to redesign the circuit around the newer parts. My main changes were to increase the emitter degeneration in each stage, to improve the linearity of each stage, at the expense of available overall open-loop gain. This is an approach that makes for an easily stabilised amplifier. A somewhat simplified schematic is shown below. Yes, it's a wonderfully complex beast of an amplifier. Heaps of symmetry, and plenty of stages, for ample open-loop gain. The schematic doesn't show the AEM6000 amp. It's my take on Tilbrook's design. The topology is the same, but the component values are different. For schematics of the AEM6000, you'll have to visit the library. Click on the schematic shown for a .pdf version of the real thing, including power supply decoupling and gate protection zeners etc.: 3
www.forumelectro.ro www.tehnium-azi.ro
The results of optimisation are fairly pleasing. Firstly, with the input filter and feedback resistor removed, there's plenty of open-loop gain (>90dB). Even at 10KHz, we still have 60dB gain. If we set our gain to 16 (24dB) the phase margin is around 90 degrees.
4
www.forumelectro.ro www.tehnium-azi.ro
When the feedback loop is closed, the gain curve is pleasantly flat out to 1MHz or so, with very little peaking.
Adding a 1nF cap to the input defines the -3dB point at 160KHz. The gain is flat within 0.1dB to 24KHz.
Using +/-56V supplies, A full-power (1.8V RMS input) 1KHz sine-wave comes through nice and cleanly, with 0.0018% THD.
5
www.forumelectro.ro www.tehnium-azi.ro
A full-power (1.8V RMS) 10KHz sine-wave is still clean, with 0.0098% THD. This promising result indicates that the amp isn't suffering adversely from slew-rate limiting. The intermod performance is also fairly good. Feeding a full power 10 KHz and 11 KHz sinewave, the IMD products are 100dB down:
The simulated amp behaves nicely under overload. Here's the output with an 8V RMS 1KHz sinewave input:
6
www.forumelectro.ro www.tehnium-azi.ro
PCB Layout In order to be faithful to the simulations, I took great care with the physical layout of the amplifier. The PCB is double sided, 6.2" by 3.6", and is designed for manufacture using most through-hole plated processes. Minimum track and space is 15 thou. I've used 4oz plated boards to minimise wiring resistance. It uses mainly SMD (low lead inductance) parts, with the exception of the higher power resistors, capacitors, and transistors. I used metal film mini-melf resistors, as I've had good results with these at RF frequencies, and poly and mica capacitors to ensure minimal distortion creeps in through capacitor nonlinearities.
Thermal Design The thermal design also required some attention. A 100W class A-B amplifier needs to dissipate significant power. It'd be a terrible pity to design an electrically good amp, only to have it blow up the first time it's cranked up. The power supplies are chosen to deliver 100 W into an 8 Ohm speaker. However, considerably more power can be delivered into a 4 Ohm speaker. Using LTspice, I was able to calculate the power dissipated in the output transistors simply by measuring their Id and Vds. For this amplifier, with +/-56V supplies, worst case dissipation occurs at 150 W into 4 Ohms, of 155 W. This is shared equally across the four output transistors. The transistor's maximum temperature is 150 degrees C. The transistors I used have a 1.25 K/W thermal resistance between the die and surface of the case. Shared across all transistors, this equates to a die-toheatsink thermal resistance 7
www.forumelectro.ro www.tehnium-azi.ro
of 0.3125 K/W. Assuming a perfect heatsink, we could dissipate 400 W. The maximum heatsink thermal resistance to dissipate 155 W is given by: I chose a 75mm x 300mm x 48mm Conrad cast heatsink, with Rth of 0.37 K/W for each channel. These will form the sides of the case, and result in a relatively compact amplifier. The thermal resistance is adequate (just!) when used with 4 Ohm speakers, but is plenty low enough for use with 8 Ohm speakers. Due to the restricted height, I've mounted the four MOSFETS to a 40mm L shaped aluminium extrusion, which is then bolted to the heatsink. The PCB is designed with all the power transistors mounted underneath. Bolts pass through the PCB, then the transistors, then into a heatsink, as shown in the diagram:
Measuring the Beast Measuring the amplifier's distortion levels were (and are still) challenging. I borrowed a Tektronix SG505 oscillator, and AA501A distortion analyser. This combination is able to measure some pretty low levels. First, here are plots of THD+N at 1 KHz and 100 KHz, while varying the power from 10 mW to 140 W (into 8 Ohms). The increase below 1 W or so is the noise floor of the distortion analyser.
8
www.forumelectro.ro www.tehnium-azi.ro
Maximum power is 120W (0.0015% at 1KHz). Repeating the exercise at 100 W into 8 Ohms, and varying the frequency gives us the following plot.
THD is about 0.0013% at 1KHz, and rises to 0.0048% at 10KHz. The increase below 100Hz is due to a high pass in the distortion analyser increasing its noise floor. I didn't quite hit my target of 0.001%, but I'm happy with the performance nonetheless. With no input, I measure 52uV RMS on the output (400Hz-80KHz bandwidth). That's 12nV/sqrtHz voltage noise at the input. Given 120W maximum power (31V RMS into 8 Ohms), that implies 115dB SNR. Mechanicals As I mentioned in the intro, this amplifier (and the accompanying preamp) is destined for my loungeroom. It's thus important that it look good with my other stereo gear. I used Autocad to design the enclosures, along with the emachineshop software for the front panels. The heatsinks form the sides of the box, with a monoblock bolted to each via an L shaped bracket. The top, bottom, and rear are simple painted steel sheets, and the front is an (expensive) milled aluminium block, shaped and anodised to look good with my NAD tuner, CD player, and DVD player. There's a 300VA toroidal power transformer (from Jaycar) for each channel in the center. 300VA 9
www.forumelectro.ro www.tehnium-azi.ro
is overkill. I'm sure that I could have used 160VA transformers, but the 300VA ones are readily available with twin 40V secondaries, and it means I can do better than 200W into 4 Ohms. Note that there's no power switch on the front panel. The power is remotely switched in the preamp, allowing the whole thing to be controlled remotely. When paired with the matching preamp, the whole assembly should look quite good.
In the flesh, the monoblocks look reasonably impressive. The heatsinks are certainly hefty:
10
www.forumelectro.ro www.tehnium-azi.ro
Here's a photo of the assembled amp, with rear panel and bottom made from steel sheet. Unlike a lot of stereo gear, there's not a lot of empty space in the box. It's surprisingly heavy, too.
11
www.forumelectro.ro www.tehnium-azi.ro
Once I put the covers on, it looks, well, pretty bloody boring:
Listening Now for the fun part. After setting the bias and offset trimpots with a dummy load (and testing the THD specs), I hooked up my speakers, connected my (as yet unfinished) preamp and a CD player, and stuck a CD in. I'm not really into audiophile adjectives, but suffice it to say I'm pretty damned pleased. It sounds every bit as transparent and clear as I hoped. It's stunningly quiet. I can't hear so much as a glimmer between tracks. I was pleasantly surprised to hear really low frequency detail, especially in movies. Explosions rock the room with wonderful rumbles. One of the unanticipated gotchas is that I tend towards listening at rather higher levels than I should. Unlike my old amp, which made it quite clear when the volume was excessive, this one just keeps on trucking. No distortion, no mud, just clear (loud) music.
12
www.forumelectro.ro www.tehnium-azi.ro
One small problem. When I turn the power off, I get a really impressive thump as the power supplies collapse. I've got some space in the box to add a pair of relays, and a circuit to disconnect my speakers when the power is shut off. I'm in the process of designing an anti-thump circuit: Useful Stuff Here's some design files: · · · · · · · · ·
Schematic in LTspice format. My LTspice standard.bjt file. My LTspice standard.jft file. My LTspice standard.mos file. Schematic in pdf format. Schematic in Protel format. Board layout in gif format. Board layout in Protel format. Parts list in Open Document Spreadsheet format.
The design files included are all you need to build your own (should you be nutty enough to want to do so). Many PCB fabrication houses will accept the Protel PCB file, and (provided you give them money) supply you with circuit boards. The parts list spreadsheet contains the supplier part numbers for all the bits I used building mine. I predominantly bought the parts from Farnell, but some bits were bought from Digikey, Mouser, and Jaycar. Prices in the spreadsheet were what I paid in Australian dollars when I built mine. The list is for a single monoblock. If you're building a stereo pair, multiply by two. If you intend on running a pair of biamped speakers, you'll need four (as well as a subscription to a carbon offset service, as you're clearly using way more power than you should). I know of a couple of people who have successfully built them, and they report considerable happiness and joy. Something that I'm often asked is "what will happen if I substitute XXX" component. Usually output drivers, because the Hitachi Lateral FETs are really expensive. In short, I don't actually know. If you want to modify the design (and I really encourage you to do this) then go for it. Download LTspice, find models on the web for the transistors you're interested in using, and go at it. There's room for improvement, especially around the VAS. The MJE340/350 combination isn't the fastest on the block, and I reckon some more ergs can be squeezed out by substituting faster Toshiba or Sanyo parts.
13
www.forumelectro.ro www.tehnium-azi.ro
If, on the other hand, your interest is in building it more cheaply, then I'd really advise against this design. There are a bunch of other amplifier designed published on the net that provide much better value for money than this one does. Other Variants I like this amp so much, that I'm currently (August 2007) cobbling together a low-power version for use in my study. This one uses +/-40V supply rails. I've taken advantage of the lower voltage by r e d e s i g n e d t h e intermediate stage using MMBTA06/56 SOT-23 transistors for a bit more speed. This will shortly drive my cute homebrew Vifa monitors (thanks to Rabbitz from DIYaudio for the design and much good advice) as shown in the picture below:
Once I've got the design a bit better settled, I'll put up the design files. For now, here's a pdf schematic for it. A disclaimer A quick word to the reader. I'm presenting this design as a blog. It's something I've done for myself, and I thought it would be nice to share. I'm not interested in selling kits, or boards for the project, so don't bother
14
www.forumelectro.ro www.tehnium-azi.ro
asking me. Further, this is a very complex amplifier. It's got lots of gain, many stages, and a huge number of components. It's not suited to building on veroboard, tagboard, breadboard, or any other crappy DC prototyping-on-the-cheap construction method. It has gain out to HF frequencies, so requires construction methods that match. That means a real PCB. So if you email me with questions about where to get a kit, how to build it with sticky tape and rubber bands, or other inane topics, please don't be offended when you don't get a reply. If, however, you have made interesting developments with the amp, then I'd be thrilled to hear from you. http://www.littlefishbicycles.com
15
www.forumelectro.ro www.tehnium-azi.ro