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


Groups > sci.electronics.design > #493760

Re: Dumpy filter

From David Brown <david.brown@hesbynett.no>
Newsgroups sci.electronics.design
Subject Re: Dumpy filter
Date 2018-02-05 13:23 +0100
Organization A noiseless patient Spider
Message-ID <p59ic3$s1a$1@dont-email.me> (permalink)
References <xbNcC.9814$9X2.2516@fx25.iad> <87a77d515k63e8n3mtonvo65h14crf9h2l@4ax.com> <84711603-65c9-489e-a5bc-3177128abed0@googlegroups.com> <p51ljq$et8$1@dont-email.me> <197abe15-9281-41e1-886e-5a22fa75eb90@googlegroups.com>

Show all headers | View raw


On 03/02/18 03:50, bill.sloman@ieee.org wrote:
> On Friday, February 2, 2018 at 11:29:54 PM UTC+11, David Brown
> wrote:
>> On 02/02/18 03:06, bill.sloman@ieee.org wrote:
>>> On Friday, February 2, 2018 at 10:58:15 AM UTC+11, Jim Thompson 
>>> wrote:
>>>> On Thu, 1 Feb 2018 18:14:36 -0500, bitrex 
>>>> <bitrex@de.lete.earthlink.net> wrote:
>>>> 
>>>>> Filtering 0-5V 1kHz PWM square wave to get ~1 volt to 10
>>>>> volts DC output proportional to duty cycle, an LM386 as
>>>>> two-pole Sallen Key "Busselworth" filter:
>>>>> 
>>>>> <https://imgur.com/a/XcDCC>
>>>>> 
>>>>> Faster settling and better drive current than an RC filter, 
>>>>> almost as cheap. It's not glamorous but gets the job done
>>>> 
>>>> I'm so-o-o-o unimpressed.
>>>> 
>>>> At least three (maybe six ;-) of us here could output a DC
>>>> level proportional to duty-cycle ON A CYCLE-BY-CYCLE BASIS.
>>> 
>>> Use a pair of counters to evaluate the duty cycle over one
>>> cycle, digital number crunching to turn that into a number, and a
>>> D/A converter to push out that voltage over the next cycle. If
>>> the period of waveform being looked at is stable, you can use a
>>> phase-locked loop to lock the period-counting clock to some
>>> (high) multiple of the frequency of the waveform being looked at,
>>> and save yourself the digital number crunching.
>>> 
>>> It's really only practical in an ASIC, which is to say for high 
>>> volume applications (which are the only ones Jim get to hear
>>> about).
>> 
>> It is a lot simpler than that, and can be done on a cheapo 
>> microcontroller.
> 
> If it has enough of the right kind of timing registers, 

As most microcontrollers do, even the cheapo ones.

> and
> integrates a decent DAC (which some of them do).

Some do.  Even if they don't, a simple serial DAC is small and cheap
(many, many orders of magnitude cheaper than making an ASIC, and vastly
more flexible and responsive than an analogue filter).  And even a PWM
output with a simple analogue filter will give you a better quality
filter with more flexibility than you'd get from pure analogue.

> The whole point
> about a Turing machine is that it can do anything - or at least
> anything computable. The fact that a particular Turing machine could
> do the job doesn't make it the cheapest or best way of doing the
> job.

That is entirely true - and utterly pointless.

> 
>> (Still slightly more expensive than a simple analogue solution, but
>> with digital you get more flexibility and can filter in any way you
>> want.)  I can't imagine why you want an ASIC to measure a 1 kHz PWM
>> signal.
> 
> It's going to be cheaper than a general purpose microcontroller,
> which uses up silicon area to offer the capacity to do stuff that you
> don't need.
> 

No, an ASIC is not going to be cheaper - even if you are making millions
of these things.  Even the simplest ASICs have a minimum cost for the
packaging, testing, etc., and I think you'd have a hard time beating the
price of the smallest and cheapest microcontroller that could do the
job.  For 100K units, you'd be talking about perhaps $0.30 for the
microcontroller.  For an ASIC production to get down close to that unit
price, you would need to be investing millions in NRE costs.  Do you
really think Bitrex is interested in the absurdly high numbers needed to
make an ASIC the cheap choice here?

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


Thread

Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-01 18:14 -0500
  Re: Dumpy filter Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2018-02-01 16:58 -0700
    Re: Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-01 19:18 -0500
      Re: Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-01 19:25 -0500
        Re: Dumpy filter Pimpom <Pimpom@invalid.com> - 2018-02-02 10:48 +0530
          Re: Dumpy filter piglet <erichpwagner@hotmail.com> - 2018-02-04 21:48 +0000
            Re: Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-04 18:13 -0500
            Re: Dumpy filter Don Kuenz <g@crcomp.net> - 2018-02-05 17:05 +0000
              Re: Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-05 16:03 -0500
                Re: Dumpy filter Don Kuenz <g@crcomp.net> - 2018-02-06 02:25 +0000
                Re: Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-05 23:13 -0500
                Re: Dumpy filter tabbypurr@gmail.com - 2018-02-06 02:14 -0800
                Re: Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-06 09:34 -0500
                Re: Dumpy filter tabbypurr@gmail.com - 2018-02-06 06:48 -0800
                Re: Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-06 10:04 -0500
                Re: Dumpy filter tabbypurr@gmail.com - 2018-02-06 13:59 -0800
                Re: Dumpy filter Clifford Heath <no.spam@please.net> - 2018-02-08 19:08 +1100
                Re: Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-08 11:05 -0500
                Re: Dumpy filter krw@notreal.com - 2018-02-08 12:36 -0500
                Re: Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-08 19:32 -0500
                Re: Dumpy filter krw@notreal.com - 2018-02-08 20:12 -0500
                Re: Dumpy filter bill.sloman@ieee.org - 2018-02-09 05:27 -0800
    Re: Dumpy filter bill.sloman@ieee.org - 2018-02-01 18:06 -0800
      Re: Dumpy filter Lasse Langwadt Christensen <langwadt@fonz.dk> - 2018-02-01 18:16 -0800
        Re: Dumpy filter Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2018-02-01 21:28 -0700
          Re: Dumpy filter Jasen Betts <jasen@xnet.co.nz> - 2018-02-02 05:10 +0000
            Re: Dumpy filter krw@notreal.com - 2018-02-02 00:58 -0500
          Re: Dumpy filter bill.sloman@ieee.org - 2018-02-02 06:25 -0800
            Re: Dumpy filter bill.sloman@ieee.org - 2018-02-02 18:43 -0800
              Re: Dumpy filter bill.sloman@ieee.org - 2018-02-03 15:34 -0800
                Re: Dumpy filter Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2018-02-03 17:23 -0700
                Re: Dumpy filter bill.sloman@ieee.org - 2018-02-03 17:01 -0800
      Re: Dumpy filter David Brown <david.brown@hesbynett.no> - 2018-02-02 13:29 +0100
        Re: Dumpy filter bill.sloman@ieee.org - 2018-02-02 18:50 -0800
          Re: Dumpy filter David Brown <david.brown@hesbynett.no> - 2018-02-05 13:23 +0100
            Re: Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-05 08:45 -0500
            Re: Dumpy filter bill.sloman@ieee.org - 2018-02-05 13:58 -0800
  Re: Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-01 19:30 -0500
    Re: Dumpy filter Winfield Hill <hill@rowland.harvard.edu> - 2018-02-01 18:45 -0800
      Re: Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-01 21:56 -0500
  Re: Dumpy filter George Herold <gherold@teachspin.com> - 2018-02-01 16:40 -0800
    Re: Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-01 20:00 -0500
      Re: Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-01 20:02 -0500
    Re: Dumpy filter bill.sloman@ieee.org - 2018-02-01 18:16 -0800
  Re: Dumpy filter John Larkin <jjlarkin@highland_snip_technology.com> - 2018-02-01 17:54 -0800
    Re: Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-01 21:16 -0500
    Re: Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-01 21:30 -0500
      Re: Dumpy filter Mike Perkins <spam@spam.com> - 2018-02-02 11:28 +0000
        Re: Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-02 08:28 -0500
  Re: Dumpy filter "Tim Williams" <tiwill@seventransistorlabs.com> - 2018-02-02 01:46 -0600

csiph-web