Цитата(SmarTrunk @ Nov 19 2011, 21:20)

Интересно было бы посмотреть, как делают.
Integrated Circuit Design for High-Speed Frequency Synthesis
John Rogers Calvin Plett Foster Dai
с исключающим ИЛИ , RC фильтом и компаратором
Wiley - Phaselock Techniques ,Floyd M. Gardner, 3rd Edition
с ИЛИ по выходам типа
"A two-input OR gate takes as its inputs the UP and DN outputs of the PFD.
When the PLL is locked with small phase error, neither UP nor DN is true for
any but very short intervals during each comparison cycle. When the PLL is out
of lock, either UP or DN will be true, on average over many cycles, for 50%
or more of the time. The basis of lock detection is to pass the output of the OR
gate through a smoothing filter to extract its average dwell time in the true state
and to compare that average against a suitable threshold (say, 25% average true
dwell time). The PLL is deemed to be locked if the average true time is below
the threshold and unlocked if the average true time is above the threshold.
Lock detectors (all kinds, not just for the PFD) also frequently include a timer
that requires the lock indication to persist for a specified time interval before
phase lock is declared. The timer is started when the average dwell time falls
below threshold and reset to zero whenever the threshold is exceeded before the
timer reaches its specified interval."