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


Groups > sci.electronics.design > #478969

Re: How does a PLL work?

Subject Re: How does a PLL work?
Newsgroups sci.electronics.design
References (4 earlier) <oqb4cs$7qn$1@node1.news.atman.pl> <yYqdnSGUx-lQsFTEnZ2dnUU7-RGdnZ2d@supernews.com> <oqbv4d$rul$1@node2.news.atman.pl> <48e572c2-3c0c-4e02-86c8-6a1be77a508a@googlegroups.com> <oqd0gb$ovn$1@node2.news.atman.pl>
From Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net>
Date 2017-09-26 13:55 -0400
Message-ID <ofSdnQosHvoHCVfEnZ2dnUU7-RmdnZ2d@supernews.com> (permalink)

Show all headers | View raw


On 09/26/2017 03:44 AM, Piotr Wyderski wrote:
> pcdhobbs@gmail.com wrote:
> 
>> Since you're using software, why is it hard to add a few more bits and
>> use a proper digital filter?
> 
> Precisely because there are not many bits left. This is a very weird
> chip with seriously too few bytes per MIPS. It can do 8e7 MACs per
> second, but has only 256 24-bit storage cells, 128 code locations
> and 32 labels (jump targets). And it needs to do the following:

Now you tell us, 50+ posts later.

> 
> 1. For 8 independent ADC data streams, 100ksps each, shift every
> sample by a channel-specific offset.
> 
> 2. Check if the result is within a per-channel safety range, if not,
> engage an emergency shutdown sequence.
> 
> 3. Decimate each stream by 64 with a decent amount of antialias
> filtering, which boils down to a cascade of 3 4th order CIC filters
> per channel.
> 
> 4. Phase-lock to one of these channels and generate f_mains*1024
> using an NCO propelling a resonant filter sine wave oscillator.
> 
> 5. Take another data stream at 310ksps, perform quadrature mixing,
> do the same amount of filtering and decimation on the resulting I/Q
> channels as in the case of the abovementioned monitoring channels.
> 
> Only the points 1-3 require at least 224 storage cells if implemented
> naively, point 5 adds another 44 cels, exceeding the limit of 256.
> I had to be very creative to fit it in the available memory space.
> I hadn't had enough free cells to store the coefficients of a biquad,
> but then realized that the PLL can go at high speed, which
> freed 4 cells occupied by the final comb section, so now it *might* be
> doable.
> 
>     Best regards, Piotr

With that sort of constraint, I'd probably injection lock it to make
f_mains*2 and use a Tinylogic flipflop to get 50% duty cycle.

Cheers

Phil Hobbs
-- 
Dr Philip C D Hobbs
Principal Consultant
ElectroOptical Innovations LLC
Optics, Electro-optics, Photonics, Analog Electronics

160 North State Road #203
Briarcliff Manor NY 10510

hobbs at electrooptical dot net
http://electrooptical.net

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


Thread

How does a PLL work? Piotr Wyderski <peter.pan@neverland.mil> - 2017-09-25 10:07 +0200
  Re: How does a PLL work? bill.sloman@ieee.org - 2017-09-25 01:25 -0700
  Re: How does a PLL work? Rob <nomail@example.com> - 2017-09-25 08:27 +0000
    Re: How does a PLL work? Piotr Wyderski <peter.pan@neverland.mil> - 2017-09-25 12:38 +0200
      Re: How does a PLL work? Rob <nomail@example.com> - 2017-09-25 11:31 +0000
        Re: How does a PLL work? Piotr Wyderski <peter.pan@neverland.mil> - 2017-09-25 13:53 +0200
  Re: How does a PLL work? Steve Wilson <no@spam.com> - 2017-09-25 08:46 +0000
    Re: How does a PLL work? Piotr Wyderski <peter.pan@neverland.mil> - 2017-09-25 12:50 +0200
      Re: How does a PLL work? Steve Wilson <no@spam.com> - 2017-09-25 12:28 +0000
      Re: How does a PLL work? Jan Panteltje <pNa0nStpealmtje@yahoo.com> - 2017-09-25 15:43 +0000
  Re: How does a PLL work? Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2017-09-25 09:35 -0400
    Re: How does a PLL work? Steve Wilson <no@spam.com> - 2017-09-25 13:56 +0000
      Re: How does a PLL work? Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2017-09-25 11:45 -0400
    Re: How does a PLL work? Piotr Wyderski <peter.pan@neverland.mil> - 2017-09-25 15:59 +0200
      Re: How does a PLL work? Steve Wilson <no@spam.com> - 2017-09-25 14:15 +0000
        Re: How does a PLL work? Piotr Wyderski <peter.pan@neverland.mil> - 2017-09-25 16:38 +0200
          Re: How does a PLL work? Steve Wilson <no@spam.com> - 2017-09-25 14:53 +0000
          Re: How does a PLL work? Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2017-09-25 12:24 -0400
            Re: How does a PLL work? Piotr Wyderski <peter.pan@neverland.mil> - 2017-09-26 00:14 +0200
              Re: How does a PLL work? pcdhobbs@gmail.com - 2017-09-25 16:16 -0700
                Re: How does a PLL work? Piotr Wyderski <peter.pan@neverland.mil> - 2017-09-26 09:44 +0200
                Re: How does a PLL work? Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2017-09-26 13:55 -0400
                Re: How does a PLL work? Piotr Wyderski <peter.pan@neverland.mil> - 2017-09-26 23:13 +0200
                Re: How does a PLL work? Piotr Wyderski <peter.pan@neverland.mil> - 2017-09-28 00:28 +0200
                Re: How does a PLL work? George Herold <gherold@teachspin.com> - 2017-09-27 17:39 -0700
                Re: How does a PLL work? Jan Panteltje <pNaonStpealmtje@yahoo.com> - 2017-09-28 07:42 +0000
                Re: How does a PLL work? Piotr Wyderski <peter.pan@neverland.mil> - 2017-09-28 10:17 +0200
                Re: How does a PLL work? Jan Panteltje <pNaonStpealmtje@yahoo.com> - 2017-09-28 12:52 +0000
                Re: How does a PLL work? Piotr Wyderski <peter.pan@neverland.mil> - 2017-09-28 16:21 +0200
                Re: How does a PLL work? Jan Panteltje <pNaonStpealmtje@yahoo.com> - 2017-09-28 15:22 +0000
                Re: How does a PLL work? Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2017-09-28 12:29 -0700
                Re: How does a PLL work? whit3rd <whit3rd@gmail.com> - 2017-09-28 13:27 -0700
              Re: How does a PLL work? kevin93 <kevin@whitedigs.com> - 2017-09-25 16:43 -0700
                Re: How does a PLL work? Piotr Wyderski <peter.pan@neverland.mil> - 2017-09-26 10:10 +0200
      Re: How does a PLL work? bitrex <bitrex@de.lete.earthlink.net> - 2017-09-25 10:25 -0400
        Re: How does a PLL work? bitrex <bitrex@de.lete.earthlink.net> - 2017-09-25 10:29 -0400
      Re: How does a PLL work? Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2017-09-25 12:09 -0400
    Re: How does a PLL work? John Larkin <jjlarkin@highlandtechnology.com> - 2017-09-25 09:12 -0700
      Re: How does a PLL work? Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2017-09-25 12:30 -0400
        Re: How does a PLL work? bitrex <bitrex@de.lete.earthlink.net> - 2017-09-25 12:36 -0400
          Re: How does a PLL work? Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2017-09-25 21:18 +0300
            Re: How does a PLL work? bitrex <bitrex@de.lete.earthlink.net> - 2017-09-25 15:14 -0400
              Re: How does a PLL work? Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2017-09-25 12:39 -0700
                Re: How does a PLL work? bitrex <bitrex@de.lete.earthlink.net> - 2017-09-25 16:07 -0400
              Re: How does a PLL work? Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2017-09-25 17:28 -0400
                Re: How does a PLL work? Piotr Wyderski <peter.pan@neverland.mil> - 2017-09-26 00:34 +0200
                Re: How does a PLL work? bitrex <bitrex@de.lete.earthlink.net> - 2017-09-25 19:52 -0400
                Re: How does a PLL work? pcdhobbs@gmail.com - 2017-09-25 17:39 -0700
          Re: How does a PLL work? Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2017-09-25 17:16 -0400
            Re: How does a PLL work? Jan Panteltje <pNa0nStpealmtje@yahoo.com> - 2017-09-26 08:02 +0000
          Re: How does a PLL work? Piotr Wyderski <peter.pan@neverland.mil> - 2017-09-26 01:01 +0200
            Re: How does a PLL work? bitrex <bitrex@de.lete.earthlink.net> - 2017-09-25 19:54 -0400
              Re: How does a PLL work? Piotr Wyderski <peter.pan@neverland.mil> - 2017-09-26 11:52 +0200
      Re: How does a PLL work? bitrex <bitrex@de.lete.earthlink.net> - 2017-09-25 12:30 -0400
        Re: How does a PLL work? Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2017-09-25 12:32 -0400
          Re: How does a PLL work? bitrex <bitrex@de.lete.earthlink.net> - 2017-09-25 13:48 -0400
            Re: How does a PLL work? bitrex <bitrex@de.lete.earthlink.net> - 2017-09-25 13:55 -0400
              Re: How does a PLL work? John Larkin <jjlarkin@highland_snip_technology.com> - 2017-09-25 11:39 -0700
        Re: How does a PLL work? John Larkin <jjlarkin@highland_snip_technology.com> - 2017-09-25 11:37 -0700
  Re: How does a PLL work? bitrex <bitrex@de.lete.earthlink.net> - 2017-09-25 10:06 -0400
    Re: How does a PLL work? Piotr Wyderski <peter.pan@neverland.mil> - 2017-09-26 00:04 +0200
      Re: How does a PLL work? bitrex <bitrex@de.lete.earthlink.net> - 2017-09-26 12:30 -0400
        Re: How does a PLL work? Piotr Wyderski <peter.pan@neverland.mil> - 2017-09-27 00:01 +0200
  Re: How does a PLL work? Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2017-09-25 12:00 -0700
    Re: How does a PLL work? bitrex <bitrex@de.lete.earthlink.net> - 2017-09-25 15:39 -0400
      Re: How does a PLL work? Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2017-09-25 12:45 -0700
  Re: How does a PLL work? Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2017-09-26 11:19 -0700
    Re: How does a PLL work? bitrex <bitrex@de.lete.earthlink.net> - 2017-09-26 15:09 -0400
      Re: How does a PLL work? Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2017-09-26 12:48 -0700
      Re: How does a PLL work? George Herold <gherold@teachspin.com> - 2017-09-26 12:54 -0700

csiph-web