[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?
- To: david-taylor@xxxxxxxxxxxxxxxx
- Subject: Re: [questions] Re: GPS+PPS vs NTP server, why a huge offset ?
- From: "Daniel O'Connor" <darius@xxxxxxxxxxx>
- Date: Fri, 17 Jun 2022 11:26:53 +0930
- Cc: questions@xxxxxxxxxxxxx
- Delivered-to: questions@xxxxxxxxxxxxx
- 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=
- In-reply-to: <email@example.com>
- List-id: questions.lists.ntp.org
- List-unsubscribe: mailto:firstname.lastname@example.org
- References: <email@example.com> <firstname.lastname@example.org> <email@example.com> <firstname.lastname@example.org> <email@example.com>
- Reply-to: questions@xxxxxxxxxxxxx
> On 17 Jun 2022, at 00:07, David Taylor <firstname.lastname@example.org> 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).
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
This is questions@xxxxxxxxxxxxx