Go Back   Home > Forums > Amplifiers > Class D
Home Forums Rules Articles Store Gallery Blogs Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Class D Switching Power Amplifiers and Power D/A conversion

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 17th May 2007, 07:51 PM   #1
luka is offline luka  Slovenia
diyAudio Member
 
luka's Avatar
 
Join Date: Sep 2005
Location: in Slovenia :)
Send a message via MSN to luka
Question Good pcb design

Hi

What do I have to watch when making good pcb for ClassD amp?
Loops, ground and where to put (under chips)... that kind of things.
__________________
home page @ http://www.classdaudio.co.cc @ 24/7 all year long
I FEEL SLOVENIA
  Reply With Quote
Old 18th May 2007, 12:32 AM   #2
BWRX is offline BWRX  United States
diyAudio Moderator Emeritus
 
Join Date: Jan 2005
Location: Pennsylvania
As with any pcb design, you must be very aware of where currents will be flowing. In the case of a class d amp, the most critical areas are the output stages where there are high voltages and large currents with fast rise and fall times. Grounding, decoupling, keeping loop areas small, keeping sensitive circuitry/traces isolated from potential sources of noise/coupling, etc. all need to be taken into consideration.

Start with a general idea of what board shape/size you want, but do not constrain yourself to set dimensions unless you have to.

Surface mount parts are your friend (and really aren't any harder to solder than through hole parts!).

One layer boards are more difficult to design than two layer boards.

Route the power stage traces first and work backwards (output to input). Power stage traces include VDD, VSS, AND the ground returns!!!

Always be conscious of where ground currents will be flowing if a ground plane is used. Keep low current signal ground currents and ground sense points away from high currents flowing through ground planes.

Don't forget to take part placement into account for proper cooling. For example, TO220 devices will probably need to be attached to a heat sink and are usually positioned at the edge of the board.

There's much more, but that's a start. As has been said many times, pcb design is an exercise in compromise!
__________________
Brian
  Reply With Quote
Old 18th May 2007, 05:15 AM   #3
luka is offline luka  Slovenia
diyAudio Member
 
luka's Avatar
 
Join Date: Sep 2005
Location: in Slovenia :)
Send a message via MSN to luka
Hi

Ok I will keep all of this in my mind.
How about placing clock/sawtooth generator under the the comparator that makes PWM? Or should I just put everything on one layer and use other layer ground plane?
Another thing is how/where to connect together power and signal ground and how much apart should they be?
Now I have power coming to amp on each side of the board running almost from start of the board along whole board strait to fets on other side, having logic between them. Is that Ok?
Are only high current with high di/dt problem?

This is how board looks now
Click the image to open in full size.Click the image to open in full size.
__________________
home page @ http://www.classdaudio.co.cc @ 24/7 all year long
I FEEL SLOVENIA
  Reply With Quote
Old 18th May 2007, 12:23 PM   #4
luka is offline luka  Slovenia
diyAudio Member
 
luka's Avatar
 
Join Date: Sep 2005
Location: in Slovenia :)
Send a message via MSN to luka
Hi

And what size of resistors to use. I have experience with SMD's but haven't done any board for myself. Also what else to put in smd, I was thinking of leaving power zener(for +/- voltages for chips) as they are.
__________________
home page @ http://www.classdaudio.co.cc @ 24/7 all year long
I FEEL SLOVENIA
  Reply With Quote
Old 18th May 2007, 06:28 PM   #5
BWRX is offline BWRX  United States
diyAudio Moderator Emeritus
 
Join Date: Jan 2005
Location: Pennsylvania
Hi luka. Many questions related to layout depend on other aspects of the design/layout but here are some general answers.

Quote:
How about placing clock/sawtooth generator under the the comparator that makes PWM?
The quality of the triangle/sawtooth waveform is directly proportional to the quality of the sound. Since this signal is compared to the audio signal you do want it close to the comparator, but you do not want the operation of one component to interfere with the other. For example, do not run the output of the comparator directly next to the input trace carrying the sawtooth waveform or other traces used to generate the sawtooth waveform.


Quote:
Or should I just put everything on one layer and use other layer ground plane?
You are curently working on a 1 layer design so it may be easier to place all components on one layer and use the other layer as a ground plane. Others have done this with good success. classdfromru has some nice photos of his home etched boards and hand built circuits on his website. If you decide to use one layer as a ground plane remember to think about where ground currents will flow. You don't want a high output current pulse flowing through the same area as a ground sense point.


Quote:
Another thing is how/where to connect together power and signal ground and how much apart should they be?
Ideally you want power ground and signal ground connected at one point. A good place to do this is near the speaker ground for a single ended design such as yours.


Quote:
Now I have power coming to amp on each side of the board running almost from start of the board along whole board strait to fets on other side, having logic between them. Is that Ok?
This should be ok. Another good rule to follow is to have power and return traces running side by side, like the two conductors in a speaker cable. And if you must cross power traces with signal traces, cross at 90 degree angles to minimize coupling.


Quote:
Are only high current with high di/dt problem?
High di/dt and high dV/dt. They often go hand in hand though.


Quote:
And what size of resistors to use.
Resistor size depends on how much power they will have to dissipate. As far as SMD resistors go, you will generally find that 0603 size resistors will be rated to handle 1/10W, 0805 will be 1/8W, 1206 will be 1/4W, 2010 will be 1/2W, and 2512 will be 1W.


Quote:
Also what else to put in smd, I was thinking of leaving power zener(for +/- voltages for chips) as they are.
Almost everything is offered in a surface mount package these days. Whether or not you want to use the surface mount version depends on many things: available board space, cooling requirements, cost, rework capabilities, etc.


Also, can you post a schematic of your design?
__________________
Brian
  Reply With Quote
Old 18th May 2007, 07:54 PM   #6
luka is offline luka  Slovenia
diyAudio Member
 
luka's Avatar
 
Join Date: Sep 2005
Location: in Slovenia :)
Send a message via MSN to luka
Hi

There it is.

I also have 555 over current limiter on board, not on schema.
Attached Files
File Type: pdf classd.pdf (72.3 KB, 216 views)
__________________
home page @ http://www.classdaudio.co.cc @ 24/7 all year long
I FEEL SLOVENIA
  Reply With Quote
Old 18th May 2007, 09:16 PM   #7
BWRX is offline BWRX  United States
diyAudio Moderator Emeritus
 
Join Date: Jan 2005
Location: Pennsylvania
Hi luka. Does the board you have shown in your picture work? If not, what doesn't work?

Also, what is the feedback node connected to? There is only one "FB" label on the schematic.
__________________
Brian
  Reply With Quote
Old 19th May 2007, 02:07 AM   #8
luka is offline luka  Slovenia
diyAudio Member
 
luka's Avatar
 
Join Date: Sep 2005
Location: in Slovenia :)
Send a message via MSN to luka
Hi

Sorry my mistake. This FB connects to out, this is post filter feedback. Yes amp works up to around +/-35v signal on output, then is goes crazy and puts +Vcc on output. I asked what could be wrong, and the answer was that it could be bad ground, so pcb badly done. I have +/-0.5v, 250kHz squerewave on supply node of 4060 if I look with scope only for AC signals. This is with no input signal. With input signal, spikes on this node became about +/-4v on top on those 15v even though I have I tantal cap.
__________________
home page @ http://www.classdaudio.co.cc @ 24/7 all year long
I FEEL SLOVENIA
  Reply With Quote
Old 19th May 2007, 01:16 PM   #9
BWRX is offline BWRX  United States
diyAudio Moderator Emeritus
 
Join Date: Jan 2005
Location: Pennsylvania
I figured you had used post filter feedback but just wanted to make sure.

That is some really bad ripple on the 15V supply line! Do you see similar ripple on the 10V and 12V supply rails? On the schematic the anodes of the positive regulator zeners and the cathode of the negative reglulator zener are not connected to ground. Are they connected to ground on the board?

The schematic doesn't show it but you should use a larger value electrolytic capacitor on each supply rail near the FETs. It doesn't appear that you are from the pictures. Try using at least 100uF (220uF to 470uF would be better) across each 47V rail close to the output FETs.
__________________
Brian
  Reply With Quote
Old 19th May 2007, 04:20 PM   #10
luka is offline luka  Slovenia
diyAudio Member
 
luka's Avatar
 
Join Date: Sep 2005
Location: in Slovenia :)
Send a message via MSN to luka
Hi

Never do things in hury, you will make them wrong. Positive regulator zeners and the cathode of the negative reglulator zener are connected to gnd.


Quote:
use a larger value electrolytic capacitor on each supply rail near the FETs
You see right. I had no where to put them, so there aren't any. I will put them just to see what will happen to that ripple. Ripple is present on every line, since all of them are elevated xxV from ground. Ground on my board is only about 2cm^2 big, just to have two fastons for supply and speaker
__________________
home page @ http://www.classdaudio.co.cc @ 24/7 all year long
I FEEL SLOVENIA
  Reply With Quote

Reply


Hide this!Advertise here!

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is this a good design? wildswan Solid State 20 23rd May 2006 10:15 AM
Good design? icebear Tubes / Valves 1 30th September 2004 12:44 PM
Pioneer TS-W304C- anyone have good design for it? and is it good for home sub? XteveX Multi-Way 7 28th April 2004 04:05 AM
Good amp design? technics Solid State 6 17th June 2003 01:04 AM
Is this any good, new DIY design? tschrama Pass Labs 9 26th January 2002 06:01 PM


New To Site? Need Help?

All times are GMT. The time now is 10:15 AM.

Page generated in 0.14143 seconds (74.18% PHP - 25.82% MySQL) with 11 queries

Copyright ©1999-2012 diyAudio