[go: up one dir, main page]

TWI734655B - A method for improving the tracking performance of clock data recovery circuitand a system using the same - Google Patents

A method for improving the tracking performance of clock data recovery circuitand a system using the same Download PDF

Info

Publication number
TWI734655B
TWI734655B TW109143081A TW109143081A TWI734655B TW I734655 B TWI734655 B TW I734655B TW 109143081 A TW109143081 A TW 109143081A TW 109143081 A TW109143081 A TW 109143081A TW I734655 B TWI734655 B TW I734655B
Authority
TW
Taiwan
Prior art keywords
pulse width
phase detector
interval
signal
data
Prior art date
Application number
TW109143081A
Other languages
Chinese (zh)
Other versions
TW202224359A (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
Application filed by 瑞鼎科技股份有限公司 filed Critical 瑞鼎科技股份有限公司
Priority to TW109143081A priority Critical patent/TWI734655B/en
Priority to CN202110378089.5A priority patent/CN114598317B/en
Application granted granted Critical
Publication of TWI734655B publication Critical patent/TWI734655B/en
Publication of TW202224359A publication Critical patent/TW202224359A/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
    • 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

Landscapes

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

Abstract

A CDR system comprises a phase detector and a APWC module. The phase detector is configured to sample a data signal to derive a plurality of sampling values. The APWC module is configured to provide a pulse width control signal to the phase detector according to a data transiting rate derived from the sampling values. Wherein the phase detector adjusts the pulse width of the output signal according to the pulse width control signal.

Description

提升時脈資料回復電路的追隨表現的方法及其適用之系統Method for improving tracking performance of clock data recovery circuit and its applicable system

本發明是關於一種時脈資料回復電路的控制方法及其適用之系統,特別是關於一種提升時脈資料回復電路的追蹤表現的方法及系統。The present invention relates to a control method of a clock data recovery circuit and its applicable system, in particular to a method and system for improving the tracking performance of the clock data recovery circuit.

時脈資料回復(Clock data recovery, CDR)電路常被用於高速傳輸的應用中,通常用以例如透過擷取資料訊號的上升/下降邊緣來回復輸入資料訊號的相位及/或頻率資訊。而習知的CDR電路,如圖1所示,例如包含相位偵測器(Phase detector, PD)、充電泵(Charge pump, CP)、迴路濾波器(Loop filter, LF)以及壓控震盪器(Voltage-controlledoscillator, VCO)。Clock data recovery (CDR) circuits are often used in high-speed transmission applications, usually for recovering the phase and/or frequency information of the input data signal, for example, by capturing the rising/falling edge of the data signal. The conventional CDR circuit, as shown in Figure 1, includes, for example, a phase detector (PD), a charge pump (CP), a loop filter (LF), and a voltage-controlled oscillator ( Voltage-controlledoscillator, VCO).

一般來說,應用於高速傳輸的時脈資料回復電路,大多都以碰撞式(Bang-Bang, BB)相位偵測器,來進行CDR電路的相位偵測及/或校正。當BBPD-CDR應用於不同資料類型時,若BBPD-CDR的追隨能力不足(例如對於頻率的追隨能力),將會導致抖動容忍度(Jitter tolerance)不足。而影響時脈回復迴路的穩定性。雖然可以利用各種編碼格式(Coding Format),來減少影響,但會導致額外的編碼開銷。因此,如何提升時脈資料回復電路的追隨能力,將會是本領域技術研發的一大目標。Generally speaking, most clock data recovery circuits applied to high-speed transmission use Bang-Bang (BB) phase detectors to perform phase detection and/or correction of the CDR circuit. When the BBPD-CDR is applied to different data types, if the following ability of the BBPD-CDR is insufficient (for example, the ability to follow the frequency), it will lead to insufficient jitter tolerance. And affect the stability of the clock recovery loop. Although various coding formats (Coding Format) can be used to reduce the impact, it will cause additional coding overhead. Therefore, how to improve the tracking ability of the clock data recovery circuit will be a major goal of technology research and development in this field.

本發明提供一種時脈資料回復系統,包含相位偵測器以及自適應脈波寬度控制(APWC)模組。相位偵測器用以對一資料訊號進行取樣以獲得複數取樣值。APWC模組用以根據該些取樣值取得的一資料轉態率提供一頻寬調整訊號至該相位偵測器。其中該相位偵測器依據該頻寬調整訊號調整輸出訊號的脈波寬度。The present invention provides a clock data recovery system, which includes a phase detector and an adaptive pulse width control (APWC) module. The phase detector is used to sample a data signal to obtain a complex sample value. The APWC module is used for providing a bandwidth adjustment signal to the phase detector according to a data transition rate obtained from the sampling values. The phase detector adjusts the pulse width of the output signal according to the bandwidth adjustment signal.

本發明提供一種時脈資料回復電路的控制方法,包含:藉由一相位偵測器取樣一資料訊號,並獲得複數取樣值;依據該些取樣值,計算該資料訊號的一資料轉態率;以及根據該資料轉態率調整該相位偵測器的輸出脈波寬度。The present invention provides a control method of a clock data recovery circuit, which includes: sampling a data signal by a phase detector and obtaining a plurality of sample values; and calculating a data transition rate of the data signal according to the sample values; And adjust the output pulse width of the phase detector according to the data transition rate.

於一實施例中,該相位偵測器包含一脈寬調整模組;該脈寬調整模組依據該資料轉態率選擇輸入的一調整時脈訊號。In one embodiment, the phase detector includes a pulse width adjustment module; the pulse width adjustment module selects an input adjustment clock signal according to the data transition rate.

於一實施例中,其中該脈寬調整模組的輸入還包含一時脈訊號,該調整時脈訊號落後該時脈訊號。In one embodiment, the input of the pulse width adjustment module further includes a clock signal, and the adjusted clock signal lags the clock signal.

於一實施例中,其中該調整時脈訊號落後該時脈訊號的幅度為0.5UI至1.5UI之間。In one embodiment, the amplitude that the adjusted clock signal lags behind the clock signal is between 0.5 UI and 1.5 UI.

於一實施例中,其中當該資料轉態率位於一第一區間時,該相位偵測器輸出為一第一脈波寬度;其中當該資料轉態率位於一第二區間時,該相位偵測器輸出為一第二脈波寬度;其中當該資料轉態率位於一第三區間時,該相位偵測器輸出為一第三脈波寬度。In one embodiment, when the data transition rate is in a first interval, the phase detector output is a first pulse width; and when the data transition rate is in a second interval, the phase The output of the detector is a second pulse width; wherein when the data transition rate is in a third interval, the output of the phase detector is a third pulse width.

於一實施例中,其中該第一區間為100%至50%之間;該第二區間為50%至30%之間;該第三區間為30%以下。In an embodiment, the first interval is between 100% and 50%; the second interval is between 50% and 30%; and the third interval is less than 30%.

如上所述,透過第一脈寬調整模組接收時脈訊號以及第一調整時脈訊號並輸出調整訊號,藉此提供適當的脈波寬度。當充電泵根據適當脈波寬度進行充電或放電時,時脈資料回復電路的抖動產生或影響將會降低。藉此達到改善時脈資料回復電路迴路穩定性的目的。As described above, the first pulse width adjustment module receives the clock signal and the first adjustment clock signal and outputs the adjustment signal, thereby providing an appropriate pulse width. When the charge pump charges or discharges according to the appropriate pulse width, the jitter generation or influence of the clock data recovery circuit will be reduced. This achieves the purpose of improving the stability of the clock data recovery circuit loop.

以下將以圖式及詳細敘述清楚說明本揭示內容之精神,任何所屬技術領域中具有通常知識者在瞭解本揭示內容之實施例後,當可由本揭示內容所教示之技術,加以改變及修飾,其並不脫離本揭示內容之精神與範圍。The following will clearly illustrate the spirit of the present disclosure with diagrams and detailed descriptions. Anyone with ordinary knowledge in the technical field who understands the embodiments of the present disclosure can change and modify the techniques taught in the present disclosure. It does not depart from the spirit and scope of this disclosure.

關於本文中所使用之『第一』、『第二』、…等,並非特別指稱次序或順位的意思,亦非用以限定本發明,其僅為了區別以相同技術用語描述的元件或操作。關於本文中所使用之『包含』、『包括』、『具有』、『含有』等等,均為開放性的用語,即意指包含但不限於。Regarding the "first", "second", etc. used in this text, they do not specifically refer to order or sequence, nor are they used to limit the present invention. They are only used to distinguish elements or operations described in the same technical terms. Regarding the "include", "include", "have", "contain", etc. used in this article, they are all open terms, which means including but not limited to.

關於本文中所使用之用詞(terms),除有特別註明外,通常具有每個用詞使用在此領域中、在此揭露之內容中與特殊內容中的平常意義。某些用以描述本揭露之用詞將於下或在此說明書的別處討論,以提供本領域技術人員在有關本揭露之描述上額外的引導。Regarding the terms used in this article, unless otherwise specified, each term usually has the usual meaning of each term used in this field, in the content disclosed here, and in the special content. Some terms used to describe the present disclosure will be discussed below or elsewhere in this specification to provide those skilled in the art with additional guidance on the description of the present disclosure.

在附圖中,為了清楚起見,放大了層、板、區域或空間等的厚度。在整個說明書中,相同的附圖標記表示相同的元件。應當理解,當諸如層、板、區域或空間的元件被稱為在另一元件「上」或「連接到」另一元件時,其可以被解釋為直接在另一元件上或與另一元件連接,或是可解釋為具有或存在中間元件在元件與另一元件之間。如本文所使用的「連接」或「耦接」可以指物理及/或電性連接。再者,為簡化附圖及凸顯附圖所要呈現之內容,附圖中習知的結構或元件將可能以簡單示意的方式繪出或是以省略的方式呈現。In the drawings, the thickness of layers, panels, regions, or spaces, etc., are exaggerated for clarity. Throughout the specification, the same reference numerals denote the same elements. It should be understood that when an element such as a layer, board, region or space is referred to as being "on" or "connected to" another element, it can be interpreted as being directly on or with another element. Connected, or can be interpreted as having or presence of intermediate elements between the element and another element. As used herein, "connected" or "coupled" can refer to physical and/or electrical connections. Furthermore, in order to simplify the drawings and highlight the content to be presented in the drawings, the conventional structures or elements in the drawings may be drawn in a simple schematic manner or presented in an omitted manner.

請參照圖2,圖2說明使用本發明所揭示的時脈資料回復電路控制方法的時脈資料回復系統10。時脈資料回復系統10包括相位偵測器PD、充電泵CP、迴路濾波器LF、壓控震盪器VCO以及自適應脈波寬度控制(Adaptive pulse width control, APWC)模組APWCM。具體來說,相位偵測器PD例如為碰撞式相位偵測器,且較佳為半速率(Half-rate)或多速率(Multi-rate)(例如但不限於1/4-rate或1/9-rate)的碰撞式(BB)相位偵測器PD。自適應脈波寬度控制模組APWCM自相位偵測器PD接收相位偵測器PD提供的資料轉態率DTR後,由自適應脈波寬度控制模組APWCM根據資料轉態率DTR提供頻寬調整訊號PMS至相位偵測器PD。相位偵測器PD根據頻寬調整訊號PMS來調整相位偵測器PD的輸出訊號的頻寬。Please refer to FIG. 2. FIG. 2 illustrates the clock data recovery system 10 using the control method of the clock data recovery circuit disclosed in the present invention. The clock data recovery system 10 includes a phase detector PD, a charge pump CP, a loop filter LF, a voltage controlled oscillator VCO, and an adaptive pulse width control (APWC) module APWCM. Specifically, the phase detector PD is, for example, an impact phase detector, and is preferably half-rate or multi-rate (such as but not limited to 1/4-rate or 1/ 9-rate) collision type (BB) phase detector PD. After the adaptive pulse width control module APWCM receives the data transition rate DTR provided by the phase detector PD from the phase detector PD, the adaptive pulse width control module APWCM provides bandwidth adjustment according to the data transition rate DTR The signal PMS is sent to the phase detector PD. The phase detector PD adjusts the bandwidth of the output signal of the phase detector PD according to the bandwidth adjustment signal PMS.

須說明的是,資料轉態率DTR的定義例如為單位資料長度中,資料轉換的次數。舉例來說,單位資料長度中由低位準(二進位的「0」)轉態為高位準(二進位的「1」)或是高位準轉態為低位準的次數。資料轉態率DTR的計算可以由相位偵測器PD計算並提供至自適應脈波寬度控制模組APWCM,亦可以由自適應脈波寬度控制模組APWCM計算得知。舉例來說,自適應脈波寬度控制模組APWCM可以根據由相位偵測器PD傳出的資料來計算資料的轉態次數。本發明並不限於資料轉態率DTR的計算方式。It should be noted that the definition of the data transition rate DTR is, for example, the number of data transitions in the unit data length. For example, in the unit data length, the number of transitions from low level (binary "0") to high level (binary "1") or high level to low level. The calculation of the data transition rate DTR can be calculated by the phase detector PD and provided to the adaptive pulse width control module APWCM, or it can be calculated by the adaptive pulse width control module APWCM. For example, the adaptive pulse width control module APWCM can calculate the number of data transitions based on the data transmitted by the phase detector PD. The present invention is not limited to the calculation method of the data transition rate DTR.

於一實施例中,自適應脈波寬度控制模組APWCM可以根據資料轉態率DTR將相位偵測器PD的頻寬調整並分成三種狀態。具體來說,如下表1所示,當資料轉態率位於第一區間時,相位偵測器PD輸出為第一脈波寬度;其中當資料轉態率位於第二區間時,相位偵測器PD輸出為第二脈波寬度;其中當該資料轉態率位於第三區間時,相位偵測器PD輸出為第三脈波寬度。於較佳的實施例中,第一區間為資料轉態率在100%至50%的範圍;第二區間為資料轉態率在50%至30%的範圍;第三區間為資料轉態率小於30%的範圍。於較佳的實施例中,第一脈波寬度為0.5UI;第二脈波寬度為1UI;第三脈波寬度為1.5UI。須說明的是,上述實施例僅是說明資料轉態率可以區分為數個區間並且依據資料轉態率屬於的區間提供相應的脈波寬度。本發明並不限於資料轉態率的區間和的數量以及範圍且不限於提供脈波寬度的寬度。任何依據資料轉態率而提供不同脈波寬度的相似概念皆應屬於本發明之範疇。 表1、資料轉態率與脈波寬度對應關係。 資料轉態率 脈波寬度 第一區間 (100%~50%) 第一脈波寬度 (0.5 UI) 第二區間 (50%~30%) 第二脈波寬度(1 UI) 第三區間 (<30%) 第三脈波寬度 (1.5 UI) In one embodiment, the adaptive pulse width control module APWCM can adjust the bandwidth of the phase detector PD and divide it into three states according to the data transition rate DTR. Specifically, as shown in Table 1 below, when the data transition rate is in the first interval, the output of the phase detector PD is the first pulse width; when the data transition rate is in the second interval, the phase detector The PD output is the second pulse width; when the data transition rate is in the third interval, the PD output of the phase detector is the third pulse width. In a preferred embodiment, the first interval is the data transition rate in the range of 100% to 50%; the second interval is the data transition rate in the range of 50% to 30%; the third interval is the data transition rate Less than 30% of the range. In a preferred embodiment, the first pulse wave width is 0.5 UI; the second pulse wave width is 1 UI; and the third pulse wave width is 1.5 UI. It should be noted that the foregoing embodiment only illustrates that the data transition rate can be divided into several intervals and the corresponding pulse wave width is provided according to the interval to which the data transition rate belongs. The present invention is not limited to the number and range of the interval sum of the data transition rate and is not limited to the width of the pulse wave width provided. Any similar concepts that provide different pulse widths based on the data transition rate should belong to the scope of the present invention. Table 1. Correspondence between data transition rate and pulse width. Data transition rate Pulse width The first interval (100%~50%) First pulse width (0.5 UI) The second interval (50%~30%) Second pulse width (1 UI) The third interval (<30%) Third pulse width (1.5 UI)

於一實施例中,以一個數據資料封包的資料長度為9UI為例,長度為9UI的數據資料封包中轉態次數最多為9次且最少為2次。可以將其分成三種區間並針對不同區間給予不同的脈波寬度。舉例來說,第一區間的轉態次數可以為9到6次之間,且第一脈寬寬度可以為0.5UI,若根據時脈資料回復系統10的頻寬可正比於資料的轉態次數與充放電的脈波寬度來計算,此區間中的迴路頻寬變化量為4.5到3。第二區間的轉態次數可以為5到4次之間,且第二脈寬寬度可以為1UI,此區間中的迴路頻寬變化量為5到4;第三區間的轉態次數可以為3到2次之間,且第三脈寬寬度可以為1.5UI,此區間中的迴路頻寬變化量為4.5到3。較佳來說,各區間中的轉態次數與脈波寬度的乘積(迴路頻寬變化量)較佳為實質相等或近似。藉由此設置,於資料轉態率或資料轉態次數低時,透過調整脈波寬度的值仍可以有很好的頻率追蹤能力,進而使時脈資料回復系統的抖動容忍最佳化。In one embodiment, taking a data packet with a data length of 9UI as an example, the number of state transitions in a data packet with a length of 9UI is at most 9 times and at least 2 times. It can be divided into three sections and given different pulse widths for different sections. For example, the number of transitions in the first interval can be between 9 and 6, and the first pulse width can be 0.5UI. If the bandwidth of the system 10 is restored according to the clock data, it can be proportional to the number of transitions of the data. Calculated with the pulse width of charging and discharging, the loop bandwidth change in this interval is 4.5 to 3. The number of transitions in the second interval can be between 5 and 4, and the second pulse width can be 1UI, the loop bandwidth variation in this interval is 5 to 4; the number of transitions in the third interval can be 3 To 2 times, and the third pulse width can be 1.5UI, the loop bandwidth change in this interval is 4.5 to 3. Preferably, the product of the number of transitions in each interval and the pulse width (the amount of change in loop bandwidth) is preferably substantially equal or similar. With this setting, when the data transition rate or the number of data transitions is low, you can still have a good frequency tracking ability by adjusting the value of the pulse width, thereby optimizing the jitter tolerance of the clock data recovery system.

於一實施例中,請參照圖3,說明一種相位偵測器100,包含第一取樣元件111、第二取樣元件112、第一比較元件121、第一脈寬調整模組131以及第一輸出元件141。第一取樣元件111對應第一時脈訊號CLK1對資料訊號DS進行取樣並輸出第一取樣值D1。第二取樣元件112對應第二時脈訊號CLK2對資料訊號DS進行取樣並輸出第二取樣值D2。具體來說,第一取樣元件111及/或第二取樣元件112可以但不限於為正反器(Flip-flop)或其他依據時脈訊號進行取樣之元件。此外,取樣元件111、112分別對應時脈訊號CLK1、CLK2的定義例如但不限於為依據時脈訊號CLK1、CLK2的上緣點及/或下緣點進行邊緣觸發(Edge-triggered)。資料訊號DS與取樣值D1、D2例如但不限於為序列式數位訊號以及序列式數位訊號中的位元值。In one embodiment, referring to FIG. 3, a phase detector 100 is illustrated, including a first sampling element 111, a second sampling element 112, a first comparison element 121, a first pulse width adjustment module 131, and a first output Component 141. The first sampling element 111 samples the data signal DS corresponding to the first clock signal CLK1 and outputs a first sampling value D1. The second sampling element 112 samples the data signal DS corresponding to the second clock signal CLK2 and outputs a second sampling value D2. Specifically, the first sampling element 111 and/or the second sampling element 112 can be, but not limited to, a flip-flop or other elements that perform sampling based on a clock signal. In addition, the sampling elements 111 and 112 respectively correspond to the definitions of the clock signals CLK1 and CLK2, for example, but not limited to, edge-triggered based on the upper edge points and/or the lower edge points of the clock signals CLK1 and CLK2. The data signal DS and the sampling values D1 and D2 are, for example, but not limited to, serial digital signals and bit values in serial digital signals.

第一比較元件121耦接於第一取樣元件111及第二取樣元件112且接收第一取樣值D1與第二取樣值D2。具體來說,第一比較元件121例如但不限於為比較器或是邏輯閘,且較佳為互斥或(Exclusive OR,XOR)邏輯閘。當第一取樣值D1與第二取樣值D2為不同時,第一比較元件121輸出第一比較訊號CS1。舉例來說,第一取樣值D1的數值為二進制(Binary)數值的「1」,第二取樣值D2的數值為二進制數值的「0」,則第一取樣值D1與第二取樣值D2為不同。第一比較訊號CS1的定義例如為第一取樣值D1與第二取樣值D2的比較結果。舉例來說,當第一取樣值D1與第二取樣值D2為不同時,第一比較訊號CS1為二進制數值的「1」。反之當第一取樣值D1與第二取樣值D2為相同時,第一比較訊號CS1為二進制數值的「0」。須說明的是,上述示例僅是為了說明實施例而非為了限制本發明。The first comparison element 121 is coupled to the first sampling element 111 and the second sampling element 112 and receives the first sampling value D1 and the second sampling value D2. Specifically, the first comparison element 121 is, for example, but not limited to, a comparator or a logic gate, and is preferably an exclusive OR (XOR) logic gate. When the first sample value D1 and the second sample value D2 are different, the first comparison element 121 outputs the first comparison signal CS1. For example, if the value of the first sample value D1 is a binary value "1", and the value of the second sample value D2 is a binary value "0", then the first sample value D1 and the second sample value D2 are different. The definition of the first comparison signal CS1 is, for example, a comparison result of the first sample value D1 and the second sample value D2. For example, when the first sample value D1 and the second sample value D2 are different, the first comparison signal CS1 is a binary value "1". Conversely, when the first sample value D1 and the second sample value D2 are the same, the first comparison signal CS1 is a binary value "0". It should be noted that the above examples are only used to illustrate the embodiments and not to limit the present invention.

請參照圖3以及圖4,第一脈寬調整模組131接收第三時脈訊號CLK3及第一調整時脈訊號ACK1。舉例來說,第一脈寬調整模組131可以但不限於透過邏輯電路或者開關電路來實現。其中第三時脈訊號CLK3的正緣點P3與第一調整時脈訊號ACK1的正緣點PA1之間有時間間隔TS。具體來說,第一時脈訊號CLK1、第二時脈訊號CLK2及第三時脈訊號CLK3的時脈寬度(Pulse width, PW)彼此相同。此外,第一時脈訊號CLK1的正緣點P1、第二時脈訊號CLK2的正緣點P2及第三時脈訊號CLK3的正緣點P3彼此依序落後且落後幅度為落後寬度DW。較佳來說,落後寬度DW為0.5 UI。舉例來說,第二時脈訊號CLK2的正緣點P2落後第一時脈訊號CLK1的正緣點P1的幅度為0.5 UI,並且第三時脈訊號CLK3的正緣點P3落後第二時脈訊號CLK2的正緣點P2的幅度也為0.5 UI。須說明的是,本發明時脈訊號CLK1-CLK3彼此落後的落後寬度DW並不限於0.5 UI。另一方面,本發明並不限於時脈訊號的數量,換句話說,本發明可具有時脈訊號CLK1-CLKX,數量為X個的時脈訊號,X為任意大於3的正整數。於一實施例中,當相位偵測器100應用於1/N速率架構的時脈資料回復電路時,X會等於兩倍的N。第一調整時脈訊號ACK1可以是時脈訊號CLK1-CLKX中落後第三時脈訊號CLK3的其中之一者。時間間隔TS的寬度較佳而言為0.5 UI、1 UI或1.5 UI。舉例來說,當時脈訊號CLK1-CLKX中每一個時脈訊號依序落後的幅度為0.5 UI且第三時脈訊號CLK3的正緣點P3與第一調整時脈訊號ACK1的正緣點PA1之間的時間間隔TS為0.5 UI時,第一調整時脈訊號ACK1可以為第四時脈訊號CLK4。接下來,第一脈寬調整模組131於時間間隔TS的區間內輸出第一調整訊號AS1。舉例來說,如圖3所示,第一調整訊號AS1在時間間隔TS的區間輸出二進制數值「1」,其餘區間輸出二進制數值「0」。如此可以產生寬度相等於時間間隔TS的第一調整訊號AS1。3 and 4, the first pulse width adjustment module 131 receives the third clock signal CLK3 and the first adjustment clock signal ACK1. For example, the first pulse width adjustment module 131 can be implemented by, but not limited to, a logic circuit or a switch circuit. There is a time interval TS between the positive edge point P3 of the third clock signal CLK3 and the positive edge point PA1 of the first adjusted clock signal ACK1. Specifically, the pulse width (PW) of the first clock signal CLK1, the second clock signal CLK2, and the third clock signal CLK3 are the same as each other. In addition, the positive edge point P1 of the first clock signal CLK1, the positive edge point P2 of the second clock signal CLK2, and the positive edge point P3 of the third clock signal CLK3 lag each other in sequence by a lagging width DW. Preferably, the backward width DW is 0.5 UI. For example, the positive edge point P2 of the second clock signal CLK2 lags behind the positive edge point P1 of the first clock signal CLK1 by an amplitude of 0.5 UI, and the positive edge point P3 of the third clock signal CLK3 lags behind the second clock signal The amplitude of the positive edge point P2 of the signal CLK2 is also 0.5 UI. It should be noted that the lag width DW that the clock signals CLK1 to CLK3 lag behind each other in the present invention is not limited to 0.5 UI. On the other hand, the present invention is not limited to the number of clock signals. In other words, the present invention can have clock signals CLK1-CLKX, the number of which is X clock signals, and X is any positive integer greater than 3. In one embodiment, when the phase detector 100 is applied to a clock data recovery circuit with a 1/N rate structure, X is equal to twice N. The first adjusted clock signal ACK1 may be one of the clock signals CLK1-CLKX that is behind the third clock signal CLK3. The width of the time interval TS is preferably 0.5 UI, 1 UI or 1.5 UI. For example, each of the clock signals CLK1-CLKX sequentially lags behind by 0.5 UI, and the third clock signal CLK3 has a positive edge point P3 and the first adjusted clock signal ACK1 has a positive edge point PA1. When the time interval TS is 0.5 UI, the first adjusted clock signal ACK1 can be the fourth clock signal CLK4. Next, the first pulse width adjustment module 131 outputs the first adjustment signal AS1 in the interval of the time interval TS. For example, as shown in FIG. 3, the first adjustment signal AS1 outputs a binary value "1" in the interval of the time interval TS, and outputs a binary value "0" in the remaining intervals. In this way, the first adjustment signal AS1 with a width equal to the time interval TS can be generated.

第一輸出元件141耦接第一比較元件121及第一脈寬調整模組131且接收第一比較訊號CS1與第一調整訊號AS1。具體來說,第一輸出元件141例如為邏輯電路元件。第一輸出元件141將第一比較訊號CS1與第一調整訊號AS1進行邏輯運算後輸出第一輸出訊號OS1。於一實施例中,邏輯運算為及(AND)邏輯運算,於此實施例中,舉例來說,當第一比較訊號CS1與第一調整訊號AS1皆為二進制數值「1」時,第一輸出訊號OS1為二進制數值「1」。此外,於一實施例中,第一輸出元件141輸出的第一輸出訊號OS1例如可以提供至後端連接的充電泵。於此實施例中第一輸出訊號OS1例如為提供給充電泵的超前訊號(Up signal)或是落後訊號(Down signal)。第一輸出元件141可以依據第一調整訊號AS1的寬度來調整第一比較訊號CS1。時脈資料回復電路藉由上述相位偵測器100,可以提供充電泵合適的充電及/或放電時間,減少迴路濾波器的積分響應。使整個時脈資料回復電路藉由此設置減少抖動產生。The first output element 141 is coupled to the first comparison element 121 and the first pulse width adjustment module 131 and receives the first comparison signal CS1 and the first adjustment signal AS1. Specifically, the first output element 141 is, for example, a logic circuit element. The first output element 141 performs a logical operation on the first comparison signal CS1 and the first adjustment signal AS1 and then outputs the first output signal OS1. In one embodiment, the logic operation is an AND logic operation. In this embodiment, for example, when the first comparison signal CS1 and the first adjustment signal AS1 are both binary values "1", the first output The signal OS1 is a binary value "1". In addition, in an embodiment, the first output signal OS1 output by the first output element 141 may be provided to a charge pump connected to the back end, for example. In this embodiment, the first output signal OS1 is, for example, an up signal or a down signal provided to the charge pump. The first output element 141 can adjust the first comparison signal CS1 according to the width of the first adjustment signal AS1. The clock data recovery circuit can provide suitable charging and/or discharging time of the charge pump through the above-mentioned phase detector 100 and reduce the integral response of the loop filter. Make the entire clock data recovery circuit reduce jitter generation by this setting.

於一實施例中,本發明可以透過增加相位偵測器以及時脈訊號的數量來應用於N大於2之1/N速率架構的時脈資料回復電路。圖5及圖6說明一種應用於1/9速率架構的相位偵測器300及其相關的時序圖。當應用於1/9速率架構時,共有18組時脈訊號CLK1-CLK18、18組取樣元件111-1118、18組比較元件121-1218、18組脈寬調整模組131-1318以及18組輸出元件141-1418。時脈訊號CLK1-CLK18彼此依序落後,且落後幅度為0.5 UI,每一個時脈訊號CLK1-CLK18的脈波寬度為4.5 UI。資料訊號DS透過取樣元件111-1118分別對應時脈訊號CLK1-CLK18進行取樣後,提供取樣值D1-D18至比較元件121-1218進行比較。須說明的是,每一個比較元件121-1218僅輸入2個取樣值相鄰的取樣值,例如比較元件121輸入之取樣值為D1、D2。當取樣值至末位時(本實施例中為取樣值D18),下一位取樣值為取樣值的首位(本實施例中為取樣值D1)。例如比較元件1218輸入之取樣值為D18、D1。此外,圖5係為了圖面表示清楚而簡化圖面之線路連接,例如圖5中繪製的取樣元件113僅是為了說明取樣元件113的連接方式,並非為須有兩個取樣元件113。相位偵測器300的其餘流程與前述實施例相同,於此並不贅述。然而,本發明並不限於用於1/9速率的架構,本發明可以透過增加減少元件的數量以應用於各種架構之中。In one embodiment, the present invention can be applied to a clock data recovery circuit with a 1/N rate structure where N is greater than 2 by increasing the number of phase detectors and clock signals. 5 and 6 illustrate a phase detector 300 applied to a 1/9 rate architecture and its related timing diagrams. When applied to a 1/9 rate architecture, there are 18 sets of clock signals CLK1-CLK18, 18 sets of sampling elements 111-1118, 18 sets of comparison elements 121-1218, 18 sets of pulse width adjustment modules 131-1318 and 18 sets of outputs Elements 141-1418. The clock signals CLK1-CLK18 lag behind each other in sequence, and the lagging amplitude is 0.5 UI, and the pulse width of each clock signal CLK1-CLK18 is 4.5 UI. The data signal DS is sampled by the sampling elements 111-1118 corresponding to the clock signals CLK1-CLK18, and the sampling values D1-D18 are provided to the comparison elements 121-1218 for comparison. It should be noted that each comparison element 121-1218 only inputs two adjacent sample values. For example, the sample values input by the comparison element 121 are D1 and D2. When the sample value reaches the end (sample value D18 in this embodiment), the next sample value is the first bit of the sample value (sample value D1 in this embodiment). For example, the sampling values input by the comparison element 1218 are D18 and D1. In addition, FIG. 5 simplifies the wiring connection in the drawing for clarity of the drawing. For example, the sampling element 113 drawn in FIG. 5 is only to illustrate the connection method of the sampling element 113, and it is not necessary to have two sampling elements 113. The rest of the process of the phase detector 300 is the same as the previous embodiment, and will not be repeated here. However, the present invention is not limited to the architecture used for the 1/9 rate. The present invention can be applied to various architectures by increasing and reducing the number of components.

請參照圖7,本發明提供一種時脈資料回復電路的控制方法,包含:步驟S1藉由一相位偵測器取樣一資料訊號,並獲得複數取樣值;步驟S2依據該些取樣值,計算一資料轉態率;以及步驟S3根據該資料轉態率調整該相位偵測器的輸出脈波寬度。Referring to FIG. 7, the present invention provides a control method of a clock data recovery circuit, including: step S1 samples a data signal by a phase detector and obtains a complex sample value; step S2 calculates a data signal based on the sample values Data transition rate; and step S3 adjusts the output pulse width of the phase detector according to the data transition rate.

本發明已由上述相關實施例加以描述,然而上述實施例僅為實施本發明之範例。必需指出的是,已揭露之實施例並未限制本發明之範圍。相反地,包含於申請專利範圍之精神及範圍之修改及均等設置均包含於本發明之範圍內。The present invention has been described in the above-mentioned related embodiments, but the above-mentioned embodiments are only examples for implementing the present invention. It must be pointed out that the disclosed embodiments do not limit the scope of the present invention. On the contrary, modifications and equivalent arrangements included in the spirit and scope of the patent application are all included in the scope of the present invention.

10:時脈資料回復系統 100,300:相位偵測器 111-1118:取樣元件 121-1218:比較元件 131-1318:脈寬調整模組 141-1418:輸出元件 DS:資料訊號 CLK1-CLK18:時脈訊號 D1-D18:取樣值 CS1-CS18:控制訊號 AS1-AS18:調整訊號 OS1-OS18:輸出訊號 S1,S2,S3:步驟 PD:相位偵測器 CP:充電泵 LF:迴路濾波器 VCO:壓控震盪器 APWCM:自適應脈波寬度控制模組10: Clock data recovery system 100, 300: Phase detector 111-1118: sampling element 121-1218: Compare components 131-1318: Pulse width adjustment module 141-1418: output components DS: Data signal CLK1-CLK18: clock signal D1-D18: sampled value CS1-CS18: Control signal AS1-AS18: adjust signal OS1-OS18: output signal S1, S2, S3: steps PD: Phase detector CP: charge pump LF: Loop filter VCO: Voltage Controlled Oscillator APWCM: adaptive pulse width control module

圖1為習知的時脈資料回復電路架構示意圖。FIG. 1 is a schematic diagram of the structure of a conventional clock data recovery circuit.

圖2為本發明一實施例中時脈資料回復電路架構示意圖。FIG. 2 is a schematic diagram of the structure of a clock data recovery circuit in an embodiment of the present invention.

圖3為本發明一實施例中,相位偵測器的示意圖。FIG. 3 is a schematic diagram of a phase detector in an embodiment of the invention.

圖4為本發明一實施例中,相位偵測器的訊號時序圖。FIG. 4 is a signal timing diagram of the phase detector in an embodiment of the present invention.

圖5為本發明一實施例中,相位偵測器的示意圖。FIG. 5 is a schematic diagram of a phase detector in an embodiment of the invention.

圖6為本發明一實施例中,相位偵測器的訊號時序圖。FIG. 6 is a signal timing diagram of the phase detector in an embodiment of the present invention.

圖7為本發明中一實施例中,時脈資料回復電路的控制方法的流程圖。FIG. 7 is a flowchart of a control method of the clock data recovery circuit in an embodiment of the present invention.

10:時脈資料回復系統 10: Clock data recovery system

PD:相位偵測器 PD: Phase detector

CP:充電泵 CP: charge pump

LF:迴路濾波器 LF: Loop filter

VCO:壓控震盪器 VCO: Voltage Controlled Oscillator

APWCM:自適應脈波寬度控制模組 APWCM: adaptive pulse width control module

Claims (12)

一種時脈資料回復系統,包含: 一相位偵測器,用以對一資料訊號進行取樣以獲得複數取樣值; 以及 自適應脈波寬度控制(APWC)模組,用以根據由該些取樣值取得的一資料轉態率提供一頻寬調整訊號至該相位偵測器; 其中該相位偵測器依據該頻寬調整訊號調整輸出訊號的脈波寬度。 A clock data recovery system, including: A phase detector for sampling a data signal to obtain a complex sample value; as well as The adaptive pulse width control (APWC) module is used to provide a bandwidth adjustment signal to the phase detector according to a data transition rate obtained from the sampling values; The phase detector adjusts the pulse width of the output signal according to the bandwidth adjustment signal. 如請求項1所述的時脈資料回復系統,其中該相位偵測器包含一脈寬調整模組;該脈寬調整模組依據該資料轉態率選擇輸入的一調整時脈訊號。The clock data recovery system according to claim 1, wherein the phase detector includes a pulse width adjustment module; the pulse width adjustment module selects an input adjustment clock signal according to the data transition rate. 如請求項2所述的時脈資料回復系統,其中該脈寬調整模組的輸入還包含一時脈訊號,該調整時脈訊號落後該時脈訊號。The clock data recovery system according to claim 2, wherein the input of the pulse width adjustment module further includes a clock signal, and the adjusted clock signal lags behind the clock signal. 如請求項3所述的時脈資料回復系統,其中該調整時脈訊號落後該時脈訊號的幅度為0.5UI至1.5UI之間。The clock data recovery system according to claim 3, wherein the adjusted clock signal lags behind the clock signal by an amplitude between 0.5 UI and 1.5 UI. 如請求項1所述的時脈資料回復系統,其中當該資料轉態率位於一第一區間時,該相位偵測器輸出為一第一脈波寬度;其中當該資料轉態率位於一第二區間時,該相位偵測器輸出為一第二脈波寬度;其中當該資料轉態率位於一第三區間時,該相位偵測器輸出為一第三脈波寬度。The clock data recovery system according to claim 1, wherein when the data transition rate is in a first interval, the phase detector output is a first pulse width; wherein when the data transition rate is in a first interval In the second interval, the output of the phase detector is a second pulse width; wherein when the data transition rate is in a third interval, the output of the phase detector is a third pulse width. 如請求項5所述的時脈資料回復系統,其中該第一區間為100%至50%之間;該第二區間為50%至30%之間;該第三區間為30%以下。The clock data recovery system according to claim 5, wherein the first interval is between 100% and 50%; the second interval is between 50% and 30%; and the third interval is less than 30%. 一種時脈資料回復電路的控制方法,包含: 藉由一相位偵測器取樣一資料訊號,並獲得複數取樣值; 依據該些取樣值,計算一資料轉態率;以及 根據該資料轉態率調整該相位偵測器的輸出訊號的脈波寬度。 A control method of a clock data recovery circuit, including: A data signal is sampled by a phase detector, and a complex sample value is obtained; Based on the sampled values, calculate a data transition rate; and Adjust the pulse width of the output signal of the phase detector according to the data transition rate. 如請求項7所述的控制方法,其中該相位偵測器包含一脈寬調整模組;該脈寬調整模組依據該資料轉態率選擇輸入的一調整時脈訊號。The control method according to claim 7, wherein the phase detector includes a pulse width adjustment module; the pulse width adjustment module selects an input adjustment clock signal according to the data transition rate. 如請求項8所述的控制方法,其中該脈寬調整模組的輸入還包含一時脈訊號,該調整時脈訊號落後該時脈訊號。The control method according to claim 8, wherein the input of the pulse width adjustment module further includes a clock signal, and the adjusted clock signal lags the clock signal. 如請求項9所述的控制方法,其中該調整時脈訊號落後該時脈訊號的幅度為0.5UI至1.5UI之間。The control method according to claim 9, wherein the amplitude of the adjusted clock signal behind the clock signal is between 0.5 UI and 1.5 UI. 如請求項7所述的控制方法,其中當該資料轉態率位於一第一區間時,該相位偵測器輸出為一第一脈波寬度;其中當該資料轉態率位於一第二區間時,該相位偵測器輸出為一第二脈波寬度;其中當該資料轉態率位於一第三區間時,該相位偵測器輸出為一第三脈波寬度。The control method according to claim 7, wherein when the data transition rate is in a first interval, the phase detector output is a first pulse width; wherein when the data transition rate is in a second interval When the phase detector output is a second pulse width; when the data transition rate is in a third interval, the phase detector output is a third pulse width. 如請求項11所述的控制方法,其中該第一區間為100%至50%之間;該第二區間為50%至30%之間;該第三區間為30%以下。The control method according to claim 11, wherein the first interval is between 100% and 50%; the second interval is between 50% and 30%; and the third interval is less than 30%.
TW109143081A 2020-12-07 2020-12-07 A method for improving the tracking performance of clock data recovery circuitand a system using the same TWI734655B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW109143081A TWI734655B (en) 2020-12-07 2020-12-07 A method for improving the tracking performance of clock data recovery circuitand a system using the same
CN202110378089.5A CN114598317B (en) 2020-12-07 2021-04-08 Method for improving follow-up performance of clock data recovery circuit and system suitable for same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW109143081A TWI734655B (en) 2020-12-07 2020-12-07 A method for improving the tracking performance of clock data recovery circuitand a system using the same

Publications (2)

Publication Number Publication Date
TWI734655B true TWI734655B (en) 2021-07-21
TW202224359A TW202224359A (en) 2022-06-16

Family

ID=77911287

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109143081A TWI734655B (en) 2020-12-07 2020-12-07 A method for improving the tracking performance of clock data recovery circuitand a system using the same

Country Status (2)

Country Link
CN (1) CN114598317B (en)
TW (1) TWI734655B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4841257A (en) * 1988-03-28 1989-06-20 Unisys Corporation High-speed sampling phase detector for clock and data recovery system
US6526109B1 (en) * 1999-07-16 2003-02-25 Conexant Systems, Inc. Method and apparatus for hybrid smart center loop for clock data recovery
US7409031B1 (en) * 2002-10-04 2008-08-05 Silicon Image, Inc. Data sampling method and apparatus with alternating edge sampling phase detection for loop characteristic stabilization
US20110298505A1 (en) * 2010-06-07 2011-12-08 Silicon Laboratories, Inc. Latency locked loop circuit for driving a buffer circuit
US20130070835A1 (en) * 2011-09-19 2013-03-21 Lsi Corporation Cdr with digitally controlled lock to reference
TW201614975A (en) * 2014-10-15 2016-04-16 Global Unichip Corp Clock and data recovery circuit and method
US9742380B1 (en) * 2016-06-01 2017-08-22 Xilinx, Inc. Phase-locked loop having sampling phase detector
TW201815100A (en) * 2016-09-21 2018-04-16 晨星半導體股份有限公司 Eye pattern measuring apparatus and clock data recovery system and method of the same
US20190158100A1 (en) * 2017-11-20 2019-05-23 Samsung Electronics Co., Ltd. Clock data recovery circuit, apparatus including the same and method for recovery clock and data
TWI665652B (en) * 2018-04-30 2019-07-11 瑞鼎科技股份有限公司 Source driver and operating method thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0718831D0 (en) * 2007-09-26 2007-11-07 Bristol Microcircuits Ltd Clock recovery
CN101527567B (en) * 2008-03-06 2011-11-09 瑞昱半导体股份有限公司 Clock and data recovery circuit
US8344777B2 (en) * 2010-02-24 2013-01-01 Intersil Americas Inc. Method and apparatus for adaptively modifying a pulse width of a pulse width modulated output
JP2015100017A (en) * 2013-11-19 2015-05-28 株式会社リコー Phase comparison circuit and clock data recovery circuit

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4841257A (en) * 1988-03-28 1989-06-20 Unisys Corporation High-speed sampling phase detector for clock and data recovery system
US6526109B1 (en) * 1999-07-16 2003-02-25 Conexant Systems, Inc. Method and apparatus for hybrid smart center loop for clock data recovery
US7409031B1 (en) * 2002-10-04 2008-08-05 Silicon Image, Inc. Data sampling method and apparatus with alternating edge sampling phase detection for loop characteristic stabilization
US20110298505A1 (en) * 2010-06-07 2011-12-08 Silicon Laboratories, Inc. Latency locked loop circuit for driving a buffer circuit
US20130070835A1 (en) * 2011-09-19 2013-03-21 Lsi Corporation Cdr with digitally controlled lock to reference
TW201614975A (en) * 2014-10-15 2016-04-16 Global Unichip Corp Clock and data recovery circuit and method
US9742380B1 (en) * 2016-06-01 2017-08-22 Xilinx, Inc. Phase-locked loop having sampling phase detector
TW201815100A (en) * 2016-09-21 2018-04-16 晨星半導體股份有限公司 Eye pattern measuring apparatus and clock data recovery system and method of the same
US20190158100A1 (en) * 2017-11-20 2019-05-23 Samsung Electronics Co., Ltd. Clock data recovery circuit, apparatus including the same and method for recovery clock and data
TWI665652B (en) * 2018-04-30 2019-07-11 瑞鼎科技股份有限公司 Source driver and operating method thereof

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
2014年7月15日公開文件Fan-Ta Chen et. al. "A 10-Gb/s Low Jitter Single-Loop Clock and Data Recovery Circuit With Rotational Phase Frequency Detector" IEEE Transactions on Circuits and Systems I: Regular Papers ( Volume: 61, Issue: 11, Nov. 2014), https://doi.org/10.1109/TCSI.2014.2327291
年7月15日公開文件Fan-Ta Chen et. al. "A 10-Gb/s Low Jitter Single-Loop Clock and Data Recovery Circuit With Rotational Phase Frequency Detector" IEEE Transactions on Circuits and Systems I: Regular Papers ( Volume: 61, Issue: 11, Nov. 2014), https://doi.org/10.1109/TCSI.2014.2327291 *

Also Published As

Publication number Publication date
CN114598317A (en) 2022-06-07
CN114598317B (en) 2025-07-29
TW202224359A (en) 2022-06-16

Similar Documents

Publication Publication Date Title
US12034447B2 (en) Low latency combined clock data recovery logic network and charge pump circuit
Park et al. A 6.7–11.2 Gb/s, 2.25 pJ/bit, single-loop referenceless CDR with multi-phase, oversampling PFD in 65-nm CMOS
US7756232B2 (en) Clock and data recovery circuit
US10347283B2 (en) Clock data recovery in multilane data receiver
US6646484B2 (en) PLL circuit including a control logic circuit for adjusting the delay times of the clocks so that the phase error of the clocks is reduced
US7482841B1 (en) Differential bang-bang phase detector (BBPD) with latency reduction
US8258830B2 (en) Methods for calibrating gated oscillator and oscillator circuit utilizing the same
CN110601694A (en) Phase-locked loop
US20050046456A1 (en) Adaptive lock position circuit
US11923858B2 (en) Clock data recovery circuit
US7283602B2 (en) Half-rate clock and data recovery circuit
US6035409A (en) 1000 mb phase picker clock recovery architecture using interleaved phase detectors
CN111147071A (en) A Proportional Path Gain Regulator Applied in Clock-Data Recovery Circuit
TWI734655B (en) A method for improving the tracking performance of clock data recovery circuitand a system using the same
US7078938B2 (en) Method of detecting phase difference, phase detector for performing the same and clock-and-data recovering device including the phase detector
US7545193B2 (en) Voltage-controlled delay circuit using second-order phase interpolation
CN113872593B (en) Clock data recovery circuit, processing chip and display device
JP2015100017A (en) Phase comparison circuit and clock data recovery circuit
TWI751767B (en) An clock data recovery loop stability improvement device and phase detector for low power application
CN113179099B (en) Phase-locked loop circuit, control method thereof, semiconductor device and electronic equipment
Jeon et al. Area efficient 4Gb/s clock data recovery using improved phase interpolator with error monitor
CN1983815B (en) A delay locked loop circuit
CN100481728C (en) Clock data recovery device and method for low voltage differential signal
US9673795B2 (en) Integrated circuit associated with clock generator, and associated control method
Chen et al. A 12.5 Gbps clock and data recovery circuit with phase interpolation based digital locked loop