Re: [chrony-users] help - UTC time of PPS pulses |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: "chrony-users@xxxxxxxxxxxxxxxxxxxx" <chrony-users@xxxxxxxxxxxxxxxxxxxx>
- Subject: Re: [chrony-users] help - UTC time of PPS pulses
- From: Yoed Stavi <Yoed.Stavi@xxxxxxxxxxxxxxx>
- Date: Wed, 14 Oct 2020 10:23:58 +0000
- Accept-language: en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=harmonicinc.com; dmarc=pass action=none header.from=harmonicinc.com; dkim=pass header.d=harmonicinc.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9VaTx6tp7uhkV3G6raXPdoXyvWb3s8QnBukij/o+43o=; b=aazCFw/c8CVDtiRd8VO3z1yGugHMYlhCFRaM6HsM2Py0c37vv9RTx+KHR/IPDm8Mc9/l2dghjm49ZnkyDRZjsf4fov/NiEQZtEz3qF6MqKwMj4XUZP8Ujl6KX6+SLhkVSFD3vAoo7XZyOW6nb6OsCXIxKMBIQfXcZsMDaSU+UeQ1cJsiplF/aiqOdRzb1KvJ2iJlAOqr2/u/0wkZGpo2uAKvNCrJqH8gK8vOltU0vvh/XYvLLjf9J7IbZcAk9ewRmr3DgFEsgsO59DCyvDrJqhxuQ33/TuKUO/LC8PYs/+WL4d0zdSRkkNV58aCMApQgselL5K4cHJB05h2xLTn3OQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LaJpCxlMkfRNf0/c2VGUEejtzUoLTlpW3oIv13DQsgr672Fc055Oa9gKQFaCxPA9YnPpY9h60kFH1IMg0SsYkpxFGWaJEqVdXiD1qSzIuBSzzmrQI3xvc2ypCgClZnxOCvvIGpaIGyf5gqbfh/alC6eJH5yhe03A0zDjKv1VFsohBfM0R5N95sgcgmi554P50KBjzKtKIJ6sGnOB4JYi9b4OJWpZ0PskbAF6vGlKmb2LVifGCh570Tf7R4L1aqVhnCgEuCwKZCVn6VT3VGcTJxJfd6vd96ICMF1e8v3DNlV7hIug2pXo5wqdb2y5jY8oeDu+NMQ4VMLV+inRPjloIQ==
- Authentication-results: harmonic.fortimail.com; dkim=pass header.i=@harmonicinc.com
- Authentication-results: chrony.tuxfamily.org; dkim=none (message not signed) header.d=none;chrony.tuxfamily.org; dmarc=none action=none header.from=harmonicinc.com;
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=harmonicinc.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9VaTx6tp7uhkV3G6raXPdoXyvWb3s8QnBukij/o+43o=; b=N4ShDlA+yeRI4N2W0zt6PNYJuxLld4FShHHt6m1q8GWTo/708vCiGhRKhjsVZZN6CVGdX7/nOkdnCM0nLOs4UqypfMwIDYJxguFQZ+rjwiXXU5uWZv2CcMmE3y7Ubgl6fs7c8LbC83ynYloRWMqJ6LkNJ+I4DLGc2M6Bfyj/ppw=
- Thread-index: Adah80O+ZxfaNQNsSZK4qRqMDigJbQ==
- Thread-topic: [chrony-users] help - UTC time of PPS pulses
Hi Miroslav,
Thank you for your comments.
We have chronyd configured with a reference NTP server and a PPS in addition.
In my understanding this configuration sets the time according to the NTP server and then maintains the frequency with the PPS.
I was under the assumption that the GPS pulses are not precisely aligned with whole UTC seconds.
I need to know the offset between the pulses and the UTC seconds in order to create timestamps that are relative to the pulses rather than UTC seconds..
In the refclocks log I see the following:
2020-10-14 08:47:09.000003 PPS 7 N 1 -3.747000e-06 -3.382498e-06 2.200e-08
So now I'm thinking: if each of these lines is a GPS pulse, maybe my assumption is wrong and the pulses are aligned with UTC seconds.
And possibly the offset that I've been measuring is due to transmission delay of the ASI card.
Thank you,
Yoed.
-----Original Message-----
From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Sent: Tuesday, 13 October 2020 13:30
To: chrony-users@xxxxxxxxxxxxxxxxxxxx
Subject: [EXTERNAL] Re: [chrony-users] help - UTC time of PPS pulses
On Tue, Oct 13, 2020 at 10:03:10AM +0000, Yoed Stavi wrote:
> Hi,
>
> I use Chrony as our NTP client and also for PPS synchronization.
> This works great.
> The same server creates a DVB-T transport (MPEG-2 TS with MIP packets). The DVB-T protocol includes timestamps that should be relative to GPS pulses..
> Since the DVB-T software doesn't know when the GPS pulses are (only Chrony knows that), I set the timestamps to be relative to whole UTC seconds instead of GPS pulses.
>
> I would like to improve by knowing the offset between GPS pulses and UTC seconds as it is measured by Chrony (from my measurements the result should be between 230-250 milliseconds).
I'm not sure if I understand your goal correctly. You have chronyd configured to synchronize the system clock to UTC using a PPS signal coming from a GPS receiver and you want to measure the offset between the PPS and UTC? That would be the offset that chronyd is minimizing, i.e. it should be close to zero. The measurements can be reported by the "chronyc sources" command, and also in the refclocks log if enabled.
--
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.