Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Over the shoulder supervision is more a need of the manager than the programming task.


tech / sci.electronics.design / Re: really slow PLL

SubjectAuthor
* really slow PLLJohn Larkin
+* Re: really slow PLLPhil Hobbs
|`* Re: really slow PLLJohn Larkin
| +* Re: really slow PLLPhil Hobbs
| |`* Re: really slow PLLjlarkin
| | `* Re: really slow PLLPhil Hobbs
| |  +* Re: really slow PLLjlarkin
| |  |`* Re: really slow PLLPhil Hobbs
| |  | `- Re: really slow PLLjlarkin
| |  `* Re: really slow PLLLes Cargill
| |   `- Re: really slow PLLJohn Larkin
| +* Re: really slow PLLbitrex
| |+- Re: really slow PLLjlarkin
| |`* Re: really slow PLLLes Cargill
| | `* Re: really slow PLLLasse Langwadt Christensen
| |  +- Re: really slow PLLbitrex
| |  `- Re: really slow PLLLes Cargill
| `* Re: really slow PLLMartin Brown
|  +* Re: really slow PLLjlarkin
|  |`* Re: really slow PLLMartin Brown
|  | `- Re: really slow PLLjlarkin
|  +* Re: really slow PLLPhil Hobbs
|  |`- Re: really slow PLLjlarkin
|  `* Re: really slow PLLbitrex
|   +* Re: really slow PLLLasse Langwadt Christensen
|   |`* Re: really slow PLLbitrex
|   | `* Re: really slow PLLJohn Walliker
|   |  +* Re: really slow PLLMartin Brown
|   |  |+* Re: really slow PLLbitrex
|   |  ||+* Re: really slow PLLbitrex
|   |  |||`* Re: really slow PLLLasse Langwadt Christensen
|   |  ||| `- Re: really slow PLLbitrex
|   |  ||+- Re: really slow PLLDon Y
|   |  ||`* Re: really slow PLLMartin Brown
|   |  || `* Re: really slow PLLDon Y
|   |  ||  `* Re: really slow PLLJohn Walliker
|   |  ||   `- Re: really slow PLLDon Y
|   |  |`* Re: really slow PLLJohn Larkin
|   |  | `* Re: really slow PLLMartin Brown
|   |  |  `- Re: really slow PLLPhil Hobbs
|   |  `- Re: really slow PLLDon Y
|   +* Re: really slow PLLPhil Hobbs
|   |`* Re: really slow PLLbitrex
|   | `* Re: really slow PLLPhil Hobbs
|   |  `* Re: really slow PLLjlarkin
|   |   `* Re: really slow PLLLes Cargill
|   |    `* Re: really slow PLLjlarkin
|   |     `* Re: really slow PLLLes Cargill
|   |      +* Re: really slow PLLjlarkin
|   |      |`- Re: really slow PLLLes Cargill
|   |      `* Re: really slow PLLDon
|   |       `- Re: really slow PLLLes Cargill
|   `* Re: really slow PLLDon Y
|    +* Re: really slow PLLbitrex
|    |`- Re: really slow PLLDon Y
|    +* Re: really slow PLLDon
|    |`* Re: really slow PLLDon Y
|    | `* Re: really slow PLLDon
|    |  `* Re: really slow PLLDon Y
|    |   +* Re: really slow PLLDon
|    |   |`* Re: really slow PLLDon Y
|    |   | `* Re: really slow PLLDon
|    |   |  +- Re: really slow PLLDon Y
|    |   |  `* Re: really slow PLLClifford Heath
|    |   |   `- Re: really slow PLLGerhard Hoffmann
|    |   `* Re: really slow PLLLasse Langwadt Christensen
|    |    `* Re: really slow PLLJoe Gwinn
|    |     `* Re: really slow PLLDon Y
|    |      `* Re: really slow PLLLasse Langwadt Christensen
|    |       `* Re: really slow PLLDon Y
|    |        `* Re: really slow PLLLasse Langwadt Christensen
|    |         `* Re: really slow PLLDon Y
|    |          `- Re: really slow PLLDon Y
|    `* Re: really slow PLLjlarkin
|     +- Re: really slow PLLJan Panteltje
|     `* Re: really slow PLLJohn Walliker
|      +- Re: really slow PLLDon Y
|      `- Re: really slow PLLClifford Heath
+- Re: really slow PLLJan Panteltje
+* Re: really slow PLLGerhard Hoffmann
|`* Re: really slow PLLjlarkin
| +* Re: really slow PLLGerhard Hoffmann
| |+* Re: really slow PLLPhil Hobbs
| ||`* Re: really slow PLLGerhard Hoffmann
| || `* Re: really slow PLLPhil Hobbs
| ||  `* Re: really slow PLLClifford Heath
| ||   `* Re: really slow PLLMartin Brown
| ||    `* Re: really slow PLLPhil Hobbs
| ||     `* Re: really slow PLLJoe Gwinn
| ||      `* Re: really slow PLLGerhard Hoffmann
| ||       +* Re: really slow PLLJoe Gwinn
| ||       |+* Re: really slow PLLGerhard Hoffmann
| ||       ||`* Re: really slow PLLJoe Gwinn
| ||       || `* Re: really slow PLLPhil Hobbs
| ||       ||  `- Re: really slow PLLGerhard Hoffmann
| ||       |`* Re: really slow PLLPhil Hobbs
| ||       | `* Re: really slow PLLJoe Gwinn
| ||       |  `* Re: really slow PLLPhil Hobbs
| ||       |   `- Re: really slow PLLGerhard Hoffmann
| ||       `* Re: really slow PLLPhil Hobbs
| ||        +* Re: really slow PLLjlarkin
| ||        `* Re: really slow PLLMartin Brown
| |+- Re: really slow PLLJan Panteltje
| |`- Re: really slow PLLClifford Heath
| `* Re: really slow PLLCydrome Leader
+* Re: really slow PLLwhit3rd
+- Re: really slow PLLClive Arthur
+* Re: really slow PLLLasse Langwadt Christensen
+- Re: really slow PLLLes Cargill
+- Re: really slow PLLjlarkin
`- Re: really slow PLLJasen Betts

Pages:1234567
Re: really slow PLL

<tbcrtl$2mrcp$1@dont-email.me>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=101972&group=sci.electronics.design#101972

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: blockedo...@foo.invalid (Don Y)
Newsgroups: sci.electronics.design
Subject: Re: really slow PLL
Date: Thu, 21 Jul 2022 17:44:29 -0700
Organization: A noiseless patient Spider
Lines: 37
Message-ID: <tbcrtl$2mrcp$1@dont-email.me>
References: <qd2hdhhs6bnndjs4likrvlq9jt6q5deebo@4ax.com>
<daf0c8cf-07ea-241b-2e4e-bfe2bbaa6f63@electrooptical.net>
<pq5hdh9oeleu54rljjk3r1bk3vfgj9dni0@4ax.com> <tbbbvk$pta$1@gioia.aioe.org>
<T1dCK.48233$vd2.40244@fx39.iad>
<d3f52888-9988-4c6f-bf55-25cc748dc3a1n@googlegroups.com>
<uBdCK.53073$mY1.11490@fx01.iad>
<57000d39-6c42-4a2c-8190-ee4445df57d4n@googlegroups.com>
<tbc1vh$1dqi$2@gioia.aioe.org> <ydgCK.195059$9j2.151333@fx33.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 22 Jul 2022 00:44:37 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="732d156c6f6d875bf458026269529f09";
logging-data="2846105"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX181j333eVqtxwgBpjSbMZXC"
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101
Thunderbird/52.1.1
Cancel-Lock: sha1:gV+LPaxe6y3aAVe4zB7dL9T97lg=
In-Reply-To: <ydgCK.195059$9j2.151333@fx33.iad>
Content-Language: en-US
 by: Don Y - Fri, 22 Jul 2022 00:44 UTC

On 7/21/2022 10:41 AM, bitrex wrote:
>> The cables and connectors could only be described as a bit clunky!
>> They really didn't get on with metal swarf being around but were OK in clean
>> dry electronics/physics labs - much less so in chemistry ones...
>
> I feel like there wasn't really a good relatively inexpensive standard for
> interfacing PC peripherals until USB. Serial and parallel were slow
> (occasionally some devices supported ECP, I remember having to enable it in the
> BIOS sometimes), and external SCSI wasn't really well-suited to anything but
> external disk drives.

That's sort of like claiming there really wasn't a good, relatively
inexpensive standard for browsing distributed resources across The Internet
(gopher, anyone?)

Hardware costs have shrunk to the point where things that were science fiction
a decade ago are commonplace, nowadays. (who'd have thought of wirelessly
connecting a mouse/keyboard to a PC -- or PHONE! -- decades ago?)

SCSI has always supported more than "just external disk drives". I used
5380's as "message passing coprocessors" in a design decades ago. Skip
the cost of the cables and connectors and just run a ribbon between cards,
driven by 5380's on each.

SCSI's problem as a universal interconnect comes from those cabling costs
along with the dearth of devices that embraced SCSI. Other than disk,
tape and scanners, SCSI was a dead-end -- and only suitable for intermachine
communication at very short ranges. Running 8 (or 16 or 32) data conductors
is costly in terms of cabling, connector *and* silicon. (there's a reason
it's USB and not UPB!)

Who's gonna embrace something that has a small potential market?

> I don't think you could hot-swap IEE-488 either but it seems like it was pretty
> fast and more amenable to a wide class of devices than SCSI, but just didn't
> seem to catch on outside the test equipment realm.

Re: really slow PLL

<17040024691d26b9$1117$1683757$e4ddee62@news.thecubenet.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=101973&group=sci.electronics.design#101973

  copy link   Newsgroups: sci.electronics.design
Date: Fri, 22 Jul 2022 10:45:16 +1000
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1
Subject: Re: really slow PLL
Content-Language: en-US
Newsgroups: sci.electronics.design
References: <qd2hdhhs6bnndjs4likrvlq9jt6q5deebo@4ax.com> <tbap1m$h0d7$1@solani.org> <4edidhp1j5athn19ro297m6lkm21nba4ck@4ax.com> <tbbi6s$ghm7$1@solani.org>
From: no_s...@please.net (Clifford Heath)
In-Reply-To: <tbbi6s$ghm7$1@solani.org>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 27
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!news.thecubenet.com!not-for-mail
NNTP-Posting-Date: Fri, 22 Jul 2022 00:45:19 +0000
X-Complaints-To: abuse@thecubenet.com
Organization: theCubeNet - www.thecubenet.com
Message-ID: <17040024691d26b9$1117$1683757$e4ddee62@news.thecubenet.com>
X-Received-Bytes: 2179
 by: Clifford Heath - Fri, 22 Jul 2022 00:45 UTC

On 21/7/22 22:52, Gerhard Hoffmann wrote:
> Am 21.07.22 um 13:19 schrieb jlarkin@highlandsniptechnology.com:
>
>> Where does the 10 MHz come from?
>
> Choise of implementer. One local clock generator is needed.
> This clock determines short term stabiity and phase noise.

Exactly. It's weird really, since the GPS P code bit rate is 10.23Mbps,
meaning the PRNG shift registers are being clocked with 10.23MHz.
Perhaps the phase noise of the 10.23MHz clock isn't that critial...

At that rate, a 1-bit misalignment is 30m of distance. To get better
accuracy you need a polyphase clock, and the correlation would move a
shift register's clock to a clock which is forwards or back in phase
from its current clock, rather than just skipping or adding clock pulses.

The Apollo ranging system used a bit rate around 1Mbps, but could
resolve down to about 1m, or approximately 1 degrees of clock phase. If
GPS could do that, it would be accurate to 10cm.

So anyhow, folk love their "GPSDO" 10MHz clock outputs often without
really questioning the actual phase noise coming from the internal
oscillator which synthesizes that output, and which ultimately isn't
even the clock that's being used to recover the signals.

Clifford Heath.

Re: really slow PLL

<tbcs18$2mrcp$2@dont-email.me>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=101974&group=sci.electronics.design#101974

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: blockedo...@foo.invalid (Don Y)
Newsgroups: sci.electronics.design
Subject: Re: really slow PLL
Date: Thu, 21 Jul 2022 17:46:29 -0700
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <tbcs18$2mrcp$2@dont-email.me>
References: <qd2hdhhs6bnndjs4likrvlq9jt6q5deebo@4ax.com>
<daf0c8cf-07ea-241b-2e4e-bfe2bbaa6f63@electrooptical.net>
<pq5hdh9oeleu54rljjk3r1bk3vfgj9dni0@4ax.com> <tbbbvk$pta$1@gioia.aioe.org>
<T1dCK.48233$vd2.40244@fx39.iad>
<d3f52888-9988-4c6f-bf55-25cc748dc3a1n@googlegroups.com>
<uBdCK.53073$mY1.11490@fx01.iad>
<57000d39-6c42-4a2c-8190-ee4445df57d4n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 22 Jul 2022 00:46:33 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="732d156c6f6d875bf458026269529f09";
logging-data="2846105"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19fXPObg1RLr+AVIxoAJ2B+"
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101
Thunderbird/52.1.1
Cancel-Lock: sha1:l3/M0wnax35JIYEPOzUUOk5oDbg=
In-Reply-To: <57000d39-6c42-4a2c-8190-ee4445df57d4n@googlegroups.com>
Content-Language: en-US
 by: Don Y - Fri, 22 Jul 2022 00:46 UTC

On 7/21/2022 8:31 AM, John Walliker wrote:
> On Thursday, 21 July 2022 at 15:42:40 UTC+1, bitrex wrote:
>> HP used to have GPIB on their power supplies, I've never used it but I
>> expect it wasn't really useful for tight synchronization.
>
> The Group Execute Trigger command does allow quite tight synchronisation
> between different GPIB devices.

If you're rolling your own PROPRIETARY protocol, you can design the
stack so that really tight (limited by hardware layer) latencies
are possible. E.g., if your protocol KNOWS that a "sync" will
be "coming along shortly", the code can take steps to minimize the time
required to detect and respond to that.

Re: really slow PLL

<tbct2p$2n40a$1@dont-email.me>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=101977&group=sci.electronics.design#101977

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: blockedo...@foo.invalid (Don Y)
Newsgroups: sci.electronics.design
Subject: Re: really slow PLL
Date: Thu, 21 Jul 2022 18:04:22 -0700
Organization: A noiseless patient Spider
Lines: 56
Message-ID: <tbct2p$2n40a$1@dont-email.me>
References: <qd2hdhhs6bnndjs4likrvlq9jt6q5deebo@4ax.com>
<daf0c8cf-07ea-241b-2e4e-bfe2bbaa6f63@electrooptical.net>
<pq5hdh9oeleu54rljjk3r1bk3vfgj9dni0@4ax.com> <tbbbvk$pta$1@gioia.aioe.org>
<T1dCK.48233$vd2.40244@fx39.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 22 Jul 2022 01:04:25 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="732d156c6f6d875bf458026269529f09";
logging-data="2854922"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+fsU580k2FZsiHkSwBHd0k"
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101
Thunderbird/52.1.1
Cancel-Lock: sha1:9gZS4dvAxPPM8zdo/8foX/I32bc=
Content-Language: en-US
In-Reply-To: <T1dCK.48233$vd2.40244@fx39.iad>
 by: Don Y - Fri, 22 Jul 2022 01:04 UTC

On 7/21/2022 7:04 AM, bitrex wrote:
>> You really need to define longterm before the problem becomes well posed. Do
>> you mean hours, days, weeks or months of runtime?
>
> Yeah I don't quite get it, either. My rack of synthesizers can each play one
> voice of the Maple Leaf Rag via MIDI and they all stay synced together really

How is "really well" defined? In the domain of human auditory perception?

> well, at least over a timespan of several minutes...superficially at least it
> sounds like he wants a sequencer.

Can you disconnect the controller and have them continue playing (from stored
sequence) AND retain that synchornization "indefinitely"?

> Using the nuts & bolts system clock for synchronization of "user tasks" also
> makes me uncomfortable, if the device behavior only need to align to the
> millisecond why not trigger them using some simple network protocol and let
> their hardware figure out how long a millisecond is independently. Do the
> timings of these boxes need to be tighter than the Maple Leaf Rag?

Providing (and distributing) individual "events" on a shared medium suffers
from scaling problems. How do you tag them so that the intended clients
know which events are of significance to them?

Folks can understand how to consult a single time reference WITHIN a device.
Admittedly, there can be skew in those references due to the frequency at
which the reference is updated as well as consulted (and, the time it
takes individual clients to "process" that information).

Bolting on a mechanism that allows the time references on different
nodes to act AS IF a single reference addresses the distribution of that
reference separately from the reference's internal consumers.

How frequently you resync those references depends on how much variation
you can encounter in the individual local timebases (even OCXOs have
tolerances) and how much slip the "application" can tolerate. You
can choose to address the absolute time reference (it is now XXX:XX)
and/or the rate of time passage (it has been X time units since event Y).

If your MIDI instrument is told to emit a particular note/sound at
"beat #564", doesn't it depend on having some notion of WHEN beat #0
occurred and how long each beat is? How long will that "rate" be
observed by its hardware (osc) along with those of its peers?

One pass-time at KCP was to "read" "Row, Row, Row Your Boat" into a
group of machines. Then, twiddle the pitch of each and have them
replay the text from internal memory, in a "round". Of course, it
was damn near impossible to get the *rate* controls at the same
setting (potentiometers) so it wasn't long before the "singers"
drifted far enough apart that it sounded like an angry mob!
(rhubarb, rhubarb, rhubarb).

But, there was never a need for such synchronization (beyond novelty)
so there were no design measures put in place to ensure it would be
repeatable and trackable.

Re: really slow PLL

<tbcto8$2n9i7$1@dont-email.me>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=101978&group=sci.electronics.design#101978

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: blockedo...@foo.invalid (Don Y)
Newsgroups: sci.electronics.design
Subject: Re: really slow PLL
Date: Thu, 21 Jul 2022 18:15:43 -0700
Organization: A noiseless patient Spider
Lines: 50
Message-ID: <tbcto8$2n9i7$1@dont-email.me>
References: <qd2hdhhs6bnndjs4likrvlq9jt6q5deebo@4ax.com>
<fb6d0d81-2d83-40aa-93ec-e8313f569653n@googlegroups.com>
<f415cd82-40ba-412c-9226-b0bdf2385e7bn@googlegroups.com>
<H9dCK.589973$5fVf.18746@fx09.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 22 Jul 2022 01:15:53 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="732d156c6f6d875bf458026269529f09";
logging-data="2860615"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19qfmss6uQ7TIMoJa3f+6pS"
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101
Thunderbird/52.1.1
Cancel-Lock: sha1:LJzCKQ8fsSA6RRfatiVA7dx5SXw=
Content-Language: en-US
In-Reply-To: <H9dCK.589973$5fVf.18746@fx09.iad>
 by: Don Y - Fri, 22 Jul 2022 01:15 UTC

On 7/21/2022 7:12 AM, bitrex wrote:
> On 7/21/2022 4:33 AM, John Walliker wrote:
>> If you have an ethernet interface to each unit then Precision Time Protocol
>> should do exactly what you want.
>> https://en.wikipedia.org/wiki/Precision_Time_Protocol
>> John
>
> Yeah, that sounds like the ticket to me also. Trying to use each box's system
> clock for purposes of keeping "user-space" tasks in sync across boxes makes me
> uncomfortable, sounds like a srs hack.

How else would you synchronize events generated (or DETECTED!) across boxes?
Run a separate wire for each event?

> If you need to tightly synchronize events between physically separate hardware
> why not use a standard designed for the task rather than some roll-your-own shit

Because standards try to address ALL POSSIBLE users of a particular
feature/mechanism.

Done "as intended", PTP requires timestamping hardware in the NIC to note
when the packets actually hit (or come off) the wire. With a good deal of
care, you can get sub-microsecond synchronization between nodes. But, swap
the switch or let network traffic change significantly (e.g., unconstrained)
and all bets are off.

If all you are trying to do is synchronize some notion of time across
devices, why take on all the overhead of an NIC, network stack,
PTP protocol, etc. JUST for that?

How tightly must the time references be synchronized? How tightly must
they REMAIN synchronized (local oscillators drift at different rates)?

OTOH, if those mechanisms are already present/needed in your product/design,
then bolting PTP on top can make sense.

But, *how* you do that is your own decision -- if you don't need to
"play nice" with other vendors' products, then why take on the cost
of doing so? (why so many oddball "serial port" connectors and
implementations, over the years? wasn't there ONE standard??)

[As to the "hack", you underestimate how powerful the notion of
just being able to say "do this at t=X" is in designing a box!]

The biggest downside with shared resources -- esp ones that are
as crucial as this -- is sorting out how to handle the situation
when that resource fails or is unavailable. E.g., PTP allows
a new master to be elected. Fine. But, implicit in that is the
fact that the old master is now "not functional"... can you
continue to operate under those conditions?

Re: really slow PLL

<VWmCK.502376$J0r9.210761@fx11.iad>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=101979&group=sci.electronics.design#101979

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx11.iad.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.11.0
Subject: Re: really slow PLL
Content-Language: en-US
Newsgroups: sci.electronics.design
References: <qd2hdhhs6bnndjs4likrvlq9jt6q5deebo@4ax.com>
<daf0c8cf-07ea-241b-2e4e-bfe2bbaa6f63@electrooptical.net>
<pq5hdh9oeleu54rljjk3r1bk3vfgj9dni0@4ax.com> <tbbbvk$pta$1@gioia.aioe.org>
<T1dCK.48233$vd2.40244@fx39.iad> <tbct2p$2n40a$1@dont-email.me>
From: use...@example.net (bitrex)
In-Reply-To: <tbct2p$2n40a$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 52
Message-ID: <VWmCK.502376$J0r9.210761@fx11.iad>
X-Complaints-To: abuse@frugalusenet.com
NNTP-Posting-Date: Fri, 22 Jul 2022 01:19:49 UTC
Organization: frugalusenet - www.frugalusenet.com
Date: Thu, 21 Jul 2022 21:19:48 -0400
X-Received-Bytes: 3271
 by: bitrex - Fri, 22 Jul 2022 01:19 UTC

On 7/21/2022 9:04 PM, Don Y wrote:
> On 7/21/2022 7:04 AM, bitrex wrote:
>>> You really need to define longterm before the problem becomes well
>>> posed. Do you mean hours, days, weeks or months of runtime?
>>
>> Yeah I don't quite get it, either. My rack of synthesizers can each
>> play one voice of the Maple Leaf Rag via MIDI and they all stay synced
>> together really
>
> How is "really well" defined?  In the domain of human auditory perception?
>
>> well, at least over a timespan of several minutes...superficially at
>> least it sounds like he wants a sequencer.
>
> Can you disconnect the controller and have them continue playing (from
> stored
> sequence) AND retain that synchornization "indefinitely"?
>
>> Using the nuts & bolts system clock for synchronization of "user
>> tasks" also makes me uncomfortable, if the device behavior only need
>> to align to the millisecond why not trigger them using some simple
>> network protocol and let their hardware figure out how long a
>> millisecond is independently. Do the timings of these boxes need to be
>> tighter than the Maple Leaf Rag?
>
> Providing (and distributing) individual "events" on a shared medium suffers
> from scaling problems.  How do you tag them so that the intended clients
> know which events are of significance to them?

His machine's sequences are all programmed individual to a given box,
there's no provision for controlling one from the others directly other
than telling one to start its program and providing some kind of master
sync, whatever it is.

The way this would be handled in the music-world analogy is something
like MIDI timecode, it's not unusual for individual machines to have
their own sequencers and want to gang events together in that realm, either.

<https://en.wikipedia.org/wiki/MIDI_timecode>

The resolution of the timecode doesn't automatically imply the timing
resolution, given a "start" command and the clock any good-quality
device will be able to interpolate between quarter-frames to know when
it should fire an event, if its internal sequencer has finer granularity
than that.

I mentioned elsewhere that there's a more general-purpose sync standard
that's been around a long time:

<https://en.wikipedia.org/wiki/IRIG_timecode>

Re: really slow PLL

<tbd04j$2qli2$1@dont-email.me>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=101985&group=sci.electronics.design#101985

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: blockedo...@foo.invalid (Don Y)
Newsgroups: sci.electronics.design
Subject: Re: really slow PLL
Date: Thu, 21 Jul 2022 18:56:27 -0700
Organization: A noiseless patient Spider
Lines: 82
Message-ID: <tbd04j$2qli2$1@dont-email.me>
References: <qd2hdhhs6bnndjs4likrvlq9jt6q5deebo@4ax.com>
<daf0c8cf-07ea-241b-2e4e-bfe2bbaa6f63@electrooptical.net>
<pq5hdh9oeleu54rljjk3r1bk3vfgj9dni0@4ax.com> <tbbbvk$pta$1@gioia.aioe.org>
<T1dCK.48233$vd2.40244@fx39.iad> <tbct2p$2n40a$1@dont-email.me>
<VWmCK.502376$J0r9.210761@fx11.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 22 Jul 2022 01:56:36 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="732d156c6f6d875bf458026269529f09";
logging-data="2971202"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/4N2TgbRj33CxzEGAsaNIq"
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101
Thunderbird/52.1.1
Cancel-Lock: sha1:5QJJD6saNG1UJmylk2cqvRFJ0LU=
In-Reply-To: <VWmCK.502376$J0r9.210761@fx11.iad>
Content-Language: en-US
 by: Don Y - Fri, 22 Jul 2022 01:56 UTC

On 7/21/2022 6:19 PM, bitrex wrote:
> On 7/21/2022 9:04 PM, Don Y wrote:
>> On 7/21/2022 7:04 AM, bitrex wrote:
>>>> You really need to define longterm before the problem becomes well posed.
>>>> Do you mean hours, days, weeks or months of runtime?
>>>
>>> Yeah I don't quite get it, either. My rack of synthesizers can each play one
>>> voice of the Maple Leaf Rag via MIDI and they all stay synced together really
>>
>> How is "really well" defined? In the domain of human auditory perception?
>>
>>> well, at least over a timespan of several minutes...superficially at least
>>> it sounds like he wants a sequencer.
>>
>> Can you disconnect the controller and have them continue playing (from stored
>> sequence) AND retain that synchornization "indefinitely"?
>>
>>> Using the nuts & bolts system clock for synchronization of "user tasks" also
>>> makes me uncomfortable, if the device behavior only need to align to the
>>> millisecond why not trigger them using some simple network protocol and let
>>> their hardware figure out how long a millisecond is independently. Do the
>>> timings of these boxes need to be tighter than the Maple Leaf Rag?
>>
>> Providing (and distributing) individual "events" on a shared medium suffers
>> from scaling problems. How do you tag them so that the intended clients
>> know which events are of significance to them?
>
> His machine's sequences are all programmed individual to a given box, there's
> no provision for controlling one from the others directly other than telling
> one to start its program and providing some kind of master sync, whatever it is.

But there is still a need to deploy that "program" (sequence).

Is there an inherent limit to the time spanned by such a (future)
definition? Why not sync them on the assembly line and then
forget about it? (Ans: because there would be intolerable
drift in references)

> The way this would be handled in the music-world analogy is something like MIDI
> timecode, it's not unusual for individual machines to have their own sequencers
> and want to gang events together in that realm, either.
>
> <https://en.wikipedia.org/wiki/MIDI_timecode>
>
> The resolution of the timecode doesn't automatically imply the timing
> resolution, given a "start" command and the clock any good-quality device will
> be able to interpolate between quarter-frames to know when it should fire an
> event, if its internal sequencer has finer granularity than that.

Of course. I've been designing "clocks" (timepieces) for decades that
only display time to nothing better than 100Hz -- yet rely on the mains
frequency to discipline the local oscillator over the long run (days).

But, (decorative) timepieces only have to deal with synchronization
on the scale of human perception. And, while mains power is available
(as a reference frequency), there is no slippage between timepieces.
The problem of spanning outages is where the real engineering comes
into play; how much will the current timepiece's XTAL drift wrt
other timepieces in the absence of that line frequency reference?
(timepieces can't talk to each other so any skew that occurs during
an outage is "baked in" thereafter)

> I mentioned elsewhere that there's a more general-purpose sync standard that's
> been around a long time:

IMO, there's no need to transfer time information. You need a reference
point (in time) and then a reference *rate*.

The rate needs to be broadcast ("shared") often enough that slip can
be noticed and corrected -- before it becomes "significant" (for whatever
value of "significant" is pertinent).

The reference point can be indicated in-band by a double-pulse
(i.e., first pulse occurs at the intended "rate" point, in time;
presence of another pulse within some delta thereafter means
"that rate pulse was also a reference point").

Of course, if you are a stickler for detail, you'd need some way of
addressing difference in transport delays (likely not significant
within a single rack but of interest when devices are hundreds of
meters apart!)

Re: really slow PLL

<170406a10b0f2331$1$383679$60dd6a6a@news.thecubenet.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=101987&group=sci.electronics.design#101987

  copy link   Newsgroups: sci.electronics.design
Date: Fri, 22 Jul 2022 12:44:09 +1000
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1
Subject: Re: really slow PLL
Content-Language: en-US
Newsgroups: sci.electronics.design
References: <qd2hdhhs6bnndjs4likrvlq9jt6q5deebo@4ax.com> <tbap1m$h0d7$1@solani.org> <4edidhp1j5athn19ro297m6lkm21nba4ck@4ax.com> <tbbi6s$ghm7$1@solani.org> <749c3c03-5765-9bfe-a6e6-6b9be06fc84d@electrooptical.net> <tbbspp$golj$1@solani.org> <e9f067f2-0482-e037-635a-1fe45f43849e@electrooptical.net>
From: no_s...@please.net (Clifford Heath)
In-Reply-To: <e9f067f2-0482-e037-635a-1fe45f43849e@electrooptical.net>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 42
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!news.thecubenet.com!not-for-mail
NNTP-Posting-Date: Fri, 22 Jul 2022 02:44:11 +0000
Organization: theCubeNet - www.thecubenet.com
X-Complaints-To: abuse@thecubenet.com
Message-ID: <170406a10b0f2331$1$383679$60dd6a6a@news.thecubenet.com>
X-Received-Bytes: 2703
 by: Clifford Heath - Fri, 22 Jul 2022 02:44 UTC

On 22/7/22 03:10, Phil Hobbs wrote:
> Gerhard Hoffmann wrote:
>> Am 21.07.22 um 16:15 schrieb Phil Hobbs:
>>
>>> I wonder if there's an advantage to using the closure phase for an
>>> array that large.  With 17 oscillators you've got 136 independent
>>> phase differences, so maybe there's a way to get 22 dB instead of 12
>>> dB improvement.
>>
>> -v ?
>>
>> what do you mean with closure phase? Where do the 22 dB come
>> from?
>>
>> The idea was simply to have all 16 regulated to the be
>> synchronous and then feed them into a 16-to--1 Wilkinson
>> combiner. The phase noise should average out among the
>> 16 units. Just as proof of concept. The MTI-260 are quite ok,
>> but with bleeding edge oscillators that could be interesting.
>> In the region where you just cannot improve an oscillator.
>>
>>> Cheers
>> Gerhard
>
> Sure.  Thing is, that wastes a lot of information that you could maybe
> use to get 10*log(136) = 21.3 dB improvement instead of 10*log(17) =
> 12.3 dB.  [136 = N(N-1)/2 when N = 17.]
>
> Closure is a really cute idea, which I first came across in the context
> of very long baseline interferometry (VLBI) radio telescopes.  See the
> discussion from BEOS 3e here:
>
> <https://electrooptical.net/www/sed/closure.png>.

Interesting, thanks.

Some frequency synthesiser chips employ proprietary majick to reduce the
phase noise associated with integer divide/multiply ratios. Polyphase
oscillator and slipping by partial cycles I think. Perhaps they're doing
something like closure against the different clock phases?

Clifford Heath

Re: really slow PLL

<105398dd-1815-47b0-b46c-2f0d7b72fc62n@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=101988&group=sci.electronics.design#101988

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:a05:6214:23cb:b0:472:f1a5:5cea with SMTP id hr11-20020a05621423cb00b00472f1a55ceamr1176731qvb.13.1658457900692;
Thu, 21 Jul 2022 19:45:00 -0700 (PDT)
X-Received: by 2002:a25:8b8b:0:b0:669:b37d:f9cd with SMTP id
j11-20020a258b8b000000b00669b37df9cdmr1319907ybl.394.1658457900423; Thu, 21
Jul 2022 19:45:00 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.electronics.design
Date: Thu, 21 Jul 2022 19:45:00 -0700 (PDT)
In-Reply-To: <64e1baa2-ff15-4a92-90d8-50cc1f34a8e0n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=209.221.140.126; posting-account=vKQm_QoAAADOaDCYsqOFDAW8NJ8sFHoE
NNTP-Posting-Host: 209.221.140.126
References: <qd2hdhhs6bnndjs4likrvlq9jt6q5deebo@4ax.com> <64e1baa2-ff15-4a92-90d8-50cc1f34a8e0n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <105398dd-1815-47b0-b46c-2f0d7b72fc62n@googlegroups.com>
Subject: Re: really slow PLL
From: whit...@gmail.com (whit3rd)
Injection-Date: Fri, 22 Jul 2022 02:45:00 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2414
 by: whit3rd - Fri, 22 Jul 2022 02:45 UTC

On Thursday, July 21, 2022 at 10:30:47 AM UTC-7, lang...@fonz.dk wrote:
> torsdag den 21. juli 2022 kl. 01.21.08 UTC+2 skrev John Larkin:
> > Suppose I have several rackmount boxes...
> > Each box has a 40 MHz VCXO and I want to phase-lock them, or at least
> > time-align them to always be the same within a few microseconds,
> > longterm.
> >
> > I could call one the leader (not "master") and make the others
> > followers (not "slaves") and have the leader make an active low pulse
> > maybe once a second.

> why so slow?
> > A follower would use her (not "his") clock to
> > measure the incoming period and tweak its local VCXO in the right
> > direction. That should work.

> it'll only make the run at at the same speed, not time aligned

If you ever apply a command time setting once, and they have the same
speed, they will stay aligned. It'd be an improvement over letting the
clocks drift for a second at a time, then correcting. I'm not sure what
'measure the incoming period' has to do with it, though; just use an up/down
counter to compare leader to follower, and D/A the count to trim the VCO.

All it takes to sense a frequency difference is a counter. Negative
feedback nulls the difference.

Re: really slow PLL

<h73kdh99ktkpdjmkrrpknqek02q7r5vu32@4ax.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=101989&group=sci.electronics.design#101989

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!buffer1.nntp.dca1.giganews.com!nntp.supernews.com!news.supernews.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 21 Jul 2022 21:47:11 -0500
From: jlar...@highlandsniptechnology.com
Newsgroups: sci.electronics.design
Subject: Re: really slow PLL
Date: Thu, 21 Jul 2022 19:47:11 -0700
Message-ID: <h73kdh99ktkpdjmkrrpknqek02q7r5vu32@4ax.com>
References: <qd2hdhhs6bnndjs4likrvlq9jt6q5deebo@4ax.com> <tbap1m$h0d7$1@solani.org> <4edidhp1j5athn19ro297m6lkm21nba4ck@4ax.com> <tbcpqo$f7c$1@reader2.panix.com>
X-Newsreader: Forte Agent 3.1/32.783
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 69
X-Trace: sv3-PzREV7wTLpENQ3q62VJn2PLfBpDd5X3g9+8xQRdpfA/3ZjUeypz0o4WuyKLtqwC8a9qNR2ukdI7QO6X!COMKZj68RkgOGjKwgnf1tGg7PoMft8TeOKj7scOEZKSVu8/A1/Fa5HjkcDxh99WecOKdA8DQrWsV!pBQk/Q==
X-Complaints-To: www.supernews.com/docs/abuse.html
X-DMCA-Complaints-To: www.supernews.com/docs/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 4173
 by: jlar...@highlandsniptechnology.com - Fri, 22 Jul 2022 02:47 UTC

On Fri, 22 Jul 2022 00:08:56 -0000 (UTC), Cydrome Leader
<presence@MUNGEpanix.com> wrote:

>jlarkin@highlandsniptechnology.com wrote:
>> On Thu, 21 Jul 2022 07:43:18 +0200, Gerhard Hoffmann <dk4xp@arcor.de>
>> wrote:
>>
>>>Am 21.07.22 um 01:20 schrieb John Larkin:
>>>>
>>>>
>>>> Suppose I have several rackmount boxes and each has a BNC connector on
>>>> the back. Each of them has an open-drain mosfet, a weak pullup, and a
>>>> lowpass filtered schmitt gate back into our FPGA.
>>>>
>>>> I can daisy-chain several boxes with BNC cables and tees.
>>>>
>>>> Each box has a 40 MHz VCXO and I want to phase-lock them, or at least
>>>> time-align them to always be the same within a few microseconds,
>>>> longterm.
>>>
>>>I have a backburner project of locking 16 MTI-260 oscillators
>>>slooowy to another one, and when they are in sync, combine
>>>them with an array of Wilkinsons. That should have a nice
>>>effect on phase noise by averaging over 16.
>>>The CPLD has enough resources to implement that as a delay
>>>locked loop with 1 pps, but low hanging fruit first.
>>>
>>>>
>>>> I could call one the leader (not "master") and make the others
>>>> followers (not "slaves") and have the leader make an active low pulse
>>>> maybe once a second. A follower would use her (not "his") clock to
>>>> measure the incoming period and tweak its local VCXO in the right
>>>> direction. That should work.
>>>>
>>>> Don't GPS receivers lock their 10 MHz oscillators to a 1 PPS pulse
>>>> from the satellites?
>>>
>>>No. There is no 1PPS pulse from the sat nor the need for exactly 10 MHz.
>>>The sats transmit a pseudo noise sequence that is
>>>aligned to the second of their local clock source.
>>>The GPS receiver knows the polynomial and runs a local copy of
>>>the polynomial. It knows by cross correlation if the local
>>>pseudo noise is the same as that of the sat and therefore knows
>>>the start of the second. Usually that won't be the case.
>>>Then the receiver delays its own polynomial by omitting a
>>>clock to the shift register that generates it and tries again.
>>>Sooner or later it will fit.
>>
>> Where does the 10 MHz come from?
>
>https://en.wikipedia.org/wiki/GPS_disciplined_oscillator

"GPSDOs typically phase-align the internal flywheel oscillator to the
GPS signal by using dividers to generate a 1PPS signal from the
reference oscillator, then phase comparing this 1PPS signal to the
GPS-generated 1PPS signal and using the phase differences to control
the local oscillator frequency in small adjustments via the tracking
loop."

That's what I meant: the 10M xo is locked to the 1 PPS GPS output.

The GPS 1 PPS is perfect (by definition) long-term but terrible
short-term, so the XO or rubidium has to be very good itself, and the
loop has to be very slow. Big flywheel.

I'll be doing something similar, locking my 40 MHz clock to some 1 PPS
input, the difference being that I don't mind a few us of jitter, so I
can lock quick and crude.

Re: really slow PLL

<b24kdhh6n8fflf6jhaqe6l3jt8dd1cspuk@4ax.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=101992&group=sci.electronics.design#101992

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeds.phibee-telecom.net!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!nntp.supernews.com!news.supernews.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 21 Jul 2022 22:02:47 -0500
From: jlar...@highlandsniptechnology.com
Newsgroups: sci.electronics.design
Subject: Re: really slow PLL
Date: Thu, 21 Jul 2022 20:02:46 -0700
Message-ID: <b24kdhh6n8fflf6jhaqe6l3jt8dd1cspuk@4ax.com>
References: <qd2hdhhs6bnndjs4likrvlq9jt6q5deebo@4ax.com> <fb6d0d81-2d83-40aa-93ec-e8313f569653n@googlegroups.com> <f415cd82-40ba-412c-9226-b0bdf2385e7bn@googlegroups.com> <H9dCK.589973$5fVf.18746@fx09.iad> <YbdCK.589974$5fVf.167665@fx09.iad> <6tpidh9jj9375ime66vfgr0uuonr42v7d6@4ax.com> <BneCK.57862$iR.43468@fx44.iad> <qmtidh5aif9l2kq09oielks7hnp91hl84g@4ax.com> <JffCK.582999$X_i.553981@fx18.iad>
X-Newsreader: Forte Agent 3.1/32.783
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 112
X-Trace: sv3-3sfZwXzG5eqwUsBGOjdcKdv0GiXNv/dvAKaYkQopaf4AkbW1XUWHhszlalC98Wy0jsrYsi+m6VkOxL6!gbBuSg4IT/dDQNjzKMODlC7xzxNBVBJJfqsocHdlXjBiB0glC7rZVd49hlgP3+c6ZN+hRzaQ0Zi/!Y6D8UQ==
X-Complaints-To: www.supernews.com/docs/abuse.html
X-DMCA-Complaints-To: www.supernews.com/docs/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 6357
 by: jlar...@highlandsniptechnology.com - Fri, 22 Jul 2022 03:02 UTC

On Thu, 21 Jul 2022 12:35:52 -0400, bitrex <user@example.net> wrote:

>On 7/21/2022 12:09 PM, jlarkin@highlandsniptechnology.com wrote:
>> On Thu, 21 Jul 2022 11:36:01 -0400, bitrex <user@example.net> wrote:
>>
>>> On 7/21/2022 10:55 AM, jlarkin@highlandsniptechnology.com wrote:
>>>> On Thu, 21 Jul 2022 10:15:20 -0400, bitrex <user@example.net> wrote:
>>>>
>>>>> On 7/21/2022 10:12 AM, bitrex wrote:
>>>>>> On 7/21/2022 4:33 AM, John Walliker wrote:
>>>>>>> On Thursday, 21 July 2022 at 07:49:43 UTC+1, whit3rd wrote:
>>>>>>>> On Wednesday, July 20, 2022 at 4:21:08 PM UTC-7, John Larkin wrote:
>>>>>>>>> Suppose I have several rackmount boxes and each has a BNC connector on
>>>>>>>>> the back. Each of them has an open-drain mosfet, a weak pullup, and a
>>>>>>>>> lowpass filtered schmitt gate back into our FPGA.
>>>>>>>>>
>>>>>>>>> I can daisy-chain several boxes with BNC cables and tees.
>>>>>>>>>
>>>>>>>>> Each box has a 40 MHz VCXO and I want to phase-lock them, or at least
>>>>>>>>> time-align them to always be the same within a few microseconds,
>>>>>>>>> longterm.
>>>>>>>> If you can tolerate 'a few microseconds' on a 40 MHz signal, that's
>>>>>>>> not a phase-lock
>>>>>>>> problem, it's a frequency-lock problem. Why not just run an up/down
>>>>>>>> counter
>>>>>>>> to generate a correction voltage for each non-leading VCO?
>>>>>>>
>>>>>>> If you have an ethernet interface to each unit then Precision Time
>>>>>>> Protocol
>>>>>>> should do exactly what you want.
>>>>>>> https://en.wikipedia.org/wiki/Precision_Time_Protocol
>>>>>>> John
>>>>>>
>>>>>> Yeah, that sounds like the ticket to me also. Trying to use each box's
>>>>>> system clock for purposes of keeping "user-space" tasks in sync across
>>>>>> boxes makes me uncomfortable, sounds like a srs hack.
>>>>>
>>>>> At minimum it likely won't scale very well. Why implicitly discourage
>>>>> one's customers from buying only a limited number of units
>>>>
>>>> Time synchronization of programmable power supplies and loads is
>>>> precisely one selling feature that my customers want but nobody else
>>>> seems to make. It works fine in one box but I want to extend the
>>>> function to multiple boxes in a rack.
>>>>
>>>> The controller in each box is a MicroZed and doesn't support the PTP
>>>> thing, and my customers may not be able top provide it anyhow. The 1
>>>> PPS thing works with just a BNC cable.
>>>>
>>>> Besides, what I do is design things.
>>>>
>>>
>>>
>>> So if it works fine in one box why can't you just send some simple
>>> packet data that says like OK box 4, run program 2 now for 1,084 ms.
>>>
>>> If they're all already locked individually to GPS or whatever other
>>> standard they know how long a ms is. There will be some overhead latency
>>> but syncing a bunch of boxes within a ms doesn't seem unreasonable.
>>>
>>> It's at least easier to ballpark how well a digital scheme like that
>>> would scale on paper. The BNC scheme is analog, how do you know.
>>
>> The BNC would be 1 PPS pulses. They could come from GPS if it's
>> available, or one of the boxes could output the 1 PPS and the others
>> would sync to that.
>>
>> When we designed the box, we added two BNCs, open drain drivers with
>> weak pullups and schmitt receivers, connected into our FPGA. We didn't
>> know what they were for, but they turn out to be handy.
> I see.
>
>> One is START RUNNING YOUR SEQUENCES NOW and the other is the 1 PPS
>> lock. That should work.
>>
>> Each module has a sequencer table in its local fpga RAM, sort of a
>> primitive program with 5 opcodes. A table entry can write any other
>> register in the FPGA, ie do anything, and one command is WAIT UNTIL,
>> against the 1 MHz start counter.
>>
>> Customers can write fairly simple SCPI script files to program events
>> in each module, load them up, and fire off a shot and keep the whole
>> experiment time synchronized forever.
>
>Gotcha
>
>> All we want to do is revolutionize the power supply business.
>
>Sounds good
>
>> It's actually useful to me to type and discuss this sort of thing.
>> Ideas evolve at their own rates.
>>
>
>I'm just sayin there's also a standard (uh oh!) dating back to the 50s
>for synchronizing equipment using time-code:
>
><https://en.wikipedia.org/wiki/IRIG_timecode>
>
>up to 10,000 pulses per second. I understand now that there's no
>facility to program or sequence one box from the others they each run
>their own "script" from memory.
>
>It would seem simpler to flip a switch to designate one box as the
>master and have the others watch a timecode it sends out at a higher
>resolution than the desired sync error. If the master then needs to
>itself be synced to real-world time via a GPSDO then ah...well I guess
>there should've been a 3rd BNC :-(

There should be a third BNC, or a D9 or something. Synchronizing boxes
has et up all my general-puropse i/o's.

Re: really slow PLL

<ut4kdh9i9db34qko3fnmaeqmmkhgkuprq8@4ax.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=101993&group=sci.electronics.design#101993

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!69.80.99.15.MISMATCH!border-1.nntp.ord.giganews.com!border-2.nntp.ord.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!nntp.supernews.com!news.supernews.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 21 Jul 2022 22:11:44 -0500
From: jlar...@highlandsniptechnology.com
Newsgroups: sci.electronics.design
Subject: Re: really slow PLL
Date: Thu, 21 Jul 2022 20:11:43 -0700
Message-ID: <ut4kdh9i9db34qko3fnmaeqmmkhgkuprq8@4ax.com>
References: <qd2hdhhs6bnndjs4likrvlq9jt6q5deebo@4ax.com> <64e1baa2-ff15-4a92-90d8-50cc1f34a8e0n@googlegroups.com>
X-Newsreader: Forte Agent 3.1/32.783
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 44
X-Trace: sv3-7hCaT/rgqv0r6tKQCzgpQ0CiXI/jcRpH3AeIjaQ6TkqEU72p8elLusc8Zmdvq1DDPben4LgsEwfVjVq!X4g0Qs+bVNsn6M8qSSRJ1tLBcHX/cEgpRX0B+sm2Rg9Z6UhgrD2+jvcMtJP/RiiLndQFy3A0t+kZ!5peSeA==
X-Complaints-To: www.supernews.com/docs/abuse.html
X-DMCA-Complaints-To: www.supernews.com/docs/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 2652
X-Received-Bytes: 2878
 by: jlar...@highlandsniptechnology.com - Fri, 22 Jul 2022 03:11 UTC

On Thu, 21 Jul 2022 10:30:44 -0700 (PDT), Lasse Langwadt Christensen
<langwadt@fonz.dk> wrote:

>torsdag den 21. juli 2022 kl. 01.21.08 UTC+2 skrev John Larkin:
>> Suppose I have several rackmount boxes and each has a BNC connector on
>> the back. Each of them has an open-drain mosfet, a weak pullup, and a
>> lowpass filtered schmitt gate back into our FPGA.
>>
>> I can daisy-chain several boxes with BNC cables and tees.
>>
>> Each box has a 40 MHz VCXO and I want to phase-lock them, or at least
>> time-align them to always be the same within a few microseconds,
>> longterm.
>>
>> I could call one the leader (not "master") and make the others
>> followers (not "slaves") and have the leader make an active low pulse
>> maybe once a second.
>
>why so slow?

The design intended the outputs to be relay drivers with debounced
schmitt-trigger inputs. So they are fairly slow. And lots of people
have a 1 PPS GPS thing.

>
>> A follower would use her (not "his") clock to
>> measure the incoming period and tweak its local VCXO in the right
>> direction. That should work.
>
>it'll only make the run at at the same speed, not time aligned
>

No, I can really time align long-term, after the first accepted 1 PPS
pulse. I've presented that in another post. One BNC locks the
timebases and the other starts sequences, all together.

It's only a power supply, so we don't need absolute timing to
nanoseconds. Switchers alone add microsecond or even millisecond-scale
uncertainty to the analog outputs.

Re: really slow PLL

<20220721a@crcomp.net>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=101996&group=sci.electronics.design#101996

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: g...@crcomp.net (Don)
Newsgroups: sci.electronics.design
Subject: Re: really slow PLL
Date: Fri, 22 Jul 2022 03:58:32 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <20220721a@crcomp.net>
References: <qd2hdhhs6bnndjs4likrvlq9jt6q5deebo@4ax.com> <daf0c8cf-07ea-241b-2e4e-bfe2bbaa6f63@electrooptical.net> <pq5hdh9oeleu54rljjk3r1bk3vfgj9dni0@4ax.com> <tbbbvk$pta$1@gioia.aioe.org> <T1dCK.48233$vd2.40244@fx39.iad> <tbct2p$2n40a$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 22 Jul 2022 03:58:32 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="3cb476af59d42ab29cdaeda5553e7156";
logging-data="3029872"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+cUE7ZiEDFm0erR7r6BmUy"
Cancel-Lock: sha1:UIEKVA+qrhz04tsb5JiHUBW6i20=
 by: Don - Fri, 22 Jul 2022 03:58 UTC

Don Y wrote:
> bitrex wrote:

<snip>

>> Yeah I don't quite get it, either. My rack of synthesizers can each play one
>> voice of the Maple Leaf Rag via MIDI and they all stay synced together really
>
> How is "really well" defined? In the domain of human auditory perception?

In this case, isn't "really well" defined as an absence of sour note(s)?

Danke,

--
Don, KB7RPU, https://www.qsl.net/kb7rpu
There was a young lady named Bright Whose speed was far faster than light;
She set out one day In a relative way And returned on the previous night.

Re: really slow PLL

<tbdaip$2t6ei$1@dont-email.me>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=101999&group=sci.electronics.design#101999

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: blockedo...@foo.invalid (Don Y)
Newsgroups: sci.electronics.design
Subject: Re: really slow PLL
Date: Thu, 21 Jul 2022 21:54:40 -0700
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <tbdaip$2t6ei$1@dont-email.me>
References: <qd2hdhhs6bnndjs4likrvlq9jt6q5deebo@4ax.com>
<daf0c8cf-07ea-241b-2e4e-bfe2bbaa6f63@electrooptical.net>
<pq5hdh9oeleu54rljjk3r1bk3vfgj9dni0@4ax.com> <tbbbvk$pta$1@gioia.aioe.org>
<T1dCK.48233$vd2.40244@fx39.iad> <tbct2p$2n40a$1@dont-email.me>
<20220721a@crcomp.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 22 Jul 2022 04:54:49 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="732d156c6f6d875bf458026269529f09";
logging-data="3054034"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+/xgZkNndjN9y2+xzMvOLX"
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101
Thunderbird/52.1.1
Cancel-Lock: sha1:7BdtvBCtD2cy2HT9Z9wF/zSVhMM=
In-Reply-To: <20220721a@crcomp.net>
Content-Language: en-US
 by: Don Y - Fri, 22 Jul 2022 04:54 UTC

On 7/21/2022 8:58 PM, Don wrote:
> Don Y wrote:
>> bitrex wrote:
>
> <snip>
>
>>> Yeah I don't quite get it, either. My rack of synthesizers can each play one
>>> voice of the Maple Leaf Rag via MIDI and they all stay synced together really
>>
>> How is "really well" defined? In the domain of human auditory perception?
>
> In this case, isn't "really well" defined as an absence of sour note(s)?

That assumes the synthesis uses the same clock as timing. I think the
discussion here has been wrt durations/intervals.

How sensitive are *your* ears to noticing small differences in pitch,
absence a comparative reference? Can you discern a difference of a few
cents ("perfect pitch")?

Re: really slow PLL

<tbdfka$3sh$1@reader2.panix.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=102007&group=sci.electronics.design#102007

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix3.panix.com!not-for-mail
From: prese...@MUNGEpanix.com (Cydrome Leader)
Newsgroups: sci.electronics.design
Subject: Re: really slow PLL
Date: Fri, 22 Jul 2022 06:20:58 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <tbdfka$3sh$1@reader2.panix.com>
References: <qd2hdhhs6bnndjs4likrvlq9jt6q5deebo@4ax.com> <tbap1m$h0d7$1@solani.org> <4edidhp1j5athn19ro297m6lkm21nba4ck@4ax.com> <tbcpqo$f7c$1@reader2.panix.com> <h73kdh99ktkpdjmkrrpknqek02q7r5vu32@4ax.com>
Injection-Date: Fri, 22 Jul 2022 06:20:58 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="panix3.panix.com:166.84.1.3";
logging-data="3985"; mail-complaints-to="abuse@panix.com"
User-Agent: tin/2.6.0-20210823 ("Coleburn") (NetBSD/9.2 (amd64))
 by: Cydrome Leader - Fri, 22 Jul 2022 06:20 UTC

jlarkin@highlandsniptechnology.com wrote:
> On Fri, 22 Jul 2022 00:08:56 -0000 (UTC), Cydrome Leader
> <presence@MUNGEpanix.com> wrote:
>
>>jlarkin@highlandsniptechnology.com wrote:
>>> On Thu, 21 Jul 2022 07:43:18 +0200, Gerhard Hoffmann <dk4xp@arcor.de>
>>> wrote:
>>>
>>>>Am 21.07.22 um 01:20 schrieb John Larkin:
>>>>>
>>>>>
>>>>> Suppose I have several rackmount boxes and each has a BNC connector on
>>>>> the back. Each of them has an open-drain mosfet, a weak pullup, and a
>>>>> lowpass filtered schmitt gate back into our FPGA.
>>>>>
>>>>> I can daisy-chain several boxes with BNC cables and tees.
>>>>>
>>>>> Each box has a 40 MHz VCXO and I want to phase-lock them, or at least
>>>>> time-align them to always be the same within a few microseconds,
>>>>> longterm.
>>>>
>>>>I have a backburner project of locking 16 MTI-260 oscillators
>>>>slooowy to another one, and when they are in sync, combine
>>>>them with an array of Wilkinsons. That should have a nice
>>>>effect on phase noise by averaging over 16.
>>>>The CPLD has enough resources to implement that as a delay
>>>>locked loop with 1 pps, but low hanging fruit first.
>>>>
>>>>>
>>>>> I could call one the leader (not "master") and make the others
>>>>> followers (not "slaves") and have the leader make an active low pulse
>>>>> maybe once a second. A follower would use her (not "his") clock to
>>>>> measure the incoming period and tweak its local VCXO in the right
>>>>> direction. That should work.
>>>>>
>>>>> Don't GPS receivers lock their 10 MHz oscillators to a 1 PPS pulse
>>>>> from the satellites?
>>>>
>>>>No. There is no 1PPS pulse from the sat nor the need for exactly 10 MHz.
>>>>The sats transmit a pseudo noise sequence that is
>>>>aligned to the second of their local clock source.
>>>>The GPS receiver knows the polynomial and runs a local copy of
>>>>the polynomial. It knows by cross correlation if the local
>>>>pseudo noise is the same as that of the sat and therefore knows
>>>>the start of the second. Usually that won't be the case.
>>>>Then the receiver delays its own polynomial by omitting a
>>>>clock to the shift register that generates it and tries again.
>>>>Sooner or later it will fit.
>>>
>>> Where does the 10 MHz come from?
>>
>>https://en.wikipedia.org/wiki/GPS_disciplined_oscillator
>
> "GPSDOs typically phase-align the internal flywheel oscillator to the
> GPS signal by using dividers to generate a 1PPS signal from the
> reference oscillator, then phase comparing this 1PPS signal to the
> GPS-generated 1PPS signal and using the phase differences to control
> the local oscillator frequency in small adjustments via the tracking
> loop."
>
> That's what I meant: the 10M xo is locked to the 1 PPS GPS output.
>
> The GPS 1 PPS is perfect (by definition) long-term but terrible
> short-term, so the XO or rubidium has to be very good itself, and the
> loop has to be very slow. Big flywheel.

GPS timing isn't completely perfect in reality. Antennas blow off roofs,
contractors cut cables etc. Even losing sync for a minute is sort of a big
deal. As you mentioned, jitter is the real problem. There are tradeoffs to
making a flywheel thats too heavy so to speak.

For really fussy stuff, one might have multiple GPS receivers and a quorum
of local 10Mhz oscillators. In fact, 10Mhz is a dinosaur relic for modern
stuff too. We've got racks of 10Mhz oscillators and equipment to monitor
any phase shift between local oscillators and GPS sources. It's all going
to the dumpster when somebody finally notices it's been powered down and
forgotten about.

Fairly accurate nS resolution timing is possible in computers these days,
with the right tricks.

> I'll be doing something similar, locking my 40 MHz clock to some 1 PPS
> input, the difference being that I don't mind a few us of jitter, so I
> can lock quick and crude.

Do you have to worry about fun issues like an the timestamp of a signal
being received before it was even transmitted between pieces of equipment?

I like the toggle switches on the USNO hydrogen masers:

https://www.cnmoc.usff.navy.mil/Organization/United-States-Naval-Observatory/Precise-Time-Department/The-USNO-Master-Clock/The-USNO-Master-Clock/

They were originally made by some weird company called Sigma Tau. Somehow,
Microchip owns them now. New models have a new paint job, but still look
like they might be a transit case for a Dalek.

Re: really slow PLL

<tbdkv2$1n19$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=102009&group=sci.electronics.design#102009

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!aioe.org!U54xAdP7pvGKboowhQIuJQ.user.46.165.242.75.POSTED!not-for-mail
From: '''newsp...@nonad.co.uk (Martin Brown)
Newsgroups: sci.electronics.design
Subject: Re: really slow PLL
Date: Fri, 22 Jul 2022 08:51:59 +0100
Organization: Aioe.org NNTP Server
Message-ID: <tbdkv2$1n19$1@gioia.aioe.org>
References: <qd2hdhhs6bnndjs4likrvlq9jt6q5deebo@4ax.com>
<tbap1m$h0d7$1@solani.org> <4edidhp1j5athn19ro297m6lkm21nba4ck@4ax.com>
<tbbi6s$ghm7$1@solani.org>
<749c3c03-5765-9bfe-a6e6-6b9be06fc84d@electrooptical.net>
<tbbspp$golj$1@solani.org>
<e9f067f2-0482-e037-635a-1fe45f43849e@electrooptical.net>
<170406a10b0f2331$1$383679$60dd6a6a@news.thecubenet.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="56361"; posting-host="U54xAdP7pvGKboowhQIuJQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.11.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-GB
 by: Martin Brown - Fri, 22 Jul 2022 07:51 UTC

On 22/07/2022 03:44, Clifford Heath wrote:
> On 22/7/22 03:10, Phil Hobbs wrote:
>> Gerhard Hoffmann wrote:
>>> Am 21.07.22 um 16:15 schrieb Phil Hobbs:
>>>
>>>> I wonder if there's an advantage to using the closure phase for an
>>>> array that large.  With 17 oscillators you've got 136 independent
>>>> phase differences, so maybe there's a way to get 22 dB instead of 12
>>>> dB improvement.
>>>
>>> -v ?
>>>
>>> what do you mean with closure phase? Where do the 22 dB come
>>> from?
>>>
>>> The idea was simply to have all 16 regulated to the be
>>> synchronous and then feed them into a 16-to--1 Wilkinson
>>> combiner. The phase noise should average out among the
>>> 16 units. Just as proof of concept. The MTI-260 are quite ok,
>>> but with bleeding edge oscillators that could be interesting.
>>> In the region where you just cannot improve an oscillator.
>>>
>>>> Cheers
>>> Gerhard
>>
>> Sure.  Thing is, that wastes a lot of information that you could maybe
>> use to get 10*log(136) = 21.3 dB improvement instead of 10*log(17) =
>> 12.3 dB.  [136 = N(N-1)/2 when N = 17.]
>>
>> Closure is a really cute idea, which I first came across in the
>> context of very long baseline interferometry (VLBI) radio telescopes.
>> See the discussion from BEOS 3e here:
>>
>> <https://electrooptical.net/www/sed/closure.png>.
>
> Interesting, thanks.
>
> Some frequency synthesiser chips employ proprietary majick to reduce the
> phase noise associated with integer divide/multiply ratios. Polyphase
> oscillator and slipping by partial cycles I think. Perhaps they're doing
> something like closure against the different clock phases?

Quite probably - it has been known for a long time in radio astronomy
first derived by Jennison in 1958 at Jodrell Bank for 3 antennae. This
is the original ground breaking paper for anyone interested

https://articles.adsabs.harvard.edu//full/1958MNRAS.118..276J/0000276.000.html

(easier to understand versions exist today). WIki isn't bad:

https://en.wikipedia.org/wiki/Closure_phase

It allows you to get a good phase observable uncontaminated by the phase
error at each node for every distinct subset of 3 nodes. There is a
corresponding closure amplitude for distinct subsets of 4 nodes.

Obviously the bigger N is the more useful observables you can get which
is why the big dish telescopes sometimes stay on target and in the loop
for perhaps longer than they really ought to in deteriorating weather.

This book reviews most of the classical tricks used in VLBI and
interferometry from the period when they had just become routine:

Indirect Imaging: Measurement and Processing for Indirect Imaging
Editor-J. A. Roberts
0 ratings by Goodreads
ISBN 10: 0521262828 / ISBN 13: 9780521262828
Published by Cambridge University Press, 1984

--
Regards,
Martin Brown

Re: really slow PLL

<tbdnl2$hog5$1@solani.org>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=102010&group=sci.electronics.design#102010

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: dk4...@arcor.de (Gerhard Hoffmann)
Newsgroups: sci.electronics.design
Subject: Re: really slow PLL
Date: Fri, 22 Jul 2022 10:37:53 +0200
Message-ID: <tbdnl2$hog5$1@solani.org>
References: <qd2hdhhs6bnndjs4likrvlq9jt6q5deebo@4ax.com>
<tbap1m$h0d7$1@solani.org> <4edidhp1j5athn19ro297m6lkm21nba4ck@4ax.com>
<tbcpqo$f7c$1@reader2.panix.com> <h73kdh99ktkpdjmkrrpknqek02q7r5vu32@4ax.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 22 Jul 2022 08:37:54 -0000 (UTC)
Injection-Info: solani.org;
logging-data="582149"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.9.1
Cancel-Lock: sha1:VN3dlWt5oZrvQAZB6hTwe+0G8zk=
Content-Language: en-US
In-Reply-To: <h73kdh99ktkpdjmkrrpknqek02q7r5vu32@4ax.com>
X-User-ID: eJwFwYkRwDAIA7CVwmOTjgP0vP8IkRA0biXBhKDyXQ32p7OVycOPXZvR97RiHOk2hWtitT8gdRDM
 by: Gerhard Hoffmann - Fri, 22 Jul 2022 08:37 UTC

Am 22.07.22 um 04:47 schrieb jlarkin@highlandsniptechnology.com:

>>> Where does the 10 MHz come from?
>>
>> https://en.wikipedia.org/wiki/GPS_disciplined_oscillator
>
> "GPSDOs typically phase-align the internal flywheel oscillator to the
> GPS signal by using dividers to generate a 1PPS signal from the
> reference oscillator, then phase comparing this 1PPS signal to the
> GPS-generated 1PPS signal and using the phase differences to control
> the local oscillator frequency in small adjustments via the tracking
> loop."
>
> That's what I meant: the 10M xo is locked to the 1 PPS GPS output.

No. The 1pps is asserted when the CPU thinks it's closest to
the "right" clockcycle. It could be off by half a cycle.
There is no need for 10 MHz, one could have chosen a nice
multiple of the desired baud rate.

The 1pps does not control the clock, its the huge state vector
in the CPU that does. 1pps is only an approximation, that's why
it's so bad in the short term.

Locking an oscillator via 1pps is only done when there is
nothing better available, outside the GPS box.

< http://www.leapsecond.com/pages/m12/sawtooth.htm >

Cheers, Gerhard

Re: really slow PLL

<tbdqbn$7pp$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=102012&group=sci.electronics.design#102012

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!aioe.org!U54xAdP7pvGKboowhQIuJQ.user.46.165.242.75.POSTED!not-for-mail
From: '''newsp...@nonad.co.uk (Martin Brown)
Newsgroups: sci.electronics.design
Subject: Re: really slow PLL
Date: Fri, 22 Jul 2022 10:24:04 +0100
Organization: Aioe.org NNTP Server
Message-ID: <tbdqbn$7pp$1@gioia.aioe.org>
References: <qd2hdhhs6bnndjs4likrvlq9jt6q5deebo@4ax.com>
<daf0c8cf-07ea-241b-2e4e-bfe2bbaa6f63@electrooptical.net>
<pq5hdh9oeleu54rljjk3r1bk3vfgj9dni0@4ax.com> <tbbbvk$pta$1@gioia.aioe.org>
<tndidhhs8blc6dq5ocing8n0u292ejjd8v@4ax.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="7993"; posting-host="U54xAdP7pvGKboowhQIuJQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.11.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-GB
 by: Martin Brown - Fri, 22 Jul 2022 09:24 UTC

On 21/07/2022 12:42, jlarkin@highlandsniptechnology.com wrote:
> On Thu, 21 Jul 2022 12:06:26 +0100, Martin Brown
> <'''newspam'''@nonad.co.uk> wrote:
>
>> On 21/07/2022 01:22, John Larkin wrote:

>>> If a follower is told to start locking, it could timestamp the first
>>> incoming 1 PPS with a giant counter clocked by its local 40 MHz VCO.
>>> If a later 1 PPS edge appears to arrive too soon, we could speed up
>>> our VCXO by, say, 1 PPM, and vice versa. So longterm it walks into
>>> alignment with the 1 PPS and eventually dithers a microsecond per
>>> second. Noise on the coax gets fixed over time too.
>>
>> Have a free running counter on each of the followers and use the value
>> of that after 1s, 10s, 100s to determine the correct tweak to apply
>> locally. Tweaks of 1ppm at a time is rather crude you should be able to
>> determine the right amount to tweak it by better than that.
>> (especially over longer timebases)
>
> I wouldn't expect my VCXO to be more than 10 PPM off at the start of
> the lock request. So I can walk it to within 1 PPM, namely 1
> microsecond error, in at most 10 seconds using 1 PPM jogs. If the osc
> were 50 PPM off, it would take 50 seconds to catch up to the external
> pulse.

You would have lower systematic error after lockin if you made the
adjustments by reading the full width counter as a two's compliment
number when the synch pulse arrives (and using a 2^N counter).

>>> That's better than just measuring the 1 Hz period once a second,
>>> tweaking the clock, and then throwing away that measurement. I want a
>>> time lock, not a frequency lock.
>>
>> Then you probably want to measure the cumulative error over many
>> seconds. Each unit can work out how long it can free run without
>> exceeding tolerance once it has the rough and ready count from the first
>> second. After that you have a good idea of how many seconds you can free
>> run for without having any ambiguities from residual drift.
>
> Yes, I don't want to measure period once a second. I want to compare
> time alignment forever after receiving the first 1 pps pulse.
>
> It's actually simple: first received pulse, start a mod 40 million
> counter. Every time it rolls over, do an early/late compare to the 1
> PPS input, and jog the 40 MHz VCXO 1 PPM in the right direction.
>
> The compare is a dflop, d is the msb of the counter, clock is the 1
> PPS input. Occasional metastability is fine; it indicates success.
>
> It doesn't even need to be a 40 million counter. Something a fraction
> of that will do. 10,000 maybe.

Unless you are very wedded to base 10 it might well work better to use a
hardware 16 or 24 bit counter and allow it to free run. The master clock
time pulses could be at some suitable power of 2^N x 0.1us.

Under software control you could even do quick corrections in the first
second to get the basic frequency of all clocks approximately right.

The master could produce a set of pulses that were 1/16s, 1/8s, 1/4s,
1/2, 1s long at the outset. That would speed up the lock in time.

> Maybe the counter can just free-run, never get initialized. Gotta do
> the math on that after I wake up.

If you want to get the clocks on the various boxes as close to in synch
as possible then it makes sense to correct any errors quickly.

Power of 2 steps decreasing to some floor level being most favourable.

--
Regards,
Martin Brown

Re: really slow PLL

<tbdr25$ib2$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=102014&group=sci.electronics.design#102014

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!aioe.org!U54xAdP7pvGKboowhQIuJQ.user.46.165.242.75.POSTED!not-for-mail
From: '''newsp...@nonad.co.uk (Martin Brown)
Newsgroups: sci.electronics.design
Subject: Re: really slow PLL
Date: Fri, 22 Jul 2022 10:36:02 +0100
Organization: Aioe.org NNTP Server
Message-ID: <tbdr25$ib2$1@gioia.aioe.org>
References: <qd2hdhhs6bnndjs4likrvlq9jt6q5deebo@4ax.com>
<daf0c8cf-07ea-241b-2e4e-bfe2bbaa6f63@electrooptical.net>
<pq5hdh9oeleu54rljjk3r1bk3vfgj9dni0@4ax.com> <tbbbvk$pta$1@gioia.aioe.org>
<T1dCK.48233$vd2.40244@fx39.iad>
<d3f52888-9988-4c6f-bf55-25cc748dc3a1n@googlegroups.com>
<uBdCK.53073$mY1.11490@fx01.iad>
<57000d39-6c42-4a2c-8190-ee4445df57d4n@googlegroups.com>
<tbc1vh$1dqi$2@gioia.aioe.org> <ydgCK.195059$9j2.151333@fx33.iad>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="18786"; posting-host="U54xAdP7pvGKboowhQIuJQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.11.0
Content-Language: en-GB
X-Notice: Filtered by postfilter v. 0.9.2
 by: Martin Brown - Fri, 22 Jul 2022 09:36 UTC

On 21/07/2022 18:41, bitrex wrote:
> On 7/21/2022 1:21 PM, Martin Brown wrote:

>> IEEE488 was good in its day but a bit long in the tooth now. Still on
>> some test equipment in service today and was provided as standard on
>> NEC 9801 PC's in Japan although hardly ever used by their customers.
>>
>> The cables and connectors could only be described as a bit clunky!
>> They really didn't get on with metal swarf being around but were OK in
>> clean dry electronics/physics labs - much less so in chemistry ones...
>
> I feel like there wasn't really a good relatively inexpensive standard
> for interfacing PC peripherals until USB. Serial and parallel were slow
> (occasionally some devices supported ECP, I remember having to enable it
> in the BIOS sometimes), and external SCSI wasn't really well-suited to
> anything but external disk drives.

There were bidirectional parallel ports that could run fairly quick.
A parallel port interface for a CD drive was just about doable on a bog
standard PC parallel port.

SCSI was quite good for external bulk data devices like scanners too.
It's disadvantage was cost.

I recall early versions of USB 1.x very unfondly. ISTR the acronym was
originally take to be Unusable Serial Bus (cf Firewire implementations).
It slowly improved with successive Doze versions to become merely
Unstable Serial Bus. Firewire easily left it standing.

https://en.wikipedia.org/wiki/IEEE_1394#Comparison_with_USB

USB eventually won out by being cheaper. Much like VHS vs Betamax - the
superior technology was effectively sidelined by popularity of the
rival. Even today there are USB peripherals that never come back when a
PC goes into sleep mode without being unplugged and plugged in again.

> I don't think you could hot-swap IEE-488 either but it seems like it was
> pretty fast and more amenable to a wide class of devices than SCSI, but
> just didn't seem to catch on outside the test equipment realm.

GPIB and HPIB was fairly common on desktop computers in the early 80's.

HP and Commodore used it for their external disk drives. We hacked an
interface for the Commodore hard disk drive but the HP harddrive blinded
the bus analysers of the day and by the time we had hacked it cheaper
options were already available. It survived as a niche instrumentation
bus until the turn of the century and is possibly still used by some.
The instruments using it still being pretty good kit.

Token ring WAN over cheap twisted pairs took over for a while in my neck
of the woods before truly fast Ethernet really got going.
(it was an academic predecessor of IBM's token ring offering)

Early fast ethernet distribution was on expensive thick heavy coax cable
marked up with where to tap into them. The cost difference for wiring up
was enormous. Physically manhandling the cable was a PITA.

--
Regards,
Martin Brown

Re: really slow PLL

<tbdts5$328qf$1@dont-email.me>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=102017&group=sci.electronics.design#102017

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: blockedo...@foo.invalid (Don Y)
Newsgroups: sci.electronics.design
Subject: Re: really slow PLL
Date: Fri, 22 Jul 2022 03:23:56 -0700
Organization: A noiseless patient Spider
Lines: 79
Message-ID: <tbdts5$328qf$1@dont-email.me>
References: <qd2hdhhs6bnndjs4likrvlq9jt6q5deebo@4ax.com>
<daf0c8cf-07ea-241b-2e4e-bfe2bbaa6f63@electrooptical.net>
<pq5hdh9oeleu54rljjk3r1bk3vfgj9dni0@4ax.com> <tbbbvk$pta$1@gioia.aioe.org>
<T1dCK.48233$vd2.40244@fx39.iad>
<d3f52888-9988-4c6f-bf55-25cc748dc3a1n@googlegroups.com>
<uBdCK.53073$mY1.11490@fx01.iad>
<57000d39-6c42-4a2c-8190-ee4445df57d4n@googlegroups.com>
<tbc1vh$1dqi$2@gioia.aioe.org> <ydgCK.195059$9j2.151333@fx33.iad>
<tbdr25$ib2$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 22 Jul 2022 10:24:05 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="732d156c6f6d875bf458026269529f09";
logging-data="3220303"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/cnGXbjPGLzfuihG7xmh9O"
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101
Thunderbird/52.1.1
Cancel-Lock: sha1:Q3RYGe9H5TXmxiauGJ8RNYWNT30=
Content-Language: en-US
In-Reply-To: <tbdr25$ib2$1@gioia.aioe.org>
 by: Don Y - Fri, 22 Jul 2022 10:23 UTC

On 7/22/2022 2:36 AM, Martin Brown wrote:
> On 21/07/2022 18:41, bitrex wrote:
>> On 7/21/2022 1:21 PM, Martin Brown wrote:
>
>>> IEEE488 was good in its day but a bit long in the tooth now. Still on some
>>> test equipment in service today and was provided as standard on NEC 9801
>>> PC's in Japan although hardly ever used by their customers.
>>>
>>> The cables and connectors could only be described as a bit clunky!
>>> They really didn't get on with metal swarf being around but were OK in clean
>>> dry electronics/physics labs - much less so in chemistry ones...
>>
>> I feel like there wasn't really a good relatively inexpensive standard for
>> interfacing PC peripherals until USB. Serial and parallel were slow
>> (occasionally some devices supported ECP, I remember having to enable it in
>> the BIOS sometimes), and external SCSI wasn't really well-suited to anything
>> but external disk drives.
>
> There were bidirectional parallel ports that could run fairly quick.
> A parallel port interface for a CD drive was just about doable on a bog
> standard PC parallel port.

But old ports (without queues) were a bitch for the processor to service.

> SCSI was quite good for external bulk data devices like scanners too. It's
> disadvantage was cost.

And cable length. Aside from differential (even costlier), you were
stuck to "arm's reach". At least serial and USB can be pushed to
longer lengths (despite limitations of their respective standards).

> Token ring WAN over cheap twisted pairs took over for a while in my neck of the
> woods before truly fast Ethernet really got going.
> (it was an academic predecessor of IBM's token ring offering)

IBM's suffered from the same sort of costs as SCSI with their big,
klunky connectors.

> Early fast ethernet distribution was on expensive thick heavy coax cable marked
> up with where to tap into them. The cost difference for wiring up was enormous.
> Physically manhandling the cable was a PITA.

Ah, yes. "Orange hose" and vampire taps. I suspect one could make a pretty
little structure (think: Lincoln Logs) out of lengths of that! A likely factor
in its lack of ubiquity.

I rely on network connectivity for an increasing number of appliances, now.
Scanners (direct network connections or USB to SBC host), disks (iSCSI),
printers (direct network connections or dedicated print server appliance),
other computers, etc.

But, all of the T/TX technologies make cabling a PITA. Every cable has to
travel all the way to a switch, even if some other networked device is
nearby (e.g., 10Base2 would tolerate device insertion with just a short
length of coax -- though the entire network was disrupted in the process!)
I have thick bundles of CAT5e affixed to the undersides of my workbenches
as the cables from each device (on or under the bench) join the bundle
as it travels to the east or west switch. Add a new device? Ugh!

IMO, most interfaces fall down (in practical terms) when it comes to the choice
of connector. Either too cheap (flimsy) or too costly. The RJ45/8P8C wins in
terms of cost... but is a nuisance when the locking tab inevitably breaks off
(even if "guarded"): "Great! Now I either repair the cable or replace it!"

And, inevitably, connectors require a bit of "fiddling" to ensure oriented
correctly and mated well. How many times do you discover a bent pin on a
HD SCSI cable only because the interface refuses to run properly? (and
trying to repair said pin is essentially impossible).

And, of course, the wide choice of "standards" (SCSI cables being among the
worst for lack of uniformity: Old Sun, Apple, SCSI, SCSI2, SCSI3, VHDCI,
etc.)

The ideal connector wouldn't have a top or bottom (etc.) Something like
a phone plug where all you have to do is line up plug to hole and jam
it home. Considering most connectors reside on the backs of equipment,
expecting the user to be able to VIEW the mate while attempting to connect
is wishful thinking!

Re: really slow PLL

<c0a8e900-38ee-41bf-9843-e3558a405569n@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=102019&group=sci.electronics.design#102019

  copy link   Newsgroups: sci.electronics.design
X-Received: by 2002:a0c:e14e:0:b0:474:1fcf:6828 with SMTP id c14-20020a0ce14e000000b004741fcf6828mr142175qvl.96.1658491961524;
Fri, 22 Jul 2022 05:12:41 -0700 (PDT)
X-Received: by 2002:a05:6902:18b:b0:66f:deff:5cbe with SMTP id
t11-20020a056902018b00b0066fdeff5cbemr285406ybh.165.1658491961222; Fri, 22
Jul 2022 05:12:41 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.electronics.design
Date: Fri, 22 Jul 2022 05:12:40 -0700 (PDT)
In-Reply-To: <tbdts5$328qf$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:8b0:fb4e:0:8286:f2ff:fe6b:6c87;
posting-account=de11ZAoAAACBQRb2jWnaIkHYK2q9mRvs
NNTP-Posting-Host: 2001:8b0:fb4e:0:8286:f2ff:fe6b:6c87
References: <qd2hdhhs6bnndjs4likrvlq9jt6q5deebo@4ax.com> <daf0c8cf-07ea-241b-2e4e-bfe2bbaa6f63@electrooptical.net>
<pq5hdh9oeleu54rljjk3r1bk3vfgj9dni0@4ax.com> <tbbbvk$pta$1@gioia.aioe.org>
<T1dCK.48233$vd2.40244@fx39.iad> <d3f52888-9988-4c6f-bf55-25cc748dc3a1n@googlegroups.com>
<uBdCK.53073$mY1.11490@fx01.iad> <57000d39-6c42-4a2c-8190-ee4445df57d4n@googlegroups.com>
<tbc1vh$1dqi$2@gioia.aioe.org> <ydgCK.195059$9j2.151333@fx33.iad>
<tbdr25$ib2$1@gioia.aioe.org> <tbdts5$328qf$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c0a8e900-38ee-41bf-9843-e3558a405569n@googlegroups.com>
Subject: Re: really slow PLL
From: jrwalli...@gmail.com (John Walliker)
Injection-Date: Fri, 22 Jul 2022 12:12:41 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 6111
 by: John Walliker - Fri, 22 Jul 2022 12:12 UTC

On Friday, 22 July 2022 at 11:24:11 UTC+1, Don Y wrote:
> On 7/22/2022 2:36 AM, Martin Brown wrote:
> > On 21/07/2022 18:41, bitrex wrote:
> >> On 7/21/2022 1:21 PM, Martin Brown wrote:
> >
> >>> IEEE488 was good in its day but a bit long in the tooth now. Still on some
> >>> test equipment in service today and was provided as standard on NEC 9801
> >>> PC's in Japan although hardly ever used by their customers.
> >>>
> >>> The cables and connectors could only be described as a bit clunky!
> >>> They really didn't get on with metal swarf being around but were OK in clean
> >>> dry electronics/physics labs - much less so in chemistry ones...
> >>
> >> I feel like there wasn't really a good relatively inexpensive standard for
> >> interfacing PC peripherals until USB. Serial and parallel were slow
> >> (occasionally some devices supported ECP, I remember having to enable it in
> >> the BIOS sometimes), and external SCSI wasn't really well-suited to anything
> >> but external disk drives.
> >
> > There were bidirectional parallel ports that could run fairly quick.
> > A parallel port interface for a CD drive was just about doable on a bog
> > standard PC parallel port.
> But old ports (without queues) were a bitch for the processor to service.
> > SCSI was quite good for external bulk data devices like scanners too. It's
> > disadvantage was cost.
> And cable length. Aside from differential (even costlier), you were
> stuck to "arm's reach". At least serial and USB can be pushed to
> longer lengths (despite limitations of their respective standards).
> > Token ring WAN over cheap twisted pairs took over for a while in my neck of the
> > woods before truly fast Ethernet really got going.
> > (it was an academic predecessor of IBM's token ring offering)
> IBM's suffered from the same sort of costs as SCSI with their big,
> klunky connectors.
> > Early fast ethernet distribution was on expensive thick heavy coax cable marked
> > up with where to tap into them. The cost difference for wiring up was enormous.
> > Physically manhandling the cable was a PITA.
> Ah, yes. "Orange hose" and vampire taps. I suspect one could make a pretty
> little structure (think: Lincoln Logs) out of lengths of that! A likely factor
> in its lack of ubiquity.
>
> I rely on network connectivity for an increasing number of appliances, now.
> Scanners (direct network connections or USB to SBC host), disks (iSCSI),
> printers (direct network connections or dedicated print server appliance),
> other computers, etc.
>
> But, all of the T/TX technologies make cabling a PITA. Every cable has to
> travel all the way to a switch, even if some other networked device is
> nearby (e.g., 10Base2 would tolerate device insertion with just a short
> length of coax -- though the entire network was disrupted in the process!)
> I have thick bundles of CAT5e affixed to the undersides of my workbenches
> as the cables from each device (on or under the bench) join the bundle
> as it travels to the east or west switch. Add a new device? Ugh!
>
> IMO, most interfaces fall down (in practical terms) when it comes to the choice
> of connector. Either too cheap (flimsy) or too costly. The RJ45/8P8C wins in
> terms of cost... but is a nuisance when the locking tab inevitably breaks off
> (even if "guarded"): "Great! Now I either repair the cable or replace it!"
>
> And, inevitably, connectors require a bit of "fiddling" to ensure oriented
> correctly and mated well. How many times do you discover a bent pin on a
> HD SCSI cable only because the interface refuses to run properly? (and
> trying to repair said pin is essentially impossible).
>
> And, of course, the wide choice of "standards" (SCSI cables being among the
> worst for lack of uniformity: Old Sun, Apple, SCSI, SCSI2, SCSI3, VHDCI,
> etc.)
>
> The ideal connector wouldn't have a top or bottom (etc.) Something like
> a phone plug where all you have to do is line up plug to hole and jam
> it home. Considering most connectors reside on the backs of equipment,
> expecting the user to be able to VIEW the mate while attempting to connect
> is wishful thinking!
Yes, I discovered the perils of blind plugging when I tried to plug something
in deep inside a rack cabinet. My finger discovered an unguarded fan and it
initially felt like an electric shock. I pulled my arm back so fast I hit my face
and got a nosebleed!
John

Re: really slow PLL

<tbe76k$l7$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=102024&group=sci.electronics.design#102024

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!aioe.org!szZitBMSHUtA+V8zxLhT2g.user.46.165.242.75.POSTED!not-for-mail
From: pcdhSpam...@electrooptical.net (Phil Hobbs)
Newsgroups: sci.electronics.design
Subject: Re: really slow PLL
Date: Fri, 22 Jul 2022 09:03:16 -0400
Organization: Aioe.org NNTP Server
Message-ID: <tbe76k$l7$1@gioia.aioe.org>
References: <qd2hdhhs6bnndjs4likrvlq9jt6q5deebo@4ax.com>
<tbap1m$h0d7$1@solani.org> <4edidhp1j5athn19ro297m6lkm21nba4ck@4ax.com>
<tbbi6s$ghm7$1@solani.org>
<749c3c03-5765-9bfe-a6e6-6b9be06fc84d@electrooptical.net>
<tbbspp$golj$1@solani.org>
<e9f067f2-0482-e037-635a-1fe45f43849e@electrooptical.net>
<170406a10b0f2331$1$383679$60dd6a6a@news.thecubenet.com>
<tbdkv2$1n19$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="679"; posting-host="szZitBMSHUtA+V8zxLhT2g.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.0
X-Notice: Filtered by postfilter v. 0.9.2
 by: Phil Hobbs - Fri, 22 Jul 2022 13:03 UTC

Martin Brown wrote:
> On 22/07/2022 03:44, Clifford Heath wrote:
>> On 22/7/22 03:10, Phil Hobbs wrote:
>>> Gerhard Hoffmann wrote:
>>>> Am 21.07.22 um 16:15 schrieb Phil Hobbs:
>>>>
>>>>> I wonder if there's an advantage to using the closure phase for an
>>>>> array that large.  With 17 oscillators you've got 136 independent
>>>>> phase differences, so maybe there's a way to get 22 dB instead of
>>>>> 12 dB improvement.
>>>>
>>>> -v ?
>>>>
>>>> what do you mean with closure phase? Where do the 22 dB come
>>>> from?
>>>>
>>>> The idea was simply to have all 16 regulated to the be
>>>> synchronous and then feed them into a 16-to--1 Wilkinson
>>>> combiner. The phase noise should average out among the
>>>> 16 units. Just as proof of concept. The MTI-260 are quite ok,
>>>> but with bleeding edge oscillators that could be interesting.
>>>> In the region where you just cannot improve an oscillator.
>>>>
>>>>> Cheers
>>>> Gerhard
>>>
>>> Sure.  Thing is, that wastes a lot of information that you could
>>> maybe use to get 10*log(136) = 21.3 dB improvement instead of
>>> 10*log(17) = 12.3 dB.  [136 = N(N-1)/2 when N = 17.]
>>>
>>> Closure is a really cute idea, which I first came across in the
>>> context of very long baseline interferometry (VLBI) radio telescopes.
>>> See the discussion from BEOS 3e here:
>>>
>>> <https://electrooptical.net/www/sed/closure.png>.
>>
>> Interesting, thanks.
>>
>> Some frequency synthesiser chips employ proprietary majick to reduce
>> the phase noise associated with integer divide/multiply ratios.
>> Polyphase oscillator and slipping by partial cycles I think. Perhaps
>> they're doing something like closure against the different clock phases?
>
> Quite probably - it has been known for a long time in radio astronomy
> first derived by Jennison in 1958 at Jodrell Bank for 3 antennae. This
> is the original ground breaking paper for anyone interested
>
> https://articles.adsabs.harvard.edu//full/1958MNRAS.118..276J/0000276.000.html
>
>
> (easier to understand versions exist today). WIki isn't bad:
>
> https://en.wikipedia.org/wiki/Closure_phase
>
> It allows you to get a good phase observable uncontaminated by the phase
> error at each node for every distinct subset of 3 nodes. There is a
> corresponding closure amplitude for distinct subsets of 4 nodes.
>
> Obviously the bigger N is the more useful observables you can get which
> is why the big dish telescopes sometimes stay on target and in the loop
> for perhaps longer than they really ought to in deteriorating weather.
>
> This book reviews most of the classical tricks used in VLBI and
> interferometry from the period when they had just become routine:
>
> Indirect Imaging: Measurement and Processing for Indirect Imaging
> Editor-J. A. Roberts
>  0 ratings by Goodreads
> ISBN 10: 0521262828 / ISBN 13: 9780521262828
> Published by Cambridge University Press, 1984
>

The real power comes from the number of independent observables from N
instruments going like N**2, so that you win SNR like N**2 instead of N.

Quite a startling improvement for moderate-to-large N!

Cheers

Phil Hobbs

--
Dr Philip C D Hobbs
Principal Consultant
ElectroOptical Innovations LLC / Hobbs ElectroOptics
Optics, Electro-optics, Photonics, Analog Electronics
Briarcliff Manor NY 10510

http://electrooptical.net
http://hobbs-eo.com

Re: really slow PLL

<tbeat1$35p2c$1@dont-email.me>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=102031&group=sci.electronics.design#102031

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: blockedo...@foo.invalid (Don Y)
Newsgroups: sci.electronics.design
Subject: Re: really slow PLL
Date: Fri, 22 Jul 2022 07:06:14 -0700
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <tbeat1$35p2c$1@dont-email.me>
References: <qd2hdhhs6bnndjs4likrvlq9jt6q5deebo@4ax.com>
<daf0c8cf-07ea-241b-2e4e-bfe2bbaa6f63@electrooptical.net>
<pq5hdh9oeleu54rljjk3r1bk3vfgj9dni0@4ax.com> <tbbbvk$pta$1@gioia.aioe.org>
<T1dCK.48233$vd2.40244@fx39.iad>
<d3f52888-9988-4c6f-bf55-25cc748dc3a1n@googlegroups.com>
<uBdCK.53073$mY1.11490@fx01.iad>
<57000d39-6c42-4a2c-8190-ee4445df57d4n@googlegroups.com>
<tbc1vh$1dqi$2@gioia.aioe.org> <ydgCK.195059$9j2.151333@fx33.iad>
<tbdr25$ib2$1@gioia.aioe.org> <tbdts5$328qf$1@dont-email.me>
<c0a8e900-38ee-41bf-9843-e3558a405569n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 22 Jul 2022 14:06:26 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="732d156c6f6d875bf458026269529f09";
logging-data="3335244"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+rJgv+jeQ2D0VKk168B1et"
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101
Thunderbird/52.1.1
Cancel-Lock: sha1:LM9rY0REa+Q/d1MyY59MUCOcZwA=
In-Reply-To: <c0a8e900-38ee-41bf-9843-e3558a405569n@googlegroups.com>
Content-Language: en-US
 by: Don Y - Fri, 22 Jul 2022 14:06 UTC

On 7/22/2022 5:12 AM, John Walliker wrote:
> Yes, I discovered the perils of blind plugging when I tried to plug something
> in deep inside a rack cabinet. My finger discovered an unguarded fan and it
> initially felt like an electric shock. I pulled my arm back so fast I hit my face
> and got a nosebleed!

Too funny! :>

I had a similar experience groping for the right place to plug
a device and happened upon an exposed bus bar. Only 12V (at 100A)
but sufficient to vaporize the leads on the device I was plugging!

And, cause me to retract my arm in utmost haste -- whacking
my elbow in the process.

Moral of story: shut down power before making changes (even
if that sequence takes a fair bit of time to complete!)

Re: really slow PLL

<20220722a@crcomp.net>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=102033&group=sci.electronics.design#102033

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: g...@crcomp.net (Don)
Newsgroups: sci.electronics.design
Subject: Re: really slow PLL
Date: Fri, 22 Jul 2022 14:17:36 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <20220722a@crcomp.net>
References: <qd2hdhhs6bnndjs4likrvlq9jt6q5deebo@4ax.com> <daf0c8cf-07ea-241b-2e4e-bfe2bbaa6f63@electrooptical.net> <pq5hdh9oeleu54rljjk3r1bk3vfgj9dni0@4ax.com> <tbbbvk$pta$1@gioia.aioe.org> <T1dCK.48233$vd2.40244@fx39.iad> <tbct2p$2n40a$1@dont-email.me> <20220721a@crcomp.net> <tbdaip$2t6ei$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 22 Jul 2022 14:17:36 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="3cb476af59d42ab29cdaeda5553e7156";
logging-data="3340600"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/aFp+wTupDft951QoZgPDR"
Cancel-Lock: sha1:Y1MhL/ujdgwbuaGG5qnYruiNkPs=
 by: Don - Fri, 22 Jul 2022 14:17 UTC

Don Y wrote:
> Don wrote:
>> Don Y wrote:
>>> bitrex wrote:
>>
>> <snip>
>>
>>>> Yeah I don't quite get it, either. My rack of synthesizers can each playone
>>>> voice of the Maple Leaf Rag via MIDI and they all stay synced together really
>>>
>>> How is "really well" defined? In the domain of human auditory perception?
>>
>> In this case, isn't "really well" defined as an absence of sour note(s)?
>
> That assumes the synthesis uses the same clock as timing. I think the
> discussion here has been wrt durations/intervals.
>
> How sensitive are *your* ears to noticing small differences in pitch,
> absence a comparative reference? Can you discern a difference of a few
> cents ("perfect pitch")?

Can't everyone's ears (except perhaps the autistic tone-deaf and such)
hear a sour note relative to the preceding note? Do you need to name a
note (perfect pitch) in order to hear its sourness?
It's all but impossible for me personally to ignore the sourness of
cringeworthy, awkward note(s). Sour notes make me want to get out of
earshot.

Danke,

--
Don, KB7RPU, https://www.qsl.net/kb7rpu
There was a young lady named Bright Whose speed was far faster than light;
She set out one day In a relative way And returned on the previous night.

Re: really slow PLL

<mdcldhpscgjsvp24fjf6pftk15vq8gmor8@4ax.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=102035&group=sci.electronics.design#102035

  copy link   Newsgroups: sci.electronics.design
Path: i2pn2.org!i2pn.org!aioe.org!news.mixmin.net!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!nntp.supernews.com!news.supernews.com.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 22 Jul 2022 09:28:21 -0500
From: jlar...@highlandsniptechnology.com
Newsgroups: sci.electronics.design
Subject: Re: really slow PLL
Date: Fri, 22 Jul 2022 07:28:20 -0700
Message-ID: <mdcldhpscgjsvp24fjf6pftk15vq8gmor8@4ax.com>
References: <qd2hdhhs6bnndjs4likrvlq9jt6q5deebo@4ax.com> <daf0c8cf-07ea-241b-2e4e-bfe2bbaa6f63@electrooptical.net> <pq5hdh9oeleu54rljjk3r1bk3vfgj9dni0@4ax.com> <tbbbvk$pta$1@gioia.aioe.org> <tndidhhs8blc6dq5ocing8n0u292ejjd8v@4ax.com> <tbdqbn$7pp$1@gioia.aioe.org>
X-Newsreader: Forte Agent 3.1/32.783
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 93
X-Trace: sv3-KyGwVyFNwUBeMdiHa+8E/FNW3d9UgyQJM5so0n3k9pvZgn+fwSxkVBPLrAndG9TCUh1T5XtQ4liagnQ!hwwmj4/cnH0qu8Bh0ieMYy4jn+sniIj8kcKVNmS21F7/WlSYyfN4V1XZ4MMh+HDirtPLvm0r2RHJ!rosfwg==
X-Complaints-To: www.supernews.com/docs/abuse.html
X-DMCA-Complaints-To: www.supernews.com/docs/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 5447
 by: jlar...@highlandsniptechnology.com - Fri, 22 Jul 2022 14:28 UTC

On Fri, 22 Jul 2022 10:24:04 +0100, Martin Brown
<'''newspam'''@nonad.co.uk> wrote:

>On 21/07/2022 12:42, jlarkin@highlandsniptechnology.com wrote:
>> On Thu, 21 Jul 2022 12:06:26 +0100, Martin Brown
>> <'''newspam'''@nonad.co.uk> wrote:
>>
>>> On 21/07/2022 01:22, John Larkin wrote:
>
>>>> If a follower is told to start locking, it could timestamp the first
>>>> incoming 1 PPS with a giant counter clocked by its local 40 MHz VCO.
>>>> If a later 1 PPS edge appears to arrive too soon, we could speed up
>>>> our VCXO by, say, 1 PPM, and vice versa. So longterm it walks into
>>>> alignment with the 1 PPS and eventually dithers a microsecond per
>>>> second. Noise on the coax gets fixed over time too.
>>>
>>> Have a free running counter on each of the followers and use the value
>>> of that after 1s, 10s, 100s to determine the correct tweak to apply
>>> locally. Tweaks of 1ppm at a time is rather crude you should be able to
>>> determine the right amount to tweak it by better than that.
>>> (especially over longer timebases)
>>
>> I wouldn't expect my VCXO to be more than 10 PPM off at the start of
>> the lock request. So I can walk it to within 1 PPM, namely 1
>> microsecond error, in at most 10 seconds using 1 PPM jogs. If the osc
>> were 50 PPM off, it would take 50 seconds to catch up to the external
>> pulse.
>
>You would have lower systematic error after lockin if you made the
>adjustments by reading the full width counter as a two's compliment
>number when the synch pulse arrives (and using a 2^N counter).

Yes, it could evaluate the magnitude of the time error and close a
classic almost-analog control loop. The plant is already an integrator
so it could be a simple proportional loop.

>
>>>> That's better than just measuring the 1 Hz period once a second,
>>>> tweaking the clock, and then throwing away that measurement. I want a
>>>> time lock, not a frequency lock.
>>>
>>> Then you probably want to measure the cumulative error over many
>>> seconds. Each unit can work out how long it can free run without
>>> exceeding tolerance once it has the rough and ready count from the first
>>> second. After that you have a good idea of how many seconds you can free
>>> run for without having any ambiguities from residual drift.
>>
>> Yes, I don't want to measure period once a second. I want to compare
>> time alignment forever after receiving the first 1 pps pulse.
>>
>> It's actually simple: first received pulse, start a mod 40 million
>> counter. Every time it rolls over, do an early/late compare to the 1
>> PPS input, and jog the 40 MHz VCXO 1 PPM in the right direction.
>>
>> The compare is a dflop, d is the msb of the counter, clock is the 1
>> PPS input. Occasional metastability is fine; it indicates success.
>>
>> It doesn't even need to be a 40 million counter. Something a fraction
>> of that will do. 10,000 maybe.
>
>Unless you are very wedded to base 10 it might well work better to use a
>hardware 16 or 24 bit counter and allow it to free run. The master clock
>time pulses could be at some suitable power of 2^N x 0.1us.

My xo is 40 MHz and 1 PPS is convenient, GPS compatible.

>
>Under software control you could even do quick corrections in the first
>second to get the basic frequency of all clocks approximately right.

The loop will be software, once an FPGA provides the measurements. All
the VCXOs will park, open-loop before we try to lock, at some
calibrated nominally correct frequency, not many PPM off absolute.

>
>The master could produce a set of pulses that were 1/16s, 1/8s, 1/4s,
>1/2, 1s long at the outset. That would speed up the lock in time.
>
>> Maybe the counter can just free-run, never get initialized. Gotta do
>> the math on that after I wake up.
>
>If you want to get the clocks on the various boxes as close to in synch
>as possible then it makes sense to correct any errors quickly.
>
>Power of 2 steps decreasing to some floor level being most favourable.

It's only a power supply!

If it takes 10 seconds to achieve dither-lock, starting 10 PPM out,
the worst time error is still way under a millisecond.


tech / sci.electronics.design / Re: really slow PLL

Pages:1234567
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor