electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

how to design a lock detector for pll


Post new topic  Reply to topic    EDAboard.com Forum Index -> Analog Circuit Design -> how to design a lock detector for pll
Author Message
swicap



Joined: 04 Apr 2004
Posts: 124
Helped: 13


Post07 Apr 2006 17:12   

pll lock edge count


pll's divider ratio changes frequently.
Is there any reliable solution?

thx!
Back to top
MSSN



Joined: 08 Mar 2006
Posts: 232
Helped: 26


Post07 Apr 2006 18:42   

Re: how to design a lock detector for pll


Is it a fractional or integer PLL,and do u want to detect locking within a certain accuracy or just to detect locking,and how does the divider ratio changes
Back to top
safwatonline



Joined: 19 Nov 2005
Posts: 1418
Helped: 172
Location: EGYPT


Post07 Apr 2006 20:57   

Re: how to design a lock detector for pll


i qoute:
"When the PLL is in lock, Clk1 and Clk2 have identical frequency, but their phase difference can show variations. The PLL will try to maintain a phase difference close to zero, as result of the `ideal integrator' functionality of our low-pass filter. Identical frequency means that between every two edges of Clk1, precisely one edge of Clk2 will occur. After an edge has occurred on both Clk1 and Clk2, both left flip-flops are reset by the nand-gate. Only when two edges occur on Clk1 without an intermediate edge on Clk2, the flip-flop in the cycle slip detector will become set. This can only occur if Clk1 has a higher frequency than Clk2."
Back to top
Google
AdSense
Google Adsense




Post07 Apr 2006 20:57   

Ads







Sorry, but you need login in to view this attachment

Back to top
swicap



Joined: 04 Apr 2004
Posts: 124
Helped: 13


Post08 Apr 2006 10:15   

how to design a lock detector for pll


MSSN and safwatonline,
thank u for ur reply.
The lock detector will be used in a fractional pll.
That means the phase difference between ref_clk and div_out_clk will be large some times due to the
changing div_ratio. I want to have a solution which can detect locking with a certern accuracy.
allow maybe 1/4 or 1/8 ref_clk period phase deviation.
Thx.
Back to top
MSSN



Joined: 08 Mar 2006
Posts: 232
Helped: 26


Post08 Apr 2006 12:28   

Re: how to design a lock detector for pll


Ok u can use two counters one to count the cycles of the reference clock and the other to count the cycles of the feedback clock and before overflow of the counter that counts the reference clock u compare between the values of the 2 counters which can tell u if u r in lock if they r equal or near lock if there is small difference or away from lock if there is large difference,however this is the basic idea but u have to choose no. of FFs in the counters according to the accuracy u want and ur frequencies and u have to add some logic to adjust the lock detector when the divider ratio changes,there is other ways to make the lock detector but this is a precise and easy method as it is fully digital,good luck
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Analog Circuit Design -> how to design a lock detector for pll
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
How to implement a PLL lock detector? (7)
PLL: Cycle slipping detector, lock detection, please help (2)
how to measure kpd for a phase detector in a PLL? (3)
How to dectect the lock of PLL? (1)
FPGA - How I use Lock & Unlock to DLL or PLL ? (1)
lock detector (2)
how to model dead-zoon of phase detector of PLL in simulink? (4)
Phase detector for pll at 6 GHz? (5)
help required in designing of phase detector and VCO for PLL (9)
How to design an active loop filter for PLL (6)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS