[go: up one dir, main page]

TWI410050B - A phase-locked loop with novel phase detection mechanism - Google Patents

A phase-locked loop with novel phase detection mechanism Download PDF

Info

Publication number
TWI410050B
TWI410050B TW099117060A TW99117060A TWI410050B TW I410050 B TWI410050 B TW I410050B TW 099117060 A TW099117060 A TW 099117060A TW 99117060 A TW99117060 A TW 99117060A TW I410050 B TWI410050 B TW I410050B
Authority
TW
Taiwan
Prior art keywords
input
phase
signal
frequency
locked loop
Prior art date
Application number
TW099117060A
Other languages
Chinese (zh)
Other versions
TW201143295A (en
Inventor
Peng Fei Lin
Ming Chi Lin
Po Hao Yu
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 filed Critical
Priority to TW099117060A priority Critical patent/TWI410050B/en
Publication of TW201143295A publication Critical patent/TW201143295A/en
Application granted granted Critical
Publication of TWI410050B publication Critical patent/TWI410050B/en

Links

Landscapes

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

Abstract

A phase-locked loop (PLL) with novel phase detection mechanism is provided, including a phase frequency detector (PFD), a controller, a digital-to-analog (D2A) module, and a voltage-controlled oscillator/current-controlled oscillator (VCO/ICO), wherein PFD has a reference signal input and an input from output signal of the VCO/ICO and is connected to the controller, the controller is then further connected to D2A module, D2A module converts the control signal from the controller into an analog voltage to control the frequency and phase of VCO/ICO. It is worth noting that the PFD of the present invention has a novel phase detection mechanism so that the phase detection does not rely on edge alignment. In addition, the novel phase detection mechanism also allows flexible reference signal input, as opposed to the aforementioned fixed external source, such as, a crystal.

Description

具改良相位偵測機制之鎖相迴路Phase-locked loop with improved phase detection mechanism

本發明係有關一種鎖相迴路,尤其是具改良相位偵測機制之鎖相迴路。The invention relates to a phase-locked loop, in particular to a phase-locked loop with an improved phase detection mechanism.

鎖相迴路(phase-locked loop,PLL)是一種頻率控制系統,一般是用於廣範圍的電路設計中,包括時鐘產生、時鐘恢復、展頻、去除偏斜、時鐘分佈、抖動與雜訊降低、頻率合成等等。PLL的操作是基於輸入信號與電壓控制振盪器(VCO)之回饋間的相位差。PLL廣泛用於當作電子裝置中的時鐘產生器,並支援高速傳輸協定,比如USB 2.0,當作資料傳輸之同步用的重要元件。第1圖顯示傳統PLL的示意圖。如第一圖所示,傳統PLL包括相位頻率偵測器(phase frequency detector,PFD)101、迴路濾波器102、VCO 103及除法器104。如第一圖所示,PFD 101接收參考信號110及來自除法器104的回饋信號104a,並輸出控制信號101a,係表示回饋信號是否落後或超前該參考信號。迴路濾波器102將控制信號101a轉換成電壓信號102a供VCO 103使用,並當作偏壓。VCO 103依據電壓信號102a而較快或較慢振盪以產生輸出信號103a。輸出信號103a也饋入除法器104,以便在饋入PFD 101之前先變成回饋信號104a。以這種方式,PLL能產生穩定的輸出信號,這也是為何除了其他應用以外PLL還被廣泛當作時鐘產生器的理由。在時鐘產生器中,輸出信號103a是提供給電子裝置中其餘電路的時鐘,以進一步控制並同步該電子裝置的操作。Phase-locked loop (PLL) is a frequency control system that is typically used in a wide range of circuit designs, including clock generation, clock recovery, spread spectrum, removal skew, clock distribution, jitter, and noise reduction. , frequency synthesis, and more. The operation of the PLL is based on the phase difference between the input signal and the feedback of the voltage controlled oscillator (VCO). PLLs are widely used as clock generators in electronic devices and support high-speed transmission protocols, such as USB 2.0, as an important component for synchronizing data transmission. Figure 1 shows a schematic diagram of a conventional PLL. As shown in the first figure, the conventional PLL includes a phase frequency detector (PFD) 101, a loop filter 102, a VCO 103, and a divider 104. As shown in the first figure, the PFD 101 receives the reference signal 110 and the feedback signal 104a from the divider 104, and outputs a control signal 101a indicating whether the feedback signal is behind or ahead of the reference signal. Loop filter 102 converts control signal 101a into voltage signal 102a for use by VCO 103 and acts as a bias. The VCO 103 oscillates faster or slower depending on the voltage signal 102a to produce an output signal 103a. The output signal 103a is also fed to the divider 104 to become the feedback signal 104a prior to being fed into the PFD 101. In this way, the PLL can produce a stable output signal, which is why PLLs are widely used as clock generators among other applications. In the clock generator, the output signal 103a is a clock provided to the remaining circuits in the electronic device to further control and synchronize the operation of the electronic device.

然而,在傳統PLL中,參考信號110通常是來自固定的外部來源,比如能產生時鐘的晶體,如第一圖所示。最後的輸出信號103a通常是具有外部晶體諧振頻率的信號。例如,針對使用於USB 2.0應用中的PLL,480 MHz時鐘速率可藉使用12 MHz晶體當作參考信號110的來源而產生。However, in conventional PLLs, the reference signal 110 is typically from a fixed external source, such as a crystal that produces a clock, as shown in the first figure. The final output signal 103a is typically a signal having an external crystal resonant frequency. For example, for a PLL used in a USB 2.0 application, a 480 MHz clock rate can be generated by using a 12 MHz crystal as the source of the reference signal 110.

一般,常使用於傳統PLL設計的相位頻率偵測器需依賴回饋信號與參考信號的邊緣相對時序,亦即相位。此時,當二種信號是相同頻率時,會產生正比於相位差的固定輸出。另一方面,使用於PLL中以邏輯閘為主的相位偵測器所提供的優點是,即使參考信號本質上是不同於VCO的起始輸出頻率,但是可快速強制VCO同步於參考信號。第二圖顯示依據邊緣對齊的傳統相位偵測機制。該邊緣對齊會施加限制於某些應用上,比如高速應用。In general, a phase frequency detector commonly used in conventional PLL designs relies on the relative timing of the edge of the feedback signal and the reference signal, that is, the phase. At this time, when the two signals are of the same frequency, a fixed output proportional to the phase difference is generated. On the other hand, the phase detector based on the logic gate used in the PLL provides the advantage that the VCO can be quickly forced to synchronize to the reference signal even if the reference signal is essentially different from the initial output frequency of the VCO. The second figure shows a traditional phase detection mechanism based on edge alignment. This edge alignment can be imposed on certain applications, such as high speed applications.

傳統相位頻率偵測器的另一限制是需要固定的外部來源。這不只增加電子裝置的成本,還會阻礙設計的彈性。因此,很有利的創造作出用於彈性的PLL設計並降低製造成本的改良相位偵測機制。Another limitation of conventional phase frequency detectors is the need for a fixed external source. This not only increases the cost of the electronic device, but also hinders the flexibility of the design. Therefore, it is advantageous to create an improved phase detection mechanism for flexible PLL design and reduced manufacturing cost.

本發明已經用以克服上述傳統PLL設計的缺點。本發明之主要目的在提供一種具改良相位偵測機制,能使相位偵測具有彈性並可應用於高速應用。The present invention has been used to overcome the shortcomings of the conventional PLL design described above. The main object of the present invention is to provide an improved phase detection mechanism that makes phase detection flexible and can be applied to high speed applications.

本發明之另一目的在提供一種具改良相位偵測機制之PLL,以提供彈性的參考信號並免除分離的參考信號來源,以降低製造成本及複雜度。Another object of the present invention is to provide a PLL with an improved phase detection mechanism to provide an elastic reference signal and eliminate the need for separate reference signal sources to reduce manufacturing cost and complexity.

為達成上述目的,本發明提供具改良相位偵測機制之PLL,包括相位頻率偵測器(PFD)、控制器、數位至類比(D2A)模組及電壓控制振盪器/電流控制振盪器(VCO/ICO),其中PFD具有參考信號輸入以及來自VCO/ICO的輸出信號的輸入,且係連接至控制器,接著該控制器進一步連接至D2A模組,D2A模組轉換來自控制器的控制信號成類比電壓以控制VCO/ICO的頻率及相位。值得注意的是,本發明的PFD具有改良相位偵測機制,以使得相位偵測不依賴邊緣對齊。此外,改良相位偵測機制也提供彈性的參考信號輸入,作為相對於固定外部來源,比如晶體。To achieve the above object, the present invention provides a PLL with improved phase detection mechanism, including a phase frequency detector (PFD), a controller, a digital to analog (D2A) module, and a voltage controlled oscillator/current controlled oscillator (VCO). /ICO), wherein the PFD has a reference signal input and an input signal from the VCO/ICO, and is connected to the controller, and then the controller is further connected to the D2A module, and the D2A module converts the control signal from the controller into Analog voltage to control the frequency and phase of the VCO/ICO. It is worth noting that the PFD of the present invention has an improved phase detection mechanism to make phase detection independent of edge alignment. In addition, the improved phase detection mechanism also provides a flexible reference signal input as a relative external source, such as a crystal.

本發明的上述及其他目的、特性、特點及優點將由仔細研讀在此底下的詳細說明及適當的參考所附圖式而變得更好了解。The above and other objects, features, aspects and advantages of the present invention will become apparent from

本發明的PLL使用改良相位偵測機制。如上所述,傳統相位頻率偵測器常使用固定外部來源,比如晶體,以當作參考信號。PLL的最後輸出信號通常是參考信號的諧振。例如,在USB 2.0中,480 MHz時鐘速率可藉固定的外部12 MHz晶體以當作參考時鐘來源而獲得。The PLL of the present invention uses an improved phase detection mechanism. As noted above, conventional phase frequency detectors often use a fixed external source, such as a crystal, as a reference signal. The final output signal of the PLL is typically the resonance of the reference signal. For example, in USB 2.0, a 480 MHz clock rate can be obtained from a fixed external 12 MHz crystal as a reference clock source.

該改良相位偵測機制不需要固定的外部來源。而是,依據本發明PLL的相位偵測機制,在產生控制信號給控制器之前,先分析參考信號及VCO輸出信號。最後的輸出信號係有關於參考信號,但不一定是參考信之頻率的諧振。以下將說明如何依據本發明在相位偵測中分析參考信號與輸出信號。This improved phase detection mechanism does not require a fixed external source. Rather, according to the phase detection mechanism of the PLL of the present invention, the reference signal and the VCO output signal are analyzed before the control signal is generated to the controller. The final output signal is related to the reference signal, but not necessarily the resonance of the frequency of the reference signal. The following describes how to analyze the reference signal and the output signal in phase detection in accordance with the present invention.

第三圖顯示依據本發明改良相位偵測的第一示範波形示意圖。為簡化起見,該示範實施例中所使用的波形是規則週期性波形,亦即1、0、1、0、1、0、…等的串列。如第3圖所示,第一波形標示為A,亦即信號A,且第二波形是延遲信號Ad,亦即具有相同於信號A且具延遲相位之波形。第三波形顯示為信號B1,具有比信號A的一半頻率還高的頻率。為簡化起見,信號A可視為由觀察者信號B所觀察到的信號。如第3圖所示,如果信號A及延遲信號Ad都是在信號B1的上升緣取樣,則可觀察到不同的四組數對,亦即(1,1)、(1,0)、(0,0)及(0,1),其中每組數對中的第一項是信號A的位準,而第二項是延遲信號Ad的位準。此外,可觀察到(1,1)->(1,0),(1,0)->(0,0),(0,0)->(0,1),(0,1)->(1,1)的轉變。亦即,當觀察者頻率係比被觀察頻率的一半還高時,可觀察到上述四種轉變的任何結合,亦即(1,1)->(1,0),(1,0)->(0,0),(0,0)->(0,1),(0,1)->(1,1)。類似的,第四波形顯示信號B2具有比信號A之一半頻率還低的頻率。如果信號A及延遲信號Ad都是在第四波形(亦即信號B2)的上升緣取樣,則可觀察到不同的四組數對,亦即(1,1),(1,0),(0,0),(0,1),其中每組數對中的第一項是信號A的位準,而第二項是延遲信號Ad的位準。此外,可觀察到(1,1)->(0,1),(0,1)->(0,0),(0,0)->(1,0),(1,0)->(1,1)的轉變。亦即,當觀察者頻率比被觀察頻率的一半還低時,可觀察到上述四種轉變的任何結合,亦即((1,1)->(0,1),(0,1)->(0,0),(0,0)->(1,0),(1,0)->(1,1)。由示範波形的觀察顯示(1,1)->(1,0),(1,0)->(0,0),(0,0)->(0,1),(0,1)->(1,1)的轉變係暗含,觀察者的頻率,比如信號B1,是比被觀察頻率的一半還快,比如信號A,而(1,1)->(0,1),(0,1)->(0,0),(0,0)->(1,0),(1,0)->(1,1)的轉變係暗含觀察者的頻率,比如信號B2,是比被觀察頻率的一半還慢,比如信號A。The third figure shows a first exemplary waveform diagram for improving phase detection in accordance with the present invention. For the sake of simplicity, the waveforms used in the exemplary embodiment are regular periodic waveforms, i.e., a series of 1, 0, 1, 0, 1, 0, ..., etc. As shown in FIG. 3, the first waveform is labeled A, that is, the signal A, and the second waveform is the delayed signal Ad, that is, the waveform having the same delay as the signal A. The third waveform is shown as signal B1 having a higher frequency than half the frequency of signal A. For the sake of simplicity, signal A can be considered as the signal observed by observer signal B. As shown in Fig. 3, if both the signal A and the delayed signal Ad are sampled at the rising edge of the signal B1, different four sets of pairs can be observed, namely (1, 1), (1, 0), ( 0, 0) and (0, 1), wherein the first item in each set of pairs is the level of signal A, and the second item is the level of delayed signal Ad. In addition, (1,1)->(1,0),(1,0)->(0,0),(0,0)->(0,1),(0,1)- can be observed. > (1, 1) transformation. That is, when the observer frequency is higher than half of the observed frequency, any combination of the above four transitions can be observed, that is, (1,1)->(1,0), (1,0)- >(0,0),(0,0)->(0,1),(0,1)->(1,1). Similarly, the fourth waveform display signal B2 has a lower frequency than one half of the signal A. If both signal A and delayed signal Ad are sampled at the rising edge of the fourth waveform (ie, signal B2), then a different four sets of pairs can be observed, namely (1,1), (1,0), ( 0,0), (0,1), where the first item in each set of pairs is the level of signal A, and the second item is the level of delayed signal Ad. In addition, (1,1)->(0,1),(0,1)->(0,0),(0,0)->(1,0),(1,0)- can be observed. > (1, 1) transformation. That is, when the observer frequency is lower than half of the observed frequency, any combination of the above four transitions can be observed, that is, ((1,1)->(0,1), (0,1)- >(0,0),(0,0)->(1,0),(1,0)->(1,1). The observation by the exemplary waveform shows (1,1)->(1,0) ), the transition of (1,0)->(0,0),(0,0)->(0,1),(0,1)->(1,1) is implied, the frequency of the observer, For example, the signal B1 is faster than half of the observed frequency, such as the signal A, and (1,1)->(0,1),(0,1)->(0,0),(0,0) The transition of ->(1,0),(1,0)->(1,1) implies the frequency of the observer, such as signal B2, which is slower than half of the observed frequency, such as signal A.

第四圖顯示依據本發明改良相位偵測的第二示範波形示意圖。該示範波形是經一般化以顯示第三圖的轉變圖案之觀察也可延伸至不規則或非週期性觀察者波形,亦即信號B1及信號B2。如第四圖所示,第一波形是信號A,且第二波形是延遲信號Ad。第三波形顯示,觀察者信號B1具有比信號A之一半頻率還高的頻率。如果信號A及延遲信號Ad都是在觀察者信號B1的上升緣取樣,則可觀察到(1,0),(0,0),(0,1),(1,1),(1,0),(0,0)…的串列。再一次,可在上述被觀察數對串列中的不同位置觀察到四種不同型式的轉變,亦即(1,1)->(1,0),(1,0)->(0,0),(0,0)->(0,1),(0,1)->(1,1)。類似的,第四波形顯示,觀察者信號B2具有比信號A之一半頻率還低的頻率。如果信號A及延遲信號Ad都是在第四波形(亦即觀察者信號B2)的上升緣取樣,則觀察到(1,1),(0,1),(0,0),(1,0),(1,1),(0,1)…。而且類似的,可在上述被觀察數對串列中的不同位置觀察到四種不同型式的轉變,亦即(1,1)->(0,1),(0,1)->(0,0),(0,0)->(1,0),(1,0)->(1,1)。因此,即使當觀察者信號具有非週期性及不規則性波形時,轉變的出現可用以標示被觀察信號與觀察者信號之間的相對頻率。The fourth figure shows a second exemplary waveform diagram for improving phase detection in accordance with the present invention. The exemplary waveform is an observation that is generalized to show the transition pattern of the third graph and can also extend to irregular or aperiodic observer waveforms, namely, signal B1 and signal B2. As shown in the fourth figure, the first waveform is the signal A, and the second waveform is the delayed signal Ad. The third waveform shows that the observer signal B1 has a higher frequency than one half of the signal A. If both the signal A and the delayed signal Ad are sampled at the rising edge of the observer signal B1, then (1, 0), (0, 0), (0, 1), (1, 1), (1, 0), a sequence of (0,0).... Once again, four different types of transitions can be observed at different locations in the series of observed numbers, ie (1,1)->(1,0),(1,0)->(0, 0), (0,0)->(0,1),(0,1)->(1,1). Similarly, the fourth waveform shows that the observer signal B2 has a lower frequency than one half of the signal A. If both the signal A and the delayed signal Ad are sampled at the rising edge of the fourth waveform (ie, the observer signal B2), then (1, 1), (0, 1), (0, 0), (1, 0), (1, 1), (0, 1)... And similarly, four different types of transitions can be observed at different locations in the series of observed pairs, ie (1,1)->(0,1),(0,1)->(0 , 0), (0,0)->(1,0), (1,0)->(1,1). Thus, even when the observer signal has a non-periodic and irregular waveform, the occurrence of a transition can be used to indicate the relative frequency between the observed signal and the observer signal.

由上述二示範例所總結的結果是,被觀察信號與觀察者信號之間的關係可藉觀察到被觀察信號數對之串列中所發現的轉變而被偵測。當觀察者頻率高於被觀察頻率的一半時,比如上述時例中B1>A,可在被觀察數對的串列中發現四種不同型式的轉變,亦即(1,1)->(1,0),(1,0)->(0,0),(0,0)->(0,1),(0,1)->(1,1)。在另一方面,當觀察者頻率低於被觀察頻率的一半時,比如上述時例中B2<A,可在被觀察數對的串列中發現四種不同型式的轉變,亦即(1,1)->(0,1),(0,1)->(0,0),(0,0)->(1,0),(1,0)->(1,1)。所有其他型式的轉變,比如(1,1)->(0,0),(1,0)->(0,1),或反之亦然,都可安全的丟棄而不會影響到偵測機制。As a result of the above two examples, the relationship between the observed signal and the observer signal can be detected by observing the transition found in the series of observed signals. When the observer frequency is higher than half of the observed frequency, such as B1>A in the above example, four different types of transitions can be found in the series of observed pairs, ie (1,1)->( 1,0), (1,0)->(0,0),(0,0)->(0,1),(0,1)->(1,1). On the other hand, when the observer frequency is lower than half of the observed frequency, such as B2 < A in the above example, four different types of transitions can be found in the series of observed pairs, that is, (1, 1)->(0,1),(0,1)->(0,0),(0,0)->(1,0),(1,0)->(1,1). All other types of transitions, such as (1,1)->(0,0), (1,0)->(0,1), or vice versa, can be safely discarded without affecting detection. mechanism.

這種偵測被觀察信號的轉變圖案以及觀察者與被觀察信號之相對頻率間的關係具有二重要含意。第一含意是,不再需要相位偵測以在比較前先對齊參考信號與VCO/ICO輸出信號之差額信號的邊緣。這是非當重要,因為邊緣對齊對相位偵測而言是將很困難的限制施加至高速應用上。第二含意是,參考信號不再需要是固定的外部來源,比如晶體。而是,參考信號可為任意數位信號串列,且改良相位偵測機制可進行用於PLL的必要相位偵測操作。利用改良相位偵測機制,PFD可依據被觀察信號數對串列中所發現之轉變型式而輕易的輸出表示被觀察頻率與觀察者頻率之間關係的信號。This detection of the transition pattern of the observed signal and the relationship between the observer and the relative frequency of the observed signal have two important implications. The first implication is that phase detection is no longer needed to align the edges of the difference signal between the reference signal and the VCO/ICO output signal prior to comparison. This is not important because edge alignment imposes very difficult limitations on phase detection for high speed applications. The second implication is that the reference signal no longer needs to be a fixed external source, such as a crystal. Rather, the reference signal can be any digital bit string, and the improved phase detection mechanism can perform the necessary phase detection operations for the PLL. With the improved phase detection mechanism, the PFD can easily output a signal indicating the relationship between the observed frequency and the observer frequency based on the number of observed signals versus the transition pattern found in the series.

因此,第五圖顯示依據本發明具改良相位偵測機制之鎖相迴路(PLL)的示意圖。如第五圖所示,本發明的PLL包括相位頻率偵測器(PFD)501、控制器502、數位至類比(D2A)模組503及電壓控制振盪器/電流控制振盪器(VCO/ICO)504。PFD 501具有參考信號輸入510以及來自VCO/ICO 504的輸出信號504a的輸入,且係連接至控制器502。接著該控制器502進一步連接至D2A模組503,且D2A模組503轉換來自控制器502的控制信號成類比電壓或電流,以控制VCO/ICO 504的頻率及相位。值得注意的是,本發明的PFD 501具有依據第三圖及第四圖的示範波形的改良相位偵測機制。因此,PFD 501較VCO輸出信號504a與參考信號510,以產生表示VCO輸出信號是否較快或較面於參考細號之頻率的信號。依據接收來自PFD 501的信號,控制器502係控制D2A模組503的輸出類比電壓或電流,進而控制VCO/ICO 504的輸出信號504a之頻率及相位。Thus, the fifth diagram shows a schematic diagram of a phase locked loop (PLL) with an improved phase detection mechanism in accordance with the present invention. As shown in the fifth figure, the PLL of the present invention includes a phase frequency detector (PFD) 501, a controller 502, a digital to analog (D2A) module 503, and a voltage controlled oscillator/current controlled oscillator (VCO/ICO). 504. PFD 501 has a reference signal input 510 and an input from output signal 504a of VCO/ICO 504 and is coupled to controller 502. The controller 502 is then further coupled to the D2A module 503, and the D2A module 503 converts the control signal from the controller 502 into an analog voltage or current to control the frequency and phase of the VCO/ICO 504. It should be noted that the PFD 501 of the present invention has an improved phase detection mechanism according to the exemplary waveforms of the third and fourth figures. Thus, PFD 501 is compared to VCO output signal 504a and reference signal 510 to produce a signal indicative of whether the VCO output signal is faster or at a frequency that is closer to the reference fine number. Based on receiving signals from the PFD 501, the controller 502 controls the output analog voltage or current of the D2A module 503 to control the frequency and phase of the output signal 504a of the VCO/ICO 504.

值得注意的是,當參考信號510停止或消失時,控制器502會在停止參考信號510之前先將維持原有的信號,亦即保持傳送至D2A模組503的控制信號,使得D2A模組503將不會改變輸出至VCO/ICO的類比電壓/電流,以改變輸出信號504a的頻率及相位。換言之,保持輸出信號504a,亦即鎖定,直到參考信號510再次出現為止。以這種方式,PFD可切換至不同參考信號,當作用以相位偵測比較的基礎。實現”鎖定”的示範實施例是利用計數器或任何對等機制以實現D2A模組503,而該任何對等機制係能被增大及減小,以使得表示較快或較慢頻率的信號可照著增大或減小數值。當參考信號510消失時,計數器或任何對等機制保持該數值,以使得沒有進行增大或減小操作以改變所保持的數值。It should be noted that when the reference signal 510 is stopped or disappears, the controller 502 will maintain the original signal before stopping the reference signal 510, that is, keep the control signal transmitted to the D2A module 503, so that the D2A module 503 The analog voltage/current output to the VCO/ICO will not be changed to change the frequency and phase of the output signal 504a. In other words, the output signal 504a is held, i.e., locked, until the reference signal 510 reappears. In this way, the PFD can be switched to a different reference signal as a basis for phase detection comparison. An exemplary embodiment of implementing "locking" is to implement a D2A module 503 using a counter or any peer-to-peer mechanism, and any peer-to-peer mechanism can be increased and decreased such that a signal representing a faster or slower frequency can be Increase or decrease the value as usual. When the reference signal 510 disappears, the counter or any peer to peer mechanism maintains the value such that no increase or decrease operations are performed to change the held value.

本發明具改良相位偵測機制之PLL的主要應用是比如USB 2.0的電子裝置,能使用來自如個人電腦(PC)之主機的資料串以當作用於同步的參考信號。The main application of the PLL with improved phase detection mechanism of the present invention is an electronic device such as USB 2.0, which can use a data string from a host such as a personal computer (PC) as a reference signal for synchronization.

而且值得注意的是,改良相位偵測機制可進一步延伸以包括一個以上的延遲信號,以便當觀察者頻率與被觀察頻率之間的差額非常大時加速收斂。例如,具有稍微相位延遲的第二延遲信號A’,具有更多相位延遲的第三延遲信號A”等等,都可加入,以使得被觀察信號組(A,A’,A”…)是記錄於改良相位偵測機制中,以加速不同頻率的收斂。It is also worth noting that the improved phase detection mechanism can be further extended to include more than one delayed signal to accelerate convergence when the difference between the observer frequency and the observed frequency is very large. For example, a second delayed signal A' having a slight phase delay, a third delayed signal A" having more phase delay, and the like may be added so that the observed signal group (A, A', A"...) is Recorded in an improved phase detection mechanism to accelerate convergence at different frequencies.

雖然本發明已經參考較佳實施例進行說明,但是要注意的是,本發明並非受限於說明中的細節。不同取代及修改已經在上述說明中建議,且對於熟知該技術領域之人士將會發生其他取代及修改。因此,所有這些取代及修改皆意圖包含在由所附申請專利範圍所定義之本發明範圍之內。Although the invention has been described with reference to the preferred embodiments, it is to be understood that the invention is not limited by the details. Various substitutions and modifications have been suggested in the above description, and other substitutions and modifications will occur to those skilled in the art. All such substitutions and modifications are intended to be included within the scope of the invention as defined by the appended claims.

101...相位頻率偵測器(PFD)101. . . Phase frequency detector (PFD)

101a...控制信號101a. . . control signal

102...迴路濾波器102. . . Loop filter

102a...電壓信號102a. . . Voltage signal

103...電壓控制振盪器(VCO)103. . . Voltage controlled oscillator (VCO)

103a...輸出信號103a. . . output signal

104...除法器104. . . Divider

104a...回饋信號104a. . . Feedback signal

110...參考信號110. . . Reference signal

501...相位頻率偵測器(PFD)501. . . Phase frequency detector (PFD)

502...控制器502. . . Controller

503...數位至類比(D2A)模組503. . . Digital to analog (D2A) module

504...電壓控制振盪器/電流控制振盪器(VCO/ICO)504. . . Voltage Controlled Oscillator / Current Controlled Oscillator (VCO/ICO)

504a...輸出信號504a. . . output signal

510...參考信號輸入510. . . Reference signal input

A...信號A. . . signal

Ad...延遲信號Ad. . . Delayed signal

B1...信號B1. . . signal

B2...信號B2. . . signal

本發明可藉研讀上述詳細說明結合實例及參考所附圖式而被更詳細了解,其中:The present invention can be understood in more detail by studying the above detailed description in conjunction with the examples and the referenced drawings, wherein:

第一圖顯示傳統鎖相迴路(PLL)的示意圖;The first figure shows a schematic diagram of a conventional phase-locked loop (PLL);

第二圖顯示傳統依據邊緣對齊之相位偵測的波形示意圖;The second figure shows a waveform diagram of conventional phase detection based on edge alignment;

第三圖顯示依據本發明改良相位偵測的第一示範波形示意圖;The third figure shows a first exemplary waveform diagram for improving phase detection in accordance with the present invention;

第四圖顯示依據本發明改良相位偵的第二示範波形示意圖;以及The fourth figure shows a second exemplary waveform diagram for improving phase detection in accordance with the present invention;

第五圖顯示具改良相位偵測機制之鎖相迴路(PLL)的示意圖。The fifth diagram shows a schematic diagram of a phase-locked loop (PLL) with an improved phase detection mechanism.

501...相位頻率偵測器(PFD)501. . . Phase frequency detector (PFD)

502...控制器502. . . Controller

503...數位至類比(D2A)模組503. . . Digital to analog (D2A) module

504...電壓控制振盪器/電流控制振盪器(VCO/ICO)504. . . Voltage Controlled Oscillator / Current Controlled Oscillator (VCO/ICO)

504a...輸出信號504a. . . output signal

510...參考信號輸入510. . . Reference signal input

Claims (10)

一種具改良相位偵測機制之鎖相迴路,包括:一相位頻率偵測器,具有一第一輸入及一第二輸入,並藉由比較該第二輸入的複數個觀察到的信號位準及至少一延遲第二輸入,而依據該第一輸入及該第二輸入的相對頻率以產生一信號,表示該第二輸入的頻率是否較快或較慢於該第一輸入的頻率,該等觀察到的信號位準是在當該第一輸入由一第一位準改變為一第二位準時取樣該第二輸入及該延遲第二輸入的信號位準所獲得,而該延遲第二輸入是由該第二輸入延遲一相位所形成;一控制器,連接至該相位頻率偵測器,用以接收來自該相位頻率偵測器的該信號,並產生一控制信號;一數位至類比模組,連接至該控制器,用以接收該控制信號,並產生一類比電壓/電流輸出;以及一電壓控制振盪器,連接至該數位至類比模組,用以接收該類比電壓/電流輸出,據以調節一輸出信號,其中該相位頻率偵測器的該第一輸入係連接至該參考信號,且該第二輸入係連接至該電壓控制振盪器的該輸出信號,且該改良相位偵測機制係使用複數個該延遲第二輸入,每個該延遲第二輸入具有相互間相同波形且不同相位。 A phase-locked loop with an improved phase detection mechanism includes: a phase frequency detector having a first input and a second input, and comparing a plurality of observed signal levels of the second input and At least one delaying the second input, and generating a signal according to the relative frequencies of the first input and the second input, indicating whether the frequency of the second input is faster or slower than the frequency of the first input, the observation The arriving signal level is obtained by sampling the second input and the delayed second input signal level when the first input is changed from a first level to a second level, and the delayed second input is Formed by the second input delay phase; a controller coupled to the phase frequency detector for receiving the signal from the phase frequency detector and generating a control signal; a digital to analog module Connected to the controller for receiving the control signal and generating an analog voltage/current output; and a voltage controlled oscillator coupled to the digital to analog module for receiving the analog voltage/current output, Adjusting an output signal, wherein the first input of the phase frequency detector is connected to the reference signal, and the second input is connected to the output signal of the voltage controlled oscillator, and the improved phase detection mechanism A plurality of the delayed second inputs are used, each of the delayed second inputs having the same waveform and different phases from each other. 依據申請專利範圍第1項所述之鎖相迴路,其中該電壓控制振盪器可由一電流控制振盪器取代。 The phase-locked loop of claim 1, wherein the voltage controlled oscillator is replaceable by a current controlled oscillator. 依據申請專利範圍第1項所述之鎖相迴路,其中該相位頻率偵測器比較該第一輸入、該第二輸入及一延遲第二輸入,該延遲第二輸入具有的波形係相同於該第二輸入且具有相位延遲,該第二輸入及一延遲第二輸入的轉變型式之第一群組所具有之轉變的出現,係用以表示該第一輸入的頻率比該第二輸入的頻率還快。 The phase-locked loop of claim 1, wherein the phase frequency detector compares the first input, the second input, and a delayed second input, the delayed second input having a waveform identical to the a second input having a phase delay, the second input and a delay of the first group of transition patterns of the second input having an occurrence of a transition indicating a frequency of the first input to a frequency of the second input Still fast. 依據申請專利範圍第1項所述之鎖相迴路,其中該相位頻率偵測器比較該第一輸入、該第二輸入及一延遲第二輸入,該延遲第二輸入具有的波形係相同於該第二輸入且具有相位延遲,該第二輸入及一延遲第二輸入的轉變型式之第二群組所具有之轉變的出現,係用以表示該第一輸入的頻率比該第二輸入的頻率還慢。 The phase-locked loop of claim 1, wherein the phase frequency detector compares the first input, the second input, and a delayed second input, the delayed second input having a waveform identical to the a second input having a phase delay, the second input and a second group of delaying the second input transition pattern having a transition occurring to indicate that the frequency of the first input is greater than the frequency of the second input Still slow. 依據申請專利範圍第1項所述之鎖相迴路,其中該參考信號是一外部晶體。 The phase-locked loop of claim 1, wherein the reference signal is an external crystal. 依據申請專利範圍第1項所述之鎖相迴路,其中該參考信號是來自一主機的數位資料。 The phase-locked loop of claim 1, wherein the reference signal is digital data from a host. 依據申請專利範圍第3項所述之鎖相迴路,其中該第二輸入及一延遲第二輸入的轉變型式之第一群組包括(1,1)->(1,0),(1,0)->(0,0),(0,0)->(0,1),(0,1)->(1,1),每個數對的第一項是該第二輸入的觀察位準,且第二項是該延遲第二輸入的觀察位準。 The phase-locked loop of claim 3, wherein the first group of the second input and the delayed second input transition pattern comprises (1,1)->(1,0), (1, 0)->(0,0),(0,0)->(0,1),(0,1)->(1,1), the first item of each pair is the second input The level is observed and the second term is the observed level of the second input of the delay. 依據申請專利範圍第4項所述之鎖相迴路,其中該第二輸入及 一延遲第二輸入的轉變型式之第二群組包括(1,1)->(0,1),(0,1)->(0,0),(0,0)->(1,0),(1,0)->(1,1),每個數對的第一項是該第二輸入的觀察位準,且第二項是該延遲第二輸入的觀察位準。 According to the phase locked loop of claim 4, wherein the second input and A second group of transition patterns that delay the second input includes (1,1)->(0,1), (0,1)->(0,0),(0,0)->(1, 0), (1,0)->(1,1), the first item of each pair is the observation level of the second input, and the second item is the observation level of the second input of the delay. 依據申請專利範圍第1項所述之鎖相迴路,其中該參考信號在停止或消失時,該數位至類比模組在該參考信號停止之前先保持原始的控制信號數值,以使得該數位至類比模組將不會改變傳送至該電壓控制振盪器/電流控制振盪的該類比電壓/電流輸出而改變到該輸出信號的頻率及相位。 According to the phase locked loop of claim 1, wherein the digital to analog module maintains the original control signal value before the reference signal stops, so that the digital to analogy The module will not change the frequency and phase of the output signal without changing the analog voltage/current output delivered to the voltage controlled oscillator/current controlled oscillation. 依據申請專利範圍第9項所述之鎖相迴路,其中該數位至類比模組是藉一計數器或能增大或減小的對等機制而實現。 The phase-locked loop of claim 9, wherein the digit-to-analog module is implemented by a counter or a peer-to-peer mechanism that can be increased or decreased.
TW099117060A 2010-05-27 2010-05-27 A phase-locked loop with novel phase detection mechanism TWI410050B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW099117060A TWI410050B (en) 2010-05-27 2010-05-27 A phase-locked loop with novel phase detection mechanism

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW099117060A TWI410050B (en) 2010-05-27 2010-05-27 A phase-locked loop with novel phase detection mechanism

Publications (2)

Publication Number Publication Date
TW201143295A TW201143295A (en) 2011-12-01
TWI410050B true TWI410050B (en) 2013-09-21

Family

ID=46765296

Family Applications (1)

Application Number Title Priority Date Filing Date
TW099117060A TWI410050B (en) 2010-05-27 2010-05-27 A phase-locked loop with novel phase detection mechanism

Country Status (1)

Country Link
TW (1) TWI410050B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200614675A (en) * 2004-10-22 2006-05-01 Realtek Semiconductor Corp Phase-locked loop apparatus and method thereof
TW200614676A (en) * 2004-10-26 2006-05-01 Realtek Semiconductor Corp Control device of a pll and control method thereof
US20080079501A1 (en) * 2006-09-29 2008-04-03 Hulfachor Ronald B Technique for switching between input clocks in a phase-locked loop
TW201015866A (en) * 2008-10-06 2010-04-16 Himax Tech Ltd Phase-locked loop circuit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200614675A (en) * 2004-10-22 2006-05-01 Realtek Semiconductor Corp Phase-locked loop apparatus and method thereof
TW200614676A (en) * 2004-10-26 2006-05-01 Realtek Semiconductor Corp Control device of a pll and control method thereof
US20080079501A1 (en) * 2006-09-29 2008-04-03 Hulfachor Ronald B Technique for switching between input clocks in a phase-locked loop
TW201015866A (en) * 2008-10-06 2010-04-16 Himax Tech Ltd Phase-locked loop circuit

Also Published As

Publication number Publication date
TW201143295A (en) 2011-12-01

Similar Documents

Publication Publication Date Title
US7295053B2 (en) Delay-locked loop circuits
US8798223B2 (en) Clock and data recovery unit without an external reference clock
US20110074514A1 (en) Frequency measurement circuit and pll synthesizer provided therewith
US20090140773A1 (en) Phase detection apparatus and phase synchronization apparatus
CN1150354A (en) Full-digital phase-locked loop
JP2010509817A (en) Apparatus, phase-locked loop system, and method for operating phase-locked loop
US8258830B2 (en) Methods for calibrating gated oscillator and oscillator circuit utilizing the same
CN110324036B (en) Clock and data recovery circuit
JP3755663B2 (en) Semiconductor integrated circuit
US8866556B2 (en) Phase shift phase locked loop
KR100261294B1 (en) High speed nrz data recovery apparatus
TW201939916A (en) Clock and data recovery circuit
JP7393079B2 (en) semiconductor equipment
Mann et al. The design of a low-power low-noise phase lock loop
JP2006119123A (en) Phase difference detection device
Seo et al. A 5-Gbit/s Clock-and Data-Recovery Circuit With 1/8-Rate Linear Phase Detector in 0.18-${\rm\mu}\hbox {m} $ CMOS Technology
TWI410050B (en) A phase-locked loop with novel phase detection mechanism
KR20160072347A (en) Phase locked loop and method for using the same
TWI548218B (en) Four-phase clock generator with timing sequence self-detection
KR101363798B1 (en) Fractional ratio frequency synthesizer with zero-skew capability
CN102299710A (en) Phase Locked Loop with Improved Phase Detection Mechanism
CN102404001B (en) Multi-phase clock generation and transmission circuit
US8350605B2 (en) Phase-locked loop with novel phase detection mechanism
JPWO2009069244A1 (en) Transmission method and transmission apparatus
KR100769690B1 (en) Interface device using clock generator based on frequency voltage converter and clock generator based on frequency voltage converter