Pages: [1]   Go Down
Author Topic: LP filter for converting PWM to DC?  (Read 3218 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 21
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Has anyone constructed a low pass filter suitable for converting the PWM signal to DC?
I'd appreciate it if someone could share a schematic or point me to one.

Thanks!
Logged

Brisbane, Australia
Offline Offline
God Member
*****
Karma: 1
Posts: 593
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

So you want to have a constant definable voltage depending on the pwm fequency?

Dont think that would work.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 21
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm trying to use a PWM out to drive an LED and analog panel meter - but a concern I have is that with PWM the needle will bounce on the meter instead of indicating a particular stable DC voltage. I've never used the PWM outs, so I'm not sure either way. I found a snippet somewhere describing a simple lopass filter "smoothing" out the PWM to a relative DC voltage, but I can't find it now...
« Last Edit: October 25, 2007, 07:41:22 am by veeate » Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 21
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Update - Here's the article I ran across earlier:
http://www.edn.com/article/CA6372821.html
« Last Edit: October 25, 2007, 07:48:54 am by veeate » Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 18
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I can't help you but I like your Buchla avatar!
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 9
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Why not hook up the meter and see if it bounces? I read the article and thought a little about making a filter with an op-amp, or maybe a passive one with a capacitor and resistor, but the PWM frequency is pretty speedy, so an analog meter might not be fast enough to bounce with it. Not that I'd really know much about it (I was a music major!) Anyway low-pass filters are pretty simple, you can check
http://en.wikipedia.org/wiki/Low-pass_filter#Electronic

cheers,
Collin
Logged

Brisbane, Australia
Offline Offline
God Member
*****
Karma: 1
Posts: 593
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yeah in theory it will bounce so fast that it evens its self out.

Alternatively a big capacitor may even it out more.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 21
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks Cheater/Coldham,

You both reinforced my own suspicion that it may work without any additional circuitry - but I was a little afraid of dropping $40 on the meter until I had a "second opinion". I too had considered just a cap to hope even things out, but that may not even be necessary. In any case, I'll repost with the results once I receive the meter.

Thanks again.
Jason
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 6
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have just made something similar, and i see no vibrations on the meters and ther are no capicators or filters involed.
Logged

Pages: [1]   Go Up
Jump to: