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 [email protected] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. _______________________________________________ time-nuts mailing list -- [email protected] To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.
