TW395094B - Fully digitized clock holdover method and device - Google Patents

Fully digitized clock holdover method and device Download PDF

Info

Publication number
TW395094B
TW395094B TW87110226A TW87110226A TW395094B TW 395094 B TW395094 B TW 395094B TW 87110226 A TW87110226 A TW 87110226A TW 87110226 A TW87110226 A TW 87110226A TW 395094 B TW395094 B TW 395094B
Authority
TW
Taiwan
Prior art keywords
signal
phase
scope
patent application
item
Prior art date
Application number
TW87110226A
Other languages
Chinese (zh)
Inventor
Bo-Min Wang
Shu-Fa Yang
Original Assignee
Ind Tech Res Inst
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 Ind Tech Res Inst filed Critical Ind Tech Res Inst
Priority to TW87110226A priority Critical patent/TW395094B/en
Application granted granted Critical
Publication of TW395094B publication Critical patent/TW395094B/en

Links

Landscapes

  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)

Abstract

A fully digitized clock holdover method and device are disclosed, which use the method of fully digitization for producing the required output clock without analogue-to-digital and digital-to-analogue conversion, and also without the requirement of expensive voltage control oscillator. The information of frequency adjustment is recorded on time so that the recorded information can replace the output of phase-locked loop when losing the input reference clock. Since all the signals in the fully digitized phase-locked loop are digital signals, it can easily transmit such information using digital logic or microprocessor. A long time stable clock is also provided to conform to the international standard.

Description

3037twf/005 A7 B7 五、發明説明(ί ) - 本發明是有關於一種頻率產生裝置及方法,且特別是 有關於一種應用於鎖相迴路中,具時脈留任功能之全數位 化時脈留任方法與裝置。 鎖相迴路(Phase Locked Loop,PLL)是一種用以鎖 住輸入時脈頻率及相位的電子電路,換句話說,鎖相迴路 得依據輸入信號的參考時脈,產生另一個頻率與相位均與 參考時脈同步之輸出信號;因此,吾人亦可將鎖相迴路視 爲一個解調器(demodulator),用以解調載波頻率,以追 蹤輸入時脈的頻率及相位變化。 也就是說,傳統的PLL電路用以接收一參考輸入信 號,並完成一回授控制之運作,以鎖住輸出信號與參考輸 入信號的相位。最重要的是,此PLL電路將持續的經由一 回授迴路測試輸出信號,當此輸出信號與輸入信號再相位 上有差異時,此PLL電路將驅使輸出信號改變而與輸入信 號同步。 PLL電路在許多領域皆有極廣泛的應用,例如通信系 統、電腦及電視工程等。一般而言,依照鎖相迴路之製作 方式不同,可將其略分爲類比 '類比/數位混合及全數位 二類。 如第1圖所示,係爲一傳統的類比式PLL電路。此PLL 電路包括一相位差偵測器(Phase Detector,PD) 10、低 通濾波器12及電壓控制振盪器(Voltage Control Oscillator,VCO) 14,除了此基本的三個元件外,更包括 了用以做回授運作的一除N除頻器(/N Frequency 本紙张尺度適用中國國家揉準(CNS ) Α4规格(210X297公釐) 請 先η 聞 讀 背 再 訂 經濟部中央標率局貝工消费合作社印11 3037twf/005 A7 B7 五、發明説明(>)3037twf / 005 A7 B7 V. Description of the invention (ί)-The present invention relates to a frequency generating device and method, and in particular to a fully digital clock retaining function with a clock retaining function applied to a phase locked loop. Method and device. Phase Locked Loop (PLL) is an electronic circuit used to lock the frequency and phase of the input clock. In other words, the phase-locked loop must generate another frequency and phase that are related to the reference clock of the input signal. Reference to the clock-synchronized output signal; therefore, we can also consider the phase-locked loop as a demodulator to demodulate the carrier frequency to track the frequency and phase changes of the input clock. That is, the conventional PLL circuit is used to receive a reference input signal and complete a feedback control operation to lock the phase of the output signal and the reference input signal. Most importantly, the PLL circuit will continuously test the output signal through a feedback loop. When the output signal is in phase with the input signal, the PLL circuit will drive the output signal to change and synchronize with the input signal. PLL circuits are widely used in many fields, such as communication systems, computers, and television engineering. Generally speaking, according to the production method of the phase-locked loop, it can be divided into two categories: analog, analog, digital, and all digital. As shown in Figure 1, it is a traditional analog PLL circuit. The PLL circuit includes a Phase Detector (PD) 10, a low-pass filter 12, and a Voltage Control Oscillator (VCO) 14. In addition to the basic three components, it also includes A divide-by-N divider for feedback operation (/ N Frequency) This paper size is applicable to China National Standard (CNS) Α4 size (210X297 mm). Please read it before you order it. Cooperative Press 11 3037twf / 005 A7 B7 V. Description of Invention (>)

Divider)16 〇 相位差偵測器10偵測輸入參考信號與由電壓控制 振盪器14輸出信號回授之信號UN的相位差,並輸出一 個與相位差成正比的信號至低通濾波器12。低通濾波器12 將用來移去交流部份的電壓,而提供一個直流電壓來驅動 電壓控制振盪器14,此直流電壓將用來改變電壓控制振盪 器14的輸出信號頻率。藉由此不斷的回授控制運作,低 通濾波器12與相位差偵測器10將使電壓控制振盪器η 的輸出誤差降至最低,如此,理論上整個迴路將使頻率的 誤差降至零。一旦相位差偵測器1〇得知兩個輸入信號的 頻率相等後,電壓控制振盪器的輸出頻率就鎖住參考時脈 的頻率,而且兩個信號的相位差也被控制住。 另外,請參照第2圖,係繪示一種傳統的數位Pll電 路。此數位PLL電路係以數位控制振盪器(Digital Control Oscillator, DCO)來取代電壓控制振盪器(VC0)。此DC0電 路用以產生數位控制信號,而可驅使與所輸入的參考信號 同步。而使用此數位PLL電路的好處係可避免使用昂貴的 電壓控制震盪電路(VCO),且具有較高的可靠性。 但是,當所輸入的參考輸入信號停止或是中斷時,正 在用以同步地讀取所傳來訊號流的傳統PLL電路將會產生 問題。在輸入的參考輸入信號不見時,此VCO或DC0的 輸出頻率將會漂流(Drift),而導致用以從所傳來的資料流 接收資訊的接收器無法同步接收,並產生資料的錯誤。因 此,針對此問題,一種可解決當輸入參考信號中斷時所產 本紙張尺度適用中國國家梯準(CNS ) A4規格(2丨0X297公釐) (請先閲讀背面之注項再填寫本頁) I I Ί= I 、tT1-] J I I - ! I I— I ^ ) I— m 經濟部中央梯率局貝工消费合作社印装 • Hi in 3037twf/005 A7 B7 五、發明説明(今) "~~~ 生問題的PLL電路技術,已陸續的發展中。 爲解決此問題之其中一種技術,即在輸入的參考信號 消失或是中斷時,會提供一種在相位上的區域時脈信號 (In-phase local clock signal)。在由 Steierman 之美國第 4,972,422專利,核准於1990年11月20號,中揭露一種 使用多重輸入參考信號的PLL電路。此種習知的電路,可 偵測所輸入的參考信號在斷訊時,可直接切換到其他的參 考信號。此種技藝並不能運用到通訊系統上,因爲一般通 訊系統僅具有單一的參考信號。 另一種習知技術,即在具有電壓控制振盪器的PLL電 路中,增加使用一晶石(Crystal),保持在一定的溫度,以 提供具有最低漂流可能的相位鎖定時序信號(PhaSe_l〇cked clock signal)。此習知技藝的缺點係爲維持此晶石在一定 的溫度需耗費相當高的能量。 另一種習知的技藝,即爲一種具有留任模式(Holdover mode)的PLL電路。請參照第3圖,係繪示習知的一種具 有留任模式的PLL電路丨00,其使用兩個PLL電路單元: PLL I 與 PLL II。 通信系統中所謂留任(h〇ld〇ver)的意義,即在於希 望當系統所有的輸入參考時脈失去功能時’該電路能利用 系統正常工作時所計算或統計出的資訊’而繼續提供穩定 的系統時脈以維持系統的正常功能’在許多的系統中’均 使用鎖相迴路來提供系統所需的時脈。因此’具有留任模 式的電路設計,也與鎖相迴路的設計有密切的關係。 本紙張尺度適用中國國家標準(CNS ) A4说格(210X297公釐) (請先聞讀背面之注意事項再填寫本頁) 經濟部中央梯率局貝工消费合作杜印製 ------1T------線---------Γ---r____ 3037twf/005 A7 B7 經濟部中央梯準局貝工消费合作社印裝 五、發明説明(f) 如第3圖所示,除了一般PLL電路所使用的一組PLLI 電路,包括一相位差偵測器310、迴路濾波器320及電壓 控制晶體振盪器(VCxO) 330及除N除頻器340等類比 元件外,更增加另一組在留任模式時操作的PLL 11電路’ 包括一相位差偵測器310’、迴路濾波器320'、電壓控制晶 體振盪器(VCxO) 33〇|及除N除頻器34(Τ等類比元件, 除此之外,還要增加一數位至類比(Digital-to-Analog, D/A) 轉換器360、一類比至數位(Analog-to-Digital,A/D)轉換 器、一 LOS指示器390及一微控制器380。 此具留任模式的電路時經常要處理類比至數位(A/D) 或數位至類比(D/A)信號間的轉換,然而這些轉換除必 須花費相當的成本外,更由於類比至數位信號轉換間的量 化誤差(quantization error) ’而造成了輸出時脈頻率的 誤差,同時,爲了減少這種誤差,經常需要高解析度的類 比至數位或數位至類比之轉換元件。同時,爲了保證時脈 的穩定度,經常必須選擇昂貴的電壓控制晶體振盪器,而 增加了製作成本。 因此,本發明的目的就是在提供一種鎖相迴路裝置, 可在即使輸入的參考時脈信號消失或中斷時,也可保持輸 出一鎖定的信號。 本發明的目的就是在提供一種全數位式的鎖相迴路裝 置,捨棄習知作法所需的類比至數位或數位至類比之轉換 元件,使製作成本大幅降低。 本發明的另一目的是在提供一種全數位式的鎖相迴路Divider) 16 The phase difference detector 10 detects the phase difference between the input reference signal and the signal UN fed back from the output signal of the voltage controlled oscillator 14, and outputs a signal proportional to the phase difference to the low-pass filter 12. The low-pass filter 12 will be used to remove the voltage from the AC section and provide a DC voltage to drive the voltage-controlled oscillator 14. This DC voltage will be used to change the frequency of the output signal of the voltage-controlled oscillator 14. Through this continuous feedback control operation, the low-pass filter 12 and the phase difference detector 10 will minimize the output error of the voltage-controlled oscillator η. In this way, in theory, the entire loop will reduce the frequency error to zero . Once the phase difference detector 10 knows that the frequencies of the two input signals are equal, the output frequency of the voltage-controlled oscillator locks the frequency of the reference clock, and the phase difference between the two signals is also controlled. In addition, please refer to Fig. 2, which shows a conventional digital Pll circuit. The digital PLL circuit replaces the voltage controlled oscillator (VC0) with a digitally controlled oscillator (Digital Control Oscillator, DCO). This DC0 circuit is used to generate digital control signals and can be synchronized with the input reference signal. The advantage of using this digital PLL circuit is that it can avoid the use of expensive voltage controlled oscillator circuits (VCO) and has high reliability. However, when the input reference input signal is stopped or interrupted, the conventional PLL circuit that is being used to read the incoming signal stream synchronously will cause problems. When the input reference input signal is missing, the output frequency of this VCO or DC0 will drift (Drift), resulting in the receiver used to receive information from the transmitted data stream cannot receive synchronously, and a data error will occur. Therefore, in order to solve this problem, a paper size that can be produced when the input reference signal is interrupted is applicable to the Chinese National Standard (CNS) A4 specification (2 丨 0X297 mm) (please read the note on the back before filling this page) II Ί = I 、 tT1-] JII-! II— I ^) I— m Printed by the Shell Consumer Cooperative of the Central Slope Bureau of the Ministry of Economic Affairs • Hi in 3037twf / 005 A7 B7 5. Description of the Invention (Today) " ~~ ~ The problematic PLL circuit technology has been continuously developed. One of the techniques to solve this problem is to provide an in-phase local clock signal when the input reference signal disappears or is interrupted. In U.S. Patent No. 4,972,422 issued by Steierman, approved on November 20, 1990, a PLL circuit using multiple input reference signals is disclosed. This conventional circuit can detect the input reference signal and switch directly to other reference signals when the signal is broken. This technique cannot be applied to communication systems, because communication systems generally have only a single reference signal. Another conventional technique is to increase the use of a crystal in a PLL circuit with a voltage-controlled oscillator and keep it at a certain temperature to provide a phase-locked timing signal (PhaSe_locked clock signal with the lowest possible drift). ). The disadvantage of this conventional technique is that it takes considerable energy to maintain the spar at a certain temperature. Another conventional technique is a PLL circuit with a Holdover mode. Please refer to FIG. 3, which shows a conventional PLL circuit with a retention mode 00, which uses two PLL circuit units: PLL I and PLL II. The meaning of so-called retention in communication systems is to hope that when all the input reference clocks of the system lose function, the circuit can use the information calculated or counted during normal operation of the system to continue to provide stability. The system clock to maintain the normal function of the system 'in many systems' uses a phase-locked loop to provide the clock required by the system. Therefore, the circuit design with a reserve mode is also closely related to the design of the phase locked loop. This paper size applies Chinese National Standard (CNS) A4 scale (210X297 mm) (please read the notes on the back before filling out this page) Printed by the shelling consumer cooperation of the Central Ramp Bureau of the Ministry of Economic Affairs ----- -1T ------ line --------- Γ --- r____ 3037twf / 005 A7 B7 Printed by the Shell Consumer Cooperative of the Central Ladder Bureau of the Ministry of Economic Affairs 5. Description of the invention (f) As shown in the figure, in addition to a set of PLLI circuits used in general PLL circuits, including a phase difference detector 310, a loop filter 320, a voltage controlled crystal oscillator (VCxO) 330, and analog components other than the N divider 340 , And add another set of PLL 11 circuits that operate in the leave mode, including a phase difference detector 310 ′, a loop filter 320 ′, a voltage controlled crystal oscillator (VCxO) 33〇 | and a divide-by-N divider 34 (T and other analog components, in addition, a digital-to-Analog (D / A) converter 360, an analog-to-digital (A / D) converter , A LOS indicator 390, and a microcontroller 380. This circuit with a reserved mode often deals with analog-to-digital (A / D) or digital-to-analog (D / A) ) Conversions between signals. However, these conversions must not only cost considerable cost, but also result in errors in the output clock frequency due to quantization errors between analog to digital signal conversions. At the same time, in order to reduce such errors High-resolution analog-to-digital or digital-to-analog conversion elements are often required. At the same time, in order to ensure clock stability, expensive voltage-controlled crystal oscillators must often be selected, which increases manufacturing costs. Therefore, the present invention The purpose is to provide a phase-locked loop device, which can keep outputting a locked signal even when the input reference clock signal disappears or is interrupted. The object of the present invention is to provide a fully digital phase-locked loop device, Abandoning the analog-to-digital or digital-to-analog conversion elements required by the conventional practice greatly reduces the production cost. Another object of the present invention is to provide an all-digital phase-locked loop

Jl' tn —J— alt ——.^1 ___. «I ^ n I (請先k讀背面之注意事項再填寫本頁) 本紙張尺度適用中囷國家標準(CNS ) A4現格(2丨〇x297公楚) 3〇37twf/〇〇5 μ -- ----- Β7____* 五、發明説明(ς) — ' Ί ( 裝置,以數位控制振盪器取代昂貴的電壓控制振盪器,提 ΊJl 'tn —J— alt ——. ^ 1 ___. «I ^ n I (Please read the precautions on the back before filling out this page) This paper is applicable to the China National Standard (CNS) A4 (2 丨〇x297 公 楚) 3〇37twf / 〇〇5 μ------ Β7 ____ * V. Description of the invention (ς) — 'Ί (device, replace expensive voltage controlled oscillator with digitally controlled oscillator,

高輸出頻率穩定度及精確度。 .J 爲達成上述及其他目的,本發明提供一種鎖相迴路裝 j 置,用以產生一同步輸出信號,該裝置包括一主鎖相迴路 ϊ ί I. (Phase-locked loop, PLL)電路,用以接收一輸入參考信號, | { 輸出一迴路信號,偵測該輸入參考信號與該迴路信號之一 I f 相位差,基於該相位差產生一第一控制信號,並且根據該 g [ 第一控制信號調整該迴路信號之相位;以及一微控制器,· 3 j I填· ^ 用以計算藉由該主鎖相迴路電路在一既定時間內所完成相 f k 位調整次數之一平均數目,並且根據該平均數目產生一第 1 | 二控制信號,其中該第二控制信號係用以在該鎖相迴路裝 j 置在一留任模式下所產生之該同步輸出信號。 j 爲達成上述及其他目的,本發明所提供之上述鎖相迴 訂High output frequency stability and accuracy. .J In order to achieve the above and other objectives, the present invention provides a phase-locked loop device for generating a synchronous output signal. The device includes a main phase-locked loop (Phase-locked loop, PLL) circuit. To receive an input reference signal, | {output a loop signal, detect an I f phase difference between the input reference signal and one of the loop signals, generate a first control signal based on the phase difference, and according to the g [first The control signal adjusts the phase of the loop signal; and a microcontroller, 3 j I fills ^ to calculate an average number of phase fk bit adjustments performed by the main phase-locked loop circuit within a given time, And according to the average number, a first | second control signal is generated, wherein the second control signal is used to generate the synchronous output signal when the phase-locked loop device is placed in a retention mode. j In order to achieve the above and other objectives, the above-mentioned phase-locked subscription provided by the present invention

路裝置裝置,其中該主鎖相迴路包括一振盪器,用以接收 I 一區域時脈信號、該第一控制信號之一及該第二控制信號 | 之一,並且產生經由相位調整之該迴路信號當成該同步輸 | 出信號;一相位偵測器,用以接收該迴路信號及該輸入參 产 考信號,偵測該迴路信號與該輸入參考信號之一相位差’ ί 經濟部中央輮率Λ貝工消费合作社印*.Circuit device, wherein the main phase-locked loop includes an oscillator for receiving an I-area clock signal, one of the first control signal and one of the second control signal |, and generating the loop through phase adjustment Signal as the synchronous output | output signal; a phase detector to receive the loop signal and the input production test signal, and detect a phase difference between the loop signal and the input reference signal 'ί Central Ministry of Economics rate Printed by ΛBayong Consumer Cooperatives *.

並且基於所偵測之該相位差輸出一錯誤信號;以及一數位 I 迴路濾波器,用以從該相位偵測器接收該錯誤信號’並輸 J.And outputting an error signal based on the detected phase difference; and a digital I-loop filter for receiving the error signal from the phase detector and inputting J.

出該第一控制信號。 J 爲達成上述及其他目的,本發明所提供之上述鎖相迴 Γ 路裝置裝置,其中該主鎖相迴路包括一第一振盪器,用以 I - 接收一區域時脈信號及該第一控制信號,並根據該第一控 '1 本紙張尺度逋用中國國家揉车(CNS ) Α4規格(2!0Χ297公釐) 3037twf/〇〇5 A7 B7 Μ濟部中央樣率局貝工消费合作社印製 五、發明説明(<) 制信號產生一相位調整之迴路信號;一相位偵測器’用以 接收該迴路信號及該輸入參考信號,偵測該迴路信號與該 輸入參考信號之一相位差’並根據該相位差輸出一錯誤信 號;以及一數位迴路濾波器’用以接收從該相位偵測器所 輸出的該錯誤信號,並基於該錯誤信號產生該第一控制信 號,並輸出該第一控制信號,且其中該鎖相迴路裝置更包 括:一第二振盪器,用以接收該區域時脈信號及該第二控 制信號,且根據該第二控制信號產生該同步輸出信號。’ 爲達成上述及其他目的,本發明提供一種同步輸出信 號之方法,包括’首先’根據一第一控制信號產生一相位 調整之迴路信號;接著,在一既定時間內,計算藉由該第 一控制信號所作相位調整之平均數目;其次,基於該計算 步驟所得結果,產生一第二控制信號;以及根據該第二控 制信號在一留任模式下,產生一經由同步之該同步輸出信 號。 上述的計算步驟更包括在一既定時間區域內’計算藉 由該第一控制信號所作相位調整之平均數目,以產生對每 一該既定時間區域內的一累加値;其次,在一正常操作模 式下,儲存一既定數目的該些累加値;以及平均該既定數 目的該些累加値。 爲讓本發明之上述和其他目的、特徵、和優點能更明 顯易懂,下文特舉一較佳實施例,並配合所附圖式’作詳 細說明如下: 圖式之簡單說明: 冬紙依尺度通囷家樣準(CNS ) A4规格(210X297公釐)The first control signal is output. J In order to achieve the above and other objectives, the above-mentioned phase-locked loopback circuit device provided by the present invention, wherein the main phase-locked loop includes a first oscillator for receiving a regional clock signal and the first control. Signal, and in accordance with the first control '1 paper size, the Chinese National Kneading Car (CNS) A4 size (2! 0 × 297 mm) 3037twf / 〇〇5 A7 B7 Μ printed by the Central Samples Bureau of the Ministry of Economic Affairs Fifth, the description of the invention (&); the generated signal generates a phase-adjusted loop signal; a phase detector is used to receive the loop signal and the input reference signal, and detect a phase between the loop signal and the input reference signal Difference 'and output an error signal according to the phase difference; and a digital loop filter' for receiving the error signal output from the phase detector, generating the first control signal based on the error signal, and outputting the first control signal The first control signal, and wherein the phase-locked loop device further includes: a second oscillator for receiving the regional clock signal and the second control signal, and generating the same according to the second control signal. output signal. In order to achieve the above and other objectives, the present invention provides a method for synchronizing output signals, including 'first' generating a phase-adjusted loop signal according to a first control signal; and then, within a predetermined time, calculating the The average number of phase adjustments made by the control signals; secondly, a second control signal is generated based on the result of the calculation step; and a synchronous output signal is generated through synchronization in a retention mode according to the second control signal. The above calculation step further includes' calculating the average number of phase adjustments made by the first control signal within a predetermined time zone to generate an accumulation 累 for each of the predetermined time zones; secondly, in a normal operation mode Next, a predetermined number of the accumulated 値 is stored; and the predetermined number of the accumulated 値 is averaged. In order to make the above and other objects, features, and advantages of the present invention more comprehensible, a preferred embodiment is given below and described in detail with the accompanying drawings' as follows: Brief description of the drawings: Standards Standards (CNS) A4 (210X297 mm)

«濟部中夬標率扃員工消费合作社印裂 A7 B7 五 '發明説明(7 ) ^^' 第1圖係繪示一傳統的類比式PLL電路; 第2圖係繪示一種傳統的數位PLL電路; 第3圖係繪示另一傳統的類比式PLL電路;以及 第4A-4C圖係繪示參考輸入信號L及回授信號Un 兩信號之時脈操作圖; 第5圖係繪示數位控制振盪器之實施例; 第6圖係繪示BO信號與CA信號之操作實施例; 第7圖係顯示根據本發明之全數位化時脈留任裝置之 較佳實施例之一 ADPLL裝置; 第8圖係顯示在第7圖中的全數位化時脈留任裝置之 FIFO緩衝器實施例; 第9圖,其繪示根據本發明另一實施例之全數位化時 脈留任裝置;以及 第1〇圖,係說明根據本發明較佳實施例之一全數位 化時脈留任方法操作流程圖。 圖式之標記說明: 相位差偵測器10 電壓控制振盪器14 相位差偵測器310, 電壓控制晶體振盪器330 相位差偵測器310' 電壓控制晶體振盪器330 數位至類比轉換器360 微控制器380 3037twf/005 ;| '!1 J· ΙΓ - I - ...... I^I I (請先r讀背面之注意事項再填寫本頁) 訂 低通濾波器12 除N除頻器16 迴路濾波器320 除N除頻器340 迴路濾波器320’ 除N除頻器340' 類比至數位轉換器370 LOS指示器390 本紙張从適用中因目家標率(CNS )从祕(2ωχ297公楚) 3037twf/005 A7 B7 鯉濟部t央糅準局貝工消費合作社印裂 五、發明説明(又) 延遲線路524 多工器522 相位差偵測器Π6 數位控制振盪器H2a 累加器142 平均器146 較佳實施例 本發明的全數位化時脈留任方法與裝置,其留任模式 之裝置與方法係特別應用在全數位鎖相迴路(A1丨-digital phase-locked loop,以下簡稱爲 ADPLL)。 之前在第2圖所記載的ADPLL包含四個元件:一數 位控制振盪器(DCO)24、一數位迴路濾波器22、一相位差 偵測器(PD)20及一除N計數器26。此相位差偵測器20用 以接收兩個輸入信號fin及fout/N,分別代表輸入參考信號 及DC0 24回授之輸出信號,並且比較fin及UN以偵測 出任何項位差。經過偵測後,此相位差偵測器20輸出兩 信號UP及DN,分別代表1及f^/N之間的相位差。 如第4A圖所示,當fin及UN兩信號的正上升邊緣 同時發生時,兩者之間的相位差即爲零,因此會從相位差 偵測器20產生一零電位的輸出。而如第4b圖所示,當輸 入參考信號fin的正上升邊緣領先於回授之信號tu/N的正 上升邊緣時,這兩個信號之相位有差異’因此’相位差偵 測裝置20將產生一 UP之脈衝信號,而表示具有一正向相 位錯誤(Positive phase error)。而如第4c圖所示’當輸入 上/下數計數器526 數位迴路濾波器114 除N計數器118 優先輸入優先輸出144 切換器H8«The Ministry of Economic Affairs, China's Standards Rate, Employee Consumer Cooperative Print A7, B7, Five 'Invention Description (7) ^^' Figure 1 shows a traditional analog PLL circuit; Figure 2 shows a traditional digital PLL Circuit; Figure 3 shows another traditional analog PLL circuit; and Figures 4A-4C are clock operation diagrams of the reference input signal L and feedback signal Un; Figure 5 is a digital diagram An embodiment for controlling an oscillator; FIG. 6 is a diagram showing an operation example of a BO signal and a CA signal; FIG. 7 is an ADPLL device showing one of the preferred embodiments of the fully digital clock retention device according to the present invention; FIG. 8 shows an FIFO buffer embodiment of the all-digital clock retention device in FIG. 7; FIG. 9 shows the all-digital clock retention device according to another embodiment of the present invention; and FIG. Figure 0 is a flowchart illustrating the operation of the full-digital clock retention method according to one of the preferred embodiments of the present invention. Description of the symbols in the drawings: Phase difference detector 10 Voltage controlled oscillator 14 Phase difference detector 310, Voltage controlled crystal oscillator 330 Phase difference detector 310 'Voltage controlled crystal oscillator 330 Digital to analog converter 360 micro Controller 380 3037twf / 005; | '! 1 J · ΙΓ-I-...... I ^ II (please read the precautions on the back before filling this page) Order low-pass filter 12 Divide by N 16 loop filter 320 divides N divider 340 loop filter 320 'divides N divider 340' analog to digital converter 370 LOS indicator 390 this paper from the application according to the national standard rate (CNS) from the secret ( 2ωχ297) (3037twf / 005 A7 B7) Printed by the Ministry of Finance and Economics of the Central Government and the Zhuhai Bureau of Beihai Consumer Cooperatives 5. Description of the invention (again) Delay line 524 Multiplexer 522 Phase difference detector Π6 Digitally controlled oscillator H2a Accumulator 142 Averager 146 Preferred embodiment The method and device for all-digital clock retention in the present invention. The device and method for retention mode are particularly applied to A1 digital phase-locked loop (hereinafter referred to as ADPLL). The ADPLL previously described in FIG. 2 includes four components: a digitally controlled oscillator (DCO) 24, a digital loop filter 22, a phase difference detector (PD) 20, and a divide-by-N counter 26. This phase difference detector 20 is used to receive two input signals fin and fout / N, which respectively represent the input reference signal and the output signal of DC0 24 feedback, and compare fin and UN to detect any term bit difference. After detection, the phase difference detector 20 outputs two signals UP and DN, which represent the phase difference between 1 and f ^ / N, respectively. As shown in FIG. 4A, when the positive rising edges of the two signals fin and UN occur simultaneously, the phase difference between the two signals is zero, so a zero-potential output is generated from the phase difference detector 20. As shown in FIG. 4b, when the positive rising edge of the input reference signal fin is ahead of the positive rising edge of the feedback signal tu / N, the phases of the two signals are different. Therefore, the phase difference detection device 20 will A UP pulse signal is generated, indicating a positive phase error. And as shown in Figure 4c, when the input up / down counter 526 digital loop filter 114 divides the N counter 118 priority input priority output 144 switch H8

Ju r— ΙΊ ff I I s I I I ^ I I w (請先閲讀背面之注意事項再填寫本瓦) 訂 10 本纸張尺度適用中固國家榡準(CNS )从規格(210X297公釐) 鐘濟部中央橾率局貝工消费合作社"裝 3037twf/0O5 A 7 ------ B7_____ 五、發明説明(?) 參考信號fin的正上升邊緣落後於回授之信號f^/N的正上 升邊緣時,這兩個信號之相位有差異,因此,相位差偵測 裝置20將產生一 DN之脈衝信號,而表示具有一負向相 位錯誤(Nagative phase error)。 從相位差偵測裝置20所輸出的信號UP及DN,將會 傳送到數位濾波器22,而與DC024 —起操作以調整ADPLL 電路的輸出。當從相位差偵測裝置20輸出的UP信號脈波 寬度大於DN信號之脈波寬度時,此迴路的輸出頻率將會 增加(也就是加速),而當UP信號脈波寬度小於DN信號 之脈波寬度時,則輸出頻率將減少(也就是減速)。 此數位濾波器22包括,例如,一 K-計數器’可以是 一遞增-遞減計數器,或是具有一遞增計數器與一遞減計 數器兩者,其功能如同一數位低通濾波器。UP信號會觸 發遞增計數器計數,而DN信號會觸發遞減計數器計數。 當遞增計數器發生溢位時,K-計數器將產生一進位(Carry, CA)的輸出信號,而當遞減計數器發生溢位時’ κ_計數器 將產生一借位(Borrow,ΒΟ)的輸出信號。這CA與Β0兩 個信號將傳送到DCO 24內,"借位”信號將使DCO 24選 擇一個相位領先的時脈爲輸出,使得迴路的輸出相位領先 以達到頻率增加的目的。"進位"信號將使DC0 24選擇一 個相位落後的時脈爲輸出,使得迴路的輸出相位延遲以達 到頻率降低的目的。 而DCO 24用以接收數位濾波器22傳來之CA與BO 兩個信號,更用以接收一區域時脈訊號fc。此DC0 24包 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公楚) (請先聞讀^面之注項再填寫本頁) *1T* 線 • H— 3037twf/005 經濟部中夬揉準局真工消费合作社印製 A7 B7 五、發明説明(π ) ~ 括三個主要元件’例如在第5圖所示,分別爲一延遲線路 524,其具有L個延遲階(Delay stages); —上/下數計數器 (UP/DN counter)526 及一多工器(Multiplexer)522。此延遲 線路524用以接收區域時脈信號fc及,如在第5圖的例子 中,具有16延遲階(Delay stages)D广D丨6(也就是L等於16), 而其全部共產生十六的相位差時脈訊號C|~CI6。十六個相 位差時脈訊號心~(:16則被送至多工器522。這樣序列的相 位差時脈訊號容許DCO 24完成一相位調頻的動 作,而其可補償由相位差偵測器20所偵測出的相位錯誤 (Phase errors)。 如第6圖所示,在B0信號的"B0"(借位)時脈將導致 DC0 24選擇在相位差時脈訊號(^〜0:16中之一,以延遲此 迴路輸出信號f。^。另一方面,在CA信號的”CA"(進位)脈 衝將使DC0 24從相位差時脈訊號中,選擇一區域 時脈信號,以超前此迴路輸出信號。 在這如第6圖的特定例子中,一 BO脈衝初始地指示 此多工器522,以選擇一相位落後(Phase-lagging)信號 Ci+1,以使得輸出信號變慢。當隨之的相位錯誤係被偵 測得知爲正向,一 CA脈衝將會指示此多工器522選擇相 位領先之信號q,以使得輸出信號f。^變快。在這樣的方 法中,每次此B0信號將強迫多工器選擇一相位落後的區 域時脈,此迴圈的輸出將延遲1/L個循環。類似的方法’ 每次CA信號將強迫多工器選擇一相位領先的區域時脈’ 此迴圈的輸出將領先1/L個循環。因此’例如在第6圖所 本纸張尺度通用中國國家禚準(CNS ) Α4規格(21 〇χ 297公釐) 1,"訂μ,------------;___ -· (請先聞讀背面之注項再填寫本頁) · · • —^1 ·11 3037twf/005 經濟部中央輮率爲I工消费合作杜印«. A7 B7 五、發明説明(") 示的16個延遲階中,在相位領先方向的16個相位跳頻次 數將導致此迴圈輸出領先1Hz,同樣地,在相位落後方向 的16個相位跳頻次數將導致此迴圈輸出落後1Hz。 在第5圖中所示的DCO 24之上/下數計數器526接收 由數位迴路濾波器22所傳來的CA及B0信號,並且輸出 —位址信號給多工器522,藉以由延遲線路524之相位差 時脈訊號中選擇一對應的相位差時脈訊號。 第7圖顯示根據本發明之全數位化時脈留任裝置之較 佳實施例之一 ADPLL裝置100,用以維護一在相位上的 (in-phase)的輸出,而不論輸入的參考信號fin消示或是中 斷。此ADPLL裝置100包括一主要ADPLL電路110,其 具有之主要元件如第7圖中所示,更進一步包括用以在輸 入的參考信號消示或是中斷時,維護在相位上的輸出 信號穩定之元件。因此,此裝置不論是在一般狀況或是留 任狀態(Holdover mode)時都能夠正常運作。 此可產生一相位調整迴圈輸出信號tut之主要ADPLL 電路110包括一相位差偵測器(PD)116、一數位迴路濾波 器(LF)114、一數位控制振盪器(DCO)U2a及一除N計數 器118。此在ADPLL電路110結構上的連接與操作在第2 圖中已淸楚地說明,因此在此略過不再冗述。在此主要的 ADPLL電路110中之數位控制振盪器112a所輸出的信號 Lut並非用以作爲系統之時脈,取而代之的是僅作爲提供 相位差偵測器116 —回授信號之來源。而在本實施例中, 如第7圖所示,係由另一 DCO在一正常操作模式或是一 13Ju r— ΙΊ ff II s III ^ II w (Please read the precautions on the back before filling in this tile) Order 10 This paper size applies to the Central Solid State Standards (CNS) from the specifications (210X297 mm) Zhongji Ministry Central橾 Rate Bureau Shellfish Consumer Cooperative " installed 3037twf / 0O5 A 7 ------ B7_____ V. Description of the invention (?) The positive rising edge of the reference signal fin is behind the positive rising edge of the feedback signal f ^ / N At this time, the phases of the two signals are different. Therefore, the phase difference detection device 20 will generate a DN pulse signal, which indicates that it has a negative phase error. The signals UP and DN output from the phase difference detection device 20 will be transmitted to the digital filter 22 and operated together with DC024 to adjust the output of the ADPLL circuit. When the pulse width of the UP signal output from the phase difference detection device 20 is greater than the pulse width of the DN signal, the output frequency of this loop will increase (ie, accelerate), and when the pulse width of the UP signal is smaller than the pulse of the DN signal With wave width, the output frequency will decrease (ie, decelerate). The digital filter 22 includes, for example, a K-counter 'may be an up-down counter, or it may have both an up counter and a down counter, which function as the same digital low-pass filter. The UP signal triggers the up counter count, and the DN signal triggers the down counter count. When the up counter overflows, the K-counter will generate a carry (Carry, CA) output signal, and when the down counter overflows, the κ_counter will generate a borrow (Borrow, B0) output signal. The two signals CA and B0 will be transmitted to the DCO 24. The "borrowing" signal will cause the DCO 24 to select a phase-leading clock as the output, so that the output phase of the loop will lead to achieve the purpose of increasing the frequency. " The signal will make DC0 24 choose a clock with a backward phase as the output, so that the output phase of the loop is delayed to achieve the purpose of reducing the frequency. The DCO 24 is used to receive the CA and BO signals from the digital filter 22, It is also used to receive a regional clock signal fc. This DC0 24-pack paper size is applicable to the Chinese National Standard (CNS) A4 specification (210X297). (Please read the notes on the ^ side before filling out this page) * 1T * Line • H— 3037twf / 005 Printed by the Ministry of Economic Affairs of the Central Bureau of Standards and Consumer Affairs Co., Ltd. Printed A7 B7 V. Description of the Invention (π) ~ Including the three main components' For example, as shown in Figure 5, a delay line 524 , Which has L delay stages; UP / DN counter 526 and a multiplexer 522. This delay line 524 is used to receive regional clock signals fc and, such as In the example in Figure 5, there are 16 extensions Delay stages DW D6 (that is, L is equal to 16), and all of them generate sixteen phase difference clock signals C | ~ CI6. Sixteen phase difference clock signal hearts ~ (: 16 then It is sent to the multiplexer 522. Such a sequence of phase difference clock signals allows the DCO 24 to perform a phase frequency modulation operation, and it can compensate for phase errors detected by the phase difference detector 20. As shown in Figure 6, in the "B0" (borrowing) clock of the B0 signal, DC0 24 will select the phase difference clock signal (^ ~ 0: 16 to delay the output signal f. ^ Of this loop). On the other hand, the "CA" (carry) pulse in the CA signal will cause DC0 24 to select an area clock signal from the phase difference clock signal to lead the circuit to output the signal. Here is a specific example in Fig. 6 In the process, a BO pulse initially instructs the multiplexer 522 to select a phase-lagging signal Ci + 1 to slow down the output signal. When a subsequent phase error is detected, it is detected as positive In the forward direction, a CA pulse will instruct the multiplexer 522 to select the phase leading signal q so as to output the signal f. Fast. In this method, each time the B0 signal will force the multiplexer to select a regional clock with a backward phase, the output of this loop will be delayed by 1 / L cycles. A similar method 'Every time the CA signal will force The multiplexer selects a regional clock with a leading phase 'The output of this loop will lead 1 / L cycles. Therefore,' For example, the paper size in Figure 6 is based on the China National Standard (CNS) Α4 specification (21 〇 χ 297 mm) 1, " Order μ, ------------; ___-· (Please read the notes on the back before filling this page) · · • — ^ 1 · 11 3037twf / 005 The central government of the Ministry of Economic Affairs is the I-industrial consumer cooperation Du Yin. A7 B7 V. The 16 delay steps shown in the invention, the 16 phase hopping times in the phase leading direction will cause this time The loop output is 1Hz ahead. Similarly, 16 phase hopping times in the phase backward direction will cause this loop output to be 1Hz behind. The DCO 24 up / down counter 526 shown in FIG. 5 receives the CA and B0 signals from the digital loop filter 22 and outputs an address signal to the multiplexer 522, thereby delaying the line 524. Choose a corresponding phase difference clock signal from the phase difference clock signal. FIG. 7 shows an ADPLL device 100, which is one of the preferred embodiments of the all-digital clock retention device according to the present invention, for maintaining an in-phase output regardless of the input reference signal fin cancellation. Display or interrupt. The ADPLL device 100 includes a main ADPLL circuit 110. The main components of the ADPLL device 100 are as shown in FIG. 7. Furthermore, the ADPLL device 100 further includes an output signal for maintaining phase stability when the input reference signal is displayed or interrupted. element. Therefore, the device can operate normally under normal conditions or in Holdover mode. The main ADPLL circuit 110 that can generate a phase-adjusted loop output signal tut includes a phase difference detector (PD) 116, a digital loop filter (LF) 114, a digitally controlled oscillator (DCO) U2a, and a division N counter 118. This connection and operation on the structure of the ADPLL circuit 110 has been clearly illustrated in FIG. 2, so it will not be repeated here. The signal Lut output by the digitally controlled oscillator 112a in the main ADPLL circuit 110 is not used as the system clock, but instead is used only as a source for providing the phase difference detector 116-the feedback signal. In this embodiment, as shown in FIG. 7, another DCO is in a normal operation mode or a DCO.

冬紙张尺及通用〒网_家標準(CNS> A4規格(210X297公釐) 鍾濟部中央標準局貞工消费合作社印製 3037twf/005 μ ___________B7_ 五、發明説明(/ >) 留任模式時產生系統信號。 爲了在正常操作模式或是留任模式時,提供一在相位 上的輸出信號,此在第7圖之ADPLL裝置100除了上述 之主要ADPLL電路之外’更包括三個元件··一 l〇S(Loss of signal)指示器120、一微控制器140及一數位控制振盪器 (DC0)112b。 此LOS指示器120用以接收輸入參考信號fin及輸出 一 L0S信號至微控制器140,用以指出當輸入之參考信號 fin已經被中斷了。而此微控制器140用以接收由數位迴路 濾波器U4所傳來的控制信號CA及BO,除此之外還包 括由L0S指示器120所輸出之L0S信號。此微控制器140 輸出控制信號CA’及BO1,其可用於控制數位控制振盪器 112b之相位跳頻操作。此DCO 112b用以接收由微控制器 140輸出之控制信號CA'及B0’,並接收與DCO 112a相同 的區域時脈信號fc,並輸出一同步化的系統輸出信號 此在第7圖中所說明的ADPLL裝置,其操作原理將 在以下說明。藉由接收輸入之參考信號fin,此L0S指示 器120能決定何時輸入參考信號f,n中斷,並且接著啓動 留任模式的操作。在不論是正常的操作模式或是留任模式 下,微控制器140皆會產生控制信號CA'及BCV,就像是 如上所述DCO U2a所接收的控制信號CA及B0 —般, 並用以控制由另一 DCO l〗2b所產生的相位跳頻(Phase-hopping)操作,以選擇不是延遲相位差時脈信號,就是領 先相位差時脈信號,此端視所欲輸出的信號tut,是否要延 本纸張尺度適用中國國家標準(CNS ) M現格(210x297公釐) (請先閱讀背面之注意事項再填寫本頁) • ( m --_ k------IT------______I.____ :___^___ 3037twf/005 «濟部中央樣率局負工消费合作社印敢 A7 B7 五、發明説明(Μ) 遲或是領先。 一個對於微控制器140較佳實施例之組成,可如在第 8圖所示包括四個組成元件:一累加器142、一優先輸入 優先輸出(First-iii first-out,以下簡稱FIFO)緩衝器144 ' — 平均器(Average calculator)146 及一切換器 148。在 ADPLL 裝置100正常操作模式下,此累加器142用以在一既定的 時間內(例如0.1秒),接收由控制信號CA及B0所控制的 跳頻次數。每一累加的値即會由累加器M2輸出。 ‘ 而FIFO緩衝器144用以經由切換器148接收由累加 器142輸出的累加値。藉由L0S指示器120輸出的L0S 信號可在正常操作模式下使切換器148保持在關閉,以使 累加的値可持續的移至FIFO緩衝器144內。另一方面,L0S 信號亦可在留任模式時使切換器148打開,而使累加的値 停止移至FIFO緩衝器144內。 FIFO緩衝器144可儲存從累加器142所傳來一定數 量的累加値,如第8圖之一例子所示,此FIFO緩衝器144 具有10階(Stages),因此可用以儲存由累加器142所傳來 的1〇個値。此儲存在FIFO緩衝器144的累加値因此代表 藉由DCO 112a所完成在完整一秒內的相位跳頻次數。當 然,此FIFO緩衝器144可藉由調整階數來儲存更多或更 少的累加値,此端視需要而調整,例如調整爲100階,以 儲存在較長時間內或較短時間內(例如10秒)的累加値。此 FIFO緩衝器144將所儲存的累加値輸出到平均器146中。 此平均器146用以接收複數個由FIFO緩衝器144所 本紙張適用中家梯準(CNS》A4^_ (训x297iiJ_着)Winter paper ruler and universal gauze net_Home standard (CNS > A4 size (210X297mm) Printed by Zhengong Consumer Cooperative, Central Standard Bureau of the Ministry of Economic Affairs 3037twf / 005 μ ___________B7_ V. Description of the invention (/ >) Retention mode Generate system signals. In order to provide an output signal in phase when in the normal operation mode or the reserved mode, the ADPLL device 100 in FIG. 7 includes three components in addition to the main ADPLL circuit described above. lOS (Loss of signal) indicator 120, a microcontroller 140 and a digitally controlled oscillator (DC0) 112b. The LOS indicator 120 is used to receive an input reference signal fin and output a LOS signal to the microcontroller 140 , Used to indicate that the input reference signal fin has been interrupted. The microcontroller 140 is used to receive the control signals CA and BO transmitted by the digital loop filter U4, in addition to the L0S indicator L0S signal output from 120. This microcontroller 140 outputs control signals CA 'and BO1, which can be used to control the phase frequency hopping operation of digitally controlled oscillator 112b. This DCO 112b is used to receive the control output from microcontroller 140 The signals CA 'and B0' receive the same regional clock signal fc as the DCO 112a and output a synchronized system output signal. The operation principle of the ADPLL device illustrated in FIG. 7 will be described below. By receiving the input reference signal fin, the L0S indicator 120 can determine when the input of the reference signal f, n is interrupted, and then start the operation in the retention mode. In either the normal operation mode or the retention mode, the microcontroller 140 is Control signals CA 'and BCV will be generated, just like the control signals CA and B0 received by the DCO U2a as described above, and used to control the phase-hopping operation generated by another DCO 1b In order to choose whether to delay the phase difference clock signal or lead the phase difference clock signal, depending on the signal tut to be output at this end, whether to extend the paper size is applicable to the Chinese National Standard (CNS) M. (210x297 mm) ) (Please read the notes on the back before filling this page) • (m --_ k ------ IT ------______ I .____: ___ ^ ___ 3037twf / 005 Insignia A7 B7, Co-operative Consumer Cooperative (M) Late or leading. A composition for the preferred embodiment of the microcontroller 140 may include four components as shown in FIG. 8: an accumulator 142, a priority input priority output (First-iii first -out (hereinafter abbreviated as FIFO) buffer 144 '— an average calculator (Average calculator) 146 and a switcher 148. In the normal operation mode of the ADPLL device 100, the accumulator 142 is used to receive the frequency hopping times controlled by the control signals CA and B0 within a predetermined time (for example, 0.1 second). Each accumulated chirp is output by the accumulator M2. 'And the FIFO buffer 144 is used to receive the accumulation chirp output by the accumulator 142 via the switcher 148. The L0S signal output by the L0S indicator 120 can keep the switcher 148 closed in the normal operation mode, so that the accumulated 値 can be continuously moved into the FIFO buffer 144. On the other hand, the L0S signal can also cause the switcher 148 to turn on in the retention mode, and stop the accumulated 値 from being moved to the FIFO buffer 144. The FIFO buffer 144 can store a certain amount of accumulation 値 from the accumulator 142. As shown in the example of FIG. 8, the FIFO buffer 144 has 10 stages, so it can be used to store the accumulator 142. There were 10 puppets. This accumulation 储存 stored in the FIFO buffer 144 thus represents the number of phase frequency hops performed in the complete one second by the DCO 112a. Of course, the FIFO buffer 144 can store more or less accumulated 値 by adjusting the order. This end can be adjusted as needed, for example, it can be adjusted to 100 steps to store in a longer time or a shorter time ( (Eg 10 seconds). This FIFO buffer 144 outputs the stored accumulated volume to the averager 146. This averager 146 is used to receive a plurality of FIFO buffers 144. This paper is suitable for Chinese home elevator standards (CNS》 A4 ^ _ (training x297iiJ_ by)

Is濟部中央揉準局貝工消費合作杜印« 3037twf/005 . ^ A7 j____ ______B7 _ 五、發明説明(//) 傳來的累加値,並計算其平均値。此平均値係用以產生控 制信號CA’及BO’,其即爲由微控制器140所輸出用以控 制方向(如相位延遲方向或相位領先方向)及另一 DCO 112b 跳頻操作的計算(也就是,在一定時間區段內的跳頻次數 的數量)。 在平均器146內可產生兩個値:x與d,其中X代表 在一既定時間(例如0.1秒)內跳頻次數的平均數目,及d 代表相位跳頻的方向。例如,當d=0時,此DCO 112b將 會增加輸出信號f。^在每一 0.1秒區間內X次的輸出頻率。 另一方面,當d=l時,DCO 112b將會減少輸出信號.在 每一 0.1秒區間內X次的輸出頻率。如第8圖所示,控制 信號CA’及B0·可用以由(d,x)來得到,並由微控制器140 輸出至DCO 112b。在第7圖所說明的實施例中的正常操 作模式期間,由微控制器140所產生的控制信號CA’及BO' 係基於由控制信號CA及BO所指引的跳頻次數平均値。 以下特別針對在第7圖及第8圖內的ADPLL裝置100 實施例的留任模式操作做一說明。當LOS指示器120感 測到輸入參考信號fin消失時,一留任模式的操作將被啓 動,而使FIFO緩衝器144停止接收從累加器142來額外 的累加値。在此刻儲存在FIFO緩衝器144內的値,藉由 平均器146所計算而得的平均値,則將被在整個留任模式 期間用來作爲產生控制信號CA’及B0’的依據,而藉以輸 出輸出信號.。因此可知,在留任模式期間,由微控制 器H0所輸出的控制信號CA'及B0’係藉由在輸入參考信 16 Ϊ紙張尺度適用中國國家標準(CNS)八4祕(2ωχ297公楚) —The central government of the Ministry of Economic Affairs of the Ministry of Justice of the People's Republic of China, Du Yin, «3037twf / 005. ^ A7 j____ ______B7 _ V. Description of the invention (//) The cumulative 値 from 値 and calculate the average 値. This average signal is used to generate the control signals CA 'and BO', which is the calculation output by the microcontroller 140 to control the direction (such as the phase delay direction or phase leading direction) and another DCO 112b frequency hopping operation ( That is, the number of frequency hopping times in a certain period of time). Two chirps can be generated in the averager 146: x and d, where X represents the average number of frequency hopping times in a given time (e.g., 0.1 second), and d represents the direction of phase hopping. For example, when d = 0, this DCO 112b will increase the output signal f. ^ Output frequency X times in each 0.1 second interval. On the other hand, when d = 1, the DCO 112b will reduce the output signal. The output frequency will be X times in every 0.1 second interval. As shown in Fig. 8, the control signals CA 'and B0 · can be obtained from (d, x) and outputted from the microcontroller 140 to the DCO 112b. During the normal operation mode in the embodiment illustrated in FIG. 7, the control signals CA 'and BO' generated by the microcontroller 140 are based on the average number of frequency hopping times 値 guided by the control signals CA and BO. In the following, a description will be given with regard to the remaining mode operation of the embodiment of the ADPLL device 100 in FIG. 7 and FIG. 8. When the LOS indicator 120 senses the disappearance of the input reference signal fin, an operation in a leave mode will be started, and the FIFO buffer 144 will stop receiving the additional accumulating frame from the accumulator 142. The chirp stored in the FIFO buffer 144 at this moment, and the mean chirp calculated by the averager 146, will be used as the basis for generating the control signals CA 'and B0' during the entire retention mode, and then output. output signal.. Therefore, it can be seen that during the retention mode, the control signals CA ′ and B0 ′ output by the microcontroller H0 are based on the input of the reference letter 16 Ϊ The paper standard applies the Chinese National Standard (CNS) Eighty Four Secrets (2ωχ297).

3037twf/005 經濟部中央標準局Ml:工消费合作杜印裂 A7 B7 五、發明説明(/〇 號fin消失時之此刻時間儲存在FIFO緩衝器144內的値。 因爲LOS指示器120花了小於0.1秒的時間即可偵測 出輸入參考信號fin的消失,因此,輸入FIFO緩衝器144 內的値將非常有用,且可在一很短的累加時間內完成累加 値,藉以保證DCO 112b的輸出信號之品質。而當L0S指 示器120偵測出輸入參考信號fin出現時,累加器142將 會重置並且再度累計由控制信號CA及B0所代表的相位 調頻次數。 > 如以上之第5圖所示,就像是DCO U2a—般,此DC0 112b亦可包含一延遲線路524,用以接收區域時脈信號fc, 並產生一定數量的相位差時脈信號C,〜C16。 請參照第9圖,其繪示根據本發明之另一實施例,用 以維護一·在相位上的(in-phase)的輸出’而不論輸入的參考 信號fin消示或是中斷。本實施例中,主要PLL電路110(包 括一相位差偵測器116' —數位迴路濾波器114' 一數位 控制振盪器112及一除N計數器118)及L0S指示器120 係與上述相同,因此類似的操作將在此不再贅述。 在如第9圖所述的實施例中,不同的是在DC0 120, 以及一多工器150用以由微控制器140所輸出的控制信號 CA·與B0·。此多工器150係位於數位迴路濾波器114及 數位控制振盪器112之間,用以接收由數位迴路濾波器114 所輸出的控制信號CA與B0。此多工器15〇更位於微控 制器140與DCO Π2之間,用以接收另一個由控制器140 所輸出的控制信號CA’與B0’。此多工器15〇更進一步接 -----^-----/k-- (請先閲讀背面之注$項再填寫本頁) ,π 本紙張尺度適用中國固家標準(CNS ) A4規格(210X 297公釐) m· ϋ 3037twf/005 經濟部中喪標率局属工消费合作社印裝 A7 B7 五、發明説明(〆) ~ 收從控制器140所傳來的切換信號SW,其係用以指示多 工器150輸出在正常操作模式下的控制信號CA與BO或 是在留任模式下的控制信號CA1與BO'。 此在第9圖中的另一個實施例操作方式說明如下。當 LOS感測到輸入的參考信號fin消示或是中斷時,此ADPLL 裝置100將會在留任模式下操作。當再留任模式下操作時, 控制器140內的FIFO緩衝器144將停止接收從累加器142 傳來的累加値,切換器148亦會打開。在此時刻由平均器 146所計算的平均値將會被運用在整個留任模式的操作。 當留任模式啓動時,控制器140會輸出一信號SW到 多工器150,以指示多工器150輸出在留任模式下的控制 信號CA·與B0’。結果,DCO 112將根據控制信號CA·與 B0'的控制下,執行跳頻的操作。而當LOS指示器120再 次偵測出輸入參考信號fin出現時,累加器142將會重置 並且再度累計由控制信號CA及B0所代表的相位調頻次 數,而微處理器140同時會再次要求多工器150輸出在正 常操作模式下的控制信號CA與BO。因此,在此實施例 中’ DCO 112的輸出將被用以作爲系統時脈輸出,而在正 常操作模式下基於控制信號CA與B0的控制,而另外在 留任模式下藉由控制信號CA’與BCT來控制。 請參閱第】〇圖,係說明根據本發明之一方法,用以 計算控制信號CA'與B0'。特別地,如步驟S202所示,累 加器142及在留任模式後緊接著迅速地重置。接著步驟 S204,累加器142累計在控制信號CA與B0的控制下一 1—1^-----vk------訂------Γ------__I______ (請先聞讀背面之注項再填寫本頁) 本纸佚適用中國目家揉準(CNS ) A4驗(2丨GX297公« ) 3037twf/005 A7 B7 五、發明説明(,]) ~~~ 既定時間(例如0.1秒)所產生的跳頻次數。接著如步驟 S206,決定是否LOS指示器120是否指示輸入參考信號fin 消失,如果爲"否”,則由累加器142所產生的累加値將如 步驟S208被傳送到FIFO緩衝器144內,另一方面,如果 是”是",則將會回到如上所述的步驟S204。經過了步驟 S208,則開始計算在留任模式所使用的新的平均値。 整個在如第7-9圖中包括留任模式元件的ADPLL裝 置,正確的產生同步化的輸出信號,即使當輸入參考信號 fin消失時亦然。例如根據第7圖所示的實施例,當累加的 取樣時間爲〇」秒時,FIFO緩衝器144所產生的平均輸出 値包含了一秒整的跳頻次數(也就是0.1秒的累加區段時間 乘與10個FIFO階)。此平均値的錯誤將介於每秒正/負1/16 個時脈信號錯誤(clock signal errors per second)。如果輸出 的時脈頻率爲50MHz,則時脈的正確性將爲1/16x1/50 =1.25xl0·3 ppm 〇 除了在留任模式正確性之外,此根據本發明的全數位 化時脈留任裝置之ADPLL裝置實施例,可以一較低層次 的電路複雜度來完成如第7-9圖所示之實施例,使用單一 的ADPLL電路,並不需要類比元件,AD/DA轉換器,或 是昂貴的電壓控制振盪電路(VC0)。除此之外,此電路可 以使用一單純的數位單元庫(Digital cell library)或是 FPGA(Field Programmable Gate Array)所完成。 雖然本發明係以使用具有數位迴路濾波器,可產生控 制信號CA與BO之特定的主ADPLL電路,很明顯的,熟 本紙張纽14财Η«家鱗(c叫A4^ ( 2丨Gx297公楚) (請先閲讀背面之注^^項再填寫本頁) 經濟部中央標率局工消费合作社印製 C------.灯------線,-----.:------------ 3037twf/005 A7 B7 五、發明説明(f8) 知此技藝之人士皆可擴大本發明所能應用的範圍。例如, 一藉由使用插入或刪除脈波的ADPLL電路,取代本實施 例所使用的CA與BO控制信號,亦用以調整由DCO所輸 出的頻率。使用上述的槪念到這樣的電路,插入/刪除脈 波可藉由累加器在一既定時間內累計,並且所累計的値亦 可運用在類似於本實施例所述的另一控制信號CA'與B0' 之功能。 同樣的,藉由使用一可程式化頻率分割器 (Programmable Frequency Divider)的 ADPLL 電路,取代本 實施例所使用的CA與B0控制信號,亦用以調整由DCO 所輸出的頻率。使用上述的槪念到這樣的電路,當DCO 輸出的頻率必須增加時,一較小的頻率除數(Divisor)將會 被使用,另一方面,當DCO輸出的頻率必須減少時,一 較大的頻率除數(Divisor)將會被使用。因此,這樣的ADPLL 電路,本發明之累加器可在一既定的時間內紀錄較大/較 小除數的使用次數,並且使用這樣計數値去產生控制信號 CA,與 B0,。 以上所述僅爲本發明之較佳實施例,然其並非用以限 定本發明,任何熟習此技藝者,在不脫離本發明之精神和 範圍內,當可作各種之更動與潤飾,因此本發明之保護!g 圍當視後附之申請專利範圍所界定者爲準, 請專利範圍所做之均等變化與修飾,皆應屬本發明專利之 涵蓋範圍。 本紙張尺度適用中國囷家標準(CNS ) Α4規格(2丨0X297公釐) (请先聞讀背面之注意事項再填寫本頁) '袈·3037twf / 005 Central Standards Bureau of the Ministry of Economic Affairs Ml: Industrial and consumer cooperation Du Yinli A7 B7 V. Description of the invention (the time when the / 0 fin disappears is stored in the FIFO buffer 144. Because the LOS indicator 120 took less than The disappearance of the input reference signal fin can be detected in 0.1 seconds. Therefore, the 値 in the input FIFO buffer 144 will be very useful, and the 値 can be accumulated in a short accumulation time to ensure the output of the DCO 112b. The quality of the signal. When the L0S indicator 120 detects the occurrence of the input reference signal fin, the accumulator 142 will reset and accumulate the number of phase frequency modulations represented by the control signals CA and B0 again. ≫ As shown in the figure, like DCO U2a, this DC0 112b can also include a delay line 524 to receive the regional clock signal fc and generate a certain number of phase difference clock signals C, ~ C16. Please refer to section FIG. 9 illustrates another embodiment of the present invention for maintaining an in-phase output 'regardless of whether the input reference signal fin is dismissed or interrupted. In this embodiment, Main PLL circuit 110 (packet A phase difference detector 116 '-a digital loop filter 114', a digitally controlled oscillator 112 and a divide-by-N counter 118) and the L0S indicator 120 are the same as above, so similar operations will not be repeated here. In the embodiment shown in FIG. 9, the difference is DC0 120 and a multiplexer 150 for the control signals CA · and B0 · output by the microcontroller 140. This multiplexer 150 is located in the digital position. The loop filter 114 and the digital control oscillator 112 are used to receive the control signals CA and B0 output from the digital loop filter 114. This multiplexer 15 is further located between the microcontroller 140 and the DCO Π2, and In order to receive another control signal CA 'and B0' output by the controller 140. This multiplexer 15 is further connected ----- ^ ----- / k-- (Please read the note on the back first $ Entry on this page), π This paper size is applicable to China National Standard (CNS) A4 (210X 297 mm) m · ϋ 3037twf / 005 The Ministry of Economic Affairs of the Bureau of Loss of Bid Rates belongs to Industrial and Consumer Cooperatives. 2. Description of the invention (〆) ~ Receives the switching signal SW from the controller 140, which is used to instruct the multiplexer 150 The control signals CA and BO in the normal operation mode or the control signals CA1 and BO 'in the retention mode are shown. The operation of another embodiment in FIG. 9 is described below. When the LOS senses the input reference When the signal fin disappears or is interrupted, the ADPLL device 100 will operate in the retention mode. When operating in the retention mode, the FIFO buffer 144 in the controller 140 will stop receiving the accumulation from the accumulator 142. The switcher 148 will also open. At this moment, the average 値 calculated by the averager 146 will be applied to the operation of the entire retention mode. When the retention mode is activated, the controller 140 outputs a signal SW to the multiplexer 150 to instruct the multiplexer 150 to output the control signals CA · and B0 'in the retention mode. As a result, the DCO 112 will perform a frequency hopping operation under the control of the control signals CA · and B0 '. When the LOS indicator 120 detects the occurrence of the input reference signal fin again, the accumulator 142 will reset and accumulate the number of phase frequency modulations represented by the control signals CA and B0 again, and the microprocessor 140 will simultaneously request more The worker 150 outputs the control signals CA and BO in the normal operation mode. Therefore, in this embodiment, the output of the DCO 112 will be used as the system clock output, and is controlled based on the control signals CA and B0 in the normal operation mode, and in the remaining mode by the control signal CA 'and BCT to control. Please refer to FIG. 0, which illustrates a method according to the present invention for calculating the control signals CA 'and B0'. In particular, as shown in step S202, the accumulator 142 and the reset mode are immediately reset immediately after the retention mode. Following step S204, the accumulator 142 accumulates 1-1 under the control of the control signals CA and B0 1- 1 ^ ----- vk ------ order ------ Γ ------__ I______ ( Please read the notes on the back before filling in this page) This paper is suitable for Chinese households (CNS) A4 inspection (2 丨 GX297 public «) 3037twf / 005 A7 B7 V. Description of the invention (,)) ~~~ The number of frequency hops generated at a given time (for example, 0.1 seconds). Then, in step S206, it is determined whether the LOS indicator 120 indicates that the input reference signal fin disappears. If it is " No, " the accumulation frame generated by the accumulator 142 will be transferred to the FIFO buffer 144 in step S208. On the one hand, if it is "YES", it will return to step S204 as described above. After step S208, the calculation of the new average 値 used in the retention mode is started. The entire ADPLL device including the remaining mode elements in Figs. 7-9 correctly generates a synchronized output signal even when the input reference signal fin disappears. For example, according to the embodiment shown in FIG. 7, when the accumulated sampling time is 0 ″ seconds, the average output generated by the FIFO buffer 144 includes a frequency hopping frequency of one second (that is, an accumulation section of 0.1 second). Time multiplied by 10 FIFO steps). This average error will be between plus / minus 1/16 clock signal errors per second. If the output clock frequency is 50MHz, the correctness of the clock will be 1 / 16x1 / 50 = 1.25xl0 · 3 ppm. In addition to the correctness in the retention mode, this fully-digitized clock retention device according to the present invention The embodiment of the ADPLL device can complete the embodiment shown in Figures 7-9 at a lower level of circuit complexity. Using a single ADPLL circuit does not require analog components, AD / DA converters, or expensive Voltage-controlled oscillation circuit (VC0). In addition, this circuit can be completed using a simple Digital Cell Library (FPGA) or Field Programmable Gate Array (FPGA). Although the present invention uses a specific main ADPLL circuit with a digital loop filter that can generate the control signals CA and BO, it is clear that the cooked paper New Zealand 14 wealth «home scale (c called A4 ^ (2 丨 Gx297) (Chu) (Please read the note ^^ on the back before filling out this page) Printed by the Central Standards Bureau of the Ministry of Economic Affairs, Industrial and Consumer Cooperatives C --------. Lamp ------ line, ----- .: ------------ 3037twf / 005 A7 B7 V. Description of the Invention (f8) Those skilled in the art can expand the scope of the present invention. For example, by using insert or The ADPLL circuit that deletes the pulse wave, instead of the CA and BO control signals used in this embodiment, is also used to adjust the frequency output by the DCO. Using the above-mentioned concept to such a circuit, the insertion / deletion of the pulse wave can be accumulated by The accumulator can accumulate in a given time, and the accumulated chirp can also be used in functions similar to the other control signals CA 'and B0' described in this embodiment. Similarly, by using a programmable frequency divider (Programmable Frequency Divider) ADPLL circuit, instead of the CA and B0 control signals used in this embodiment, is also used to adjust the DCO The output frequency. Using the circuit described above, when the DCO output frequency must increase, a smaller frequency divisor will be used. On the other hand, when the DCO output frequency must decrease At this time, a larger frequency divisor will be used. Therefore, with such an ADPLL circuit, the accumulator of the present invention can record the number of times of use of the larger / smaller divisor within a predetermined time, and use In this way, the control signals CA and B0 are generated by counting. The above description is only a preferred embodiment of the present invention, but it is not intended to limit the present invention. Any person skilled in the art will not depart from the spirit and scope of the present invention. In addition, various modifications and retouching can be made, so the protection of the present invention! G is subject to the definition of the scope of the attached patent application, please apply for equal changes and modifications in the scope of the patent, which should belong to the invention patent The scope of coverage. This paper size is applicable to China Standard (CNS) Α4 size (2 丨 0X297 mm) (Please read the precautions on the back before filling this page) '袈 ·

,1T 經濟部中央輮準局舅工消费合作社印装, 1T Printed by the Central Consumers ’Bureau of the Ministry of Economic Affairs

Claims (1)

3037twf/〇〇5 A8 BS C8 D8 經濟部中央標牟局Λ工消费合作社印笨 六、申請專利範圍 1. 一全數位化時脈留任裝置,用以產生一同步輸出 信號,該裝置包括 一主鎖相迴路(Phase-locked loop, PLL)電路,用以接 收一輸入參考信號’輸出一迴路信號,偵測該輸入參考信 號與該迴路信號之一相位差,基於該相位差產生一第一控 制信號,並且根據該第一控制信號調整該迴路信號之相 位;以及 一微控制器’用以計算藉由該主鎖相迴路電路在一既 定時間內所完成相位調整次數之一平均數目,並且根據該 平均數目產生一第二控制信號,其中該第二控制信號係用 以在該全數位化時脈留任裝置在一留任模式下所產生之該 同步輸出信號。 2. 如申請專利範圍第1項所述之裝置,其中該主鎖 相迴路包括: 一振盪器,用以接收一區域時脈信號、該第一控制信 號之一及該第二控制信號之一,並且產生經由相位調整之 該迴路信號當成該同步輸出信號; 一相位偵測器,用以接收該迴路信號及該輸入參考信 號,偵測該迴路信號與該輸入參考信號之一相位差’並且 基於所偵測之該相位差輸出一錯誤信號;以及 一數位迴路濾波器,用以從該相位偵測器接收該錯誤 信號,並輸出該第一控制信號。 3. 如申請專利範圍第1項所述之裝置’其中該主鎖 相迴路電路包括: (請先聞讀背面之注意事項再填寫本頁) 訂 靜 本紙张尺度適用中國國家揉準(CNS ) A4规格(210X297公釐) 3037twf/〇〇5 A8 B8 C8 D8 經濟部中央梯率局貝工消费合作社印製 六、申請專利範圍 一第一振盪器,用以接收一區域時脈信號及該第一控 制信號’並根據該第一控制信號產生一相位調整之迴路信 號; 一相位偵測器,用以接收該迴路信號及該輸入參考信 號,偵測該迴路信號與該輸入參考信號之一相位差,並根 據該相位差輸出一錯誤信號;以及 一數位迴路濾波器,用以接收從該栢位偵測器所輸出 的該錯誤信號,並基於該錯誤信號產生該第一控制信號‘, 並輸出該第一控制信號,且其中該全數位化時脈留任裝置 更包括: 一第二振盪器,用以接收該區域時脈信號及該第二控 制信號,且根據該第二控制信號產生該同步輸出信號。 4.如申請專利範圍第3項所述之裝置,其中該第二 振盪器在一正常操作模式及該留任模式兩者之一時產生該 同步輸出信號。 5·如申請專利範圍第1項所述之裝置,其中更包括: 一指示器,用以偵測何時該輸入參考信號被中斷,並 輸出一致能信號至該微控制器,而能指示該微控制器從一 正常操作模式切換爲該留任模式。 6·如申請專利範圍第1項所述之裝置,其中該控制 器包括: 一累加器,用以計算藉由該主鎖相迴路電路在一既定 時間內所完成相位調整次數之一平均數目,並且根據該平 均數目產生對應於每一該既定時間之一累加値,並輸出該 n ΙΓΙ I I n n n n 1 n I - ,11 i (請先閲讀背面之注意事項再填寫本頁) 本紙張尺度逋用中固國家橾丰(CNS > A4規格(210><297公釐) 3037twf/0053037twf / 〇〇5 A8 BS C8 D8 Central Standards Bureau of the Ministry of Economic Affairs, 工 Industrial Cooperative, India Ben Ben VI. Patent application scope 1. A fully digital clock retention device for generating a synchronous output signal, the device includes a master Phase-locked loop (PLL) circuit for receiving an input reference signal and outputting a loop signal, detecting a phase difference between the input reference signal and the loop signal, and generating a first control based on the phase difference Signal and adjust the phase of the loop signal according to the first control signal; and a microcontroller 'is used to calculate an average number of one of the number of phase adjustments performed by the main phase-locked loop circuit within a predetermined time, and according to The average number generates a second control signal, wherein the second control signal is used for the synchronous output signal generated by the full-digitized clock retention device in a retention mode. 2. The device according to item 1 of the scope of patent application, wherein the main phase-locked loop comprises: an oscillator for receiving an area clock signal, one of the first control signal and one of the second control signal And generate the loop signal through phase adjustment as the synchronous output signal; a phase detector for receiving the loop signal and the input reference signal, detecting a phase difference between the loop signal and the input reference signal 'and Outputting an error signal based on the detected phase difference; and a digital loop filter for receiving the error signal from the phase detector and outputting the first control signal. 3. The device described in item 1 of the scope of the patent application, wherein the main phase-locked loop circuit includes: (Please read the precautions on the back before filling out this page) The size of the paper is applicable to China National Standards (CNS) A4 specifications (210X297 mm) 3037twf / 〇〇5 A8 B8 C8 D8 Printed by the Central Gradient Bureau of the Ministry of Economic Affairs Shellfish Consumer Cooperatives 6. Application for a patent scope a first oscillator to receive a regional clock signal and the first A control signal 'and generate a phase-adjusted loop signal according to the first control signal; a phase detector for receiving the loop signal and the input reference signal, and detecting a phase between the loop signal and the input reference signal And output an error signal according to the phase difference; and a digital loop filter for receiving the error signal output from the Berbit detector, and generating the first control signal based on the error signal, and The first control signal is output, and the all-digital clock retention device further includes: a second oscillator for receiving the regional clock signal and the second control signal And generate the synchronous output signal according to the second control signal. 4. The device according to item 3 of the scope of patent application, wherein the second oscillator generates the synchronous output signal in one of a normal operation mode and the retained mode. 5. The device according to item 1 of the scope of patent application, further comprising: an indicator for detecting when the input reference signal is interrupted, and outputting a consistent energy signal to the microcontroller, which can instruct the microcontroller The controller switches from a normal operation mode to the leave mode. 6. The device according to item 1 of the scope of patent application, wherein the controller includes: an accumulator for calculating an average number of phase adjustments performed by the main phase-locked loop circuit within a predetermined time, And according to the average number, a cumulative 値 corresponding to each of the given times is generated, and the n ΙΓΙ II nnnn 1 n I-, 11 i (please read the precautions on the back before filling this page) This paper is not used Zhongguo Country Fengfeng (CNS > A4 Specification (210 > &297; 297mm) 3037twf / 005 Μ濟部中夬梯率局貞工消费含作社印«. 六、申請專利範圍 累加値; 一記憶裝置,用以在一正常操作模式下從該累加器讀 取該累加値,並儲存一系列的累加値;以及 一平均#§F,用以計算儲存在該記憶裝置之該系列累加 値得平均値。 7.如申請專利範圍第6項所述之裝置,其中該記憶 裝置爲一優先輸入優先輸出(First-in first-out, FIFO)緩衝 器。 · 8·如申請專利範圍第1項所述之裝置,其中該全數 位化時脈留任裝置係一全數位(All-digital)鎖相迴路裝置。 9.如申請專利範圍第1項所述之裝置,其中該振盪 器爲一數位控制振盪器。 10如申請專利範圍第3項所述之裝置,其中該第一振 盪器及該第二振盪器皆爲一數位控制振盪器。 11·如申請專利範圍第8項所述之裝置,其中該全數位 鎖相迴路裝置係以一可程式化閘極陣列(field-programmable gate array, FPGA)所完成。 12· —種全數位化時脈留任之方法,包括下列步驟: 根據一第一控制信號產生一相位調整之迴路信號; 在一既定時間內,計算藉由該第一控制信號所作相位 調整之平均數目; 基於該計算步驟所得結果,產生一第二控制信號;以 及 根據該第二控制信號在一留任模式下,產生一經由同 (請先閲讀背面之注$項再填寫本頁) 裝· -訂 本紙張尺度逋用中國國家梯準(CNS ) Α4規格(210X297公釐) 3037twf/005 A8 B8 C8 D8 經濟部中*標率工消费合作社印装 六、申請專利範圍 步之該同步輸出信號。 13. 如申請專利範圍第12項所述之方法,其中該計算 步驟更包括: 在一既定時間區域內,計算藉由該第一控制信號所作 相位調整之平均數目,以產生對每一該既定時間區域內的 一累加値; 在一正常操作模式下,儲存一既定數目的該些累加 値;以及 ’ 平均該既定數目的該些累加値。 14. 如申請專利範圍第13項所述之方法,其中該儲 存步驟係已將該些累加値移至一優先輸入優先輸出(First-in first-out, FIFO) 緩衝器內。 15. 如申請專利範圍第14項所述之方法,其中更包 括: 偵測何時該輸入參考信號被中斷,以啓使該留任模 式;以及 停止將該些累加値移至一優先輸入優先輸出(First-in first-out, FIFO)緩衝器內的步驟。 16. 如申請專利範圍第12項所述之方法,其中產生 該全數位化時脈留任方法係在該正常操作模式及該留任模 式兩者之一下輸出該信號。 17. 如申請專利範圍第12項所述之方法,其中 已調整之該迴路信號係藉由一第一振盪器所產生;及 該同步輸出信號係藉由一第二振盪器所產生。 (請先閲讀背面之注$項再填寫本頁) 本紙浪尺度逍用中國國家標準(CNS ) A4规格(210X297公釐) 3037twf/005 A8 B8 C8 D8 六、申請專利範圍 18. 如申請專利範圍第12項所述之方法,其中該同 步輸出信號及調整過之迴路信號係在單一的一振盪器在一 正常操作模式及該留任模式兩者之一下,基於該第二控制 信號所產生。 19. 如申請專利範圍第17項所述之方法,其中該第 一振盪器及該第二振盪器係都是一數位控制振盪器。 20如申請專利範圍第18項所述之方法,其中該振盪 器係一數位控制振盪器。 1 ! ,袭-- * (請先聞讀背面之注意事項再填寫本頁) 訂 經濟部中央標率局負工消费合作社印製 本紙張尺度適用中國國家榡準(CNS > A4規格(210X297公釐)The Ministry of Economic Affairs of the Ministry of Economic Affairs of the Ministry of Economic Affairs of the People's Republic of China, including the official seal of the Social Security Bureau. 6. The patent application scope accumulates accumulators; a memory device for reading the accumulative accumulators from the accumulator in a normal operation mode, and storing one The cumulative sum of the series; and an average # §F, which is used to calculate the cumulative sum of the series stored in the memory device. 7. The device according to item 6 of the scope of patent application, wherein the memory device is a first-in first-out (FIFO) buffer. 8. The device described in item 1 of the scope of patent application, wherein the all-digital clock retention device is an all-digital phase-locked loop device. 9. The device according to item 1 of the patent application scope, wherein the oscillator is a digitally controlled oscillator. 10 The device according to item 3 of the scope of patent application, wherein the first oscillator and the second oscillator are both digitally controlled oscillators. 11. The device according to item 8 of the scope of patent application, wherein the all-digital phase-locked loop device is completed by a field-programmable gate array (FPGA). 12. · A method for all-digital clock retention, including the following steps: generating a phase-adjusted loop signal according to a first control signal; calculating the average of the phase adjustment made by the first control signal within a predetermined time The number; based on the result of the calculation step, a second control signal is generated; and a second mode is generated based on the second control signal in a retention mode (please read the note on the back before filling this page) The size of the paper used for this edition is China National Standard (CNS) A4 (210X297 mm) 3037twf / 005 A8 B8 C8 D8 Printed by the Ministry of Economic Affairs * Standard Rate Consumer Cooperatives 6. This synchronous output signal follows the scope of patent application. 13. The method according to item 12 of the scope of patent application, wherein the calculating step further comprises: within a predetermined time zone, calculating an average number of phase adjustments made by the first control signal to generate each of the predetermined An accumulation frame in a time zone; in a normal operation mode, storing a predetermined number of accumulation frames; and 'averaging the predetermined number of accumulation frames. 14. The method according to item 13 of the scope of patent application, wherein the storing step has moved the accumulations to a first-in first-out (FIFO) buffer. 15. The method according to item 14 of the scope of patent application, further comprising: detecting when the input reference signal is interrupted to enable the retention mode; and stopping moving the accumulation to a priority input priority output ( First-in first-out (FIFO) steps. 16. The method as described in item 12 of the scope of patent application, wherein generating the fully digital clock retention method outputs the signal in one of the normal operation mode and the retention mode. 17. The method according to item 12 of the scope of patent application, wherein the adjusted loop signal is generated by a first oscillator; and the synchronization output signal is generated by a second oscillator. (Please read the note on the back of the page before filling in this page.) This paper uses the Chinese National Standard (CNS) A4 specification (210X297 mm) 3037twf / 005 A8 B8 C8 D8 6. Application for patent scope 18. If the scope of patent application The method according to item 12, wherein the synchronous output signal and the adjusted loop signal are generated based on the second control signal under a single oscillator in one of a normal operation mode and the retained mode. 19. The method according to item 17 of the patent application, wherein the first oscillator and the second oscillator are both digitally controlled oscillators. 20 The method according to item 18 of the scope of patent application, wherein the oscillator is a digitally controlled oscillator. 1!, Strike-* (Please read the notes on the back before filling out this page) Order printed by the Central Standards Bureau of the Ministry of Economic Affairs, Consumer Cooperatives, and the paper is printed in accordance with China National Standards (CNS > A4 specifications (210X297 Mm)
TW87110226A 1998-06-25 1998-06-25 Fully digitized clock holdover method and device TW395094B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW87110226A TW395094B (en) 1998-06-25 1998-06-25 Fully digitized clock holdover method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW87110226A TW395094B (en) 1998-06-25 1998-06-25 Fully digitized clock holdover method and device

Publications (1)

Publication Number Publication Date
TW395094B true TW395094B (en) 2000-06-21

Family

ID=21630488

Family Applications (1)

Application Number Title Priority Date Filing Date
TW87110226A TW395094B (en) 1998-06-25 1998-06-25 Fully digitized clock holdover method and device

Country Status (1)

Country Link
TW (1) TW395094B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7792235B2 (en) 2002-01-25 2010-09-07 Integrated Device Technology, Inc. Dynamic phase tracking using edge detection

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7792235B2 (en) 2002-01-25 2010-09-07 Integrated Device Technology, Inc. Dynamic phase tracking using edge detection
US8094770B2 (en) 2002-01-25 2012-01-10 Integrated Device Technology Inc. Dynamic phase tracking using edge detection that employs an edge counter

Similar Documents

Publication Publication Date Title
US8155256B2 (en) Method and apparatus for asynchronous clock retiming
US8327179B2 (en) Asynchronous counter based timing error detection
US6052034A (en) Method and apparatus for all digital holdover circuit
US6429693B1 (en) Digital fractional phase detector
JP4468196B2 (en) Digital PLL circuit
US6326851B1 (en) Digital phase-domain PLL frequency synthesizer
JP2002217715A (en) Multiple input phase locked loop with hitless reference switching
EP2378666B1 (en) Digital controller for automatic rate detection and tracking of audio interface clocks
US7965143B2 (en) Digital phase detector and phase-locked loop
JP2003510912A (en) Clock recovery
EP2153523B1 (en) Frequency synchronization
JP4020701B2 (en) Data restoration circuit and method
JP3623948B2 (en) Burst mode receiving apparatus resistant to noise and its clock signal and data recovery method
JP2594484B2 (en) Digital signal receiving apparatus and method
US20070081619A1 (en) Clock generator and clock recovery circuit utilizing the same
EP1257059B1 (en) Method and apparatus for synchronizing slave network node to master network node
WO1999052215A1 (en) Phase-locked loop
TW395094B (en) Fully digitized clock holdover method and device
JP3507854B2 (en) Digital phase locked loop
CN108880536B (en) Clock synthesizer with lossless reference switching and frequency stability
GB2336732A (en) Frequency comparator and PLL circuit using the same
KR100242424B1 (en) Several network sink clock generator
JP3859531B2 (en) Burst data receiver
JP2808967B2 (en) Clock holdover circuit
JP3886392B2 (en) Clock recovery circuit

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent
MM4A Annulment or lapse of patent due to non-payment of fees