PCB routing for audioamps
A question about pcb layout came up in a thread called ”mos-fet amplifier question...”
I make my own PCBs but only a few of them are audioamps and I'm doubtful that any of them would pass ”OK” if an closer examination was made by an expert in this area.
This subject has been more or less discussed earlier on diyaudio with comments about groundloops, oscillation, noise and of course pictures on some real nice PCBs.
My thought is that ”PCB routing for audioamps” would end up in some sort of guide on how to, don't do this and why?
Anyone out there willing to propose or even better contribute with schematics on two amps. I think that two schematics with a small number of components, just enough to walk through the biggest traps.
I think one schematic of each BJT and MOSFET amp.
I would be happy if as many as possible on DIY could show up their artworks from the two schematics and then discuss what's wrong. Remember, this is in no way any sort of competition any layout is welcome.
Books has been written on almost any subject which comes up on DIY so why not PCBs.
If someone think this subject has been discussed enough let me know.
If something is unclear just ask, I'm just a Swedish guy so some words could be mixed ;)
I think that plated double sided boards are the way to go.
I have made several layouts of poweramps and found little difference to the sound (Same parts and schematics) if just some basic rules are used.
1) Lots of CU for powertracks
2) Lots of CU for ground
3) Seperate small signal ground
4) On board rail caps to minimise inductance in rails
5) Short tracks are made possible by using two layers
I can give my leach amp as an eksample:
Good information on PCB layouts is quite hard to find. There are a couple of good books out there on the subject, but I'm afraid I cannot recall the titles. I have never found any websites with anything more than basic information on them (except info on RF PCBs, but that's moslty not applicable to audio).
A few tips I have picked up:
To Jens : Are this big caps BESIDE rails fuses ?
The most important think I've found is to keep the output section on one end of the PCB and the input on the other. Even a little empty space in between is helpful. The reason is simple - the higher currents and voltages of the output signal can be picked up inductively by the lower voltage and current input traces resulting in oscillations. This is the same reason you shield input wiring or at least keep it as far away from the output as you can. You can usually combine this consideration with the the way you want to arrange the PCB/output devices/heatsink structur.
Have a sense fot what parts of the power rail traces will carry higher currents and be sure the are large enough. See www.vutrax.co.uk/trackwidth.htm for a table of track widths and note that thicker copper is also an option. While I also try to use nice wide tracks for ground traces, I've found no advantage to a ground fill. Some have reported it is prove to become an antenna! I try instead to keep the ground traces fairly short and take them off the board with an orthagonal wire ASAP. Look in the articles archive at www.rane.com there is a POwer Point presentation that mostly concerns digital circuits but has some interesting thoughts such as how a ground plane parrallel to the bottom or side enclosure can form a resonant RF cavity. This is pretty esoteric but some linear devices have pretty high ft's so this could be a another contributor to oscillation.
I had independently reach the same conclusion as the Rane presenter in on other area -- narrow traces are not all bad. In the small signal section I use narrower traces because what goes along with them is more space in between traces.
Other rules: avoid long straigt traces as they become antennas, juast putting an extra bend in here and there helps; avoid parrallel traces unless they are signal and return path, includinf traces on opposite sides of the PBC, per the ubiquitous D.Self, output sections are fairly imuse to ripple so I locate rail bypass caps closer to the small signal sections where they are most needed, usualy at the point the low and high current sections separate.
You may realize by now that there are no cookie cutter rules in this, just a lot of advice some of which is contradictory. That's one thing about the Rane articles mentioned -- you realize that even the pros have diffuculties and ambiguities in this area.
I did not read one very important rule yet:
Do not have signal traces leading to high ohm resistors parallel to another signal trace.
That is one sure way of getting an amplifier circuit to oscillate.
Avoid it, otherwise place a ground trace inbetween.
Preferably no 90 degree cornering, unless you can chamfer it by making the trace wider at the corner section.
I think there is never enough ground plane. The longer the ground trace to ground centre the wider.
If you try to follow all these "rules", including mine, you will think an impossible task lies before you. If you try to rigorously obey all of them you will never get anything done. Just getting all the componts on the board and connected without useing too many wire jumpers is challenge enough.
I suggest you just locate the comonents that MUST be at the edge of the board first, then fill in the rest by keeping related comonents fairly near each other (you be able to do this perfectly!) and start routing. Expect to take a few trys at routing before you even make the board -- you will find you hasve trapped yourself so that the last couple of traces are impossible -- just start over. Don't be frustrated - treat it as learning and practice -- when you finally etch the board it will be better just because you made several trial routings first.
Since the chances are high there will be a problem with the first etched board. Don't be afraid of cutting traces and re-routing with a bit of wire on the bottom side. Electrons don't care whether the board is pretty or ugly. And you will learn something from working out the problem.
Don't clip off the leads of the expensive devices too short until you know the board works. This lets you salvage the expensive stuff and makes it psychologically easier to throw out a PCB and start over.
There are a couple of problems with the rules that were posted.
A- Almost anything you do to make one thing "better" makes something else "worse".
B- Some rules pertain to certain situations but do not apply to the immedeate situation. They have been passed on from person to person out of context. Possibly the biggest source for this is rules that come from RF and military practice. In fact, as an amp builder one thing you are always fighting is stray RF getting into your circuit, thus practices that facilitate good RF circuits may be exactly the opposite of what you need.
C- It's really hard to change just one thing on a PCB, and therefore establishing a clear cause-effect relationship is often hard. It's hard even when making a deliberate experiment. It's harder still to figure out retroactively, as when you re-rout the same troublesome circuit and suddenly it works. You may be able to identify 5 things you changed - but which one was critical ? One makes the best guess one can and passes the guess (opinion) on to another person. Baybe it's right, maybe not.
Thanks for all replies!
Excellent pcb Jens!
Very symetrical, guess that a double sided board play a big role and that you spent some hours to make the final finish, real nice artwork. Bad thing with double sided board for most hobbyist is that it is a bit tricky to make them. Does your amp get less noisy by using a groundplane like the one on your board?
Good points you've made 1-5 they are already added to my library :)
Thanks MR Evil for reply.
I've searched the web for books and hints and nothing useful came up, the book I found was written for Eagle cad, it seemed to me like a good choise but when I read the reviews I realized that it was more or less focused on the cad software itself. So if anyone can suggest a good book let me know.
Rest of your post contain many interesting points which has been memorized.
I've been into repair bussines for a long time and I've seen lots of misstakes whish ended up in burned PCBs and dried out electrolytic caps mounted close by hot high wattage resistors and lots of other failures.
Mr Evil what is the main reason to run the power traces on top of ground tracks or ground plane? I know that there will be some picofarads depending on trace width and type of board but for low frequency it will have little decoupling effect or is it for another purpose? Rf?
I seldom use the autorouter. I use the autorouter only when I'm tired and got all components were I want them to be then I run the autoruter just to see an uggly preview :)
It take it's time to write in English :) hopefully I'll speed up as a member at DiyAudio.
I'm home from work and not in good shape so I will have to take som rest but I'll be back tomorrow to continue this.
|All times are GMT. The time now is 06:35 PM.|
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2015 DragonByte Technologies Ltd.
Copyright ©1999-2015 diyAudio