Forum Discussion
Altera_Forum
Honored Contributor
15 years agoHow to determine if 2 signals are in quadrature
Hello friends, I need to determine if two signals are precisely on 90 deg. phase. In fact, there is a xor phase comparator and I try to catch lock condition as indicator (for viewing purposes, ...
Altera_Forum
Honored Contributor
15 years agoXor will help detection of phase difference but can't measure actual difference.
If your signals are two sine waves (sine/cos) and known frequency then try this simple idea: delay one signal one sample at a time until both are equal in phase as indicated by xor and measure your delay relative to frequency to see if it is 1/4 cycle or 3/4 cycle