Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Beware the new TTY code!


devel / comp.protocols.time.ntp / Re: GPS+PPS vs NTP server, why a huge offset ?

SubjectAuthor
* GPS+PPS vs NTP server, why a huge offset ?Thibaut HUMBERT
+* Re: GPS+PPS vs NTP server, why a huge offset ?Thibaut HUMBERT
|+* Re: GPS+PPS vs NTP server, why a huge offset ?David Woolley
||+- Re: GPS+PPS vs NTP server, why a huge offset ?Thibaut HUMBERT
||+* Re: GPS+PPS vs NTP server, why a huge offset ?Thibaut HUMBERT
|||+* Re: GPS+PPS vs NTP server, why a huge offset ?David Taylor
||||+* Re: GPS+PPS vs NTP server, why a huge offset ?Thibaut HUMBERT
|||||+* Re: GPS+PPS vs NTP server, why a huge offset ?Jim Pennino
||||||`* Re: GPS+PPS vs NTP server, why a huge offset ?chris
|||||| `* Re: GPS+PPS vs NTP server, why a huge offset ?Jim Pennino
||||||  `* Re: GPS+PPS vs NTP server, why a huge offset ?chris
||||||   `* Re: GPS+PPS vs NTP server, why a huge offset ?David Woolley
||||||    `* Re: GPS+PPS vs NTP server, why a huge offset ?chris
||||||     `* Re: GPS+PPS vs NTP server, why a huge offset ?David Woolley
||||||      +* Re: GPS+PPS vs NTP server, why a huge offset ?Terje Mathisen
||||||      |`- Re: GPS+PPS vs NTP server, why a huge offset ?David Woolley
||||||      `* Re: GPS+PPS vs NTP server, why a huge offset ?chris
||||||       `- Re: GPS+PPS vs NTP server, why a huge offset ?chris
|||||+- Re: GPS+PPS vs NTP server, why a huge offset ?David Woolley
|||||`- Re: GPS+PPS vs NTP server, why a huge offset ?William Unruh
||||+* Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?Daniel O'Connor
|||||`* Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?Jim Pennino
||||| +* Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?David Woolley
||||| |`* Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?Jim Pennino
||||| | `- Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?David Woolley
||||| `- Re: [questions] GPS+PPS vs NTP server, why a huge offset ?Daniel O'Connor
||||`- Re: [questions] GPS+PPS vs NTP server, why a huge offset ?Daniel O'Connor
|||+* Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?Daniel O'Connor
||||+- Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?David Woolley
||||`* Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?Jim Pennino
|||| `* Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?David Woolley
||||  `* Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?Jim Pennino
||||   `* Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?David Woolley
||||    `- Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?Jim Pennino
|||`* Re: [questions] GPS+PPS vs NTP server, why a huge offset ?Daniel O'Connor
||| `* Re: [questions] GPS+PPS vs NTP server, why a huge offset ?chris
|||  `* Re: [questions] GPS+PPS vs NTP server, why a huge offset ?David Woolley
|||   `* Re: [questions] GPS+PPS vs NTP server, why a huge offset ?chris
|||    `* Re: [questions] GPS+PPS vs NTP server, why a huge offset ?David Woolley
|||     +- Re: [questions] GPS+PPS vs NTP server, why a huge offset ?David Woolley
|||     `* Re: [questions] GPS+PPS vs NTP server, why a huge offset ?chris
|||      `* Re: [questions] GPS+PPS vs NTP server, why a huge offset ?David Woolley
|||       `* Re: [questions] GPS+PPS vs NTP server, why a huge offset ?chris
|||        `* Re: [questions] GPS+PPS vs NTP server, why a huge offset ?Thibaut HUMBERT
|||         +* Re: [questions] GPS+PPS vs NTP server, why a huge offset ?David Taylor
|||         |`* Re: [questions] GPS+PPS vs NTP server, why a huge offset ?Thibaut HUMBERT
|||         | +* Re: [questions] GPS+PPS vs NTP server, why a huge offset ?David Taylor
|||         | |`- Re: [questions] GPS+PPS vs NTP server, why a huge offset ?Thibaut HUMBERT
|||         | `- Re: [questions] GPS+PPS vs NTP server, why a huge offset ?David Taylor
|||         `- Re: [questions] GPS+PPS vs NTP server, why a huge offset ?Harlan Stenn
||`* Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?Daniel O'Connor
|| +- Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?Jim Pennino
|| +- Re: [questions] GPS+PPS vs NTP server, why a huge offset ?Daniel O'Connor
|| +* Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?David Taylor
|| |`- Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?Jim Pennino
|| `- Re: [questions] GPS+PPS vs NTP server, why a huge offset ?Daniel O'Connor
|`- Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?Dan Drown
+- Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?Daniel O'Connor
`- Re: [questions] GPS+PPS vs NTP server, why a huge offset ?David Taylor

Pages:123
GPS+PPS vs NTP server, why a huge offset ?

<635e79a8-586c-4de8-b081-073aaf1b253en@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=325&group=comp.protocols.time.ntp#325

  copy link   Newsgroups: comp.protocols.time.ntp
X-Received: by 2002:a7b:c856:0:b0:39c:3b44:7ab0 with SMTP id c22-20020a7bc856000000b0039c3b447ab0mr3473441wml.117.1655364365733;
Thu, 16 Jun 2022 00:26:05 -0700 (PDT)
X-Received: by 2002:a05:6808:1387:b0:32e:f4dd:c348 with SMTP id
c7-20020a056808138700b0032ef4ddc348mr1807240oiw.183.1655364365059; Thu, 16
Jun 2022 00:26:05 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.128.88.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.time.ntp
Date: Thu, 16 Jun 2022 00:26:04 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=88.121.222.248; posting-account=q5TSsQoAAADHuaSBXjYRGa-bf-3A8HMw
NNTP-Posting-Host: 88.121.222.248
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <635e79a8-586c-4de8-b081-073aaf1b253en@googlegroups.com>
Subject: GPS+PPS vs NTP server, why a huge offset ?
From: planet...@gmail.com (Thibaut HUMBERT)
Injection-Date: Thu, 16 Jun 2022 07:26:05 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Thibaut HUMBERT - Thu, 16 Jun 2022 07:26 UTC

Hello,
I post this message because I have a huge offset (+110ms) on a PPS source compared to NTP internet servers.

My 10$ hardware :
I use a USB<>TTL adapter (CH341A) connected to a NEO-6M in +5V, RX, TX, GND. I soldered pin 3 of the u-blox chip to have the PPS on the DCD/CLK pin of the CH341A.

My software:
I am using ntp 4.2.8p15 on windows with loopback-ppsapi-provider.dll drivers

Here is my ntp.conf:

server ntp.lothaire.net minpoll 4 maxpoll 6
server ntp-p1.obspm.fr minpoll 4 maxpoll 6
server 127.127.20.14 minpoll 4 maxpoll 4 mode 16 prefer
fudge 127.127.20.14 refid NMEA
server 127.127.22.14 minpoll 4 maxpoll 4 true
fudge 127.127.22.14 refid PPS
tos mindist 0.5

I let it run for a while, and this is what I get:

C:\Users\toto>ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
*GPS_NMEA(14) .NMEA. 0 l 3 16 377 0.000 -62.580 2.642
oPPS(14) .PPS. 0 l 11 16 377 0.000 -0.252 0.539
+arcturus.ciril. 193.50.27.139 2 u 15 16 377 37.707 +110.85 0.195
+ntp-p1.obspm.fr .MRS. 1 u 14 16 377 33.250 +110.44 11.592

The offset "-62.580ms" for the GPS seems normal to me, i guess it's the processing time of the NMEA frames by the U-Blox NEO-6M.

But, I don't understand why my PPS clock has an offset of "+110ms" compared to Internet NTP servers?

Re: GPS+PPS vs NTP server, why a huge offset ?

<ee36733a-f1ba-4fe7-8f5d-8ba7e0ef5f7an@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=326&group=comp.protocols.time.ntp#326

  copy link   Newsgroups: comp.protocols.time.ntp
X-Received: by 2002:a05:600c:354f:b0:39c:78c8:a854 with SMTP id i15-20020a05600c354f00b0039c78c8a854mr3571277wmq.121.1655366474584;
Thu, 16 Jun 2022 01:01:14 -0700 (PDT)
X-Received: by 2002:a05:6870:8193:b0:f5:d85f:8bf5 with SMTP id
k19-20020a056870819300b000f5d85f8bf5mr7731733oae.206.1655366473981; Thu, 16
Jun 2022 01:01:13 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!feeder1.cambriumusenet.nl!feed.tweak.nl!209.85.128.87.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.time.ntp
Date: Thu, 16 Jun 2022 01:01:13 -0700 (PDT)
In-Reply-To: <635e79a8-586c-4de8-b081-073aaf1b253en@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=88.121.222.248; posting-account=q5TSsQoAAADHuaSBXjYRGa-bf-3A8HMw
NNTP-Posting-Host: 88.121.222.248
References: <635e79a8-586c-4de8-b081-073aaf1b253en@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ee36733a-f1ba-4fe7-8f5d-8ba7e0ef5f7an@googlegroups.com>
Subject: Re: GPS+PPS vs NTP server, why a huge offset ?
From: planet...@gmail.com (Thibaut HUMBERT)
Injection-Date: Thu, 16 Jun 2022 08:01:14 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Thibaut HUMBERT - Thu, 16 Jun 2022 08:01 UTC

Le jeudi 16 juin 2022 à 09:26:07 UTC+2, Thibaut HUMBERT a écrit :
> Hello,
> I post this message because I have a huge offset (+110ms) on a PPS source compared to NTP internet servers.
>
> My 10$ hardware :
> I use a USB<>TTL adapter (CH341A) connected to a NEO-6M in +5V, RX, TX, GND. I soldered pin 3 of the u-blox chip to have the PPS on the DCD/CLK pin of the CH341A.
>
> My software:
> I am using ntp 4.2.8p15 on windows with loopback-ppsapi-provider.dll drivers
>
> Here is my ntp.conf:
>
> server ntp.lothaire.net minpoll 4 maxpoll 6
> server ntp-p1.obspm.fr minpoll 4 maxpoll 6
> server 127.127.20.14 minpoll 4 maxpoll 4 mode 16 prefer
> fudge 127.127.20.14 refid NMEA
> server 127.127.22.14 minpoll 4 maxpoll 4 true
> fudge 127.127.22.14 refid PPS
> tos mindist 0.5
>
>
> I let it run for a while, and this is what I get:
>
> C:\Users\toto>ntpq -p
> remote refid st t when poll reach delay offset jitter
> ==============================================================================
> *GPS_NMEA(14) .NMEA. 0 l 3 16 377 0.000 -62.580 2.642
> oPPS(14) .PPS. 0 l 11 16 377 0.000 -0.252 0.539
> +arcturus.ciril. 193.50.27.139 2 u 15 16 377 37.707 +110.85 0.195
> +ntp-p1.obspm.fr .MRS. 1 u 14 16 377 33.250 +110.44 11.592
>
> The offset "-62.580ms" for the GPS seems normal to me, i guess it's the processing time of the NMEA frames by the U-Blox NEO-6M.
>
> But, I don't understand why my PPS clock has an offset of "+110ms" compared to Internet NTP servers?

Can be a track:
When I modify the PPS pulse length in u-center, the offset varies:
pulse length 100ms (value by default): offset +110ms
pulse length 10ms: offset +30ms
pulse length 200ms to do like Meinberg (https://www.meinbergglobal.com/english/glossary/pulse-per-second.htm): offset +211ms
So, can we put a pulse lenght of 1ms and indicate in ntp.conf to remove these 1ms?
Even if we subtract the pulse length, I have the impression that there is still a 10ms lag?

Re: GPS+PPS vs NTP server, why a huge offset ?

<t8epif$l1r$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=327&group=comp.protocols.time.ntp#327

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@ex.djwhome.demon.invalid (David Woolley)
Newsgroups: comp.protocols.time.ntp
Subject: Re: GPS+PPS vs NTP server, why a huge offset ?
Date: Thu, 16 Jun 2022 09:27:59 +0100
Organization: No affiliation
Lines: 5
Message-ID: <t8epif$l1r$1@dont-email.me>
References: <635e79a8-586c-4de8-b081-073aaf1b253en@googlegroups.com>
<ee36733a-f1ba-4fe7-8f5d-8ba7e0ef5f7an@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 16 Jun 2022 08:27:59 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="14750ce5dd267fa839aaac86a33581ca";
logging-data="21563"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/QX9Yr8i5bYq/o1uXdsUAy7NpWAv8aiPc="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
Cancel-Lock: sha1:YUJPFyeJN5Ov4lQB4Sb7b70gCJk=
In-Reply-To: <ee36733a-f1ba-4fe7-8f5d-8ba7e0ef5f7an@googlegroups.com>
Content-Language: en-GB
 by: David Woolley - Thu, 16 Jun 2022 08:27 UTC

On 16/06/2022 09:01, Thibaut HUMBERT wrote:
> When I modify the PPS pulse length in u-center, the offset varies:

I would suggest you are detecting the wrong edge of the pulse. You may
need to add an inverter.

Re: GPS+PPS vs NTP server, why a huge offset ?

<2268a2f6-5a12-4732-8963-8b2fb7ab11abn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=328&group=comp.protocols.time.ntp#328

  copy link   Newsgroups: comp.protocols.time.ntp
X-Received: by 2002:a5d:65c1:0:b0:210:33b7:4525 with SMTP id e1-20020a5d65c1000000b0021033b74525mr3656412wrw.494.1655369932067;
Thu, 16 Jun 2022 01:58:52 -0700 (PDT)
X-Received: by 2002:a05:6871:10b:b0:f5:d68b:bc70 with SMTP id
y11-20020a056871010b00b000f5d68bbc70mr7417161oab.17.1655369931473; Thu, 16
Jun 2022 01:58:51 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.128.88.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.time.ntp
Date: Thu, 16 Jun 2022 01:58:51 -0700 (PDT)
In-Reply-To: <t8epif$l1r$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=88.121.222.248; posting-account=q5TSsQoAAADHuaSBXjYRGa-bf-3A8HMw
NNTP-Posting-Host: 88.121.222.248
References: <635e79a8-586c-4de8-b081-073aaf1b253en@googlegroups.com>
<ee36733a-f1ba-4fe7-8f5d-8ba7e0ef5f7an@googlegroups.com> <t8epif$l1r$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2268a2f6-5a12-4732-8963-8b2fb7ab11abn@googlegroups.com>
Subject: Re: GPS+PPS vs NTP server, why a huge offset ?
From: planet...@gmail.com (Thibaut HUMBERT)
Injection-Date: Thu, 16 Jun 2022 08:58:52 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Thibaut HUMBERT - Thu, 16 Jun 2022 08:58 UTC

Le jeudi 16 juin 2022 à 10:28:00 UTC+2, David Woolley a écrit :
> On 16/06/2022 09:01, Thibaut HUMBERT wrote:
> > When I modify the PPS pulse length in u-center, the offset varies:
> I would suggest you are detecting the wrong edge of the pulse. You may
> need to add an inverter.

To do the inversion, I just changed the "Pulse Mode" parameter to "Falling edge" to "Rising edge".
The offset induced by the "pulse length" has disappeared.
But there is still an offset of around 10.3ms, which I think is induced by USB as explained in this article about other chipsets (https://lists.freebsd.org/pipermail/freebsd-usb/2019- August/016078.html)

Re: GPS+PPS vs NTP server, why a huge offset ?

<a210ebde-c160-415b-84a2-d4a3a50c1ecfn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=329&group=comp.protocols.time.ntp#329

  copy link   Newsgroups: comp.protocols.time.ntp
X-Received: by 2002:a7b:cc8e:0:b0:39c:829d:609b with SMTP id p14-20020a7bcc8e000000b0039c829d609bmr4048383wma.160.1655370017506;
Thu, 16 Jun 2022 02:00:17 -0700 (PDT)
X-Received: by 2002:a05:6830:2710:b0:60c:6943:dc25 with SMTP id
j16-20020a056830271000b0060c6943dc25mr1567665otu.375.1655370016797; Thu, 16
Jun 2022 02:00:16 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.128.87.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.time.ntp
Date: Thu, 16 Jun 2022 02:00:16 -0700 (PDT)
In-Reply-To: <t8epif$l1r$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=88.121.222.248; posting-account=q5TSsQoAAADHuaSBXjYRGa-bf-3A8HMw
NNTP-Posting-Host: 88.121.222.248
References: <635e79a8-586c-4de8-b081-073aaf1b253en@googlegroups.com>
<ee36733a-f1ba-4fe7-8f5d-8ba7e0ef5f7an@googlegroups.com> <t8epif$l1r$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a210ebde-c160-415b-84a2-d4a3a50c1ecfn@googlegroups.com>
Subject: Re: GPS+PPS vs NTP server, why a huge offset ?
From: planet...@gmail.com (Thibaut HUMBERT)
Injection-Date: Thu, 16 Jun 2022 09:00:17 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Thibaut HUMBERT - Thu, 16 Jun 2022 09:00 UTC

Le jeudi 16 juin 2022 à 10:28:00 UTC+2, David Woolley a écrit :
> On 16/06/2022 09:01, Thibaut HUMBERT wrote:
> > When I modify the PPS pulse length in u-center, the offset varies:
> I would suggest you are detecting the wrong edge of the pulse. You may
> need to add an inverter.

To do the inversion, I just changed the "Pulse Mode" parameter to "Falling edge" from "Rising edge".
The offset induced by the "pulse length" has disappeared.
But there is still an offset of around 10.3ms, which I think is induced by USB as explained in this article about other chipsets (https://lists.freebsd.org/pipermail/freebsd-usb/2019- August/016078.html)

Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?

<60CDD828-A6AB-4E75-89F1-42E012D936AC@dons.net.au>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=330&group=comp.protocols.time.ntp#330

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
From: dar...@dons.net.au (Daniel O'Connor)
Newsgroups: comp.protocols.time.ntp
Subject: Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?
Date: Thu, 16 Jun 2022 09:13:00 -0000 (UTC)
Organization: Taughannock Networks, Trumansburg NY
Message-ID: <60CDD828-A6AB-4E75-89F1-42E012D936AC@dons.net.au>
References: <t8epif$l1r$1@dont-email.me> <ee36733a-f1ba-4fe7-8f5d-8ba7e0ef5f7an@googlegroups.com> <635e79a8-586c-4de8-b081-073aaf1b253en@googlegroups.com>
Reply-To: questions@lists.ntp.org
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\))
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Injection-Date: Thu, 16 Jun 2022 09:13:00 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
logging-data="68463"; mail-complaints-to="abuse@iecc.com"
To: questions@lists.ntp.org
Return-Path: <questions+bounces-43-ntpquestions=iecc.com@lists.ntp.org>
Delivered-To: ntpquestions@iecc.com
Delivered-To: questions@lists.ntp.org
X-Spam-Checker-Version: SpamAssassin 3.4.5 (2021-03-20) on gal.iecc.com
X-Spam-Status: No, score=-2.5 required=4.4 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.5
Authentication-Results: iecc.com; spf=pass spf.mailfrom=questions+bounces-43-ntpquestions=iecc.com@lists.ntp.org spf.helo=mail0.chi1.ntfo.org smtp.remote-ip="204.93.207.17"; dkim=fail (bad body hash) header.d=dons.net.au header.s=default header.a=rsa-sha256 header.b="joTbaPK7"; dmarc=fail header.from=dons.net.au polrec.p=quarantine polrec.pct=100
X-Original-To: questions@lists.ntp.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dons.net.au; s=default; t=1655370664; bh=5+TcFqdIFr3WVrJW9h9LIJpU5ATKdXBexbzt+X+kqlk=; h=Subject:From:In-Reply-To:Date:References:To; b=joTbaPK7cePP9Nxc1nymiXWlSsauqvHmT0WzMJZFTVOf80wvP4ZE3MSBZmYAsl5QD lEcM4UTGASl4LxbVe05YplOAskbI9493AgoiKBr5Wz3Rz4gTQy2in0OwFsgagGPo9D 25OgpFspdDfd8ft7w6lZ51htUsM5BknfK9GtWQts=
List-unsubscribe: mailto: questions+unsubscribe@lists.ntp.org
X-BeenThere: questions@lists.ntp.org
List-Id: questions.lists.ntp.org
Precedence: list
In-Reply-To: <t8epif$l1r$1@dont-email.me>
X-Scanned-By: MIMEDefang 2.84 on 10.0.2.1
X-DCC-iecc-Metrics: gal.iecc.com 1107; Body=1 Fuz1=1 Fuz2=1
Mail-to-news: iecc.com
 by: Daniel O'Connor - Thu, 16 Jun 2022 09:13 UTC

> On 16 Jun 2022, at 17:57, David Woolley <david@ex.djwhome.demon.invalid> wrote:
>
> On 16/06/2022 09:01, Thibaut HUMBERT wrote:
>> When I modify the PPS pulse length in u-center, the offset varies:
>
> I would suggest you are detecting the wrong edge of the pulse. You may need to add an inverter.

You can configure the ref clock to capture on the other edge, eg flag2 for PPS and NMEA drivers.

--
Daniel O'Connor
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
--
This is questions@lists.ntp.org
Subscribe: questions+subscribe@lists.ntp.org
Unsubscribe: questions+unsubscribe@lists.ntp.org

Re: GPS+PPS vs NTP server, why a huge offset ?

<t8ff7b$alv$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=331&group=comp.protocols.time.ntp#331

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: david-ta...@blueyonder.co.uk.invalid (David Taylor)
Newsgroups: comp.protocols.time.ntp
Subject: Re: GPS+PPS vs NTP server, why a huge offset ?
Date: Thu, 16 Jun 2022 15:37:30 +0100
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <t8ff7b$alv$1@dont-email.me>
References: <635e79a8-586c-4de8-b081-073aaf1b253en@googlegroups.com>
<ee36733a-f1ba-4fe7-8f5d-8ba7e0ef5f7an@googlegroups.com>
<t8epif$l1r$1@dont-email.me>
<a210ebde-c160-415b-84a2-d4a3a50c1ecfn@googlegroups.com>
Reply-To: david-taylor@blueyonder.co.uk
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 16 Jun 2022 14:37:31 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="456cb2419f1942375b8e8f5a1b13d297";
logging-data="10943"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/mugo4gXGDgOV+obZmQ1SDKvjLl8zYpag="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.10.0
Cancel-Lock: sha1:zCbWBT2S1WsIxXol9Ph6/PZec4o=
In-Reply-To: <a210ebde-c160-415b-84a2-d4a3a50c1ecfn@googlegroups.com>
Content-Language: en-GB
 by: David Taylor - Thu, 16 Jun 2022 14:37 UTC

On 16/06/2022 10:00, Thiebaud HUMBERT wrote:
> To do the inversion, I just changed the "Pulse Mode" parameter to "Falling edge" from "Rising edge".
> The offset induced by the "pulse length" has disappeared.
> But there is still an offset of around 10.3ms, which I think is induced by USB as explained in this article about other chipsets (https://lists.freebsd.org/pipermail/freebsd-usb/2019- August/016078.html)

Yes, Thiebaud, USB is not good enough for PPS signals!

See if your motherboard has a true serial port - perhaps just as a header but
not a back connector. If not, just set the offset of the PPS to ~10.3
milliseconds (10.3 - IIRC the offsets are in milliseconds but please check).
Plus or minus 10.3, try it and see! Not perfect, but better than nothing.

You might find better results using that GPS/PPS with a Raspberry Pi as a
stratum-1 server and offering that as a server on your LAN.

Cheers,
David
--
Cheers,
David
Web: http://www.satsignal.eu

Re: GPS+PPS vs NTP server, why a huge offset ?

<caf5e073-ed36-4ff2-987f-fc0938d3b63cn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=332&group=comp.protocols.time.ntp#332

  copy link   Newsgroups: comp.protocols.time.ntp
X-Received: by 2002:a05:6000:168a:b0:20f:d6e8:a5b with SMTP id y10-20020a056000168a00b0020fd6e80a5bmr5025664wrd.41.1655391245766;
Thu, 16 Jun 2022 07:54:05 -0700 (PDT)
X-Received: by 2002:a05:6830:20d9:b0:60c:1365:334 with SMTP id
z25-20020a05683020d900b0060c13650334mr2177739otq.351.1655391243056; Thu, 16
Jun 2022 07:54:03 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.128.88.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.time.ntp
Date: Thu, 16 Jun 2022 07:54:02 -0700 (PDT)
In-Reply-To: <t8ff7b$alv$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=88.121.222.248; posting-account=q5TSsQoAAADHuaSBXjYRGa-bf-3A8HMw
NNTP-Posting-Host: 88.121.222.248
References: <635e79a8-586c-4de8-b081-073aaf1b253en@googlegroups.com>
<ee36733a-f1ba-4fe7-8f5d-8ba7e0ef5f7an@googlegroups.com> <t8epif$l1r$1@dont-email.me>
<a210ebde-c160-415b-84a2-d4a3a50c1ecfn@googlegroups.com> <t8ff7b$alv$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <caf5e073-ed36-4ff2-987f-fc0938d3b63cn@googlegroups.com>
Subject: Re: GPS+PPS vs NTP server, why a huge offset ?
From: planet...@gmail.com (Thibaut HUMBERT)
Injection-Date: Thu, 16 Jun 2022 14:54:05 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Thibaut HUMBERT - Thu, 16 Jun 2022 14:54 UTC

Le jeudi 16 juin 2022 à 16:37:33 UTC+2, David Taylor a écrit :
> On 16/06/2022 10:00, Thiebaud HUMBERT wrote:
> > To do the inversion, I just changed the "Pulse Mode" parameter to "Falling edge" from "Rising edge".
> > The offset induced by the "pulse length" has disappeared.
> > But there is still an offset of around 10.3ms, which I think is induced by USB as explained in this article about other chipsets (https://lists.freebsd.org/pipermail/freebsd-usb/2019- August/016078.html)
> Yes, Thiebaud, USB is not good enough for PPS signals!
>
> See if your motherboard has a true serial port - perhaps just as a header but
> not a back connector. If not, just set the offset of the PPS to ~10.3
> milliseconds (10.3 - IIRC the offsets are in milliseconds but please check).
> Plus or minus 10.3, try it and see! Not perfect, but better than nothing.
>
> You might find better results using that GPS/PPS with a Raspberry Pi as a
> stratum-1 server and offering that as a server on your LAN.
>
> Cheers,
> David
> --
> Cheers,
> David
> Web: http://www.satsignal.eu

I have a serial port, but I don't know how to convert the PPS output (0 / 3..3V) to RS232 (-5V / +5V).

Re: GPS+PPS vs NTP server, why a huge offset ?

<4burni-fja2.ln1@gonzo.specsol.net>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=333&group=comp.protocols.time.ntp#333

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: jim...@gonzo.specsol.net (Jim Pennino)
Newsgroups: comp.protocols.time.ntp
Subject: Re: GPS+PPS vs NTP server, why a huge offset ?
Date: Thu, 16 Jun 2022 08:20:38 -0700
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <4burni-fja2.ln1@gonzo.specsol.net>
References: <635e79a8-586c-4de8-b081-073aaf1b253en@googlegroups.com> <ee36733a-f1ba-4fe7-8f5d-8ba7e0ef5f7an@googlegroups.com> <t8epif$l1r$1@dont-email.me> <a210ebde-c160-415b-84a2-d4a3a50c1ecfn@googlegroups.com> <t8ff7b$alv$1@dont-email.me> <caf5e073-ed36-4ff2-987f-fc0938d3b63cn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="bf752bf4c8e3a8d7545f28dbee57da88";
logging-data="1257"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/3QjO9J66GRS/ZT8XE0xci"
User-Agent: tin/2.4.4-20191224 ("Millburn") (Linux/5.4.0-120-lowlatency (x86_64))
Cancel-Lock: sha1:EJkFQdHJ413bFyITbWPRHp6j6Xk=
 by: Jim Pennino - Thu, 16 Jun 2022 15:20 UTC

Thibaut HUMBERT <planetibo@gmail.com> wrote:
> Le jeudi 16 juin 2022 à 16:37:33 UTC+2, David Taylor a écrit :
>> On 16/06/2022 10:00, Thiebaud HUMBERT wrote:
>> > To do the inversion, I just changed the "Pulse Mode" parameter to "Falling edge" from "Rising edge".
>> > The offset induced by the "pulse length" has disappeared.
>> > But there is still an offset of around 10.3ms, which I think is induced by USB as explained in this article about other chipsets (https://lists.freebsd.org/pipermail/freebsd-usb/2019- August/016078.html)
>> Yes, Thiebaud, USB is not good enough for PPS signals!
>>
>> See if your motherboard has a true serial port - perhaps just as a header but
>> not a back connector. If not, just set the offset of the PPS to ~10.3
>> milliseconds (10.3 - IIRC the offsets are in milliseconds but please check).
>> Plus or minus 10.3, try it and see! Not perfect, but better than nothing.
>>
>> You might find better results using that GPS/PPS with a Raspberry Pi as a
>> stratum-1 server and offering that as a server on your LAN.
>>
>> Cheers,
>> David
>> --
>> Cheers,
>> David
>> Web: http://www.satsignal.eu
>
>
> I have a serial port, but I don't know how to convert the PPS output (0 / 3.3V) to RS232 (-5V / +5V).

You go to amazon.com and search for "level converter 3.3 to 5".

Re: GPS+PPS vs NTP server, why a huge offset ?

<t8fl7e$md7$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=334&group=comp.protocols.time.ntp#334

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@ex.djwhome.demon.invalid (David Woolley)
Newsgroups: comp.protocols.time.ntp
Subject: Re: GPS+PPS vs NTP server, why a huge offset ?
Date: Thu, 16 Jun 2022 17:19:57 +0100
Organization: No affiliation
Lines: 7
Message-ID: <t8fl7e$md7$1@dont-email.me>
References: <635e79a8-586c-4de8-b081-073aaf1b253en@googlegroups.com>
<ee36733a-f1ba-4fe7-8f5d-8ba7e0ef5f7an@googlegroups.com>
<t8epif$l1r$1@dont-email.me>
<a210ebde-c160-415b-84a2-d4a3a50c1ecfn@googlegroups.com>
<t8ff7b$alv$1@dont-email.me>
<caf5e073-ed36-4ff2-987f-fc0938d3b63cn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 16 Jun 2022 16:19:58 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="14750ce5dd267fa839aaac86a33581ca";
logging-data="22951"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ByyzupxWzO9kTBHwXOJghASB327y7RrA="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
Cancel-Lock: sha1:aJKZYC3lwuVB/pNHgmlmXQicIao=
In-Reply-To: <caf5e073-ed36-4ff2-987f-fc0938d3b63cn@googlegroups.com>
Content-Language: en-GB
 by: David Woolley - Thu, 16 Jun 2022 16:19 UTC

On 16/06/2022 15:54, Thibaut HUMBERT wrote:
> I have a serial port, but I don't know how to convert the PPS output (0 / 3.3V) to RS232 (-5V / +5V).

RS232 is +/-12V, although, input values of +/-3V are unequivocal. In
practice line receivers have both positive and negative going thresholds
> 0V, and various things rely on this to put lines into the right state
when the plug is removed (false for control lines and marking(?) for data).

Re: GPS+PPS vs NTP server, why a huge offset ?

<t8gd8a$pla$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=336&group=comp.protocols.time.ntp#336

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!aioe.org!jazQyxryRFiI4FEZ51SAvA.user.46.165.242.75.POSTED!not-for-mail
From: chris-no...@tridac.net (chris)
Newsgroups: comp.protocols.time.ntp
Subject: Re: GPS+PPS vs NTP server, why a huge offset ?
Date: Fri, 17 Jun 2022 00:10:02 +0100
Organization: Aioe.org NNTP Server
Message-ID: <t8gd8a$pla$1@gioia.aioe.org>
References: <635e79a8-586c-4de8-b081-073aaf1b253en@googlegroups.com> <ee36733a-f1ba-4fe7-8f5d-8ba7e0ef5f7an@googlegroups.com> <t8epif$l1r$1@dont-email.me> <a210ebde-c160-415b-84a2-d4a3a50c1ecfn@googlegroups.com> <t8ff7b$alv$1@dont-email.me> <caf5e073-ed36-4ff2-987f-fc0938d3b63cn@googlegroups.com> <4burni-fja2.ln1@gonzo.specsol.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="26282"; posting-host="jazQyxryRFiI4FEZ51SAvA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; SunOS sun4u; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
X-Notice: Filtered by postfilter v. 0.9.2
 by: chris - Thu, 16 Jun 2022 23:10 UTC

On 06/16/22 16:20, Jim Pennino wrote:
> Thibaut HUMBERT<planetibo@gmail.com> wrote:
>> Le jeudi 16 juin 2022 à 16:37:33 UTC+2, David Taylor a écrit :
>>> On 16/06/2022 10:00, Thiebaud HUMBERT wrote:
>>>> To do the inversion, I just changed the "Pulse Mode" parameter to "Falling edge" from "Rising edge".
>>>> The offset induced by the "pulse length" has disappeared.
>>>> But there is still an offset of around 10.3ms, which I think is induced by USB as explained in this article about other chipsets (https://lists.freebsd.org/pipermail/freebsd-usb/2019- August/016078.html)
>>> Yes, Thiebaud, USB is not good enough for PPS signals!
>>>
>>> See if your motherboard has a true serial port - perhaps just as a header but
>>> not a back connector. If not, just set the offset of the PPS to ~10.3
>>> milliseconds (10.3 - IIRC the offsets are in milliseconds but please check).
>>> Plus or minus 10.3, try it and see! Not perfect, but better than nothing.
>>>
>>> You might find better results using that GPS/PPS with a Raspberry Pi as a
>>> stratum-1 server and offering that as a server on your LAN.
>>>
>>> Cheers,
>>> David
>>> --
>>> Cheers,
>>> David
>>> Web: http://www.satsignal.eu
>>
>>
>> I have a serial port, but I don't know how to convert the PPS output (0 / 3.3V) to RS232 (-5V / +5V).
>
> You go to amazon.com and search for "level converter 3.3 to 5".
>
>

You need a ttl to rs232 converter. That will introduce almost zero
delay to the data carrier detect (dcd) line on the serial port.
Then edit the ntp.conf file to take account of the pps source,
polarity (which edge) and you should be good to go.

Iirc, the converter was less than 10 ukp from Ebay and the only
fly in the ointment, don't remember, if the converter needs +/-
12 volt rails, or if it runs from a single 5 volts. Either way,
you will need to find power for it from the host. Been using
that setup for over a year now, typical delay = 0
microseconds on pps...

Chris

Re: GPS+PPS vs NTP server, why a huge offset ?

<c9rsni-i8f1.ln1@gonzo.specsol.net>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=338&group=comp.protocols.time.ntp#338

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: jim...@gonzo.specsol.net (Jim Pennino)
Newsgroups: comp.protocols.time.ntp
Subject: Re: GPS+PPS vs NTP server, why a huge offset ?
Date: Thu, 16 Jun 2022 16:34:38 -0700
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <c9rsni-i8f1.ln1@gonzo.specsol.net>
References: <635e79a8-586c-4de8-b081-073aaf1b253en@googlegroups.com> <ee36733a-f1ba-4fe7-8f5d-8ba7e0ef5f7an@googlegroups.com> <t8epif$l1r$1@dont-email.me> <a210ebde-c160-415b-84a2-d4a3a50c1ecfn@googlegroups.com> <t8ff7b$alv$1@dont-email.me> <caf5e073-ed36-4ff2-987f-fc0938d3b63cn@googlegroups.com> <4burni-fja2.ln1@gonzo.specsol.net> <t8gd8a$pla$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="9165e10d9c8d95653dc81c71a9607a39";
logging-data="8194"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18YVd9TfKkBtuoLe5HS/cic"
User-Agent: tin/2.4.4-20191224 ("Millburn") (Linux/5.4.0-120-lowlatency (x86_64))
Cancel-Lock: sha1:IZyxBE0xbD2XYS67fqJlUnGqYjg=
 by: Jim Pennino - Thu, 16 Jun 2022 23:34 UTC

chris <chris-nospam@tridac.net> wrote:
> On 06/16/22 16:20, Jim Pennino wrote:
>> Thibaut HUMBERT<planetibo@gmail.com> wrote:
>>> Le jeudi 16 juin 2022 à 16:37:33 UTC+2, David Taylor a écrit :
>>>> On 16/06/2022 10:00, Thiebaud HUMBERT wrote:
>>>>> To do the inversion, I just changed the "Pulse Mode" parameter to "Falling edge" from "Rising edge".
>>>>> The offset induced by the "pulse length" has disappeared.
>>>>> But there is still an offset of around 10.3ms, which I think is induced by USB as explained in this article about other chipsets (https://lists.freebsd.org/pipermail/freebsd-usb/2019- August/016078.html)
>>>> Yes, Thiebaud, USB is not good enough for PPS signals!
>>>>
>>>> See if your motherboard has a true serial port - perhaps just as a header but
>>>> not a back connector. If not, just set the offset of the PPS to ~10.3
>>>> milliseconds (10.3 - IIRC the offsets are in milliseconds but please check).
>>>> Plus or minus 10.3, try it and see! Not perfect, but better than nothing.
>>>>
>>>> You might find better results using that GPS/PPS with a Raspberry Pi as a
>>>> stratum-1 server and offering that as a server on your LAN.
>>>>
>>>> Cheers,
>>>> David
>>>> --
>>>> Cheers,
>>>> David
>>>> Web: http://www.satsignal.eu
>>>
>>>
>>> I have a serial port, but I don't know how to convert the PPS output (0 / 3.3V) to RS232 (-5V / +5V).
>>
>> You go to amazon.com and search for "level converter 3.3 to 5".
>>
>>
>
> You need a ttl to rs232 converter.

That is what a level converter 3.3 to 5 is.

The RS-232 standard mark is +3 to +15 V and space is -15 to -3 V, which
means a 0/3v level converter to -5/+5V meets the RS-232 standard.

Re: GPS+PPS vs NTP server, why a huge offset ?

<t8gft4$1h3h$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=339&group=comp.protocols.time.ntp#339

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!aioe.org!jazQyxryRFiI4FEZ51SAvA.user.46.165.242.75.POSTED!not-for-mail
From: chris-no...@tridac.net (chris)
Newsgroups: comp.protocols.time.ntp
Subject: Re: GPS+PPS vs NTP server, why a huge offset ?
Date: Fri, 17 Jun 2022 00:55:15 +0100
Organization: Aioe.org NNTP Server
Message-ID: <t8gft4$1h3h$1@gioia.aioe.org>
References: <635e79a8-586c-4de8-b081-073aaf1b253en@googlegroups.com> <ee36733a-f1ba-4fe7-8f5d-8ba7e0ef5f7an@googlegroups.com> <t8epif$l1r$1@dont-email.me> <a210ebde-c160-415b-84a2-d4a3a50c1ecfn@googlegroups.com> <t8ff7b$alv$1@dont-email.me> <caf5e073-ed36-4ff2-987f-fc0938d3b63cn@googlegroups.com> <4burni-fja2.ln1@gonzo.specsol.net> <t8gd8a$pla$1@gioia.aioe.org> <c9rsni-i8f1.ln1@gonzo.specsol.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="50289"; posting-host="jazQyxryRFiI4FEZ51SAvA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; SunOS sun4u; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
X-Notice: Filtered by postfilter v. 0.9.2
 by: chris - Thu, 16 Jun 2022 23:55 UTC

On 06/17/22 00:34, Jim Pennino wrote:
> chris<chris-nospam@tridac.net> wrote:
>> On 06/16/22 16:20, Jim Pennino wrote:
>>> Thibaut HUMBERT<planetibo@gmail.com> wrote:
>>>> Le jeudi 16 juin 2022 à 16:37:33 UTC+2, David Taylor a écrit :
>>>>> On 16/06/2022 10:00, Thiebaud HUMBERT wrote:
>>>>>> To do the inversion, I just changed the "Pulse Mode" parameter to "Falling edge" from "Rising edge".
>>>>>> The offset induced by the "pulse length" has disappeared.
>>>>>> But there is still an offset of around 10.3ms, which I think is induced by USB as explained in this article about other chipsets (https://lists.freebsd.org/pipermail/freebsd-usb/2019- August/016078.html)
>>>>> Yes, Thiebaud, USB is not good enough for PPS signals!
>>>>>
>>>>> See if your motherboard has a true serial port - perhaps just as a header but
>>>>> not a back connector. If not, just set the offset of the PPS to ~10.3
>>>>> milliseconds (10.3 - IIRC the offsets are in milliseconds but please check).
>>>>> Plus or minus 10.3, try it and see! Not perfect, but better than nothing.
>>>>>
>>>>> You might find better results using that GPS/PPS with a Raspberry Pi as a
>>>>> stratum-1 server and offering that as a server on your LAN.
>>>>>
>>>>> Cheers,
>>>>> David
>>>>> --
>>>>> Cheers,
>>>>> David
>>>>> Web: http://www.satsignal.eu
>>>>
>>>>
>>>> I have a serial port, but I don't know how to convert the PPS output (0 / 3.3V) to RS232 (-5V / +5V).
>>>
>>> You go to amazon.com and search for "level converter 3.3 to 5".
>>>
>>>
>>
>> You need a ttl to rs232 converter.
>
> That is what a level converter 3.3 to 5 is.
>
> The RS-232 standard mark is +3 to +15 V and space is -15 to -3 V, which
> means a 0/3v level converter to -5/+5V meets the RS-232 standard.
>

No argument with that, but some have tried to bypass a converter,
feeding the ttl pps into the rs232 port, which may work in some
cases. TLL pps low level, in particular, won't guarantee the rs232
input line to switch, whereas, of course, the ttl high will switch.
The rs232 ip needs zero or a minus level to properly work and avoid
jitter...

Chris

Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?

<633A7397-0163-4408-BB2C-D639D6C5B92D@dons.net.au>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=340&group=comp.protocols.time.ntp#340

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.gal.iecc.com!not-for-mail
From: dar...@dons.net.au (Daniel O'Connor)
Newsgroups: comp.protocols.time.ntp
Subject: Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?
Date: Fri, 17 Jun 2022 02:03:00 -0000 (UTC)
Organization: Taughannock Networks, Trumansburg NY
Message-ID: <633A7397-0163-4408-BB2C-D639D6C5B92D@dons.net.au>
References: <635e79a8-586c-4de8-b081-073aaf1b253en@googlegroups.com> <t8ff7b$alv$1@dont-email.me> <a210ebde-c160-415b-84a2-d4a3a50c1ecfn@googlegroups.com> <ee36733a-f1ba-4fe7-8f5d-8ba7e0ef5f7an@googlegroups.com> <t8epif$l1r$1@dont-email.me>
Reply-To: questions@lists.ntp.org
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\))
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Injection-Date: Fri, 17 Jun 2022 02:03:00 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="gal.iecc.com:64.57.183.53";
logging-data="51076"; mail-complaints-to="abuse@iecc.com"
Cc: questions@lists.ntp.org
To: david-taylor@blueyonder.co.uk
Return-Path: <questions+bounces-48-ntpquestions=iecc.com@lists.ntp.org>
Delivered-To: ntpquestions@iecc.com
Delivered-To: questions@lists.ntp.org
X-Spam-Checker-Version: SpamAssassin 3.4.5 (2021-03-20) on gal.iecc.com
X-Spam-Status: No, score=-2.5 required=4.4 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, T_SCC_BODY_TEXT_LINE,T_SPF_HELO_TEMPERROR autolearn=ham autolearn_force=no version=3.4.5
Authentication-Results: iecc.com; spf=pass spf.mailfrom=questions+bounces-48-ntpquestions=iecc.com@lists.ntp.org spf.helo=mail0.chi1.ntfo.org smtp.remote-ip="204.93.207.17"; dkim=fail (bad body hash) header.d=dons.net.au header.s=default header.a=rsa-sha256 header.b="NtEZ8lfu"; dmarc=fail header.from=dons.net.au polrec.p=quarantine polrec.pct=100
X-Original-To: questions@lists.ntp.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dons.net.au; s=default; t=1655431065; bh=eUwSuxa+69aO0XQ9iOCEflQ71xX4ekg7uwi069omwNc=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=NtEZ8lfu04ReUEsWqa+CW7kPhPU3WyBc0KVyZqliVasiX74owwJCzSL6YYU7Jqcs3 C5OBRrFlqBxA1zAnRUltq3eqYkJw3j0b0V/SE2fSWLIrCt6UbMVvysfcqbZQcmWO8G qTsfzSwvhDjrsQ9pWS9oiBFXVJrQQxS7M/7UPgGo=
List-unsubscribe: mailto: questions+unsubscribe@lists.ntp.org
X-BeenThere: questions@lists.ntp.org
List-Id: questions.lists.ntp.org
Precedence: list
In-Reply-To: <t8ff7b$alv$1@dont-email.me>
X-Scanned-By: MIMEDefang 2.84 on 10.0.2.1
X-DCC-iecc-Metrics: gal.iecc.com 1107; Body=1 Fuz1=1 Fuz2=1
Mail-to-news: iecc.com
 by: Daniel O'Connor - Fri, 17 Jun 2022 02:03 UTC

> On 17 Jun 2022, at 00:07, David Taylor <david-taylor@blueyonder.co..uk.invalid> wrote:
>
> On 16/06/2022 10:00, Thiebaud HUMBERT wrote:
>> To do the inversion, I just changed the "Pulse Mode" parameter to "Falling edge" from "Rising edge".
>> The offset induced by the "pulse length" has disappeared.
>> But there is still an offset of around 10.3ms, which I think is induced by USB as explained in this article about other chipsets (https://lists.freebsd.org/pipermail/freebsd-usb/2019- August/016078.html)
>
> Yes, Thiebaud, USB is not good enough for PPS signals!

This is absolutely false.

If you are using it for NTP then GPS+PPS over USB is quite adequate (from personal experience).

Ian Lepore (RIP) who worked for Micro Semi and worked on FreeBSD did a bunch of tests on a PPS over USB setup and found it more than
acceptable for keeping a PC in (good) time. Here's the thread: https://lists.freebsd.org/pipermail/freebsd-arm/2019-August/020263.html

> See if your motherboard has a true serial port - perhaps just as a header but not a back connector. If not, just set the offset of the PPS to ~10.3 milliseconds (10.3 - IIRC the offsets are in milliseconds but please check). Plus or minus 10.3, try it and see! Not perfect, but better than nothing.
>
> You might find better results using that GPS/PPS with a Raspberry Pi as a stratum-1 server and offering that as a server on your LAN.

The next level would be something where you can do an input capture on the PPS I don't think there are any pre canned solutions. I made one with a Beagle Bone Black and a uBox GPS module but it's not exactly turn key. Or for a server then you would need a fancy (ie $$$$) internal card.

The Raspberry Pi does not have an input capture timer, but I believe you can do better with DMA hackery (I haven't tried though).

--
Daniel O'Connor
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
--
This is questions@lists.ntp.org
Subscribe: questions+subscribe@lists.ntp.org
Unsubscribe: questions+unsubscribe@lists.ntp.org

Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?

<20220616213509.Horde.BL98d3ZzBE2QmxTmTp8Lb61@mail.drown.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=341&group=comp.protocols.time.ntp#341

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.gal.iecc.com!not-for-mail
From: dan-...@drown.org (Dan Drown)
Newsgroups: comp.protocols.time.ntp
Subject: Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?
Date: Fri, 17 Jun 2022 02:38:00 -0000 (UTC)
Organization: Taughannock Networks, Trumansburg NY
Message-ID: <20220616213509.Horde.BL98d3ZzBE2QmxTmTp8Lb61@mail.drown.org>
References: <633A7397-0163-4408-BB2C-D639D6C5B92D@dons.net.au> <t8epif$l1r$1@dont-email.me> <t8ff7b$alv$1@dont-email.me> <a210ebde-c160-415b-84a2-d4a3a50c1ecfn@googlegroups.com> <635e79a8-586c-4de8-b081-073aaf1b253en@googlegroups.com> <ee36733a-f1ba-4fe7-8f5d-8ba7e0ef5f7an@googlegroups.com>
Reply-To: questions@lists.ntp.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
Injection-Date: Fri, 17 Jun 2022 02:38:00 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="gal.iecc.com:64.57.183.53";
logging-data="57593"; mail-complaints-to="abuse@iecc.com"
User-Agent: Horde Application Framework 5
To: questions@lists.ntp.org
Return-Path: <questions+bounces-49-ntpquestions=iecc.com@lists.ntp.org>
Delivered-To: ntpquestions@iecc.com
Delivered-To: questions@lists.ntp.org
X-Spam-Checker-Version: SpamAssassin 3.4.5 (2021-03-20) on gal.iecc.com
X-Spam-Status: No, score=-2.7 required=4.4 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.5
Authentication-Results: iecc.com; spf=pass spf.mailfrom=questions+bounces-49-ntpquestions=iecc.com@lists.ntp.org spf.helo=mail0.chi1.ntfo.org smtp.remote-ip="204.93.207.17"
X-Original-To: questions@lists.ntp.org
In-Reply-To: <633A7397-0163-4408-BB2C-D639D6C5B92D@dons.net.au>
List-unsubscribe: mailto: questions+unsubscribe@lists.ntp.org
X-BeenThere: questions@lists.ntp.org
List-Id: questions.lists.ntp.org
Precedence: list
Content-Disposition: inline
X-DCC-iecc-Metrics: gal.iecc.com 1107; Body=1 Fuz1=1 Fuz2=1
Mail-to-news: iecc.com
 by: Dan Drown - Fri, 17 Jun 2022 02:38 UTC

Quoting Daniel O'Connor <darius@dons.net.au>:
> If you are using it for NTP then GPS+PPS over USB is quite adequate
> (from personal experience).
>
> Ian Lepore (RIP) who worked for Micro Semi and worked on FreeBSD did
> a bunch of tests on a PPS over USB setup and found it more than
> acceptable for keeping a PC in (good) time. Here's the thread:
> https://lists.freebsd.org/pipermail/freebsd-arm/2019-August/020263.html

That ntpq snapshot is a little bit misleading, the latency added by
USB will vary depending on the offset between when the PPS happens and
the next USB poll. The USB polls are relatively stable in the short
term, depending on the host frequency driving USB. So the snapshot
will only tell you the offset between all the PPS sources in that
short timeframe, not how they wander over time.

Here's a measurement of that wandering from the USB device's perspective:
https://blog.dan.drown.org/content/images/2017/07/usb-cdc-latency-zoom3.png

As long as you are ok with your time having an offset between ~0ms and
~1ms, PPS over USB (USB fullspeed) is acceptable. There are plenty of
uses where that would be "good enough".

I have more info on my blog post: https://blog.dan.drown.org/pps-over-usb/
--
This is questions@lists.ntp.org
Subscribe: questions+subscribe@lists.ntp.org
Unsubscribe: questions+unsubscribe@lists.ntp.org

Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?

<vk8tni-2ft1.ln1@gonzo.specsol.net>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=342&group=comp.protocols.time.ntp#342

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: jim...@gonzo.specsol.net (Jim Pennino)
Newsgroups: comp.protocols.time.ntp
Subject: Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?
Date: Thu, 16 Jun 2022 20:22:41 -0700
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <vk8tni-2ft1.ln1@gonzo.specsol.net>
References: <635e79a8-586c-4de8-b081-073aaf1b253en@googlegroups.com> <t8ff7b$alv$1@dont-email.me> <a210ebde-c160-415b-84a2-d4a3a50c1ecfn@googlegroups.com> <ee36733a-f1ba-4fe7-8f5d-8ba7e0ef5f7an@googlegroups.com> <t8epif$l1r$1@dont-email.me> <633A7397-0163-4408-BB2C-D639D6C5B92D@dons.net.au>
Injection-Info: reader02.eternal-september.org; posting-host="9165e10d9c8d95653dc81c71a9607a39";
logging-data="12323"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19rWVYSE9+lVMtN2Ji6USYl"
User-Agent: tin/2.4.4-20191224 ("Millburn") (Linux/5.4.0-120-lowlatency (x86_64))
Cancel-Lock: sha1:zyz6XiJLtXgvs9j6gwgt0OKwoGQ=
 by: Jim Pennino - Fri, 17 Jun 2022 03:22 UTC

Daniel O'Connor <darius@dons.net.au> wrote:
>
>
>> On 17 Jun 2022, at 00:07, David Taylor <david-taylor@blueyonder.co.uk.invalid> wrote:
>>
>> On 16/06/2022 10:00, Thiebaud HUMBERT wrote:
>>> To do the inversion, I just changed the "Pulse Mode" parameter to "Falling edge" from "Rising edge".
>>> The offset induced by the "pulse length" has disappeared.
>>> But there is still an offset of around 10.3ms, which I think is induced by USB as explained in this article about other chipsets (https://lists.freebsd.org/pipermail/freebsd-usb/2019- August/016078.html)
>>
>> Yes, Thiebaud, USB is not good enough for PPS signals!
>
> This is absolutely false.
>
> If you are using it for NTP then GPS+PPS over USB is quite adequate (from personal experience).

As USB is a two wire interface, there is no such thing as PPS over USB.

You of course can get the ASCII data over USB, but to get a PPS signal
you in general have to hack a USB GPS and add a signal wire for PPS then
hack some interface on the computer to accept PPS.

If all you need is accuracy in the 2 millisecond range, most recent USB
GNSS dongles will achieve that without PPS.

Re: [questions] GPS+PPS vs NTP server, why a huge offset ?

<106A6CF9-9D39-4FF6-867E-7E4C5DE13760@dons.net.au>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=343&group=comp.protocols.time.ntp#343

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
From: dar...@dons.net.au (Daniel O'Connor)
Newsgroups: comp.protocols.time.ntp
Subject: Re: [questions] GPS+PPS vs NTP server, why a huge offset ?
Date: Fri, 17 Jun 2022 04:53:00 -0000 (UTC)
Organization: Taughannock Networks, Trumansburg NY
Message-ID: <106A6CF9-9D39-4FF6-867E-7E4C5DE13760@dons.net.au>
References: <ee36733a-f1ba-4fe7-8f5d-8ba7e0ef5f7an@googlegroups.com> <635e79a8-586c-4de8-b081-073aaf1b253en@googlegroups.com> <a210ebde-c160-415b-84a2-d4a3a50c1ecfn@googlegroups.com> <20220616213509.Horde.BL98d3ZzBE2QmxTmTp8Lb61@mail.drown.org> <t8ff7b$alv$1@dont-email.me> <t8epif$l1r$1@dont-email.me> <633A7397-0163-4408-BB2C-D639D6C5B92D@dons.net.au>
Reply-To: questions@lists.ntp.org
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\))
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Injection-Date: Fri, 17 Jun 2022 04:53:00 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
logging-data="76815"; mail-complaints-to="abuse@iecc.com"
To: questions@lists.ntp.org
Return-Path: <questions+bounces-51-ntpquestions=iecc.com@lists.ntp.org>
Delivered-To: ntpquestions@iecc.com
Delivered-To: questions@lists.ntp.org
X-Spam-Checker-Version: SpamAssassin 3.4.5 (2021-03-20) on gal.iecc.com
X-Spam-Status: No, score=-2.5 required=4.4 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.5
Authentication-Results: iecc.com; spf=pass spf.mailfrom=questions+bounces-51-ntpquestions=iecc.com@lists.ntp.org spf.helo=mail0.chi1.ntfo.org smtp.remote-ip="204.93.207.17"; dkim=fail (bad body hash) header.d=dons.net.au header.s=default header.a=rsa-sha256 header.b="j0B+mMKm"; dmarc=fail header.from=dons.net.au polrec.p=quarantine polrec.pct=100
X-Original-To: questions@lists.ntp.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dons.net.au; s=default; t=1655441314; bh=+p8OKaiqCK6jBS+8RN44hoiIL3gMM5Fxflm6F/KCsg8=; h=Subject:From:In-Reply-To:Date:References:To; b=j0B+mMKmuRVg6GH4ysZojpOaAqYfLvVYbDTvfSMxIKF/lfjyZZWDYv7o+Ad5IzPSB aDyJXd9CMwKL7zWhc4dxzW8Bss8ifVCvuri2XipXfdYf62bQrZtQeJYdwO6hTopDZo 4g/aIuJNrB0E5OavuRSvVJbv9rEnpaJvvON2Y0Ds=
List-unsubscribe: mailto: questions+unsubscribe@lists.ntp.org
X-BeenThere: questions@lists.ntp.org
List-Id: questions.lists.ntp.org
Precedence: list
In-Reply-To: <20220616213509.Horde.BL98d3ZzBE2QmxTmTp8Lb61@mail.drown.org>
X-Scanned-By: MIMEDefang 2.84 on 10.0.2.1
X-DCC-iecc-Metrics: gal.iecc.com 1107; Body=1 Fuz1=1 Fuz2=1
Mail-to-news: iecc.com
 by: Daniel O'Connor - Fri, 17 Jun 2022 04:53 UTC

> On 17 Jun 2022, at 12:05, Dan Drown <dan-ntp@drown.org> wrote:
>
> Quoting Daniel O'Connor <darius@dons.net.au>:
>> If you are using it for NTP then GPS+PPS over USB is quite adequate (from personal experience).
>>
>> Ian Lepore (RIP) who worked for Micro Semi and worked on FreeBSD did a bunch of tests on a PPS over USB setup and found it more than
>> acceptable for keeping a PC in (good) time. Here's the thread: https://lists.freebsd.org/pipermail/freebsd-arm/2019-August/020263.html
>
> That ntpq snapshot is a little bit misleading, the latency added by USB will vary depending on the offset between when the PPS happens and the next USB poll. The USB polls are relatively stable in the short term, depending on the host frequency driving USB. So the snapshot will only tell you the offset between all the PPS sources in that short timeframe, not how they wander over time.
>
> Here's a measurement of that wandering from the USB device's perspective:
> https://blog.dan.drown.org/content/images/2017/07/usb-cdc-latency-zoom3.png
>
> As long as you are ok with your time having an offset between ~0ms and ~1ms, PPS over USB (USB fullspeed) is acceptable. There are plenty of uses where that would be "good enough".

I would say it is good enough for the vast majority of cases. It unfortunately seems to be "received wisdom" that it's not great and people avoid it, when the fact is that it works exceptionally well for use cases where NTP is in use.

> I have more info on my blog post: https://blog.dan.drown.org/pps-over-usb/

Interesting reading thanks.

Personally I think to get significantly better than the simple GPS over USB case you need an input capture timer, but annoyingly it seems to be quite a rare feature in large SoCs (especially annoying since input capture timers are dime a dozen on microcontrollers).

--
Daniel O'Connor
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
--
This is questions@lists.ntp.org
Subscribe: questions+subscribe@lists.ntp.org
Unsubscribe: questions+unsubscribe@lists.ntp.org

Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?

<459ACBD9-C70B-491C-A84E-7A44EEBFBCF4@dons.net.au>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=344&group=comp.protocols.time.ntp#344

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
From: dar...@dons.net.au (Daniel O'Connor)
Newsgroups: comp.protocols.time.ntp
Subject: Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?
Date: Fri, 17 Jun 2022 05:03:00 -0000 (UTC)
Organization: Taughannock Networks, Trumansburg NY
Message-ID: <459ACBD9-C70B-491C-A84E-7A44EEBFBCF4@dons.net.au>
References: <a210ebde-c160-415b-84a2-d4a3a50c1ecfn@googlegroups.com> <vk8tni-2ft1.ln1@gonzo.specsol.net> <ee36733a-f1ba-4fe7-8f5d-8ba7e0ef5f7an@googlegroups.com> <635e79a8-586c-4de8-b081-073aaf1b253en@googlegroups.com> <633A7397-0163-4408-BB2C-D639D6C5B92D@dons.net.au> <t8epif$l1r$1@dont-email.me> <t8ff7b$alv$1@dont-email.me>
Reply-To: questions@lists.ntp.org
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\))
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Injection-Date: Fri, 17 Jun 2022 05:03:00 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
logging-data="78130"; mail-complaints-to="abuse@iecc.com"
To: questions@lists.ntp.org
Return-Path: <questions+bounces-52-ntpquestions=iecc.com@lists.ntp.org>
Delivered-To: ntpquestions@iecc.com
Delivered-To: questions@lists.ntp.org
X-Spam-Checker-Version: SpamAssassin 3.4.5 (2021-03-20) on gal.iecc.com
X-Spam-Status: No, score=-2.5 required=4.4 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.5
Authentication-Results: iecc.com; spf=pass spf.mailfrom=questions+bounces-52-ntpquestions=iecc.com@lists.ntp.org spf.helo=mail0.chi1.ntfo.org smtp.remote-ip="204.93.207.17"; dkim=fail (bad body hash) header.d=dons.net.au header.s=default header.a=rsa-sha256 header.b="IVMrGa4n"; dmarc=fail header.from=dons.net.au polrec.p=quarantine polrec.pct=100
X-Original-To: questions@lists.ntp.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dons.net.au; s=default; t=1655442004; bh=I23mIAoamVkFEgG+blrVV9iWGAHlmkutgQH3QjO1Cek=; h=Subject:From:In-Reply-To:Date:References:To; b=IVMrGa4nY7xPOHPCJ3SpOMRJwVuCL1kUhy1fpaOa3kqHktF/Mec0g1CriwB39JvwT htgHV+khtUotsjsa4WUoHyhA82dhnJLNA2dZOEm6ORotN5SWQrUESxhLIDqGNHI+CU wtWitQuQ2O/GZ1j0SPUImTSSWB/VtxVXQdzY9zNQ=
List-unsubscribe: mailto: questions+unsubscribe@lists.ntp.org
X-BeenThere: questions@lists.ntp.org
List-Id: questions.lists.ntp.org
Precedence: list
In-Reply-To: <vk8tni-2ft1.ln1@gonzo.specsol.net>
X-Scanned-By: MIMEDefang 2.84 on 10.0.2.1
X-DCC-iecc-Metrics: gal.iecc.com 1107; Body=1 Fuz1=1 Fuz2=1
Mail-to-news: iecc.com
 by: Daniel O'Connor - Fri, 17 Jun 2022 05:03 UTC

> On 17 Jun 2022, at 12:52, Jim Pennino <jimp@gonzo.specsol.net> wrote:
> Daniel O'Connor <darius@dons.net.au> wrote:
>>
>>
>>> On 17 Jun 2022, at 00:07, David Taylor <david-taylor@blueyonder.co.uk.invalid> wrote:
>>>
>>> On 16/06/2022 10:00, Thiebaud HUMBERT wrote:
>>>> To do the inversion, I just changed the "Pulse Mode" parameter to "Falling edge" from "Rising edge".
>>>> The offset induced by the "pulse length" has disappeared.
>>>> But there is still an offset of around 10.3ms, which I think is induced by USB as explained in this article about other chipsets (https://lists.freebsd.org/pipermail/freebsd-usb/2019- August/016078.html)
>>>
>>> Yes, Thiebaud, USB is not good enough for PPS signals!
>>
>> This is absolutely false.
>>
>> If you are using it for NTP then GPS+PPS over USB is quite adequate (from personal experience).
>
> As USB is a two wire interface, there is no such thing as PPS over USB.

The fact USB only has 2 data lines is irrelevant to wether you can send PPS over USB.

> You of course can get the ASCII data over USB, but to get a PPS signal
> you in general have to hack a USB GPS and add a signal wire for PPS then
> hack some interface on the computer to accept PPS.

This is absolutely not true in any meaningful sense.

> If all you need is accuracy in the 2 millisecond range, most recent USB
> GNSS dongles will achieve that without PPS.

You can easily do better than that with GPS/PPS over USB.

It is very easy to setup, readily accessible and cheaply done.

--
Daniel O'Connor
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
--
This is questions@lists.ntp.org
Subscribe: questions+subscribe@lists.ntp.org
Unsubscribe: questions+unsubscribe@lists.ntp.org

Re: GPS+PPS vs NTP server, why a huge offset ?

<t8hopb$rke$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=346&group=comp.protocols.time.ntp#346

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@ex.djwhome.demon.invalid (David Woolley)
Newsgroups: comp.protocols.time.ntp
Subject: Re: GPS+PPS vs NTP server, why a huge offset ?
Date: Fri, 17 Jun 2022 12:32:59 +0100
Organization: No affiliation
Lines: 27
Message-ID: <t8hopb$rke$1@dont-email.me>
References: <635e79a8-586c-4de8-b081-073aaf1b253en@googlegroups.com>
<ee36733a-f1ba-4fe7-8f5d-8ba7e0ef5f7an@googlegroups.com>
<t8epif$l1r$1@dont-email.me>
<a210ebde-c160-415b-84a2-d4a3a50c1ecfn@googlegroups.com>
<t8ff7b$alv$1@dont-email.me>
<caf5e073-ed36-4ff2-987f-fc0938d3b63cn@googlegroups.com>
<4burni-fja2.ln1@gonzo.specsol.net> <t8gd8a$pla$1@gioia.aioe.org>
<c9rsni-i8f1.ln1@gonzo.specsol.net> <t8gft4$1h3h$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 17 Jun 2022 11:33:00 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="0389d063b82fd42e75c6e383ae2cfb34";
logging-data="28302"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+uVt+fjYDxKLeYceX04lEc0n1t6vrX/hw="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
Cancel-Lock: sha1:8V36Gilcc9yIpt1qHOUq7/loOL4=
In-Reply-To: <t8gft4$1h3h$1@gioia.aioe.org>
Content-Language: en-GB
 by: David Woolley - Fri, 17 Jun 2022 11:32 UTC

On 17/06/2022 00:55, chris wrote:
> No argument with that, but some have tried to bypass a converter,
> feeding the ttl pps into the rs232 port, which may work in some
> cases. TLL pps low level, in particular, won't guarantee the rs232
> input line to switch, whereas, of course, the ttl high will switch.
> The rs232 ip needs zero or a minus level to properly work and avoid
> jitter...
>

In practice, RS232 line receivers will emulate the characteristics of
the 1489 or 1489A ICs (which are still available). In the simplest
configuration for those, the input low threshold voltage is no less than
+0.75 volts and the input high threshold voltage is no more than +2.25
volts, which makes nearly all real life true RS232 line receivers TTL
compatible. (The A variant has a larger hysteresis, and results in a
higher high threshold.)

The main reason for not using TTL are that is isn't designed for driving
more than a few inches of wire, and it doesn't have the huge noise
margins of true RS232 drivers.

In terms of level converting to TTL, the decades old 1488 line drivers
are also still available, although they need +/- 12V supplies, as are
the newer, but still decades old, MAX232 devices, that have charge pumps
to derive the 12 volts from a 5 volt supply. As such, there is no
really sensible reason to re-purpose device intended for shifting
between 3.3 an 5 volt CMOS levels.

Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?

<t8i1t0$sj2$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=348&group=comp.protocols.time.ntp#348

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: david-ta...@blueyonder.co.uk.invalid (David Taylor)
Newsgroups: comp.protocols.time.ntp
Subject: Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?
Date: Fri, 17 Jun 2022 15:08:32 +0100
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <t8i1t0$sj2$1@dont-email.me>
References: <635e79a8-586c-4de8-b081-073aaf1b253en@googlegroups.com>
<t8ff7b$alv$1@dont-email.me>
<a210ebde-c160-415b-84a2-d4a3a50c1ecfn@googlegroups.com>
<ee36733a-f1ba-4fe7-8f5d-8ba7e0ef5f7an@googlegroups.com>
<t8epif$l1r$1@dont-email.me>
<633A7397-0163-4408-BB2C-D639D6C5B92D@dons.net.au>
Reply-To: david-taylor@blueyonder.co.uk
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 17 Jun 2022 14:08:32 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="12d54741b89e9e6e53fbdc2d2dc61a74";
logging-data="29282"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+F+hMKs7Ah+yXZEmuIjPBj/5F0IpzDYwk="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.10.0
Cancel-Lock: sha1:s4vH+2FdfFDf++YLOvNuil0F7AU=
In-Reply-To: <633A7397-0163-4408-BB2C-D639D6C5B92D@dons.net.au>
Content-Language: en-GB
 by: David Taylor - Fri, 17 Jun 2022 14:08 UTC

On 17/06/2022 03:03, Daniel O'Connor wrote:
>> Yes, Thiebaud, USB is not good enough for PPS signals!
> This is absolutely false.
>
> If you are using it for NTP then GPS+PPS over USB is quite adequate (from personal experience).
>
> Ian Lepore (RIP) who worked for Micro Semi and worked on FreeBSD did a bunch of tests on a PPS over USB setup and found it more than
> acceptable for keeping a PC in (good) time. Here's the thread:https://lists.freebsd.org/pipermail/freebsd-arm/2019-August/020263.html
>
>> See if your motherboard has a true serial port - perhaps just as a header but not a back connector. If not, just set the offset of the PPS to ~10.3 milliseconds (10.3 - IIRC the offsets are in milliseconds but please check). Plus or minus 10.3, try it and see! Not perfect, but better than nothing.
>>
>> You might find better results using that GPS/PPS with a Raspberry Pi as a stratum-1 server and offering that as a server on your LAN.
> The next level would be something where you can do an input capture on the PPS I don't think there are any pre canned solutions. I made one with a Beagle Bone Black and a uBox GPS module but it's not exactly turn key. Or for a server then you would need a fancy (ie $$$$) internal card.
>
> The Raspberry Pi does not have an input capture timer, but I believe you can do better with DMA hackery (I haven't tried though).

If a 125 us uncertainty in the PPS is something you can tolerate, so be it. If
you are bothering with PPS then presumably you want better accuracy than can be
achieved without it.

No need for DMA hackery. Standard NTP with the Raspberry Pi can handle PPS on
a GPIO signal with a couple of edits to allow the PPS support already built
into the kernel to be attached to the appropriate GPIO pin. Not out of the
box, but very little effort required.

The Raspberry Pi can act as a server for hundreds of clients. If you mean a
PC-based Windows server, that's not something I would immediately recommend,
but if you must a £20 serial card may be all you need to add.

--
Cheers,
David
Web: http://www.satsignal.eu

Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?

<e2euni-bug3.ln1@gonzo.specsol.net>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=349&group=comp.protocols.time.ntp#349

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: jim...@gonzo.specsol.net (Jim Pennino)
Newsgroups: comp.protocols.time.ntp
Subject: Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?
Date: Fri, 17 Jun 2022 07:01:20 -0700
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <e2euni-bug3.ln1@gonzo.specsol.net>
References: <a210ebde-c160-415b-84a2-d4a3a50c1ecfn@googlegroups.com> <vk8tni-2ft1.ln1@gonzo.specsol.net> <ee36733a-f1ba-4fe7-8f5d-8ba7e0ef5f7an@googlegroups.com> <635e79a8-586c-4de8-b081-073aaf1b253en@googlegroups.com> <633A7397-0163-4408-BB2C-D639D6C5B92D@dons.net.au> <t8epif$l1r$1@dont-email.me> <t8ff7b$alv$1@dont-email.me> <459ACBD9-C70B-491C-A84E-7A44EEBFBCF4@dons.net.au>
Injection-Info: reader02.eternal-september.org; posting-host="9165e10d9c8d95653dc81c71a9607a39";
logging-data="32363"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19TMBksRYsl+izjdi2WsyAG"
User-Agent: tin/2.4.4-20191224 ("Millburn") (Linux/5.4.0-120-lowlatency (x86_64))
Cancel-Lock: sha1:1X0Y3JdpcLEZbvfWpgVMW690V8s=
 by: Jim Pennino - Fri, 17 Jun 2022 14:01 UTC

Daniel O'Connor <darius@dons.net.au> wrote:
>
>
>> On 17 Jun 2022, at 12:52, Jim Pennino <jimp@gonzo.specsol.net> wrote:
>> Daniel O'Connor <darius@dons.net.au> wrote:
>>>
>>>
>>>> On 17 Jun 2022, at 00:07, David Taylor <david-taylor@blueyonder.co.uk.invalid> wrote:
>>>>
>>>> On 16/06/2022 10:00, Thiebaud HUMBERT wrote:
>>>>> To do the inversion, I just changed the "Pulse Mode" parameter to "Falling edge" from "Rising edge".
>>>>> The offset induced by the "pulse length" has disappeared.
>>>>> But there is still an offset of around 10.3ms, which I think is induced by USB as explained in this article about other chipsets (https://lists.freebsd.org/pipermail/freebsd-usb/2019- August/016078.html)
>>>>
>>>> Yes, Thiebaud, USB is not good enough for PPS signals!
>>>
>>> This is absolutely false.
>>>
>>> If you are using it for NTP then GPS+PPS over USB is quite adequate (from personal experience).
>>
>> As USB is a two wire interface, there is no such thing as PPS over USB.
>
> The fact USB only has 2 data lines is irrelevant to wether you can send PPS over USB.
>
>> You of course can get the ASCII data over USB, but to get a PPS signal
>> you in general have to hack a USB GPS and add a signal wire for PPS then
>> hack some interface on the computer to accept PPS.
>
> This is absolutely not true in any meaningful sense.

OK, then to which of the USB connector pins do you connect the PPS
signal to get "PPS over USB"?

Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?

<juguni-rco3.ln1@gonzo.specsol.net>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=351&group=comp.protocols.time.ntp#351

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: jim...@gonzo.specsol.net (Jim Pennino)
Newsgroups: comp.protocols.time.ntp
Subject: Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?
Date: Fri, 17 Jun 2022 07:50:29 -0700
Organization: A noiseless patient Spider
Lines: 45
Message-ID: <juguni-rco3.ln1@gonzo.specsol.net>
References: <635e79a8-586c-4de8-b081-073aaf1b253en@googlegroups.com> <t8ff7b$alv$1@dont-email.me> <a210ebde-c160-415b-84a2-d4a3a50c1ecfn@googlegroups.com> <ee36733a-f1ba-4fe7-8f5d-8ba7e0ef5f7an@googlegroups.com> <t8epif$l1r$1@dont-email.me> <633A7397-0163-4408-BB2C-D639D6C5B92D@dons.net.au> <t8i1t0$sj2$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="9165e10d9c8d95653dc81c71a9607a39";
logging-data="19002"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+miXwn5VzbK90purtemXEu"
User-Agent: tin/2.4.4-20191224 ("Millburn") (Linux/5.4.0-120-lowlatency (x86_64))
Cancel-Lock: sha1:/9zwp0Id2Mbk4C+gW3N8864d2PA=
 by: Jim Pennino - Fri, 17 Jun 2022 14:50 UTC

David Taylor <david-taylor@blueyonder.co.uk.invalid> wrote:
> On 17/06/2022 03:03, Daniel O'Connor wrote:
>>> Yes, Thiebaud, USB is not good enough for PPS signals!
>> This is absolutely false.
>>
>> If you are using it for NTP then GPS+PPS over USB is quite adequate (from personal experience).
>>
>> Ian Lepore (RIP) who worked for Micro Semi and worked on FreeBSD did a bunch of tests on a PPS over USB setup and found it more than
>> acceptable for keeping a PC in (good) time. Here's the thread:https://lists.freebsd.org/pipermail/freebsd-arm/2019-August/020263.html
>>
>>> See if your motherboard has a true serial port - perhaps just as a header but not a back connector. If not, just set the offset of the PPS to ~10.3 milliseconds (10.3 - IIRC the offsets are in milliseconds but please check). Plus or minus 10.3, try it and see! Not perfect, but better than nothing.
>>>
>>> You might find better results using that GPS/PPS with a Raspberry Pi as a stratum-1 server and offering that as a server on your LAN.
>> The next level would be something where you can do an input capture on the PPS I don't think there are any pre canned solutions. I made one with a Beagle Bone Black and a uBox GPS module but it's not exactly turn key. Or for a server then you would need a fancy (ie $$$$) internal card.
>>
>> The Raspberry Pi does not have an input capture timer, but I believe you can do better with DMA hackery (I haven't tried though).
>
> If a 125 us uncertainty in the PPS is something you can tolerate, so be it. If
> you are bothering with PPS then presumably you want better accuracy than can be
> achieved without it.
>
> No need for DMA hackery. Standard NTP with the Raspberry Pi can handle PPS on
> a GPIO signal with a couple of edits to allow the PPS support already built
> into the kernel to be attached to the appropriate GPIO pin. Not out of the
> box, but very little effort required.
>
> The Raspberry Pi can act as a server for hundreds of clients. If you mean a
> PC-based Windows server, that's not something I would immediately recommend,
> but if you must a £20 serial card may be all you need to add.

The Pi4 with a current GNSS model $29.95 Adafruit Ultimate GPS HAT will
provide an accuracy of about 1 to 2 microseconds.

If you plot loopstats you can see the offset vary with the heat/AC going
on and off and the error varying by about .5 microseconds.

If you want better than that, you need a GNSS receiver with a managed
oscillator such as an OCXO or rubidium.

However actually achieving in NTP anywhere near the +/- 1 nanosecond
accuracy of an OCXO will require careful selection of both hardware
and software.

Re: GPS+PPS vs NTP server, why a huge offset ?

<t8i6tc$1bhk$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=353&group=comp.protocols.time.ntp#353

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!aioe.org!jazQyxryRFiI4FEZ51SAvA.user.46.165.242.75.POSTED!not-for-mail
From: chris-no...@tridac.net (chris)
Newsgroups: comp.protocols.time.ntp
Subject: Re: GPS+PPS vs NTP server, why a huge offset ?
Date: Fri, 17 Jun 2022 16:34:04 +0100
Organization: Aioe.org NNTP Server
Message-ID: <t8i6tc$1bhk$1@gioia.aioe.org>
References: <635e79a8-586c-4de8-b081-073aaf1b253en@googlegroups.com> <ee36733a-f1ba-4fe7-8f5d-8ba7e0ef5f7an@googlegroups.com> <t8epif$l1r$1@dont-email.me> <a210ebde-c160-415b-84a2-d4a3a50c1ecfn@googlegroups.com> <t8ff7b$alv$1@dont-email.me> <caf5e073-ed36-4ff2-987f-fc0938d3b63cn@googlegroups.com> <4burni-fja2.ln1@gonzo.specsol.net> <t8gd8a$pla$1@gioia.aioe.org> <c9rsni-i8f1.ln1@gonzo.specsol.net> <t8gft4$1h3h$1@gioia.aioe.org> <t8hopb$rke$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="44596"; posting-host="jazQyxryRFiI4FEZ51SAvA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; SunOS sun4u; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
X-Notice: Filtered by postfilter v. 0.9.2
 by: chris - Fri, 17 Jun 2022 15:34 UTC

On 06/17/22 12:32, David Woolley wrote:
> On 17/06/2022 00:55, chris wrote:
>> No argument with that, but some have tried to bypass a converter,
>> feeding the ttl pps into the rs232 port, which may work in some
>> cases. TLL pps low level, in particular, won't guarantee the rs232
>> input line to switch, whereas, of course, the ttl high will switch.
>> The rs232 ip needs zero or a minus level to properly work and avoid
>> jitter...
>>
>
> In practice, RS232 line receivers will emulate the characteristics of
> the 1489 or 1489A ICs (which are still available). In the simplest
> configuration for those, the input low threshold voltage is no less than
> +0.75 volts and the input high threshold voltage is no more than +2.25
> volts, which makes nearly all real life true RS232 line receivers TTL
> compatible. (The A variant has a larger hysteresis, and results in a
> higher high threshold.)
>
> The main reason for not using TTL are that is isn't designed for driving
> more than a few inches of wire, and it doesn't have the huge noise
> margins of true RS232 drivers.
>
> In terms of level converting to TTL, the decades old 1488 line drivers
> are also still available, although they need +/- 12V supplies, as are
> the newer, but still decades old, MAX232 devices, that have charge pumps
> to derive the 12 volts from a 5 volt supply. As such, there is no really
> sensible reason to re-purpose device intended for shifting between 3.3
> an 5 volt CMOS levels.

Over year ago and the converter just got wrapped in heatshrink and
tie wrapped inside the mini pc box. I think the version I used did use
the max232, which meant I just had to pick up 3.3 or 5v, one of the two.

As for compatibility, while a mismatched connection may work, it's bad
practice to do that, where you are dealing with microsecond timing
and want to avoid jitter. Use the correct interfaces and do the job
right, then you can fit and forget:-)...

Chris

Re: GPS+PPS vs NTP server, why a huge offset ?

<t8iieb$k0f$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=363&group=comp.protocols.time.ntp#363

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@ex.djwhome.demon.invalid (David Woolley)
Newsgroups: comp.protocols.time.ntp
Subject: Re: GPS+PPS vs NTP server, why a huge offset ?
Date: Fri, 17 Jun 2022 19:50:50 +0100
Organization: No affiliation
Lines: 17
Message-ID: <t8iieb$k0f$1@dont-email.me>
References: <635e79a8-586c-4de8-b081-073aaf1b253en@googlegroups.com>
<ee36733a-f1ba-4fe7-8f5d-8ba7e0ef5f7an@googlegroups.com>
<t8epif$l1r$1@dont-email.me>
<a210ebde-c160-415b-84a2-d4a3a50c1ecfn@googlegroups.com>
<t8ff7b$alv$1@dont-email.me>
<caf5e073-ed36-4ff2-987f-fc0938d3b63cn@googlegroups.com>
<4burni-fja2.ln1@gonzo.specsol.net> <t8gd8a$pla$1@gioia.aioe.org>
<c9rsni-i8f1.ln1@gonzo.specsol.net> <t8gft4$1h3h$1@gioia.aioe.org>
<t8hopb$rke$1@dont-email.me> <t8i6tc$1bhk$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
Injection-Date: Fri, 17 Jun 2022 18:50:51 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="0389d063b82fd42e75c6e383ae2cfb34";
logging-data="20495"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+DT0BWCkEGvJ1fj+B69tOllIZc69p5G7U="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
Cancel-Lock: sha1:Gr0CkQoOfAxqlv2ZV+EKAS/uZj4=
In-Reply-To: <t8i6tc$1bhk$1@gioia.aioe.org>
Content-Language: en-GB
 by: David Woolley - Fri, 17 Jun 2022 18:50 UTC

On 17/06/2022 16:34, chris wrote:
> As for compatibility, while a mismatched connection may work, it's bad
> practice to do that, where you are dealing with microsecond timing
> and want to avoid jitter. Use the correct interfaces and do the job
> right, then you can fit and forget:-)...

RS232 isn't optimal for PPS as it is slew rate limited to 30V/µs, which
means it will take at least 0.5µs from a resting level until it has
fully cleared the transition region, if implemented to standard.

TTL is the more natural logic family for high accuracy PPS.

GPS should be able of achieving time transfer accuracies of better than
.03µs.

Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?

<t8iili$le6$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=365&group=comp.protocols.time.ntp#365

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@ex.djwhome.demon.invalid (David Woolley)
Newsgroups: comp.protocols.time.ntp
Subject: Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?
Date: Fri, 17 Jun 2022 19:54:42 +0100
Organization: No affiliation
Lines: 7
Message-ID: <t8iili$le6$1@dont-email.me>
References: <a210ebde-c160-415b-84a2-d4a3a50c1ecfn@googlegroups.com>
<vk8tni-2ft1.ln1@gonzo.specsol.net>
<ee36733a-f1ba-4fe7-8f5d-8ba7e0ef5f7an@googlegroups.com>
<635e79a8-586c-4de8-b081-073aaf1b253en@googlegroups.com>
<633A7397-0163-4408-BB2C-D639D6C5B92D@dons.net.au>
<t8epif$l1r$1@dont-email.me> <t8ff7b$alv$1@dont-email.me>
<459ACBD9-C70B-491C-A84E-7A44EEBFBCF4@dons.net.au>
<e2euni-bug3.ln1@gonzo.specsol.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 17 Jun 2022 18:54:42 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="0389d063b82fd42e75c6e383ae2cfb34";
logging-data="21958"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19DL5BcNUFFg3VeA+3VrpN7pKwaESILnCE="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
Cancel-Lock: sha1:6TW0s/OOQpOZG9h1APs6NEAbass=
In-Reply-To: <e2euni-bug3.ln1@gonzo.specsol.net>
Content-Language: en-GB
 by: David Woolley - Fri, 17 Jun 2022 18:54 UTC

On 17/06/2022 15:01, Jim Pennino wrote:
> OK, then to which of the USB connector pins do you connect the PPS
> signal to get "PPS over USB"?

D+ and D-, using for example a Communications Device Class module to
encode it for transmission. I guess HID would be more appropriate, for
an isolated digital signal, but HID often uses low rates.

Pages:123
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor