bjox1 said:Sorry Nigel, I am finding very hard to analyse ur solution . Please enlighten me.
I may have explained it wrongly. That’s the whole task:
1) User will choose any frequency from 500 Hz to 10kHz.
2) Then same frequency signal will be tap down to TWO signals. One will be the reference and the other will go through this unknown delay circuit.
3) My aim will be to find the value of the phase difference hence determining the unknown circuit [phase value].
I understood you before, but as you will be using different frequencies the absolute time of the high pulse doesn't provide you enough information, you need to know the time of the low pulse as well, so you can calculate the lag in degrees. Knowing the frequency would do the same thing, and by measuring both high and low, you are in effect measuring the frequency.