[time-nuts] Fw: How to detect PLL lock

Poul-Henning Kamp phk at phk.freebsd.dk
Sun Nov 7 14:06:20 UTC 2010


If you have a microcontroller, isn't it simpler to just look for
convergence in the development of the error term ?

You're probably not in any big hurry for exact convergence anyway,
so overdampen the PLL and simply check that the redidual decreases
towards zero.

Once you have locked the PLL, the fastest way to detect loss of
lock, in particular if you use too high time-constant, is the
too low frequency of zero crossings in the residual.

Poul-Henning


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the time-nuts mailing list