EveryCircuit
Contact
Reviews
Home
454bigblock
modified 8 years ago

XOR phase comparator demo

3
0
232
03:12:35
The output of the phase comparator is high when the 2 phases being compared are different creating a duty cycle that is equal to the difference. This can then go through a low pass filter to average it out to a DC voltage level representation of the phase difference that can be read by a micro controller's ADC or a VCO to make a PLL. If you have 2 sine waves I find it best to use a voltage comparator to convert them to square wave pulses before going into the phase comparator. Turn up the delay % of the green pulse to increase the phase difference, increasing the duty cycle of blue and the voltage of red.
published 8 years ago

EveryCircuit is an easy to use, highly interactive circuit simulator and schematic capture tool. Real-time circuit simulation, interactivity, and dynamic visualization make it a must have application for professionals and academia. EveryCircuit user community has collaboratively created the largest searchable library of circuit designs. EveryCircuit app runs online in popular browsers and on mobile phones and tablets, enabling you to capture design ideas and learn electronics on the go.

Copyright © 2026 by MuseMaze, Inc.     Terms of use     Privacy policy