[go: up one dir, main page]

TWI746295B - Clock and data recovery circuit and associated signal processing method - Google Patents

Clock and data recovery circuit and associated signal processing method Download PDF

Info

Publication number
TWI746295B
TWI746295B TW109141802A TW109141802A TWI746295B TW I746295 B TWI746295 B TW I746295B TW 109141802 A TW109141802 A TW 109141802A TW 109141802 A TW109141802 A TW 109141802A TW I746295 B TWI746295 B TW I746295B
Authority
TW
Taiwan
Prior art keywords
phase
signal
clock signal
generate
detection result
Prior art date
Application number
TW109141802A
Other languages
Chinese (zh)
Other versions
TW202130124A (en
Inventor
高健凱
葉澤賢
洪仕哲
Original Assignee
聯發科技股份有限公司
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
Priority claimed from US16/744,188 external-priority patent/US11349485B2/en
Application filed by 聯發科技股份有限公司 filed Critical 聯發科技股份有限公司
Publication of TW202130124A publication Critical patent/TW202130124A/en
Application granted granted Critical
Publication of TWI746295B publication Critical patent/TWI746295B/en

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/08Details of the phase-locked loop
    • H03L7/085Details of the phase-locked loop concerning mainly the frequency- or phase-detection arrangement including the filtering or amplification of its output signal
    • H03L7/087Details of the phase-locked loop concerning mainly the frequency- or phase-detection arrangement including the filtering or amplification of its output signal using at least two phase detectors or a frequency and phase detector in the loop
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/08Details of the phase-locked loop
    • H03L7/0805Details of the phase-locked loop the loop being adapted to provide an additional control signal for use outside the loop
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/08Details of the phase-locked loop
    • H03L7/0807Details of the phase-locked loop concerning mainly a recovery circuit for the reference signal
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/08Details of the phase-locked loop
    • H03L7/099Details of the phase-locked loop concerning mainly the controlled oscillator of the loop

Landscapes

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

Abstract

The present invention provides a CDR circuit including a first phase detector, a controller and a phase filter. In the operations of the CDR, the first phase detector is configured to compare a phase of an input signal and a phase of a clock signal to generate a first phase detection result. The controller is configured to generate a control signal according to the first phase detection result. The phase filter is configured to receive the control signal and an auxiliary signal to generate the clock signal, wherein the auxiliary signal is generated according to the first phase detection result.

Description

時鐘和資料恢復電路及其信號處理方法 Clock and data recovery circuit and its signal processing method

本發明關於時鐘和資料恢復(clock and data recovery,CDR)電路,更具體地,關於適用於高速應用的時鐘和資料恢復電路及其信號處理方法。 The present invention relates to a clock and data recovery (CDR) circuit, and more specifically, to a clock and data recovery circuit suitable for high-speed applications and a signal processing method thereof.

在常規的基於數位的(Digital-based)的時鐘和資料恢復(clock and data recovery,CDR)電路中,環路延遲(loop latency)由基於數位的CDR內的數位控制器(digital controller)來控制。數位控制器的速度通常受常規半導體工藝的限制,從而導致基於數位的CDR電路遭受較長的環路延遲。因此,常規的基於數位的CDR電路不適合用於高速應用。 In a conventional digital-based (Digital-based) clock and data recovery (CDR) circuit, loop latency (loop latency) is controlled by a digital controller in the digital-based CDR . The speed of digital controllers is usually limited by conventional semiconductor processes, which causes digital-based CDR circuits to suffer long loop delays. Therefore, conventional digital-based CDR circuits are not suitable for high-speed applications.

因此,本發明的目的是提供一種基於數位的CDR電路,該電路可以減少整體的環路延遲時間,以解決上述問題。 Therefore, the object of the present invention is to provide a digital-based CDR circuit that can reduce the overall loop delay time to solve the above-mentioned problems.

根據本發明的一個實施例,提供了一種時鐘和資料恢復(CDR)電路,時鐘和資料恢復電路包括第一相位檢測器、控制器和相位濾波器。在CDR的操作中,第一相位檢測器比較輸入信號的相位和時鐘信號的相位以產生第一 相位檢測結果。控制器根據第一相位檢測結果生成控制信號。相位濾波器接收控制信號和輔助信號以產生時鐘信號,其中,根據第一相位檢測結果產生輔助信號。 According to an embodiment of the present invention, a clock and data recovery (CDR) circuit is provided. The clock and data recovery circuit includes a first phase detector, a controller, and a phase filter. In the operation of the CDR, the first phase detector compares the phase of the input signal with the phase of the clock signal to generate the first phase detector. Phase detection result. The controller generates a control signal according to the first phase detection result. The phase filter receives the control signal and the auxiliary signal to generate a clock signal, wherein the auxiliary signal is generated according to the first phase detection result.

根據本發明的另一實施例,提供了一種時鐘和資料恢復電路的信號處理方法,包括:比較輸入信號的相位和時鐘信號的相位,以生成相位檢測結果;根據所述相位檢測結果經過控制器生成低頻的控制信號,其中所述控制信號包括頻率和相位資訊;根據所述相位檢測結果生成高頻的輔助信號,其中所述輔助信號包括相位資訊;以及使用相位濾波器接收所述控制信號和所述輔助信號以生成所述時鐘信號,其中,所述相位濾波器具有第一路徑和第二路徑,所述第一路徑用於接收所述控制信號以生成所述時鐘信號,所述第二路徑使用所述輔助信號來調整所述時鐘信號的相位,以減少所述CDR電路的整體延遲。 According to another embodiment of the present invention, there is provided a signal processing method for a clock and data recovery circuit, including: comparing the phase of an input signal with the phase of a clock signal to generate a phase detection result; and passing through a controller according to the phase detection result Generate a low-frequency control signal, wherein the control signal includes frequency and phase information; generate a high-frequency auxiliary signal according to the phase detection result, wherein the auxiliary signal includes phase information; and use a phase filter to receive the control signal and The auxiliary signal is used to generate the clock signal, wherein the phase filter has a first path and a second path, the first path is used to receive the control signal to generate the clock signal, and the second path The path uses the auxiliary signal to adjust the phase of the clock signal to reduce the overall delay of the CDR circuit.

通過本發明的CDR電路中,通過第二路徑中的輔助信號可使得CDR電路的總延遲時間有效地降低,因此可以提高CDR電路的性能。 In the CDR circuit of the present invention, the total delay time of the CDR circuit can be effectively reduced by the auxiliary signal in the second path, so the performance of the CDR circuit can be improved.

在閱讀了在各個附圖和附圖中示出的優選實施例的以下詳細描述之後,本發明的這些和其他目的無疑對於本領域習知技藝者將變得顯而易見。 These and other objects of the present invention will undoubtedly become apparent to those skilled in the art after reading the following detailed description of the preferred embodiments shown in the various drawings and drawings.

100,200,300:CDR電路 100, 200, 300: CDR circuit

110,210,310:相位檢測器 110, 210, 310: phase detector

120,220,320:控制器 120, 220, 320: Controller

130,230,330:相位濾波器 130, 230, 330: phase filter

132,232,240,332,339:相位插值器 132,232,240,332,339: phase interpolator

134,234,334:相位檢測器 134,234,334: phase detector

136,236,336:環路濾波器 136,236,336: loop filter

138,238,338:振盪器 138,238,338: Oscillator

400,402,404,406,408:步驟 400, 402, 404, 406, 408: steps

附圖被包括進來以提供對本發明的進一步理解,附圖被結合在本說明書中並構成本說明書的一部分。附圖示出了本發明的實施例,並且與說明書一起用於解釋本發明的原理。在附圖中:第1圖是示出根據本發明的第一實施例的CDR電路的示意圖。 The accompanying drawings are included to provide a further understanding of the present invention, and the accompanying drawings are incorporated in this specification and constitute a part of this specification. The drawings illustrate the embodiments of the present invention, and together with the description are used to explain the principle of the present invention. In the drawings: Figure 1 is a schematic diagram showing a CDR circuit according to the first embodiment of the present invention.

第2圖是示出根據本發明的第二實施例的CDR電路的示意圖。 Fig. 2 is a schematic diagram showing a CDR circuit according to the second embodiment of the present invention.

第3圖是示出根據本發明的第三實施例的CDR電路的示意圖。 Fig. 3 is a schematic diagram showing a CDR circuit according to a third embodiment of the present invention.

第4圖示出了根據本發明的實施例的CDR電路的信號處理方法的流程圖。 Fig. 4 shows a flowchart of a signal processing method of a CDR circuit according to an embodiment of the present invention.

在說明書及申請專利範圍當中使用了某些詞彙來指稱特定的元件。本領域習知技藝者應可理解,電子設備製造商可以會用不同的名詞來稱呼同一元件。本說明書及申請專利範圍並不以名稱的差異來作為區別元件的方式,而是以元件在功能上的差異來作為區別的基準。在通篇說明書及申請專利範圍當中所提及的“包括”是開放式的用語,故應解釋成“包括但不限定於”。此外,“耦接”一詞在此是包含任何直接及間接的電氣連接手段。因此,若文中描述第一裝置電性連接於第二裝置,則代表該第一裝置可直接連接於該第二裝置,或通過其他裝置或連接手段間接地連接至該第二裝置。 Certain vocabulary is used to refer to specific elements in the specification and the scope of the patent application. Those skilled in the art should understand that electronic device manufacturers may use different terms to refer to the same component. This specification and the scope of the patent application do not use differences in names as a way of distinguishing elements, but use differences in functions of elements as a basis for distinction. The "including" mentioned in the entire specification and the scope of the patent application is an open term, so it should be interpreted as "including but not limited to". In addition, the term "coupled" herein includes any direct and indirect electrical connection means. Therefore, if it is described that the first device is electrically connected to the second device, it means that the first device can be directly connected to the second device, or indirectly connected to the second device through other devices or connection means.

第1圖是示出根據本發明的第一實施例的CDR電路100的示意圖。如第1圖所示,CDR電路100包括相位檢測器110、控制器120和相位濾波器130,其中,相位濾波器130包括相位插值器132、相位檢測器134、環路濾波器136和振盪器138。此外,相位濾波器130內的相位檢測器134可以由相位和頻率檢測器代替。 FIG. 1 is a schematic diagram showing the CDR circuit 100 according to the first embodiment of the present invention. As shown in Figure 1, the CDR circuit 100 includes a phase detector 110, a controller 120, and a phase filter 130. The phase filter 130 includes a phase interpolator 132, a phase detector 134, a loop filter 136, and an oscillator. 138. In addition, the phase detector 134 in the phase filter 130 may be replaced by a phase and frequency detector.

在CDR電路100的操作中,相位檢測器110接收輸入信號(輸入串列資料)Din和時鐘信號CLK,以生成相位檢測結果V_pd1,其中,相位檢測結果V_pd1指示輸入信號Din和時鐘信號CLK的相位資訊,即,時鐘信號CLK相對於輸入信號Din是相位超前(phase-lead)或相位滯後(phase-lag)的和/或兩者的相 位差資訊。然後,由數位電路實現的控制器120接收相位檢測結果V_pd1並生成控制信號Vc1,從而控制相位插值器132調整時鐘信號CLK的相位以生成相移的(phase-shifted)時鐘信號CLK'。其中,控制器120可以是數位濾波器,用於在頻率上對相位檢測結果V_pd1進行濾波。在該實施例中,控制信號Vc1是基於輸入信號Din和時鐘信號CLK的相位資訊生成的數位代碼(digital code),並且相位插值器132使用控制信號Vc1來補償時鐘信號CLK的相位誤差,以生成相移時鐘信號CLK'。然後,相位檢測器134將相移時鐘信號CLK'的相位與參考時鐘信號CLK_REF的相位進行比較,以生成相位檢測結果V_pd2,其中,相位檢測結果V_pd2指示相移時鐘信號CLK'和參考時鐘信號CLK_REF的相位資訊(相位差資訊)。環路濾波器136接收相位檢測結果V_pd2以生成濾波信號Vc2。最後,振盪器138接收濾波信號Vc2,並生成時鐘信號CLK作為CDR電路100的輸出時鐘信號。 In the operation of the CDR circuit 100, the phase detector 110 receives the input signal (input serial data) Din and the clock signal CLK to generate a phase detection result V_pd1, where the phase detection result V_pd1 indicates the phases of the input signal Din and the clock signal CLK Information, that is, whether the clock signal CLK is phase-lead or phase-lag relative to the input signal Din and/or the phase of both Position difference information. Then, the controller 120 implemented by a digital circuit receives the phase detection result V_pd1 and generates a control signal Vc1, thereby controlling the phase interpolator 132 to adjust the phase of the clock signal CLK to generate a phase-shifted clock signal CLK′. Wherein, the controller 120 may be a digital filter for filtering the phase detection result V_pd1 in frequency. In this embodiment, the control signal Vc1 is a digital code generated based on the phase information of the input signal Din and the clock signal CLK, and the phase interpolator 132 uses the control signal Vc1 to compensate the phase error of the clock signal CLK to generate Phase shift clock signal CLK'. Then, the phase detector 134 compares the phase of the phase-shifted clock signal CLK' with the phase of the reference clock signal CLK_REF to generate a phase detection result V_pd2, where the phase detection result V_pd2 indicates the phase-shifted clock signal CLK' and the reference clock signal CLK_REF The phase information (phase difference information). The loop filter 136 receives the phase detection result V_pd2 to generate a filtered signal Vc2. Finally, the oscillator 138 receives the filtered signal Vc2 and generates a clock signal CLK as the output clock signal of the CDR circuit 100.

相位檢測器110、控制器120、相位插值器132、相位檢測器134、環路濾波器136和振盪器138的上述操作可以視為CDR電路100的第一路徑。由於控制器120的速度通常受到半導體工藝的限制,第一路徑具有較長的環路延遲,這使得CDR電路100的性能惡化。具體地,由於第一路徑中控制器120的操作頻率較低,因而相位檢測結果V_pd1和控制信號Vc1都是頻率較慢的低速信號,且控制信號Vc1中同時含有頻率和相位資訊。為了解決第一路徑的較長的環路延遲問題,相位檢測器110進一步生成輔助信號(auxiliary signal)V_aux至振盪器138,使得振盪器138基於濾波信號Vc2和輔助信號V_aux兩者生成時鐘信號CLK,以減小CDR電路100的總延遲時間。詳細地,輔助信號V_aux可以是指示輸入信號Din和時鐘信號CLK的相位資訊的脈衝信號(例如,可以基於相位檢測結果V_pd1生成輔助信號V_aux),輔助信號V_aux可以是頻率較快的高速信號,其中只含有 相位資訊,振盪器138可以同時參考輔助信號V_aux和濾波信號Vc2兩者,以確定時鐘信號CLK的頻率(即,輔助信號V_aux和濾波信號Vc2均能夠控制/調整時鐘信號CLK的頻率)。 The above operations of the phase detector 110, the controller 120, the phase interpolator 132, the phase detector 134, the loop filter 136, and the oscillator 138 can be regarded as the first path of the CDR circuit 100. Since the speed of the controller 120 is generally limited by the semiconductor process, the first path has a longer loop delay, which deteriorates the performance of the CDR circuit 100. Specifically, since the operating frequency of the controller 120 in the first path is low, the phase detection result V_pd1 and the control signal Vc1 are both low-speed signals with a slower frequency, and the control signal Vc1 contains both frequency and phase information. In order to solve the long loop delay problem of the first path, the phase detector 110 further generates an auxiliary signal V_aux to the oscillator 138, so that the oscillator 138 generates a clock signal CLK based on both the filtered signal Vc2 and the auxiliary signal V_aux , In order to reduce the total delay time of the CDR circuit 100. In detail, the auxiliary signal V_aux may be a pulse signal indicating phase information of the input signal Din and the clock signal CLK (for example, the auxiliary signal V_aux may be generated based on the phase detection result V_pd1), and the auxiliary signal V_aux may be a high-speed signal with a faster frequency, where Contains only For phase information, the oscillator 138 can refer to both the auxiliary signal V_aux and the filtered signal Vc2 at the same time to determine the frequency of the clock signal CLK (that is, both the auxiliary signal V_aux and the filtered signal Vc2 can control/adjust the frequency of the clock signal CLK).

在第1圖所示的實施例中,相位檢測器110和振盪器138進一步形成第二路徑,其使用輔助信號V_aux來調整時鐘信號CLK的相位。因此,由於第二路徑中不經過控制器其延遲時間小得多,因而可以有效地減少第一路徑的環路延遲時間和CDR電路100的總延遲時間,並因此提高了CDR電路100的性能。 In the embodiment shown in FIG. 1, the phase detector 110 and the oscillator 138 further form a second path, which uses the auxiliary signal V_aux to adjust the phase of the clock signal CLK. Therefore, since the delay time of the second path without passing through the controller is much smaller, the loop delay time of the first path and the total delay time of the CDR circuit 100 can be effectively reduced, and thus the performance of the CDR circuit 100 can be improved.

第2圖是示出根據本發明的第二實施例的CDR電路200的示意圖。如第2圖所示,CDR電路200包括相位檢測器210、控制器220、相位濾波器230和相位插值器240,其中,相位濾波器230包括相位插值器232、相位檢測器234、環路濾波器236和振盪器238。另外,相位濾波器230內的相位檢測器234可以由相位和頻率檢測器代替。 FIG. 2 is a schematic diagram showing a CDR circuit 200 according to the second embodiment of the present invention. As shown in Figure 2, the CDR circuit 200 includes a phase detector 210, a controller 220, a phase filter 230, and a phase interpolator 240. The phase filter 230 includes a phase interpolator 232, a phase detector 234, and a loop filter.器236 and oscillator 238. In addition, the phase detector 234 in the phase filter 230 may be replaced by a phase and frequency detector.

在CDR電路200的操作中,相位檢測器210接收輸入信號Din和時鐘信號CLK,以生成相位檢測結果V_pd1,其中,相位檢測結果V_pd1指示輸入信號Din和時鐘信號CLK的相位資訊,即,時鐘信號CLK相對於輸入信號Din是相位超前(phase-lead)或相位滯後(phase-lag)的和/或兩者的相位差資訊。然後,由數位電路實現的控制器220接收相位檢測結果V_pd1並生成控制信號Vc1,從而控制相位插值器232調整時鐘信號CLK的相位以生成相移(phase-shifted)時鐘信號CLK'。在該實施例中,控制信號Vc1是基於輸入信號Din和時鐘信號CLK的相位資訊生成的數位代碼(digital code),並且相位插值器232使用控制信號Vc1來補償時鐘信號CLK的相位誤差,以生成相移時鐘信號CLK'。控制信號Vc1是頻率 較慢的低速信號,且控制信號Vc1中同時含有頻率和相位資訊。此外,相位檢測器210還生成相位控制信號Vc3以控制相位插值器240調整參考時鐘信號的相位,從而生成相移參考時鐘信號作為輔助信號V_aux,其中,相位控制信號Vc3可以根據輸入信號Din和時鐘信號CLK的相位資訊來生成(例如,可以基於相位檢測結果V_pd1來生成相位控制信號Vc3)。相位控制信號Vc3可以是頻率較快的高速信號,其中只含有相位資訊。然後,相位檢測器234將相移時鐘信號CLK'的相位與輔助信號V_aux的相位進行比較,以生成相位檢測結果V_pd2,其中,相位檢測結果V_pd2指示相移時鐘信號CLK'和輔助信號V_aux的相位資訊(相位差資訊)。環路濾波器236接收相位檢測結果V_pd2以生成濾波信號Vc2。最後,振盪器238接收濾波信號Vc2,並生成時鐘信號CLK作為CDR電路200的輸出時鐘信號。 In the operation of the CDR circuit 200, the phase detector 210 receives the input signal Din and the clock signal CLK to generate a phase detection result V_pd1, where the phase detection result V_pd1 indicates the phase information of the input signal Din and the clock signal CLK, that is, the clock signal The CLK is phase-lead or phase-lag relative to the input signal Din, and/or the phase difference information between the two. Then, the controller 220 implemented by a digital circuit receives the phase detection result V_pd1 and generates a control signal Vc1, thereby controlling the phase interpolator 232 to adjust the phase of the clock signal CLK to generate a phase-shifted clock signal CLK′. In this embodiment, the control signal Vc1 is a digital code generated based on the phase information of the input signal Din and the clock signal CLK, and the phase interpolator 232 uses the control signal Vc1 to compensate the phase error of the clock signal CLK to generate Phase shift clock signal CLK'. The control signal Vc1 is the frequency A slower low-speed signal, and the control signal Vc1 contains both frequency and phase information. In addition, the phase detector 210 also generates a phase control signal Vc3 to control the phase interpolator 240 to adjust the phase of the reference clock signal, thereby generating a phase-shifted reference clock signal as the auxiliary signal V_aux, wherein the phase control signal Vc3 can be based on the input signal Din and the clock The phase information of the signal CLK is generated (for example, the phase control signal Vc3 can be generated based on the phase detection result V_pd1). The phase control signal Vc3 can be a high-speed signal with a relatively fast frequency, which contains only phase information. Then, the phase detector 234 compares the phase of the phase-shifted clock signal CLK' with the phase of the auxiliary signal V_aux to generate a phase detection result V_pd2, where the phase detection result V_pd2 indicates the phases of the phase-shifted clock signal CLK' and the auxiliary signal V_aux Information (phase difference information). The loop filter 236 receives the phase detection result V_pd2 to generate a filtered signal Vc2. Finally, the oscillator 238 receives the filtered signal Vc2 and generates the clock signal CLK as the output clock signal of the CDR circuit 200.

相位檢測器210、控制器220、相位插值器232、相位檢測器234、環路濾波器236和振盪器238的上述操作可以視為CDR電路200的第一路徑。由於控制器220的速度通常受到半導體工藝的限制,第一路徑具有較長的環路延遲時間,這會惡化CDR電路200的性能。為解決第一路徑的較長的環路延遲時間問題,相位檢測器210、相位插值器240、相位檢測器234、環路濾波器236和振盪器238形成CDR電路200的第二路徑。如第2圖所示,因為第二路徑可以視為是使用輔助信號V_aux來調整時鐘信號CLK的相位,並且第二路徑具有較小的延遲時間,所以可以有效地降低第一路徑的環路延遲時間以及CDR電路200的總延遲時間,並且因此可以提高CDR電路200的性能。 The above operations of the phase detector 210, the controller 220, the phase interpolator 232, the phase detector 234, the loop filter 236, and the oscillator 238 can be regarded as the first path of the CDR circuit 200. Since the speed of the controller 220 is generally limited by the semiconductor process, the first path has a longer loop delay time, which may deteriorate the performance of the CDR circuit 200. In order to solve the problem of the long loop delay time of the first path, the phase detector 210, the phase interpolator 240, the phase detector 234, the loop filter 236, and the oscillator 238 form the second path of the CDR circuit 200. As shown in Figure 2, because the second path can be regarded as using the auxiliary signal V_aux to adjust the phase of the clock signal CLK, and the second path has a smaller delay time, it can effectively reduce the loop delay of the first path Time and the total delay time of the CDR circuit 200, and therefore the performance of the CDR circuit 200 can be improved.

第3圖是示出根據本發明的第三實施例的CDR電路300的示意圖。如第3圖所示,CDR電路300包括相位檢測器310、控制器320和相位濾波器330,其 中,相位濾波器330包括相位插值器332、相位檢測器334、環路濾波器336、振盪器338和相位插值器339。另外,相位濾波器330內的相位檢測器334可以由相位和頻率檢測器代替。 FIG. 3 is a schematic diagram showing a CDR circuit 300 according to the third embodiment of the present invention. As shown in Figure 3, the CDR circuit 300 includes a phase detector 310, a controller 320, and a phase filter 330. Among them, the phase filter 330 includes a phase interpolator 332, a phase detector 334, a loop filter 336, an oscillator 338, and a phase interpolator 339. In addition, the phase detector 334 in the phase filter 330 may be replaced by a phase and frequency detector.

在CDR電路300的操作中,相位檢測器310接收輸入信號Din和時鐘信號CLK",以生成相位檢測結果V_pd1,其中,相位檢測結果V_pd1指示輸入信號Din和時鐘信號CLK"的相位資訊,即,時鐘信號CLK"相對於輸入信號Din是相位超前(phase-lead)或相位滯後(phase-lag)的和/或兩者的相位差資訊。然後,由數位電路實現的控制器320接收相位檢測結果V_pd1並生成控制信號Vc1,從而控制相位插值器332調整時鐘信號CLK的相位以生成相移(phase-shifted)時鐘信號CLK'。在該實施例中,控制信號Vc1是基於輸入信號Din和時鐘信號CLK的相位資訊生成的數位代碼(digital code),並且相位插值器332使用控制信號Vc1來補償時鐘信號CLK的相位誤差,以生成相移時鐘信號CLK'。控制信號Vc1是頻率較慢的低速信號,且控制信號Vc1中同時含有頻率和相位資訊。然後,相位檢測器334將相移時鐘信號CLK'的相位與參考時鐘信號REF_CLK的相位進行比較,以生成相位檢測結果V_pd2,其中,相位檢測結果V_pd2指示相移時鐘信號CLK'和參考時鐘信號REF_CLK的相位資訊(相位差資訊)。環路濾波器336接收相位檢測結果V_pd2以生成濾波信號Vc2。振盪器338接收濾波信號Vc2,並生成時鐘信號CLK作為CDR電路300的輸出時鐘信號。 In the operation of the CDR circuit 300, the phase detector 310 receives the input signal Din and the clock signal CLK" to generate a phase detection result V_pd1, where the phase detection result V_pd1 indicates the phase information of the input signal Din and the clock signal CLK", that is, The clock signal CLK" is phase-lead or phase-lag relative to the input signal Din and/or the phase difference information between the two. Then, the controller 320 implemented by the digital circuit receives the phase detection result V_pd1 and generate a control signal Vc1, thereby controlling the phase interpolator 332 to adjust the phase of the clock signal CLK to generate a phase-shifted clock signal CLK'. In this embodiment, the control signal Vc1 is based on the input signal Din and the clock signal The digital code generated by the phase information of CLK, and the phase interpolator 332 uses the control signal Vc1 to compensate the phase error of the clock signal CLK to generate a phase-shifted clock signal CLK'. The control signal Vc1 is a low-speed signal with a slower frequency , And the control signal Vc1 contains both frequency and phase information. Then, the phase detector 334 compares the phase of the phase-shifted clock signal CLK' with the phase of the reference clock signal REF_CLK to generate a phase detection result V_pd2, where the phase detection result V_pd2 indicates the phase information (phase difference information) of the phase shift clock signal CLK' and the reference clock signal REF_CLK. The loop filter 336 receives the phase detection result V_pd2 to generate the filtered signal Vc2. The oscillator 338 receives the filtered signal Vc2 and generates the clock signal CLK is used as the output clock signal of the CDR circuit 300.

此外,相位檢測器310還生成輔助信號V_aux以控制相位插值器339調整時鐘信號CLK的相位,從而生成時鐘信號CLK",其中,可以根據輸入信號Din和時鐘信號CLK"的相位資訊生成輔助信號V_aux(例如,可以基於相位檢測結果V_pd1生成輔助信號V_aux)輔助信號V_aux可以是頻率較快的高速信號, 其中只含有相位資訊。 In addition, the phase detector 310 also generates an auxiliary signal V_aux to control the phase interpolator 339 to adjust the phase of the clock signal CLK, thereby generating a clock signal CLK", wherein the auxiliary signal V_aux can be generated according to the phase information of the input signal Din and the clock signal CLK" (For example, the auxiliary signal V_aux may be generated based on the phase detection result V_pd1) The auxiliary signal V_aux may be a high-speed signal with a faster frequency, It only contains phase information.

相位檢測器310、控制器320、相位插值器332、相位檢測器334、環路濾波器336、振盪器338和相位插值器339的上述操作可以視為CDR電路300的第一路徑。由於控制器320的速度通常受到半導體工藝的限制,第一路徑具有較長的環路延遲時間,這會惡化CDR電路300的性能。為解決第一路徑的較長的環路延遲時間問題,相位檢測器310、和相位插值器339形成CDR電路300的第二路徑。在第3圖所示的實施例中,因為第二路徑可以視為是使用輔助信號V_aux來調整時鐘信號CLK的相位,並且第二路徑具有較小的延遲時間,所以可以有效地降低第一路徑的環路延遲時間以及CDR電路200的整體延遲時間,並且因此可以提高CDR電路300的性能。 The above operations of the phase detector 310, the controller 320, the phase interpolator 332, the phase detector 334, the loop filter 336, the oscillator 338, and the phase interpolator 339 can be regarded as the first path of the CDR circuit 300. Since the speed of the controller 320 is generally limited by the semiconductor process, the first path has a longer loop delay time, which may deteriorate the performance of the CDR circuit 300. In order to solve the problem of the long loop delay time of the first path, the phase detector 310 and the phase interpolator 339 form the second path of the CDR circuit 300. In the embodiment shown in Figure 3, because the second path can be regarded as using the auxiliary signal V_aux to adjust the phase of the clock signal CLK, and the second path has a smaller delay time, the first path can be effectively reduced The loop delay time of the CDR circuit 200 as well as the overall delay time of the CDR circuit 200, and therefore the performance of the CDR circuit 300 can be improved.

第4圖示出了根據本發明的實施例的CDR電路的信號處理方法的流程圖。參照第1圖至第3圖所示的上述實施例,流程描述如下。 Fig. 4 shows a flowchart of a signal processing method of a CDR circuit according to an embodiment of the present invention. With reference to the above-mentioned embodiment shown in Figs. 1 to 3, the flow is described as follows.

步驟400:開始。 Step 400: Start.

步驟402:比較輸入信號的相位與時鐘信號的相位以生成相位檢測結果。 Step 402: Compare the phase of the input signal with the phase of the clock signal to generate a phase detection result.

步驟404:根據相位檢測結果經過控制器生成低頻的控制信號,其中控制信號包括有頻率和相位資訊。 Step 404: Generate a low-frequency control signal through the controller according to the phase detection result, where the control signal includes frequency and phase information.

步驟406:根據相位檢測結果不經由該控制器,生成高頻的僅包括相位資訊的輔助信號。 Step 406: Generate a high-frequency auxiliary signal that only includes phase information based on the phase detection result without going through the controller.

步驟408:使用相位濾波器接收控制信號和輔助信號以生成時鐘信號,其中,該相位濾波器具有第一路徑用於接收控制信號並生成時鐘信號,並且該相位濾波器還具有第二路徑以使用輔助信號減少CDR電路的總延遲時間。 Step 408: Use a phase filter to receive the control signal and the auxiliary signal to generate a clock signal, where the phase filter has a first path for receiving the control signal and generating a clock signal, and the phase filter also has a second path to use The auxiliary signal reduces the total delay time of the CDR circuit.

簡而言之,在本發明的CDR電路中,CDR電路具有第一路徑和第二路徑,其中第一路徑是具有較高延遲時間的常規環路,而第二路徑具有較小的延遲時間以使得CDR電路的總延遲時間有效地降低。因此,可以提高CDR的性能。 In short, in the CDR circuit of the present invention, the CDR circuit has a first path and a second path, where the first path is a conventional loop with a higher delay time, and the second path has a smaller delay time to This effectively reduces the total delay time of the CDR circuit. Therefore, the performance of the CDR can be improved.

本領域習知技藝者將容易認識到,在保持本發明的教導的同時,可以對裝置和方法進行多種修改和變更。因此,以上公開內容應被解釋為僅由所附申請專利範圍來限定。以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。 Those skilled in the art will readily recognize that various modifications and changes can be made to the device and method while maintaining the teachings of the present invention. Therefore, the above disclosure should be construed as being limited only by the scope of the attached patent application. The foregoing descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made in accordance with the scope of the patent application of the present invention shall fall within the scope of the present invention.

100:CDR電路 100: CDR circuit

110:相位檢測器 110: Phase detector

120:控制器 120: Controller

130:相位濾波器 130: Phase filter

132:相位插值器 132: Phase Interpolator

134:相位檢測器 134: Phase Detector

136:環路濾波器 136: loop filter

138:振盪器 138: Oscillator

Claims (11)

一種時鐘和資料恢復(CDR)電路,包括:第一相位檢測器,用於比較輸入信號的相位和時鐘信號的相位,生成第一相位檢測結果;控制器,耦接至所述第一相位檢測器,用於根據所述第一相位檢測結果生成控制信號;以及相位濾波器,耦接至所述控制器,用以接收所述控制信號和輔助信號以生成所述時鐘信號,其中,所述輔助信號是根據所述第一相位檢測結果而生成的,其中所述控制信號和所述輔助信號的頻率不同。 A clock and data recovery (CDR) circuit includes: a first phase detector for comparing the phase of an input signal with that of a clock signal to generate a first phase detection result; a controller, coupled to the first phase detector A device for generating a control signal according to the first phase detection result; and a phase filter, coupled to the controller, for receiving the control signal and an auxiliary signal to generate the clock signal, wherein the The auxiliary signal is generated according to the first phase detection result, wherein the control signal and the auxiliary signal have different frequencies. 如請求項1之CDR電路,其中,所述相位濾波器具有第一路徑和第二路徑,所述第一路徑用於接收所述控制信號以生成所述時鐘信號,所述第二路徑用於使用所述輔助信號來調整所述時鐘信號的相位以減少所述CDR電路的整體延遲時間。 Such as the CDR circuit of claim 1, wherein the phase filter has a first path and a second path, the first path is used for receiving the control signal to generate the clock signal, and the second path is used for The auxiliary signal is used to adjust the phase of the clock signal to reduce the overall delay time of the CDR circuit. 如請求項1之CDR電路,其中,所述相位濾波器包括:相位插值器,用於參考所述控制信號以調整所述時鐘信號的相位,從而生成相移時鐘信號;第二相位檢測器,耦接到所述相位插值器,用於比較所述相移時鐘信號的相位和參考時鐘信號的相位,以生成第二相位檢測結果;環路濾波器,耦接到所述第二相位檢測器,用於接收所述第二相位檢測結果以生成濾波信號;以及振盪器,耦接至所述環路濾波器,用於接收所述濾波信號和所述輔助信號以生成所述時鐘信號。 The CDR circuit of claim 1, wherein the phase filter includes: a phase interpolator for adjusting the phase of the clock signal with reference to the control signal, thereby generating a phase-shifted clock signal; and a second phase detector, Coupled to the phase interpolator for comparing the phase of the phase-shifted clock signal with the phase of the reference clock signal to generate a second phase detection result; a loop filter, coupled to the second phase detector , For receiving the second phase detection result to generate a filtered signal; and an oscillator, coupled to the loop filter, for receiving the filtered signal and the auxiliary signal to generate the clock signal. 如請求項3之CDR電路,其中,所述輔助信號是指示所述輸入信號和所述時鐘信號的相位資訊的脈衝信號。 The CDR circuit of claim 3, wherein the auxiliary signal is a pulse signal indicating phase information of the input signal and the clock signal. 如請求項4之CDR電路,其中,所述輔助信號由所述第一相位檢測器生成,所述輔助信號包含所述輸入信號和所述時鐘信號的相位差資訊,所述輔助信號的頻率高於所述控制信號的頻率。 The CDR circuit of claim 4, wherein the auxiliary signal is generated by the first phase detector, the auxiliary signal includes phase difference information between the input signal and the clock signal, and the frequency of the auxiliary signal is high The frequency of the control signal. 如請求項3之CDR電路,其中,由所述振盪器生成的所述時鐘信號的頻率由所述濾波信號和所述輔助信號兩者確定。 The CDR circuit of claim 3, wherein the frequency of the clock signal generated by the oscillator is determined by both the filtered signal and the auxiliary signal. 如請求項1之CDR電路,其中,所述相位濾波器包括:第一相位插值器,用於參考所述控制信號來調整所述時鐘信號的相位,以生成相移時鐘信號;第二相位檢測器,耦接至所述第一相位插值器,用於比較所述相移時鐘信號的相位和所述輔助信號的相位,以生成第二相位檢測結果;環路濾波器,耦接到所述第二相位檢測器,接收所述第二相位檢測結果以生成濾波信號;以及振盪器,耦接到所述環路濾波器,接收所述濾波信號以生成所述時鐘信號。 The CDR circuit of claim 1, wherein the phase filter includes: a first phase interpolator for adjusting the phase of the clock signal with reference to the control signal to generate a phase-shifted clock signal; and a second phase detection A loop filter, coupled to the first phase interpolator, for comparing the phase of the phase-shifted clock signal with the phase of the auxiliary signal to generate a second phase detection result; a loop filter, coupled to the A second phase detector receives the second phase detection result to generate a filtered signal; and an oscillator, coupled to the loop filter, receives the filtered signal to generate the clock signal. 如請求項7之CDR電路,還包括:第二相位插值器,耦接到所述第一相位檢測器和所述相位濾波器,使用基於所述第一相位檢測結果生成的相位控制信號來調整參考時鐘信號的相位,以生成作為輔助信號的相移參考時鐘信號。 For example, the CDR circuit of claim 7, further comprising: a second phase interpolator, coupled to the first phase detector and the phase filter, and uses the phase control signal generated based on the first phase detection result to adjust The phase of the reference clock signal is used to generate a phase-shifted reference clock signal as an auxiliary signal. 如請求項1之CDR電路,其中,所述相位濾波器包括:第一相位插值器,用於參考所述控制信號來調整中間時鐘信號的相位,以生成相移時鐘信號;第二相位檢測器,耦接至所述第一相位插值器,用於比較所述相移時鐘信號的相位和參考時鐘信號的相位,以生成第二相位檢測結果;環路濾波器,耦接到所述第二相位檢測器,用於接收所述第二相位檢測結果以生成濾波信號;振盪器,耦接至所述環路濾波器,用於接收所述濾波信號以生成所述中間時鐘信號;以及第二相位插值器,耦接到所述振盪器和所述第一相位檢測器,用於參考所述輔助信號來調整所述中間時鐘信號的相位,以生成所述時鐘信號。 The CDR circuit of claim 1, wherein the phase filter includes: a first phase interpolator for adjusting the phase of the intermediate clock signal with reference to the control signal to generate a phase-shifted clock signal; and a second phase detector , Coupled to the first phase interpolator, for comparing the phase of the phase-shifted clock signal with the phase of the reference clock signal to generate a second phase detection result; a loop filter, coupled to the second A phase detector, configured to receive the second phase detection result to generate a filtered signal; an oscillator, coupled to the loop filter, configured to receive the filtered signal to generate the intermediate clock signal; and a second A phase interpolator, coupled to the oscillator and the first phase detector, is used to adjust the phase of the intermediate clock signal with reference to the auxiliary signal to generate the clock signal. 如請求項9之CDR電路,其中,所述輔助信號由所述第一相位檢測器生成,所述輔助信號包含所述輸入信號和所述時鐘信號的相位差資訊,所述輔助信號的頻率高於所述控制信號的頻率。 The CDR circuit of claim 9, wherein the auxiliary signal is generated by the first phase detector, the auxiliary signal includes phase difference information between the input signal and the clock signal, and the frequency of the auxiliary signal is high The frequency of the control signal. 一種時鐘和資料恢復電路(CDR)的信號處理方法,包括:比較輸入信號的相位和時鐘信號的相位,以生成相位檢測結果;根據所述相位檢測結果經過控制器生成低頻的控制信號,其中所述控制信號包括有頻率和相位資訊;根據所述相位檢測結果生成高頻的輔助信號,其中所述輔助信號包括相位資訊;以及使用相位濾波器接收所述控制信號和所述輔助信號以生成所述時鐘信號, 其中,所述相位濾波器具有第一路徑和第二路徑,所述第一路徑用於接收所述控制信號以生成所述時鐘信號,所述第二路徑使用所述輔助信號來調整所述時鐘信號的相位,以減少所述CDR電路的整體延遲。 A signal processing method for a clock and data recovery circuit (CDR) includes: comparing the phase of the input signal with the phase of the clock signal to generate a phase detection result; according to the phase detection result, a controller generates a low-frequency control signal, wherein The control signal includes frequency and phase information; a high-frequency auxiliary signal is generated according to the phase detection result, wherein the auxiliary signal includes phase information; and a phase filter is used to receive the control signal and the auxiliary signal to generate the The clock signal, Wherein, the phase filter has a first path and a second path, the first path is used to receive the control signal to generate the clock signal, and the second path uses the auxiliary signal to adjust the clock The phase of the signal to reduce the overall delay of the CDR circuit.
TW109141802A 2020-01-16 2020-11-27 Clock and data recovery circuit and associated signal processing method TWI746295B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US16/744,188 US11349485B2 (en) 2019-01-28 2020-01-16 Clock and data recovery and associated signal processing method
US16/744,188 2020-01-16

Publications (2)

Publication Number Publication Date
TW202130124A TW202130124A (en) 2021-08-01
TWI746295B true TWI746295B (en) 2021-11-11

Family

ID=76809850

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109141802A TWI746295B (en) 2020-01-16 2020-11-27 Clock and data recovery circuit and associated signal processing method

Country Status (2)

Country Link
CN (1) CN113141179B (en)
TW (1) TWI746295B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116073821B (en) * 2021-11-01 2025-11-28 瑞昱半导体股份有限公司 Clock data recovery circuit

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201338427A (en) * 2012-02-21 2013-09-16 Qualcomm Inc Automatic detection and compensation of frequency offset in point-to-point communication
US20130251084A1 (en) * 2005-09-13 2013-09-26 Rambus Inc. Low jitter clock recovery circuit
US8948332B2 (en) * 2012-11-16 2015-02-03 Analog Devices, Inc. Method of static phase offset correction for a linear phase detector
US9036764B1 (en) * 2012-12-07 2015-05-19 Rambus Inc. Clock recovery circuit
US9806879B2 (en) * 2015-05-28 2017-10-31 Realtek Semiconductor Corp. Burst mode clock data recovery device and method thereof
TWI649973B (en) * 2017-10-31 2019-02-01 北京集創北方科技股份有限公司 Clock data recovery circuit and communication device using same

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6738922B1 (en) * 2000-10-06 2004-05-18 Vitesse Semiconductor Corporation Clock recovery unit which uses a detected frequency difference signal to help establish phase lock between a transmitted data signal and a recovered clock signal
TWI398151B (en) * 2009-04-17 2013-06-01 Univ Nat Taiwan Data and clock recovery circuit
KR100989848B1 (en) * 2009-08-31 2010-10-29 동국대학교 산학협력단 Clock and data recovery circuit
KR20120135706A (en) * 2011-06-07 2012-12-17 현대모비스 주식회사 Delay-locked loop for decreasing the noise of input phase
US9076366B2 (en) * 2012-02-16 2015-07-07 Aquantia Corp. Clock recovery system
EP2894786B1 (en) * 2014-01-14 2019-02-27 Synopsys, Inc. Delay-locked loop circuit and method for controlling a phase difference in a delay-locked loop circuit
JP6430738B2 (en) * 2014-07-14 2018-11-28 シナプティクス・ジャパン合同会社 CDR circuit and semiconductor device
US9313017B1 (en) * 2015-06-11 2016-04-12 Xilinx, Inc. Baud-rate CDR circuit and method for low power applications
CN108282162B (en) * 2017-01-06 2021-08-31 联咏科技股份有限公司 Clock and Data Recovery Circuits with Improved Jitter Tolerance

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130251084A1 (en) * 2005-09-13 2013-09-26 Rambus Inc. Low jitter clock recovery circuit
TW201338427A (en) * 2012-02-21 2013-09-16 Qualcomm Inc Automatic detection and compensation of frequency offset in point-to-point communication
US8948332B2 (en) * 2012-11-16 2015-02-03 Analog Devices, Inc. Method of static phase offset correction for a linear phase detector
US9036764B1 (en) * 2012-12-07 2015-05-19 Rambus Inc. Clock recovery circuit
US9806879B2 (en) * 2015-05-28 2017-10-31 Realtek Semiconductor Corp. Burst mode clock data recovery device and method thereof
TWI649973B (en) * 2017-10-31 2019-02-01 北京集創北方科技股份有限公司 Clock data recovery circuit and communication device using same

Also Published As

Publication number Publication date
CN113141179B (en) 2025-05-27
TW202130124A (en) 2021-08-01
CN113141179A (en) 2021-07-20

Similar Documents

Publication Publication Date Title
JP3940917B2 (en) Phase detector and phase difference compensation method
US20090134924A1 (en) Delay locked loop circuit and semiconductor integrated circuit device
US6882196B2 (en) Duty cycle corrector
US11121851B2 (en) Differential sensing circuit for clock skew calibration relative to reference clock
JP3407197B2 (en) PLL (Phase Locked Loop) circuit
US7826584B2 (en) Phase locked loops capable of burn-in testing with increased locking range and burn-in testing method thereof
TWI746295B (en) Clock and data recovery circuit and associated signal processing method
CN117318707B (en) A clock switching control circuit and control method
US11349485B2 (en) Clock and data recovery and associated signal processing method
JP3976734B2 (en) Driver driving method, driver circuit, and transmission method
JP4164357B2 (en) Frequency comparator
US7855584B2 (en) Low lock time delay locked loops using time cycle suppressor
JP2019097080A (en) Signal regeneration circuit, optical module and signal regeneration method
US7825709B2 (en) Tri-state delay-typed phase lock loop
US20080001641A1 (en) Phase control circuit
JP4510048B2 (en) Driver circuit device and driver driving method
CN1972129A (en) Charge pump circuit and its method
JP2000068991A (en) Clock identification and regeneration circuit
CN1726642A (en) Coarse delay tuner circuits with edge suppressors in delay locked loops
JP3160907B2 (en) Phase locked loop
JP4478111B2 (en) High frequency power supply
US12542546B2 (en) Timing margin sensor
JP4086568B2 (en) Phase comparison circuit
US20240250673A1 (en) Timing margin sensor
EP3633855B1 (en) Clock buffer having low power, low noise and low spur