Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #505918

Re: square wave to sine filter

From "Tim Williams" <tiwill@seventransistorlabs.com>
Newsgroups sci.electronics.design
Subject Re: square wave to sine filter
Date 2018-05-19 18:46 -0500
Organization A noiseless patient Spider
Message-ID <pdqd02$626$1@dont-email.me> (permalink)
References <d0n0gdhcfmsiukt0eufh92ovlnh0kfa24v@4ax.com>

Show all headers | View raw


Well, yeah...

You can do even better by adding an RC in front for 3rd order.  Ceramic chip 
caps are cheap.  Well, they used to be.

Even better still with an elliptical, with the notch at the fundamental (if 
you're doing PWMDAC) or harmonic (otherwise*).  But this requires another 
op-amp, so meh.  Handy and cheap with discretes at RF, though.

*If you're doing PWM, that implies duty other than 50% _as a fundamental 
feature of operation_, in which case you get 2nd harmonic too.  If it's 
constant 50%, it's not really PWM, is it?  It's just a flat, dumb square 
wave oscillator.  And of course, woe be unto anyone who wants more than a 
little adjustable frequency range. :-)

Tim

-- 
Seven Transistor Labs, LLC
Electrical Engineering Consultation and Contract Design
Website: https://www.seventransistorlabs.com/

"John Larkin" <jjlarkin@highlandtechnology.com> wrote in message 
news:d0n0gdhcfmsiukt0eufh92ovlnh0kfa24v@4ax.com...
>
> https://www.dropbox.com/s/t4fv4gvx9f8hbqd/LPF_Trans.jpg?raw=1
>
> Input is a PWM square wave from an ARM. This makes a nice looking
> sine, 3rd harmonic down almost 40 dB.
>
> It's a sallen-key lowpass with a 12 dB bump at 10 KHz. It works a lot
> better than an equivalent-part active bandpass. Maybe the bandpass
> wastes resources rejecting stuff below the fundamental, where there is
> nothing to reject.
>
>
> -- 
>
> John Larkin         Highland Technology, Inc
>
> lunatic fringe electronics
> 

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

square wave to sine filter John Larkin <jjlarkin@highlandtechnology.com> - 2018-05-19 10:31 -0700
  Re: square wave to sine filter George Herold <gherold@teachspin.com> - 2018-05-19 15:17 -0700
  Re: square wave to sine filter "Tim Williams" <tiwill@seventransistorlabs.com> - 2018-05-19 18:46 -0500
    Re: square wave to sine filter bitrex <user@example.net> - 2018-05-19 21:09 -0400
    Re: square wave to sine filter John Larkin <jjlarkin@highlandtechnology.com> - 2018-05-19 18:34 -0700
  Re: square wave to sine filter bitrex <user@example.net> - 2018-05-19 21:04 -0400
    Re: square wave to sine filter John Larkin <jjlarkin@highlandtechnology.com> - 2018-05-19 18:32 -0700
    Re: square wave to sine filter "Tim Williams" <tiwill@seventransistorlabs.com> - 2018-05-19 23:37 -0500
      Re: square wave to sine filter bitrex <user@example.net> - 2018-05-20 01:47 -0400
      Re: square wave to sine filter John Larkin <jjlarkin@highlandtechnology.com> - 2018-05-20 08:35 -0700
  Re: square wave to sine filter bill.sloman@ieee.org - 2018-05-19 19:20 -0700
    Re: square wave to sine filter bitrex <user@example.net> - 2018-05-19 22:56 -0400
      Re: square wave to sine filter bill.sloman@ieee.org - 2018-05-19 20:49 -0700
      Re: square wave to sine filter "Tim Williams" <tiwill@seventransistorlabs.com> - 2018-05-19 23:47 -0500
        Re: square wave to sine filter bitrex <user@example.net> - 2018-05-20 01:33 -0400
          Re: square wave to sine filter bitrex <user@example.net> - 2018-05-20 01:41 -0400

csiph-web