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


Groups > sci.electronics.design > #466580

Re: F to bits

From Don Y <blockedofcourse@foo.invalid>
Newsgroups sci.electronics.design
Subject Re: F to bits
Date 2017-07-02 13:27 -0700
Organization A noiseless patient Spider
Message-ID <ojbknu$9af$1@dont-email.me> (permalink)
References <oj9occ$nvk$1@reader2.panix.com> <oja0eu$9ag$1@dont-email.me> <2a34b32b-fbbf-4649-98d1-38ce736fa91f@googlegroups.com> <532f9052-5280-46b3-9283-5523efc4ecd6@googlegroups.com> <0eff1401-c632-4a83-a294-00f2c294f528@googlegroups.com>

Show all headers | View raw


On 7/2/2017 1:12 PM, Lasse Langwadt Christensen wrote:
> Den søndag den 2. juli 2017 kl. 21.55.52 UTC+2 skrev John Miles, KE5FX:
>> On Sunday, July 2, 2017 at 7:56:04 AM UTC-7, edward....@gmail.com wrote:
>>> I believe the main concern is the start/stop kick in/out times.
>>> If it's feeding some time clocks, they could be off by seconds.  To be
>>> truly accurate, you would need to adjust following frequencies to
>>> compensate.
>>>
>>> To echo rickman, perfect job for an FPGA.
>>
>> The notion that a single-cycle-per-instruction MCU running at 16 MHz is
>> inadequate to directly monitor any operational parameter of a 60 Hz
>> generator is certainly interesting.
>>
>> The requirement for an FPGA to do this particular job is even more
>> interesting.
> 
> by interesting I assume you mean crazy ;)
> 
> 16MHz is 62.5ns, try getting the zeros crossing detection that accurate

I don't see where the OP stated any particular accuracy requirements:
"(~~60hz)".

Run the zero-crossing detector into a counter/timer/capture input
and note the value on a free-running counter clocked at a rate
"precise" enough for the resolution you desire (accuracy being
a different thing, entirely).  Design for constant latency (in
hardware or software) and you can largely ignore it (the latency).

Do this again and again and again.  From that, infer averages
of individual cycles:  first was detected in 16.6ms, second was
detected 16.602ms later suggests that they, as a pair, happened
at *about* ("~~") 16.601ms intervals.

(OP didn't indicate who/what was going to be LOOKING at the
data nor how often they would be doing so; drive a panel
meter and you'll have to take steps to SLOW the display
to something that a human can perceive!)

I use "physical-variable-to-frequency" sensing techniques
A LOT -- they let you dynamically trade precision for response
time (and can give *both* from the same signal) -- so they
are well suited for applications where you might want to make
a quick decision based on partial information:
    "We're to the left of center"
    "The sample is darker than the control"
and are willing to wait for a more refined decision:
    "We're exactly X off of center, towards the left"
    "The sample is X% more opaque than the reference"

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


Thread

F to bits David Lesher <wb8foz@panix.com> - 2017-07-02 03:13 +0000
  Re: F to bits Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-07-01 20:27 -0700
    Re: F to bits David Lesher <wb8foz@panix.com> - 2017-07-02 05:21 +0000
      Re: F to bits edward.ming.lee@gmail.com - 2017-07-02 07:36 -0700
  Re: F to bits Don Y <blockedofcourse@foo.invalid> - 2017-07-01 22:34 -0700
    Re: F to bits edward.ming.lee@gmail.com - 2017-07-02 07:55 -0700
      Re: F to bits rickman <gnuarm@gmail.com> - 2017-07-02 11:44 -0400
        Re: F to bits edward.ming.lee@gmail.com - 2017-07-02 08:51 -0700
          Re: F to bits rickman <gnuarm@gmail.com> - 2017-07-02 12:00 -0400
            Re: F to bits edward.ming.lee@gmail.com - 2017-07-02 10:20 -0700
              Re: F to bits rickman <gnuarm@gmail.com> - 2017-07-02 13:52 -0400
      Re: F to bits Neon John <no@never.com> - 2017-07-02 13:41 -0400
      Re: F to bits Don Y <blockedofcourse@foo.invalid> - 2017-07-02 11:22 -0700
      Re: F to bits "John Miles, KE5FX" <jmiles@gmail.com> - 2017-07-02 12:55 -0700
        Re: F to bits Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-07-02 13:12 -0700
          Re: F to bits Don Y <blockedofcourse@foo.invalid> - 2017-07-02 13:27 -0700
          Re: F to bits edward.ming.lee@gmail.com - 2017-07-02 14:18 -0700
            Re: F to bits Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-07-02 14:37 -0700
              Re: F to bits edward.ming.lee@gmail.com - 2017-07-02 14:44 -0700
                Re: F to bits edward.ming.lee@gmail.com - 2017-07-02 14:48 -0700
                Re: F to bits edward.ming.lee@gmail.com - 2017-07-02 15:44 -0700
                Re: F to bits Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-07-02 16:23 -0700
                Re: F to bits edward.ming.lee@gmail.com - 2017-07-02 16:26 -0700
                Re: F to bits Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-07-02 16:36 -0700
                Re: F to bits edward.ming.lee@gmail.com - 2017-07-02 16:44 -0700
                Re: F to bits Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-07-02 17:13 -0700
                Re: F to bits krw@notreal.com - 2017-07-02 19:53 -0400
                Re: F to bits Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2017-07-03 10:30 +0300
                Re: F to bits Don Y <blockedofcourse@foo.invalid> - 2017-07-03 09:44 -0700
                Re: F to bits Don Y <blockedofcourse@foo.invalid> - 2017-07-03 09:50 -0700
                Re: F to bits Jasen Betts <jasen@xnet.co.nz> - 2017-07-04 05:18 +0000
              Re: F to bits Les Cargill <lcargill99@comcast.com> - 2017-07-03 00:44 -0500
            Re: F to bits Les Cargill <lcargill99@comcast.com> - 2017-07-03 00:42 -0500
            Re: F to bits Jasen Betts <jasen@xnet.co.nz> - 2017-07-04 05:11 +0000
        Re: F to bits rickman <gnuarm@gmail.com> - 2017-07-02 19:32 -0400
          Re: F to bits Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-07-02 16:40 -0700
            Re: F to bits klaus.kragelund@gmail.com - 2017-07-02 16:45 -0700
            Re: F to bits rickman <gnuarm@gmail.com> - 2017-07-02 19:55 -0400
              Re: F to bits Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-07-02 17:07 -0700
                Re: F to bits rickman <gnuarm@gmail.com> - 2017-07-02 20:30 -0400
                Re: F to bits edward.ming.lee@gmail.com - 2017-07-02 17:39 -0700
                Re: F to bits klaus.kragelund@gmail.com - 2017-07-02 18:09 -0700
                Re: F to bits edward.ming.lee@gmail.com - 2017-07-02 18:45 -0700
                Re: F to bits "John Miles, KE5FX" <jmiles@gmail.com> - 2017-07-02 17:49 -0700
                Re: F to bits rickman <gnuarm@gmail.com> - 2017-07-02 22:56 -0400
                Re: F to bits "John Miles, KE5FX" <jmiles@gmail.com> - 2017-07-02 21:52 -0700
                Re: F to bits rickman <gnuarm@gmail.com> - 2017-07-03 01:38 -0400
                Re: F to bits David Brown <david.brown@hesbynett.no> - 2017-07-03 12:37 +0200
                Re: F to bits edward.ming.lee@gmail.com - 2017-07-03 04:23 -0700
                Re: F to bits David Brown <david.brown@hesbynett.no> - 2017-07-03 14:10 +0200
                Re: F to bits leongdentalsf@gmail.com - 2017-07-03 06:14 -0700
                Re: F to bits Tom Gardner <spamjunk@blueyonder.co.uk> - 2017-07-03 15:46 +0100
                Re: F to bits edward.ming.lee@gmail.com - 2017-07-03 08:24 -0700
                Re: F to bits Tom Gardner <spamjunk@blueyonder.co.uk> - 2017-07-03 17:12 +0100
                Re: F to bits rickman <gnuarm@gmail.com> - 2017-07-03 12:50 -0400
                Re: F to bits Tom Gardner <spamjunk@blueyonder.co.uk> - 2017-07-03 18:36 +0100
                Re: F to bits rickman <gnuarm@gmail.com> - 2017-07-05 02:01 -0400
                Re: F to bits Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-07-03 09:30 -0700
                Re: F to bits Tom Gardner <spamjunk@blueyonder.co.uk> - 2017-07-03 12:32 +0100
    Re: F to bits David Lesher <wb8foz@panix.com> - 2017-07-03 00:54 +0000
      Re: F to bits Don Y <blockedofcourse@foo.invalid> - 2017-07-02 18:14 -0700
        Re: F to bits David Lesher <wb8foz@panix.com> - 2017-07-03 02:33 +0000
          Re: F to bits Don Y <blockedofcourse@foo.invalid> - 2017-07-02 21:29 -0700
          Re: F to bits edward.ming.lee@gmail.com - 2017-07-02 22:46 -0700
  Re: F to bits Les Cargill <lcargill99@comcast.com> - 2017-07-02 12:40 -0500
    Re: F to bits Don Y <blockedofcourse@foo.invalid> - 2017-07-02 11:38 -0700
      Re: F to bits Les Cargill <lcargill99@comcast.com> - 2017-07-03 00:51 -0500

csiph-web