Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Time/Phase measurement circuit

Status
Not open for further replies.

AdvaRes

Advanced Member level 4
Joined
Feb 14, 2008
Messages
1,163
Helped
113
Reputation
220
Reaction score
51
Trophy points
1,328
Location
At home
Activity points
7,442
phase measurement circuit

Hi members,

Is there a circuit able to measure the delay between 2 pulses ?
The two input signals comes from 2 clocks having the same frequency f and the delay d is supposed to be very small compared to f (d<<f). For instance, my Idea is to convert this difference in phase into a voltage.
Do you know any circuit doing that ?
 

high speed analog phase measurement circuit

phase detector followed by Charge pump
 

Re: Time/Phase measurement

safwatonline said:
phase detector followed by Charge pump
Hi safwatonline,
Thanks for the prompt reply.
You proposed the PFD and CP as a solution. The Idea is ok but there is a problem. Actually I got this Idea in mind with a Filter in order to convert this phase difference into a Voltage like inside a PLL. Given that the phase is always constant the CP will constantly Charge (or discharge) the filter.

Maybe this technique can work if I use only one pulse of each clock to measue the delay however here another problem arise. let say the delay is 1/(Frequency*10). Since the frequency is high the delay will be small. As solution I have to use whether a High current or small capacitances to charge the filter's capacitance during this short perid.
You know there is a leakage in the capacitance so the question become how to maintain this voltage constant ?
 

Time/Phase measurement

well, maybe a PD followed by a time to digital converter (Counter for instance)
 

    AdvaRes

    Points: 2
    Helpful Answer Positive Rating
Re: Time/Phase measurement

safwatonline said:
well, maybe a PD followed by a time to digital converter (Counter for instance)

Thanks, but this does not work in my case. I said that delay D is too smal compared to clock period. If I adopt this technique I'll be obliged to use a extremely high speed clock signal to synch the counter (at least let say 4/D).
Look. Let say the two signals are 2 GHz and that the delay is 1/(10*2Gh)=50ps so we'll need a 80 GHz clock signal for counting !!!

Your Idea is ok but not applicaple for small phase measurement.

Only with anlaog design this can be possible.
 

Re: Time/Phase measurement

I would XOR (or XNOR) these signals and output run to the MCU's capture unit :wink:
 

Re: Time/Phase measurement

I would use one pulse to set, and the other pulse to reset, and SR flip flop. Then I would R-C lowpass filter the flip flop output Q, and use the DC value across the capacitor that is proportional to the delay between the two pulses.

There are other circuits, such as a ramp generator triggered by pulse 1, and sample and hold the ramp triggered by pulse 2, then reset the ramp generator. etc.
 

Re: Time/Phase measurement

Hi all,
Thank you for the Ideas.
biff44 said:
I would use one pulse to set, and the other pulse to reset, and SR flip flop. Then I would R-C lowpass filter the flip flop output Q, and use the DC value across the capacitor that is proportional to the delay between the two pulses.
This ressemble to the PFD/CP+filter that I mensionned. I'm sure that this technique can give good result and I'm going in that direction.
Suppose that the circuit received two pulses: the first charges the filter the second stops charging it. So we got a certain Voltage let say 1.2 V. With time this voltage will decrease due to the leakage in the filter/CP that's why I need another circuit ( a kind of anlaog memory) that permit to memorise by maintaining the 1.2 V stable.
 

Re: Time/Phase measurement

you said they were "clocks", so I assumed they were repetitive waveforms. As such, you choose the R-C lowpass to not droop much between each pulse train pair event.

Otherwise, use a sample and hold, which can have different attack and decay times.
 

Re: Time/Phase measurement

biff44 said:
you said they were "clocks", so I assumed they were repetitive waveforms. As such, you choose the R-C lowpass to not droop much between each pulse train pair event.

Otherwise, use a sample and hold, which can have different attack and decay times.

Yes two clocks but I'll use only one pulse of each to measure the phase between them.
 

Re: Time/Phase measurement

AdvaRes:

but in your solution you have to find time to voltage function to know phase shift (ala time difference) from measured voltage. Moreover, capacitors don't have accurate value (sometimes +-20%). In my solution you measure exactly phase shift in time :p


And Capture/Compare units implemented in almost every good CPU are designed exactly for these application.
 

Re: Time/Phase measurement

LordAli said:
AdvaRes:

but in your solution you have to find time to voltage function to know phase shift (ala time difference) from measured voltage. Moreover, capacitors don't have accurate value (sometimes +-20%). In my solution you measure exactly phase shift in time :p


And Capture/Compare units implemented in almost every good CPU are designed exactly for these application.

Yeah sure thanks Ali. But I'm not using MCUs. Maybe I'll use instead that an ADC.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top