Re: Filter to use PWM signal as DAC?



Andrew wrote:
> My microprocessor does not have a DAC, it does, however, have a PWM
> output. I am wondering if there is a simple circuit I can use to
> convert the PWM output to an analog DC voltage. It does not need to be
> terribly accurate, a ripple of around 50mV would be good.
>
> The PWM output is 0-5V, and I can control the frequency from around
> 1kHz to around 20kHz.
>
> Can anyone tell me specifically what type of filter I need, and what
> the configuration of the filter is? Also, how to select values? I am
> willing to read on the topic if someone can point me in the right
> direction!
>
> Thanks!
>


See a graphic of a nice 4th-order passive-RC filter at:
http://groups.yahoo.com/group/jallist/files/heliosstudios/PWM2V_2.png

Also see the two-wire, serial, 8-bit DAC also at that location if speed is not
an issue. DAC4094.png
.



Relevant Pages

  • Re: PWM -> Audio
    ... using 8-bit audio data sampled at 8 kHz to ... Multiply the PWM rate by N, reusing the data N times (or perhaps ... Implement the "traditional" class-D LC filter output. ... We often use delta-sigma instead of pwm to make 1-bit dac outputs. ...
    (sci.electronics.design)
  • Re: "Faking" extra resolution with an 8 bit DAC
    ... back about how to "fake" extra resolution in a DAC by PWMing between ... the upper 6 bits of the DAC, and PWM between X and X+4. ... What about ripple? ... That's what the low-pass output filter is there to block. ...
    (sci.electronics.design)
  • Re: Low-pass filter and amp design
    ... > I'm seeking some advise on designing a low-pass filter and amp circuit. ... > I'm looking to generate an audio signal from a PIC using ... I need to clean up the PWM signal and output it to a speaker at ...
    (sci.electronics.design)
  • Re: Low-pass filter and amp design
    ... >I'm seeking some advise on designing a low-pass filter and amp circuit. ... I need to clean up the PWM signal and output it to a speaker at ...
    (sci.electronics.design)
  • Re: DAC using PWM
    ... Rather than using PWM, you might consider a sigma-delta circuit for the ... implement a sigma-delta DAC for generating ...
    (comp.dsp)