CN101110657B - Method for implementing clock source rearrangement and recovery under condition of single voltage controlled resistor - Google Patents
Method for implementing clock source rearrangement and recovery under condition of single voltage controlled resistor Download PDFInfo
- Publication number
- CN101110657B CN101110657B CN2006101034015A CN200610103401A CN101110657B CN 101110657 B CN101110657 B CN 101110657B CN 2006101034015 A CN2006101034015 A CN 2006101034015A CN 200610103401 A CN200610103401 A CN 200610103401A CN 101110657 B CN101110657 B CN 101110657B
- Authority
- CN
- China
- Prior art keywords
- clock source
- road
- jumped
- switched
- condition
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
Abstract
The present invention discloses a method to realize clock source inversion and restoration under condition of single voltage control crystal oscillator, which includes procedures below: A path of clock source is tracked and judge whether it conforms to conditions of inferior inversion. If eligible, operation continues. It is necessary to invert to a next clock source and then track the clock source to judge whether current clock source complies with conditions of inferior inversion. If eligible, it is proposed to judge a currently optimal clock source. If ineligible, it needs to judge which path of clock source should be restored and ensue a fake detention of a phase locking ring. Phase authentication values are collected for judgment. Once these values exceed a threshold, the clock source can not be restored to the current path of clock. Otherwise, restoration to a corresponding clock source is carried out to jump to a corresponding procedure for continuous operation. The method can effectively realize clock source inversion and restoration of current inferior clock and guarantee accuracy of communication clocks without increasing cost and development period and changing current structures.
Description
Technical field
The present invention relates to a kind of synchronous digital transmission technology (SDH) of the communications field; Particularly; Relate to a kind of under the condition of single VCXO (VCXO); If present clock source deterioration exceeds certain limit, system can auto switching arrive next available clock source, and can return to the method in a clock source under suitable condition.
Background technology
In synchronous digital communications network (SDH/SONET), accomplishing through clock unit synchronously between each network element node in the net.Therefore, network element is in locked in line clock or external clock, and its input will remain in certain scope, and output could keep within the specific limits in the time of locking like this, thereby clock signal could keep certain precision through after the multistage transmission.SDH could reduce the pointer adjustment, prevents the generation of UAS time.
Detection for clock source frequency deviation can have several different methods; Such as design two-way VCXO control system at hardware configuration; Wherein in one the tunnel, detect the lock condition on another road in locking simultaneously, system can switch to the clock signal better quality automatically that on the way.But this technology has increased the cost of existing structure, the transformation of existing structure has also been increased risk, thereby increased the cycle of product development.
Summary of the invention
In order to overcome the problem that exists in the prior art; The present invention is guaranteeing that minimum is changed by system; Minimum and the abundant maintenance of cost is closed under the condition of compatibility of existing system, propose a kind of can auto switching to another clock source, road and can return to the software approach in original clock source in due course.
In order to realize the foregoing invention purpose, the present invention specifically is achieved in that
Under the condition of single VCXO, realize the method that the clock source is switched and recovered, it is characterized in that, comprise the steps:
The first step is followed the tracks of first via clock source, judges whether this clock source, road is satisfied deterioration and switched condition, if, then proceed, if not, then jumped to for the 12 step;
Second step was switched to the second road clock source, and begins to follow the tracks of a set time, jumped to for the 11 step;
The 3rd step, judge whether tracking time arrives, if arrive, then jumped to for the 6th step, otherwise proceed;
In the 4th step, whether the clock source of judging current tracking satisfies deterioration is switched condition, if there is not deterioration, then jumps to for the 11 step, if deterioration, but current tracking is Third Road clock source, then jumps to for the tenth step;
The 5th step was switched to Third Road clock source, and begins to follow the tracks of a set time, jumped to for the 11 step;
In the 6th step, judge whether the present clock source is the optimal clock source, if then jumped to for the tenth step, otherwise proceed;
The 7th step, judge to return to which clock source, make phase-locked loop be in pseudo-hold mode;
The 8th step, gather the phase demodulation value, the phase demodulation value is judged, if surpass thresholding, then think to return to this road clock, jumped to for the tenth step;
The 9th step returned to the corresponding clock source, jumped to corresponding step and worked on;
In the tenth step, empty timer;
The 11 step, wait for the some time sheet, jumped to for the 3rd step;
The 12 step, wait for the some time sheet, jump to the first step.
Said deterioration condition can be:
Frequency deviation is bigger during locking present clock source, and voltage-controlled value surpasses 0xC000 perhaps less than 0x4000;
Surpass 5 minutes and can not lock the present clock source;
Detect the system phase sudden change and surpass ± 2~3ppm.
Said second step:
If the second road clock source does not exist, system never locks first via clock source before, then switches to maintenance pattern or free-run mode.
Said the 5th step:
If Third Road clock source does not exist, system never locks the second road clock source before:
Switch to maintenance pattern or free-run mode.
In said the 8th step, gather the phase demodulation value, the phase demodulation value judged, comprising:
(1) make phase-locked loop be in open loop situations;
(2) report locking present clock source;
(3) following the tracks of can the clock recovered source;
(4) read the phase demodulation value 16 times, the cycle is consistent with the cycle of single VCXO adjustment;
(5) difference of front and back 8 phase demodulation values sum of 16 times relatively judges whether the clock source can recover.
If current tracking is Third Road clock source, can not return to first via clock source through judging, need jump to for the 7th step, judge the possibility in the second road clock source that returns to.
Adopt the method for the invention; Compare with existing clock unit working method, can solve effectively when the method for utilizing software under single VCXO condition realizes when clock source deterioration, the clock source is switched and is recovered; Do not increasing cost; Do not change existing structure, do not increase under the situation of more construction cycle, guaranteed the accuracy of communication system clock.
Description of drawings
Fig. 1 is the schematic flow sheet that clock of the present invention source is switched and recovered.
Embodiment
Below in conjunction with accompanying drawing the method for the invention is implemented to do further to describe in detail.
Clock of the present invention output can remain on ± 4.6PPM in, when the clock source that deterioration takes place return to ± 2-3PPM the time, system can return to this clock source, road, has reached designing requirement.
The first step: follow the tracks of first via clock source, when detecting following arbitrary condition and take place:
1.: frequency deviation is bigger during locking present clock source, and voltage-controlled value surpasses 0xC000 perhaps less than 0x4000;
2.: surpass 5 minutes and can not lock the present clock source;
3.: detect the system phase sudden change and surpass ± 2~3ppm.
Then carried out for second step, otherwise, jumped to for the 12 step.
Second step: system all can be switched to the second road clock source.If the second road clock source does not exist, then switch to maintenance pattern or free-run mode (system never locks first via clock source before).If switch to the maintenance pattern, then system clock output guarantees less than ± 4.6ppm.Timing 10 minutes.Jumped to for the 11 step.
The 3rd step: judge that whether 10 fens clock times have arrived, if arrived, then jump to for the 6th step, otherwise proceed.
The 4th step: judge whether the present clock source deterioration takes place.If there is not deterioration, then jumped to for the 11 step.If deterioration, but current tracking Third Road clock source then jumped to for the tenth step.The deterioration condition is with the condition in the first step.
The 5th step: be switched to Third Road clock source.If Third Road clock source does not exist, then switch to maintenance pattern or free-run mode (system never locks the second road clock source before).If switch to the maintenance pattern, then system clock output guarantees less than ± 4.6ppm.Timing 10 minutes.Jumped to for the 11 step.
The 6th step: judge whether the present clock source is the optimal clock source, if then jumped to for the tenth step, otherwise proceed.
The 7th step: which clock source judgement should return to.Make phase-locked loop be in pseudo-hold mode, promptly voltage-controlled value is output as retention value, but tracking is that the clock source, road that will recover.
The 8th step: carry out following work:
A) phase-locked loop is in open loop situations;
B) report locking present clock source (also might keep or free oscillation);
C) follow the tracks of this clock source, road that to recover;
D) read the phase demodulation value 16 times, the cycle is 10ms (consistent with the cycle of VCXO adjustment);
E) difference of front and back 8 phase demodulation values sum of 16 times relatively.
If surpass certain scope, think that this clock source, road does not have to recover, then jumped to for the tenth step; If but current tracking Third Road clock source; Can not return to first via clock source through judging, need jump to for the 7th step, judge the possibility in the second road clock source that returns to.
The 9th step: return to the corresponding clock source, jump to the first step (if returning to first via clock source) or second step (if returning to the second road clock source).
The tenth step: recover 10 minutes timers.
The 11 step: wait for 100ms, jumped to for the 3rd step.
The 12 step: wait for 100ms, jump to the first step.
Claims (6)
1. under the condition of single VCXO, realize the method that the clock source is switched and recovered, it is characterized in that, comprise the steps:
The first step is followed the tracks of first via clock source, judges whether this clock source, road is satisfied deterioration and switched condition, if, then proceed, if not, then jumped to for the 12 step;
Second step was switched to the second road clock source, and begins to follow the tracks of a set time, jumped to for the 11 step;
The 3rd step, judge whether tracking time arrives, if arrive, then jumped to for the 6th step, otherwise proceed;
In the 4th step, whether the clock source of judging current tracking satisfies deterioration is switched condition, if there is not deterioration, then jumps to for the 11 step, if deterioration, but current tracking is Third Road clock source, then jumps to for the tenth step;
The 5th step was switched to Third Road clock source, and begins to follow the tracks of a set time, jumped to for the 11 step;
In the 6th step, judge whether the present clock source is the optimal clock source, if then jumped to for the tenth step, otherwise proceed;
The 7th step, judge to return to which clock source, make phase-locked loop be in pseudo-hold mode;
The 8th step, gather the phase demodulation value, the phase demodulation value is judged, if surpass thresholding, then think to return to this road clock, jumped to for the tenth step;
The 9th step returned to the corresponding clock source, if return to first via clock source, then jumped to the first step, if return to the second road clock source, then jumped to for second step;
In the tenth step, empty timer;
The 11 step, wait for the some time sheet, jumped to for the 3rd step;
The 12 step, wait for the some time sheet, jump to the first step.
2. the method that realization clock source is switched and recovered under the condition of single VCXO as claimed in claim 1 is characterized in that:
The said deterioration condition of switching can be:
Frequency deviation is bigger during locking present clock source, and voltage-controlled value surpasses 0xC000 perhaps less than 0x4000;
Surpass 5 minutes and can not lock the present clock source;
Detect the system phase sudden change and surpass ± 2~3ppm.
According to claim 1 or claim 2 under the condition of single VCXO, realize the method that the clock source is switched and recovered, it is characterized in that:
Said second step:
If the second road clock source does not exist, system never locks first via clock source before, then switches to maintenance pattern or free-run mode.
According to claim 1 or claim 2 under the condition of single VCXO, realize the method that the clock source is switched and recovered, it is characterized in that:
Said the 5th step:
If Third Road clock source does not exist, system never locks the second road clock source before:
Switch to maintenance pattern or free-run mode.
According to claim 1 or claim 2 under the condition of single VCXO, realize the method that the clock source is switched and recovered, it is characterized in that, in said the 8th step, gather the phase demodulation value, the phase demodulation value is judged, comprising:
(1) make phase-locked loop be in open loop situations;
(2) report locking present clock source;
(3) following the tracks of can the clock recovered source;
(4) read the phase demodulation value 16 times, the cycle is consistent with the cycle of single VCXO adjustment;
(5) difference of front and back 8 phase demodulation values sum of 16 times relatively judges whether the clock source can recover.
6. the method that realization clock source is switched and recovered under the condition of single VCXO as claimed in claim 5 is characterized in that:
If current tracking is Third Road clock source, can not return to first via clock source through judging, need jump to for the 7th step, judge the possibility in the second road clock source that returns to.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2006101034015A CN101110657B (en) | 2006-07-18 | 2006-07-18 | Method for implementing clock source rearrangement and recovery under condition of single voltage controlled resistor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2006101034015A CN101110657B (en) | 2006-07-18 | 2006-07-18 | Method for implementing clock source rearrangement and recovery under condition of single voltage controlled resistor |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101110657A CN101110657A (en) | 2008-01-23 |
CN101110657B true CN101110657B (en) | 2012-07-04 |
Family
ID=39042570
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2006101034015A Expired - Fee Related CN101110657B (en) | 2006-07-18 | 2006-07-18 | Method for implementing clock source rearrangement and recovery under condition of single voltage controlled resistor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101110657B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104660359B (en) * | 2013-11-21 | 2019-01-11 | 中兴通讯股份有限公司 | A kind of method, apparatus and equipment of clock frequency deviation detection |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1540879A (en) * | 2003-04-26 | 2004-10-27 | 华为技术有限公司 | Fast clock rearranging method and device with no spike |
CN1700623A (en) * | 2004-05-21 | 2005-11-23 | 华为技术有限公司 | Method for implementing clock management via Q3 interface in synchronous optical network |
-
2006
- 2006-07-18 CN CN2006101034015A patent/CN101110657B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1540879A (en) * | 2003-04-26 | 2004-10-27 | 华为技术有限公司 | Fast clock rearranging method and device with no spike |
CN1700623A (en) * | 2004-05-21 | 2005-11-23 | 华为技术有限公司 | Method for implementing clock management via Q3 interface in synchronous optical network |
Also Published As
Publication number | Publication date |
---|---|
CN101110657A (en) | 2008-01-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2468521C1 (en) | Method and device of time synchronisation | |
US8705680B2 (en) | CDR circuit | |
US6628112B2 (en) | System and method for detecting phase offset in a phase-locked loop | |
US7734000B2 (en) | Clock and data recovery circuits | |
CN101079629B (en) | A digital phase lock device for seamless switching of SDH product clock board | |
US7027544B2 (en) | Data clocked recovery circuit | |
CN101807965B (en) | Device and method for synchronizing clock in communication system | |
CN103490775B (en) | Based on the clock and data recovery controller of twin nuclei | |
JPH04113718A (en) | Hitless clock switching device | |
EP2360861A2 (en) | Clock recovery method over packet switched networks based on network quiet period detection | |
KR20140101803A (en) | Apparatus and method for recovering burst-mode pulse width modulation (pwm) and non-return-to-zero (nrz) data | |
US20120250811A1 (en) | Fast lock clock-data recovery for phase steps | |
CN101509943B (en) | Phase detecting method and apparatus | |
CN101764608B (en) | Bit-by-bit approaching delay phase-locked loop circuit and method for regulating input clock signal | |
CN101521565A (en) | Main/standby system clock seamless switching method, device and communication equipment | |
CN102104474B (en) | Clock detecting method and device | |
CN101621372B (en) | Method for transmitting network asynchronous backplane active/standby changeover and device thereof | |
CN103187925B (en) | The HS-CAN bus clock using oscillator tracking circuit recovers | |
KR20140135113A (en) | Systems and methods for tracking a received data signal in a clock and data recovery circuit | |
CN101110657B (en) | Method for implementing clock source rearrangement and recovery under condition of single voltage controlled resistor | |
CN101621346B (en) | Source synchronous receiving device with adaptive feedback and source synchronizing method | |
EP1113616B1 (en) | Method for recovering a clock signal in a telecommunications system and circuit thereof | |
CN100417024C (en) | Lock phase loop of low stable error and its correcting circuif | |
CN1329789C (en) | Method for preventing total clock output from generating burr at master spare clock switching | |
WO2007059488A2 (en) | Data clock recovery system using digital arrival-time detector |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
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: 20120704 Termination date: 20150718 |
|
EXPY | Termination of patent right or utility model |