Altera_Forum
Honored Contributor
14 years agoPhase Locking an NCO
Hi all,
Is there an easy way to phase-lock an NCO megafunction? Here is my problem: Im trying to take the dot-product of a signal with itself, basically, I generate a sine with an NCO at frequency F1, send it out through an DAC, the signal then gets looped into an ADC where I multiply the now slightly shifted ADC signal by F1. If I do this for multiple frequencies, it has the effect of removing alot of noise. Of course, I wouldn't be looping it from ADC/DAC, I would be using a directional-coupler transmission line and some other RF hardware. Anyway, even using a small loop ~1ft of cable, I get a massive phase shift on the ADC signal. Rather than calibrating this out, it should in theory be easier to just use the phase-mod input of the NCO. Anyone have any ideas they would be willing to share? Thanks Matt