27 Tiny Phase/Frequency Detector

27 : Tiny Phase/Frequency Detector

Design renderSelect Project123456789ONSW2
  • Author: argunda
  • Description: Detect phase shifts between 2 square waves.
  • GitHub repository
  • Clock: 0 Hz

How it works

This is one of the blocks of a phased locked loop. The inputs are a reference clock and feedback clock and the outputs are the phase difference on either up or /down pin.

How to test

If the phase of the feedback clock is leading the reference clock, the up signal should show the phase difference. If it's lagging, the down signal will show the difference.

External hardware

Signal generators for square wave inputs.

IO

#InputOutput
0reference clockup
1feedback clock(inverted) down
2active-low reset
3
4
5
6
7