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


Groups > sci.electronics.design > #478845

Re: How does a PLL work?

Subject Re: How does a PLL work?
Newsgroups sci.electronics.design
References <oqadf8$g1b$1@node1.news.atman.pl> <Xbydneiym9W1m1TEnZ2dnUU7-a_NnZ2d@supernews.com> <XnsA7FB651F05685idtokenpost@69.16.179.22>
From Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net>
Date 2017-09-25 11:45 -0400
Message-ID <xvednfrw-p4TuVTEnZ2dnUU7-InNnZ2d@supernews.com> (permalink)

Show all headers | View raw


On 09/25/2017 09:56 AM, Steve Wilson wrote:
> Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> wrote:
> 
>> The math isn't difficult.  You'd probably like Floyd Gardner's classic
>> "Phaselock Techniques", which has all of that stuff, written by one of
>> the pioneers.  (I usually find that the best books are written by the
>> people who invented the technique, because in order to do that they had
>> to have a simple idea of it.)
>  
>> Cheers
>  
>> Phil Hobbs
>  
> Nice analysis. You forgot the XOR can lock on non-integer ratios and 
> deadband in the 4046. Easy to fix if you do your own PFD. DC offset to get 
> away from deadband is not allowed.

Well, I didn't mention the XOR. ;)  The deadband on the 4046 (and the
_horrible_ oscillator nonlinearity on all the HC versions from all
vendors, including the "improved" ones like the 7046, is a topic that
I've ranted on here several times in years past.  The deadband is only a
couple of nanoseconds wide, so usually a 1-M resistor to ground will
pull the loop's operating point far enough to avoid it, without
introducing gross amounts of reference frequency ripple.

The Motorola approach uses two separate outputs for up and down.
They're chosen so they overlap slightly near zero degrees rather than
disappearing like the 4046's single output.

That means that you have two intervals of a few nanoseconds where the
sensitivity is halved, as one pulse disappears while the other gets
wider. Crucially, however, that interval isn't where the loop actually
servos, so it doesn't produce hunting as in the 4046.  Way BITD
(1981ish) I used an MC14152 synthesizer chip that worked like that.

I think JT's MC4044 works like that too.  (It has a separate charge
pump, which I've never used)

> 
> For the filter, I prefer the following driven by a current source:
> 
>         -------------
>              |
>              |
>             ---
>             ---
>              |
>              |------------- TP1
>              |          |
>              |          /
>             ---         \
>             ---         /
>              |          \
>              |          |
>             GND         GND
>             
> TP1 gives you the phase error during lock. You can see ringing and 
> overshoot. This is important in octave-bandwidth loops.

Yup.  I often use /4 Johnson counters in PLLs so that I can have a cheap
lock indication.  I'm not a huge fan of the phase pulses output of the 4046.

I mostly use PLLs in one-offs, and most of them use diode bridges for
phase detectors because they're quiet.  For actual production
instruments it's frequently cheaper to do other things.

A 1:1 PLL can do a wonderful job of cleaning up a spur-infested mess
arising from direct synthesis and frequency multiplication.

But the OP is trying to do it in software. ;)

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