Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 10th March 2008, 06:16 AM   (permalink)
Default Need help building a class D amplifier

Hello, I'm building a class D amplifier for my school project and I need a lot of help because I'm so lost. The amp uses 12Vdc as its input, the frequency range I'm trying to get is 20Hz to 20kHz, the speaker is 4 ohms, and I'm trying to get as much power possible without the use of a DC-to-DC converter. I've been using CircuitMaker2000 to simulate my circuit. Please tell me what I'm doing wrong, since my H bridge does not work at all. Thanks.
Attached Images
File Type: jpg pwm.JPG (122.6 KB, 47 views)
File Type: jpg hbridge.JPG (133.3 KB, 38 views)
munky is offline  
Old 10th March 2008, 06:50 AM   (permalink)
Default

Here are a few points.

U3, the OP177, doesn't seem to have a power supply.

R18 and R19 seem far too low because they will make Q6 and Q10 too difficult to turn on.

Q5 is the wrong way up.

R7 and R15 are pointless, as 10 khm: in parallel with 50 hm: does nothing.

The simulator should tell you what waveforms you are getting. Check the waveforms at various points through the circuit to see where it is going wrong.
Diver300 is offline  
Old 10th March 2008, 12:49 PM   (permalink)
Default

You need to run the PWM at a much higher frequency than the bandwidth of your system, I would try to go up to 200kHz if you can but you might be able to get away with 100kHz. This can make the design of the switching circuit very challanging as getting MOSFETs to switch that fast whilst minimising losses isn't easy. Then there's building a good output filter that happilly passes the audio band but rejects all the RF.
__________________
I also post at the following sites:
http://www.stop-microsoft.org http://www.heated-debates.com
Screen name: Aloone_Jonez
Hero999 is offline  
Old 10th March 2008, 02:09 PM   (permalink)
Default

Quote:
Originally Posted by Hero999
Then there's building a good output filter that happilly passes the audio band but rejects all the RF.
You don't have to reject all the RF, just make it small enough - class D amps commonly have a switching residue on the output. Assuming the values in his example above were correct, then that degree of filtering is probably fine.

But as you say, the higher the switching frequency, the easier the filtering is.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 10th March 2008, 04:36 PM   (permalink)
Default

I made notes on the schematic:
Attached Images
File Type: png class-D H-bridge.PNG (38.8 KB, 38 views)
__________________
Uncle $crooge
audioguru is offline  
Old 11th March 2008, 11:32 PM   (permalink)
Default

ooo.. thank you soo much, I'm going to fix it up
munky is offline  
Old 12th March 2008, 12:43 AM   (permalink)
Default Some modifications

Hey, I changed a few things around according to the replies. I tried to make R5 and R8 bigger values, but I got a really weird signal, see Hbridge2 attachment. When I left R8 and R5 alone, I get a much better signal, but there is some crossover. I was wondering, what is the best way to remove crossover? Can the totem pole transistor configuration work? Thanks
Attached Images
File Type: jpg hbridge2.JPG (163.3 KB, 10 views)
File Type: jpg crossover.JPG (158.1 KB, 14 views)
munky is offline  
Old 12th March 2008, 01:15 AM   (permalink)
Default

The 2N3906 PNP transistors don't have a resistor to turn them off quickly. So they slowly float off then they turn off too late.
__________________
Uncle $crooge
audioguru is offline  
Old 12th March 2008, 01:54 AM   (permalink)
Default

i thought a class d amplifier had high crossover distortion due to the transistors being on for less that 180 degrees. and they were mainly used to pulse tank circuts in radio?
Gaston is offline  
Old 12th March 2008, 10:58 AM   (permalink)
Default

Quote:
Originally Posted by Gaston
i thought a class d amplifier had high crossover distortion due to the transistors being on for less that 180 degrees. and they were mainly used to pulse tank circuts in radio?
Doesn't matter, it's a PWM switching design, crossover distortion doesn't apply as the transistors aren't used in a linear fashion.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 13th March 2008, 11:49 PM   (permalink)
Default

what are the transistors doing? is this for a car amp where the voltage needs to be stepped up? i never did understand exactly how they do that
Gaston is offline  
Old 14th March 2008, 11:50 AM   (permalink)
Default

Quote:
Originally Posted by Gaston
what are the transistors doing? is this for a car amp where the voltage needs to be stepped up? i never did understand exactly how they do that
The transistors are switching ON and OFF at a fairly high frequency, and the width of the pulses is controlled by the audio input, and the audio recovered afterwards with an LC filter. It's actually two amplifers bridged together, this effectively gives twice the supply voltage, and four times the output power into the same impedance.

For higher power use in cars you would use an inverter to increase the supply voltage, otherwise single ended is 4W maximum and bridged 16W maximum (both into 4 ohms).
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 14th March 2008, 01:53 PM   (permalink)
Default

thanks, i'm begining to understand now. i have seen the switching pro amps that are ultra light and only take up one to two rack spaces, but i thought they were useing switch mode power supplies instead of big transformers. i didn't know they were using pwm for the audio.
Gaston is offline  
Old 14th March 2008, 03:02 PM   (permalink)
Default

Quote:
Originally Posted by Gaston
thanks, i'm begining to understand now. i have seen the switching pro amps that are ultra light and only take up one to two rack spaces, but i thought they were useing switch mode power supplies instead of big transformers. i didn't know they were using pwm for the audio.
They often use both, just like a switch-mode supply they are more efficient and require much smaller heatsinks.

In fact, conventional power supplies are quite common (because of their lower price), so often it's just a class D amplifier that makes them small.

By 400W+400W mixer/amp uses both, so is small and light (which was a major selling point for it).
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 14th March 2008, 03:05 PM   (permalink)
Default

A linear amplifier needs big heatsinks and still gets hot.
A class-D amplifier switches so its output transistors stay fairly cool.
Texas Instruments make class-D amplifier ICs that have hundreds of Watts of output and the little surface-mount IC does not need a heatsink.
__________________
Uncle $crooge
audioguru is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Class D amplifier kambliarup General Electronics Chat 21 21st August 2006 03:34 AM
Is this a class D amplifier? epilot General Electronics Chat 23 27th July 2006 05:50 PM
Need Help building a amplifier / audio out of 0-1000 micamps Byron0254 Electronic Projects Design/Ideas/Reviews 7 8th February 2005 11:20 PM
Class C RF Amplifier Question bd13 Electronic Projects Design/Ideas/Reviews 3 15th November 2003 02:14 AM
Need Help building an Infrared-Receiver and audio amplifier Cyclone Electronic Projects Design/Ideas/Reviews 9 14th March 2003 03:16 AM



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


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker