Help amplifying microcontroller PWM audio - diyAudio
Go Back   Home > Forums > Amplifiers > Class D

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 6th September 2011, 06:46 PM   #1
diyAudio Member
 
Join Date: Sep 2011
Default Help amplifying microcontroller PWM audio

I'm outputting PWM audio from a microcontroller. I want to drive an 8ohm 0.5W speaker with 5V. I tried pulling the speaker with a 2N7000, but it's still too quite. I'm wondering if I use a bigger transistor, is possible to get good amplification just by pulling the speaker? I'd also like to try out something like a class D amplifier output stage chip to drive the speaker. I'm looking for something like a half bridge or a full bridge that will run at 5V. Can someone recommend something like that?
  Reply With Quote
Old 6th September 2011, 07:33 PM   #2
diyAudio Member
 
elevator's Avatar
 
Join Date: Apr 2008
Location: YES
Quote:
Originally Posted by yardleydobon View Post
I'm outputting PWM audio from a microcontroller. I want to drive an 8ohm 0.5W speaker with 5V. I tried pulling the speaker with a 2N7000, but it's still too quite. I'm wondering if I use a bigger transistor, is possible to get good amplification just by pulling the speaker? I'd also like to try out something like a class D amplifier output stage chip to drive the speaker. I'm looking for something like a half bridge or a full bridge that will run at 5V. Can someone recommend something like that?
National has a good range of 5V amp chips, both in class AB and D.
Example, LM48510 - Boosted Class D Audio Power Amplifier which brings 1.2W at <0.1% THD. Inputs are always analog though, so you will have to low-pass your microcontroller output first.
Another way is to directly feed a full bridge via two complementary mosfet pairs then low-pass the output through an LC network.
You can find full bridge driver chips, too. Much depends on your PWM frequency.
E
  Reply With Quote
Old 6th September 2011, 08:22 PM   #3
diyAudio Member
 
nigelwright7557's Avatar
 
Join Date: Apr 2008
Location: Carlisle, England
Look up IR2110 and IR2113.
  Reply With Quote
Old 6th September 2011, 09:39 PM   #4
diyAudio Member
 
Join Date: Sep 2011
I would like to try using a MOSFET driver IC to drive the speaker directly, and by directly I mean connect the speaker wires directly to the IC instead of using external MOSFETs. I'm thinking I should put a capacitor in series with the speaker though so the low side will have something to pull when it's on. Has anyone tried this? Can someone recommend a good chip to use this way?
  Reply With Quote
Old 7th September 2011, 04:41 AM   #5
diyAudio Member
 
Join Date: Jan 2005
Location: California Republic
Yes that would work, with a capacitor in series. Since you're driving a 0.5W speaker, I assume you just want sound and don't care about quality. The output impedance being approximately 1 ohm in a typical low-side MOSFET driver means poor damping factor and not very flat frequency response when driving a real speaker, but nonetheless would work reliably.
  Reply With Quote

Reply


Hide this!Advertise here!
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
modify pwm car audio Ground Zero Car Audio 5 25th August 2007 07:50 PM
good audio PWM ICs Evan Shultz Class D 18 11th January 2007 11:39 AM
Lc-audio Zappulse pwm-poweramp. Per Digital Source 6 29th July 2002 03:09 AM
Current amplifying vs. voltage amplifying. roly94 Solid State 14 23rd July 2002 09:32 PM


New To Site? Need Help?

All times are GMT. The time now is 06:39 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2