RE: [chrony-users] Refclock Integration Advice |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: "chrony-users@xxxxxxxxxxxxxxxxxxxx" <chrony-users@xxxxxxxxxxxxxxxxxxxx>
- Subject: RE: [chrony-users] Refclock Integration Advice
- From: "Chang, Benjamin" <Benjamin.Chang@xxxxxxxxxxxxxxx>
- Date: Mon, 30 Nov 2020 15:03:10 +0000
- Accept-language: en-US
- Dkim-signature: v=1; a=rsa-sha256; d=gtri.gatech.edu; s=unifiededge; c=simple/simple; t=1606748590; h=from:subject:to:date:message-id; bh=DnLHEzoj86C0VLicg9GzdVv6fyLwRy+xgTe7vdg24Mc=; b=cuKHAVBiP6qjgqytfqAIyWe4kHofPkk9ELG9xZLQgEfqf0w1MVG5NW4lb6f9Tb651FsRe/re0iH ejTXRzLfwb+JPfL9G3YRUpwTc72Eleyy4rlLENt3oySv0E+m9fX62T4tWOWRc+yyN3ihcy2fS3frX 7ceDliDNi1cHdH6XoPmHs7kqc43997XxHwQdXjRQP0DgR2xbYjcRtUQah/HjVHpsMlVNnTiStPF4Q +/f01+nFVFRMKhk0l1r8P9GL0epeYXVHoXTYok5dlrskLGYL4y0pbSLsPXBx8O1d3QRvJHo1oelJP Aw2SxBOPZmIAFXtfUphZbmgEtF0LhaljPnTw==
- Thread-index: Ada/TrG39Fqx6isOR/+eXGLkbD9zTwCbGlKAAAduTgD//9+ngIAAUsig//+xoICAAEo3UP//wWkAgABQQED//7YlgAAJ9wfAAH51gID/+Z36gA==
- Thread-topic: [chrony-users] Refclock Integration Advice
So I managed to switch it to a 50% duty cycle PPS, and it appears to take every pulse now. The LastRX floats between 0 and 2 (seemed like 20 us is too short a pulse).
However, now when I look at the measured offsets, it seems to greatly vary from 100s of ns to 10s of us. Shouldn't it be consistent? According to the datasheet of my PPS (the syncserver S650), it should have ~15 ns accuracy and resolution. When I scoped it on an oscilloscope, it was consistent and not varying.
Here is my conf file setup
My ntp server setting: minpoll -6 maxpoll -6
My PPS: poll 0 prefer trust pps width 0.5
My PPS is coming from my NTP server so they are in sync. Is maybe my ntp polling too high for chrony causing the accuracy to fall off? I was told that polling too often can decrease rate accuracy so maybe the offset recordings are cause the recorded accuracy is off?
Also noted regarding the pictures attachment. My apologies.
-----Original Message-----
From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Sent: Thursday, November 26, 2020 3:11 AM
To: chrony-users@xxxxxxxxxxxxxxxxxxxx
Subject: Re: [chrony-users] Refclock Integration Advice
On Mon, Nov 23, 2020 at 03:26:31PM +0000, Chang, Benjamin wrote:
> Assuming that's right, somehow its overlapping itself? From the attached image (I drew red lines to help separate), the first and second asserts are the same, but the "clear"s are different. Shouldn't the first clear prevent the second assert from being 'behind'/earlier than the first clear? Somehow its stepping backwards in time?
The command is just reporting the last registered assert and clear events, separately. If an assert is missing, the same value will be reported multiple times.
If clear is more reliable, maybe you could use them for synchronization with the :clear option and correct the offset with the offset option?
Ideally, you would configure the GPS to make a longer pulse, or add a pulse stretcher.
BTW, if you need to post screenshots, please upload them somewhere first (e..g. imgur.com) and post just a link here. Thanks.
--
Miroslav Lichvar
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.