www.fairchildsemi.com 10
74VHC4046
Detailed Circuit Description (Continued)
FIGURE 2. Logic Diagram for Phase Comparator I and the Common Inp ut Circuit for All Three Comparators
FIGURE 3. Typical Phase Comparator I. Waveforms
Thus in normal operation VCC and ground voltage levels
are fed to the loop filter. This differs from some phase
detectors which supply a current output to the loop filter
and this should be considered in the design. (The CD4046
also provides a voltage.)
Figure 4 shows the state tables for all three comparators.
PHASE COMPARATOR I
This comparator is a simple XOR gate similar to the
74HC86, and its operation is similar to an overdriven bal-
anced modulator. To maximize lock range the input fre-
quencies must have a 50% duty cycle. Typical input and
output waveform s ar e sh own i n Fig u re 3. T he out put of th e
phase detector feeds the loop filter which averages the out-
put voltage. The frequency range upon which the PLL will
lock onto if initially out of lock is defined as the capture
range. The capture range for phase detector I is dependent
on the loop filter employed. The capture range can be as
large as the lock range which is equal to the VCO fre-
quency range.
To see how the detecto r operates r efer to Figure 3. When
two sq uare wave inputs are applied to this com parator, an
output waveform whose duty cycle is dependent on the
phase difference between the two signals results. As the
phase d ifference i ncr eas es th e o utpu t du ty cyc l e incr ea ses
and the voltage after the loop filter increases. Thus in order
to achieve lock, when the PLL input frequency increases
the V CO in put volta ge mu st incre ase and th e phas e differ-
ence between co mparator in and signal in will increase. At
an input frequency equal fMIN, the VCO input is at 0V an d
this re quir es the pha se de tector outpu t to be gro und hen ce
the two input signals must be in phase. When the input fre-
quency is fMAX then the VCO input must be VCC and the
phase detector inputs must be 180° out of phase.
The XO R is m ore sus cept ible to l ocking onto h armon ics of
the sign al input than th e digital p hase detecto r II. Thi s can
be seen by noticing that a signal 2 times the VCO fre-
quency results in the same output duty cycle as a signal
equal t he VCO freque ncy. The di fference is t hat the out put
frequency of the 2f example is twice that of the other exam-
ple. The lo op filte r and the VCO range shou ld be designed
to prevent locking on to harmonics.
PHASE COMPARATOR II
This detector is a digital memory network. It consists of four
flip-flop s and s ome gating logi c, a th ree sta te outp ut an d a
phase pul se ou tput a s shown i n Fig ur e 5. This comparator
acts on ly on the po sitive edges of the inpu t signals an d is
thus independent of signal duty cycle.
Phase comparator II operates in such a way as to force the
PLL into lock with 0 phase difference between the VCO
output and the signal input positive waveform edges. Fig-
ure 6 shows some typical loop waveforms. First assume
that the si g nal i n put pha se is lead i ng t he c om par ato r i np ut.
This me an s th at th e VCO’s frequency must be increased to
bring its leading edge into proper phase alignment. Thus
the phase detector II output is set HIGH. This will cause the
loop filter to charge up th e VCO input increa sing the VCO
frequency. Once the lea ding edge of t he comparato r input
is detected the output goes 3-STATE holding the VCO
input at the loop filter voltage. If th e VCO still lags the sig-
nal then the phase detector will again charge up to VCO
input for the ti m e be twee n the le adin g edg es of both wa ve-
forms.