CN1325186A - Digital phase-locked loop method fo suppressing low frequency drift of clock - Google Patents

Digital phase-locked loop method fo suppressing low frequency drift of clock Download PDF

Info

Publication number
CN1325186A
CN1325186A CN 00119876 CN00119876A CN1325186A CN 1325186 A CN1325186 A CN 1325186A CN 00119876 CN00119876 CN 00119876 CN 00119876 A CN00119876 A CN 00119876A CN 1325186 A CN1325186 A CN 1325186A
Authority
CN
China
Prior art keywords
phase
clock
frequency
locked loop
integral coefficient
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 00119876
Other languages
Chinese (zh)
Other versions
CN1172445C (en
Inventor
何赵钢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CNB001198769A priority Critical patent/CN1172445C/en
Publication of CN1325186A publication Critical patent/CN1325186A/en
Application granted granted Critical
Publication of CN1172445C publication Critical patent/CN1172445C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The present invention relates to a digital phase-locked loop method capable of inhibiting clock low frequency wonder. Said method is characterized by that firstly, the higher phase-comparision frequency is adopted, the phase-locked loop parameter is set into higher scale factor, lower integral coefficient is used for quick trapping input clock, if the current clock is lock, the lower phase-comparision frequency, lower scale factor and higher integral coefficient are adopted for continuously trapping input clock source; if current clock is locked, the slow tracking mark is set, and the lower phase-comparision frequency, lower scale factor and higher integral coefficient are continuously adopted for tracking input clock source, then according to obtained phase demodulation difference value the correspondent D/A conversion value can be calculated to control voltage-controlled oscillator.

Description

A kind of digital phase-locked loop method of energy anti-creep clock low-frequency
The present invention relates to the clock phase-locked loop of communication transmission field, especially relate to the digital phase-locked loop that needs the anti-creep clock low-frequency occasion.
Digital phase-locked loop is any communication transmission field necessary tool, it is based on the synchronization principles of phase-locked loop, adopt digital form, follow the tracks of an input reference clock source, output clock and input clock draw one and differ (difference on the frequency) value after comparing through phase place (frequency), pass through the low-pass filtering algorithm again, remove to control voltage controlled oscillator (VCXO), final feasible output clock and the strict maintenance of input clock are with frequency.
General digital phase-locked loop all comprises digital phase discriminator, low pass filter and voltage controlled oscillator three parts.Digital phase discriminator detects the phase difference of input clock source and output clock, and low pass filter draws a controlling value according to the testing result of digital phase discriminator through the low-pass filtering algorithm, exports clock behind the control voltage controlled oscillator.The low-pass filtering algorithm, promptly phase-lock-loop algorithm generally all adopts several groups of parameters, comprise and catch parameter and tracking parameter, the scope of wherein catching the parameter capture clock is bigger, is reflected in that promptly to approach step-length on the algorithm bigger, the proportionality coefficient that is adopted is bigger, and the corresponding clock shake is also bigger certainly; And the tracking parameter catching range is less, is reflected in that promptly to approach step-length on the algorithm less, and the proportionality coefficient that is adopted is also less, and integral coefficient is bigger, and the corresponding clock shake is less.
Traditional digital phase-locked loop is generally more intense to the inhibition ability of clock high dither, and relatively poor to the low frequency wonder inhibition ability of clock comparatively speaking.This is mainly relevant with the general service of phase-locked loop.Because in the ordinary course of things, we need phase-locked loop to produce one and the tightly coupled output clock in input clock source, and promptly the tracking performance of phase-locked loop is better, and the output clock can reflect the variation in input clock source in real time.On specific implementation, the integral element that is reflected in this phase-locked loop a little less than, proportional component is stronger.At common transmission field, above-mentioned phase-locked loop can be competent at.But in some practical application, high as the frequency stability of clock is required, and the input clock source be can not guarantee stability because line clock is very poor the time, above-mentioned phase-locked loop is promptly not competent.As the 2M data by after the SDH transmission, will introduce shake and drift, the occasion of some difference has frequency reaches 6~7ppm in 0.01HZ, amplitude drift, line clock drifts about on so low frequency, is to be difficult to allow export clock and remain on a more stable frequency (as within ± the 1ppm) with traditional tightly coupled phase-locked loop.
Purpose of the present invention just is to provide a kind of new digital phase-locked loop implementation method, and it can effectively suppress the low frequency wonder of clock, and adaptive control can reduce the clock pull-in time again than phase frequency as far as possible, and the line clock of a high stability is provided for transmission system.
For realizing purpose of the present invention, adopted following technical scheme:
1) after phase-locked loop begins, at first judge the current slow tracking mode that whether is in, if,
Then detect and differ execution in step 5; If not, then begin quick seizure, promptly adopt
With 4000 ~ 16000 than phase frequency, pll parameter is arranged to 2000 ~ 10000
Proportionality coefficient, 0.000001 ~ 0.0001 integral coefficient;
2) input reference source and the phase difference of exporting between the clock are read in circulation, each time with mutually
Phase difference between neighbour's a reference source last time and the output clock is made comparisons, and it is poor to draw phase demodulation
Value;
3) judge whether approach locking of clock according to the phase demodulation difference; If also not near lock
Fixed, then continue to catch, promptly calculate corresponding digital-to-analogue according to the phase demodulation difference that obtains
Conversion value (DA) removes to control voltage controlled oscillator (VCXO) after converting aanalogvoltage to,
And return; If present clock is approach locking, then adopt 8 ~ 32 than phase frequency,
Pll parameter also is arranged to 100 ~ 500 proportionality coefficient, 0.01 ~ 1 integration system
Number continues to catch the input clock source;
4) judge whether to lock; If also not locking then continues to catch, i.e. basis
The phase demodulation difference that obtains calculates corresponding dac value (DA), converts simulation to
Remove to control voltage controlled oscillator (VCXO) behind the voltage, and return; If present clock
Through locking, then put slow tracking mark, and continue to adopt 8 ~ 32 than phase frequency, 100 ~ 500
Proportionality coefficient and 0.01 ~ 1 integral coefficient, follow the tracks of the input clock source;
5) judge whether losing lock of clock; If there is not losing lock, then continue to catch, promptly according to getting
To the phase demodulation difference calculate corresponding dac value (DA), convert analog electrical to
Remove to control voltage controlled oscillator (VCXO) after the pressure, and return; If losing lock, then
Switching clock source adopts 8 ~ 32 than phase frequency, and pll parameter also is arranged to 100 ~ 500
Proportionality coefficient, 0.01 ~ 1 integral coefficient is caught the input clock source again.
In above-mentioned digital phase-locked loop implementation method, can suppress the low frequency wonder of line clock to a certain extent again fast near the line clock source, thereby satisfy the requirement of goal systems line clock, keep the stability of output clock simultaneously.
Below in conjunction with accompanying drawing and specific embodiment the present invention is done further detailed description.
Fig. 1 is a second order digital phase-locked loop model schematic diagram;
Fig. 2 is the schematic diagram of the specific implementation of digital phase-locked loop;
Fig. 3 is than phase frequency adjustment schematic diagram;
Fig. 4 is the phase-locked loop schematic flow sheet after improving;
Present embodiment adopts traditional second order two type digital phase-locked loops on software algorithm.The Mathematical Modeling of second order digital phase-locked loop as shown in Figure 1.
F among the figure (s) is the transfer function of low pass filter, and K is a loop gain.F (s)=1+a/s, a are integral coefficient.The closed loop transfer function, of phase-locked loop is:
H (s)=θ 0(s)/θ i(s)=(2 ξ ω s+ ω 2)/(s 2+ 2 ξ ω s+ ω 2) ξ in the formula=(K/4a) 1/2, ω=(aK) 1/2ξ is a damping coefficient, and ω is a free oscillation frequency.
As long as ξ, ω are selected, can obtain K and a value by last two formulas.
As can be seen, H (s) has low-pass characteristic, and is proper as long as ξ, ω select, the just shake of filtering input phase preferably.Narrow bandwidth (ξ, ω product little) can effectively suppress shake, locked-center frequency exactly, but follow-up control is poor, generally is used in when catching; Increased bandwidth (ξ, ω product big) can improve follow-up control, but cause bigger phase jitter, generally is used in when following the tracks of.
Actual phase lock circuitry model as shown in Figure 2.Wherein Programmable Logic Controller is finished phase demodulation (position A among Fig. 2), and one of them input clock is the input clock source, and another input clock is the clock source of feedback, i.e. the clock of this phase-locked loop output; CPU finishes phase locked algorithm, i.e. the transfer algorithm of the transfer function of low pass filter and various parameters (being phase-locked program) is shown in position B among Fig. 2.K is the proportionality coefficient of phase-locked loop, and a is an integral coefficient; Export digital to analog converter D/A control voltage controlled oscillator (VCXO) (position C among Fig. 2) to through conversion.
Wherein than phase frequency in the programming device internal regulation, the phase-locked loop operation frequency with also be the part of whole phase-locked loop proportional component than the ratio of frequency mutually.
Theoretical and experimental analysis shows, after the phase-locked loop program begins, at first adopts quick method for catching, can adopt on the hardware 4000 ~ 16000 than phase frequency, then adopt 2000 ~ 10000 proportionality coefficient on the software, 0.000001 ~ 0.0001 integral coefficient.The capture velocity of phase-locked loop is very fast like this, can be very fast near the clock source.When near the clock source, then adopt on the hardware 8~32 than phase frequency, adopt 100 ~ 500 proportionality coefficient on the software, 0.01 ~ 1 integral coefficient continue to be caught the input clock source, until locking; If present clock locks, then continue to adopt identically on the hardware than phase frequency, adopt identical proportionality coefficient on the software, identical integral coefficient is followed the tracks of the input clock source; In tracing process, need judge whether because lose in the clock source, deterioration etc. is former thereby cause the clock losing lock, if the clock source is lost or is worsened, then need switching clock source, and use lose with the clock source or worsen before identical tracking parameter catch new clock source, to keep frequency, the phase continuity of phase-locked loop output clock; In the middle of the control cycle of each voltage controlled oscillator, software can be selected the length of integral element as required, the phase demodulation difference integrated value filtering within a period of time, calculate corresponding dac value (DA) by low pass filter algorithm of the present invention again, remove to control voltage controlled oscillator (VCXO), output frequency after converting aanalogvoltage to.
Adjusting than phase frequency as shown in Figure 3, general steps is as follows:
The input clock source is before carrying out phase demodulation, earlier through two different frequency dividing ratios, as be respectively 1024 and 8192 frequency divider, be respectively first frequency divider 301 and second frequency divider 302, through two different frequency clocks behind the frequency division, through a first frequency selector 307, enter an end of phase discriminator 310 by control signal control; Simultaneously, the output clock of phase-locked loop is before carrying out phase demodulation, also through the tri-frequency divider 303 and the four-divider 304 of two different frequency dividing ratios, through two different frequency clocks behind the frequency division, through a second frequency selector 308, enter the other end of phase discriminator 310 by identical control signal control; Wherein, the control signal of first frequency selector 307 and second frequency selector 308 is same control signal.Two clocks phase difference output behind phase discriminator 310 phase demodulations is as the control signal that enables of counter 311.In addition, the high-frequency pulse signal that also needs a given frequency in the programming device, this high-frequency pulse signal is also through the five frequency divider 305 and the 6th frequency divider 306 of two different frequency dividing ratios, through two different frequency clocks behind the frequency division, through the 3rd frequency selector 309, as the count pulse input of counter 311 with first frequency selector 307 and the 308 same control signal controls of second frequency selector.Like this, the output of counter 311 be exactly the input clock source with phase-locked loop output clock through the phase difference value behind the identical frequency division.As can be seen from the figure, as long as, just can change than phase frequency easily by control first frequency selector 307, second frequency selector 308 and the 3rd frequency selector 309.Simultaneously, not on year-on-year basis during the phase frequency rate, all clocks all recently carry out frequency division according to identical frequency division, so the phase demodulation difference of gained also is identical at phase difference fixedly the time.
The total flow process of this phase-locked loop as shown in Figure 4, specifically describe as follows: after phase-locked loop began, at first execution in step 401, judged whether current be slow tracking mode.If not, then execution in step 402, adopt on the hardware 4000 ~ 16000 than phase frequency, adopt 2000 ~ 10000 proportionality coefficient on the software, 0.000001 ~ 0.0001 integral coefficient when the input clock source is 19.44MHZ in the transmission field, can get 8000 than phase frequency, proportionality coefficient can get 8000, and integral coefficient can get 0.00001; Execution in step 403 then, detect differing of input clock source and output clock; According to testing result, execution in step 404 judges whether approach locking; If there is not approach locking, then execution in step 405, continue to catch the input clock source, and execution in step 411 again, by the low-pass filtering algorithm, draw the controlling value of digital-to-analogue conversion, again through voltage controlled oscillator output clock; If when carrying out above-mentioned 404 steps, judged result is approach locking, then execution in step 406, adopt on the hardware 8 ~ 32 than phase frequency, adopt 0.01 ~ 1 integral coefficient on the software, 100 ~ 500 proportionality coefficient, when the input clock source is 19.44MHZ in the transmission field, can get 16 than phase frequency, proportionality coefficient can get 200, and integral coefficient can get 0.1; And then execution in step 407, judge whether locking; If not locking, then execution in step 405, continue to catch; If lock, then execution in step 408, put slow tracking mark position, adopt the proportionality coefficient identical with step 406, integral coefficient and than phase frequency, and begin to follow the tracks of the input clock source; Execution in step 409 then, judge whether losing lock, if there is not losing lock, then execution in step 411, by the low-pass filtering algorithm, draw the controlling value of digital-to-analogue conversion, again through voltage controlled oscillator output clock; If losing lock, then execution in step 410, switch available clock source, and execution in step 412 again, differ detection, and the input clock source is caught in beginning again.If judge it is to follow the tracks of slowly at step 401 place, then directly detection differs, and then execution in step 409.
For following real system, the line clock in input clock source, performance is poor, specific targets are 0.1HZ for shake (drift) frequency, shake (drift) amplitude is native 20UI, and the system requirements phase-locked loop is exported the clock frequency stability within ± 1ppm: a) phase demodulation counting clock frequency: 16.384MHz; B) D/A precision: 13; C) VCXO nominal frequency: 16.384MHz; Voltage range: 0.5~4.5V; Voltage-controlled scope: ± 9ppm; D) CPU78C32 dominant frequency: 16.384MHZ
If native system adopts traditional phase-locked loop, employing remain 8kHZ than phase frequency; The output clock index of this phase-locked loop for shake (drift) amplitude greater than ± 9ppm, can not satisfy system and require clock frequency stability index.
At said system, present embodiment has adopted two kinds than phase frequency, is respectively 8kHZ and 16HZ, according to the described flow process of Fig. 4, obtains output clock index and has satisfied system requirements, and specific targets are:
Clock source input: chattering frequency=0.1Hz, jitter amplitude=± 20.00UI
Phase-locked loop output: maximum frequency deviation=0.31ppm, jitter amplitude=0.6UI
From These parameters as can be seen, the stability of clock output has reached the requirement of system.

Claims (6)

1, a kind of digital phase-locked loop method of energy anti-creep clock low-frequency may further comprise the steps: after 1) phase-locked loop begins, at first judge the current slow tracking mode that whether is in, if then detect and differ execution in step 5); If not, then begin quick seizure, promptly adopt 4000 ~ 16000 than phase frequency, pll parameter is arranged to 2000 ~ 10000 proportionality coefficient, 0.000001 ~ 0.0001 integral coefficient; 2) input reference source and the phase difference of output between the clock are read in circulation, each time and adjacent last time a reference source and the phase difference exported between the clock make comparisons, draw the phase demodulation difference; 3) judge whether approach locking of clock according to the phase demodulation difference; If also there is not approach locking, then continue to catch, promptly calculate corresponding dac value (DA) according to the phase demodulation difference that obtains, remove to control voltage controlled oscillator (VCXO) after converting aanalogvoltage to, and return; If present clock is approach locking, then adopt 8 ~ 32 than phase frequency, pll parameter also is arranged to 100 ~ 500 proportionality coefficient, and 0.01 ~ 1 integral coefficient continues to catch the input clock source; 4) judge whether to lock; If also not locking then continues to catch, promptly calculate corresponding dac value (DA) according to the phase demodulation difference that obtains, remove to control voltage controlled oscillator (VCXO) after converting aanalogvoltage to, and return; If present clock locks, then put slow tracking mark, and continue to adopt 8 ~ 32 than phase frequency, 100 ~ 500 proportionality coefficient and 0.01 ~ 1 integral coefficient, follow the tracks of the input clock source; 5) judge whether losing lock of clock; If there is not losing lock, then continue to catch, promptly calculate corresponding dac value (DA) according to the phase demodulation difference that obtains, remove to control voltage controlled oscillator (VCXO) after converting aanalogvoltage to, and return; If losing lock, then switching clock source adopts 8 ~ 32 than phase frequency, and pll parameter also is arranged to 100 ~ 500 proportionality coefficient, and 0.01 ~ 1 integral coefficient is caught the input clock source again.
2, a kind of digital phase-locked loop method that can anti-creep clock low-frequency according to claim 1 is characterized in that: get 8000 than phase frequency in the described step 1), proportionality coefficient gets 8000, and integral coefficient gets 0.00001.
3, a kind of digital phase-locked loop method that can anti-creep clock low-frequency according to claim 1 and 2 is characterized in that: get 16 than phase frequency in the described step 3), proportionality coefficient gets 200, and integral coefficient gets 0.1.
4, the digital phase-locked loop method of a kind of energy anti-creep clock low-frequency according to claim 1 and 2, it is characterized in that: in described step 4), employing identical with step 3) than phase frequency, proportionality coefficient and integral coefficient, follow the tracks of the input clock source.
5, the digital phase-locked loop method of a kind of energy anti-creep clock low-frequency according to claim 1 and 2, it is characterized in that: in the described step 5), for keeping the flatness of clock, employing identical with step 3) than phase frequency, proportionality coefficient and integral coefficient, catch the input clock source again.
6, the digital phase-locked loop method of a kind of energy anti-creep clock low-frequency according to claim 1 and 2, it is characterized in that: adaptive control is than phase frequency.
CNB001198769A 2000-08-31 2000-08-31 Digital phase-locked loop method fo suppressing low frequency drift of clock Expired - Fee Related CN1172445C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB001198769A CN1172445C (en) 2000-08-31 2000-08-31 Digital phase-locked loop method fo suppressing low frequency drift of clock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB001198769A CN1172445C (en) 2000-08-31 2000-08-31 Digital phase-locked loop method fo suppressing low frequency drift of clock

Publications (2)

Publication Number Publication Date
CN1325186A true CN1325186A (en) 2001-12-05
CN1172445C CN1172445C (en) 2004-10-20

Family

ID=4588109

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB001198769A Expired - Fee Related CN1172445C (en) 2000-08-31 2000-08-31 Digital phase-locked loop method fo suppressing low frequency drift of clock

Country Status (1)

Country Link
CN (1) CN1172445C (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009545B (en) * 2007-01-05 2011-04-27 华为技术有限公司 A phase lock loop adjusting method and device for adjusting phase lock loop
CN102130765A (en) * 2007-01-05 2011-07-20 华为技术有限公司 Method for adjusting phase-locked loop
CN101414821B (en) * 2007-10-16 2012-07-04 联发科技股份有限公司 Error protection method
WO2016184018A1 (en) * 2015-05-19 2016-11-24 中兴通讯股份有限公司 Clock output method and apparatus

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009545B (en) * 2007-01-05 2011-04-27 华为技术有限公司 A phase lock loop adjusting method and device for adjusting phase lock loop
CN102130765A (en) * 2007-01-05 2011-07-20 华为技术有限公司 Method for adjusting phase-locked loop
CN101414821B (en) * 2007-10-16 2012-07-04 联发科技股份有限公司 Error protection method
WO2016184018A1 (en) * 2015-05-19 2016-11-24 中兴通讯股份有限公司 Clock output method and apparatus
CN106301748A (en) * 2015-05-19 2017-01-04 中兴通讯股份有限公司 Clock output intent and device

Also Published As

Publication number Publication date
CN1172445C (en) 2004-10-20

Similar Documents

Publication Publication Date Title
CN101159433B (en) Fast locked phase-locked loop circuit
EP0386139A1 (en) Digital phase locked loop with bounded jitter
US6919744B2 (en) Spectrum profile control for a PLL and the like
CA2555468C (en) Improvement of the coarse tuning time in pll with lc oscillator
CN1630196A (en) Clock synchroniser
CN1731681A (en) Double-loop frequency synthesizer and method for tuning coarse loop
CN1201490C (en) Phase synchronous circulation circuit and data regenerator
US6226339B1 (en) Method and system for detecting phase lock in a phase-locked loop
CN1883119A (en) Phase-locked loop structure with enhanced signal stability
US11296710B2 (en) Digital subsampling PLL with DTC-based SAR phase estimation
CN1859004A (en) Phase-locked loop and method for improving clock accuracy
CN101483430A (en) Phase locked loop with adaptive filter for DCO synchronization
CN1748368A (en) System and method for coarse tuning a phase locked loop (pll) synthesizer using 2-pi slip detection
CN116938251B (en) Method, circuit and system for improving spread spectrum tracking capability of time-to-digital converter
CN1009409B (en) Be used to produce circuit arrangement with the synchronous cadence signal of reference frequency
EP1513257A2 (en) Digital phase-locked loop circuit
US5737373A (en) Control method and apparatus for suppressing jitter
CN102710257B (en) Frequency locking method, voltage-controlled oscillator and frequency generating unit
CN1158769C (en) Automatic tuning of an integrated oscillator
CN86101688A (en) Produce the frequency synthesizer circuit of the analog signal that frequency can digital classification adjusts
CN1325186A (en) Digital phase-locked loop method fo suppressing low frequency drift of clock
CN1494216A (en) Digital lock phase ring for producing multiple frequency point clock signal using one time delay chain
CN1794618A (en) Digital clock filter
CN1893278A (en) Phase-lock ring and phase-locking operation method
CN105610436A (en) Charge pump phase-locked loop with adaptive acceleration locking structure

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20041020

Termination date: 20140831

EXPY Termination of patent right or utility model