Re: [Ntp] Antw: [EXT] Re: Temperature Compensation for NTP?

Kurt Roeckx <kurt@roeckx.be> Thu, 10 December 2020 20:09 UTC

Return-Path: <kurt@roeckx.be>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D675D3A125E for <ntp@ietfa.amsl.com>; Thu, 10 Dec 2020 12:09:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id umdMOq3k6bOj for <ntp@ietfa.amsl.com>; Thu, 10 Dec 2020 12:09:32 -0800 (PST)
Received: from excelsior.roeckx.be (excelsior.roeckx.be [IPv6:2a05:7300:0:100::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 929B33A1267 for <ntp@ietf.org>; Thu, 10 Dec 2020 12:09:32 -0800 (PST)
Received: from intrepid.roeckx.be (localhost [127.0.0.1]) by excelsior.roeckx.be (Postfix) with ESMTP id 7FC3FA8A0105; Thu, 10 Dec 2020 20:09:29 +0000 (UTC)
Received: by intrepid.roeckx.be (Postfix, from userid 1000) id EC8E21FE0DE7; Thu, 10 Dec 2020 21:09:28 +0100 (CET)
Date: Thu, 10 Dec 2020 21:09:27 +0100
From: Kurt Roeckx <kurt@roeckx.be>
To: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
Cc: Hal Murray <hmurray@megapathdsl.net>, "ntp@ietf.org" <ntp@ietf.org>
Message-ID: <X9KAdxymV4zU785X@roeckx.be>
References: <stenn@nwtime.org> <d406413e-c539-cb74-daf4-5298a8a1db83@nwtime.org> <20201208233226.B32FA40605C@ip-64-139-1-69.sjc.megapath.net> <X9Epanr9dQLoSN1F@roeckx.be> <E2D840D202000079822C0D04@gwsmtp.uni-regensburg.de> <A8BA9FB90200001343047E14@gwsmtp.uni-regensburg.de> <8ABB715F020000BE51F0AC03@gwsmtp.uni-regensburg.de> <5FD1D4AB020000A10003D717@gwsmtp.uni-regensburg.de>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <5FD1D4AB020000A10003D717@gwsmtp.uni-regensburg.de>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/2PUexKNMGYRnRQP56zNSCZ95DOo>
Subject: Re: [Ntp] Antw: [EXT] Re: Temperature Compensation for NTP?
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 10 Dec 2020 20:09:35 -0000

On Thu, Dec 10, 2020 at 08:56:27AM +0100, Ulrich Windl wrote:
> >>> Kurt Roeckx <kurt@roeckx.be> schrieb am 09.12.2020 um 20:45 in Nachricht
> <X9Epanr9dQLoSN1F@roeckx.be>:
> > On Tue, Dec 08, 2020 at 03:32:26PM ‑0800, Hal Murray wrote:
> >> kurt@roeckx.be said:
> >> > I think defining NTP as a impulse response is the wrong approach. It's
> an
> >> > implementation detail. If other systems use different algorithms, it
> should
> >> > only have an effect on the uncertainty. If it causes big problems, it's
> an
> >> > implementation problem. 
> >> 
> >> Not quite.  It's easy to get problems when chaining PLLs.  I don't 
> > understand 
> >> it well enough to explain and I don't have a handy reference.
> >> 
> >> The typical problem is that somebody tweaks a time constant so his system 
> >> recovers faster, then months later something crazy happens when triggered
> by 
> > 
> >> the right input data.
> > 
> > As far as I know, NTP's impulse response overshoots to have a
> > faster response. And gettings a chain to work with overshooting
> 
> I'm not deep in that subject, but couldn't a non-overshooting response be
> compensated by feeding samples at a higher rate (smaller "poll")?

I'm not sure what you mean with compensated.

If you have a higher sample frequency with the same impluse resonse,
you will also faster change your phase to match. The same impulse
response at different sample frequency means that it takes the
same amount of samples.

Note that if you want the same impulse response at different
sample frequencies, you need different feedback parameters.

So with a damped / undershooting response and a higher sample
frequency you can have a faster response.


Kurt