TW201911803A - Self-adaptive delayer and data and clock recovery circuit which assure to complete the accurate sampling when data comes so as to have advantage of accomplishing the accurate sampling and the cost saving - Google Patents

Self-adaptive delayer and data and clock recovery circuit which assure to complete the accurate sampling when data comes so as to have advantage of accomplishing the accurate sampling and the cost saving Download PDF

Info

Publication number
TW201911803A
TW201911803A TW106125474A TW106125474A TW201911803A TW 201911803 A TW201911803 A TW 201911803A TW 106125474 A TW106125474 A TW 106125474A TW 106125474 A TW106125474 A TW 106125474A TW 201911803 A TW201911803 A TW 201911803A
Authority
TW
Taiwan
Prior art keywords
delay
data
clock
unit
delayed
Prior art date
Application number
TW106125474A
Other languages
Chinese (zh)
Other versions
TWI650989B (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 TW106125474A priority Critical patent/TWI650989B/en
Application granted granted Critical
Publication of TWI650989B publication Critical patent/TWI650989B/en
Publication of TW201911803A publication Critical patent/TW201911803A/en

Links

Landscapes

  • Pulse Circuits (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

A data and clock recovery circuit having self-adaptive delay adjustment function comprises a clock signal generator, a self-adaptive delayer and a data sampler. The clock signal generator generates a plurality of clock signals in equally spaced phase differences. The self-adaptive delayer comprises a delay compensation module and a control module. The delay compensation module adjusts the delay time based upon a control signal in order to change a sampled point of the delayed data stream. The control module generates the control signal based upon the sampling edge of the clock signal and the sampled point of the delayed data stream so that the sampled point of the delayed data stream matches a signal establish time or a signal retaining time. The data sampler performs sampling for the delayed data stream matching the sampling condition based upon multiple clock signals so as to recover data within the data stream.

Description

自適應延時器及資料與時脈回復電路Adaptive delayer and data and clock recovery circuit

本發明是有關於一種電路,特別是指一種以自適應延時調整技術的資料與時脈回復電路。The invention relates to a circuit, in particular to a data and clock recovery circuit with an adaptive delay adjustment technique.

現有延時調整技術為OTP (One Time Programmable,OTP) 調整,由於需要通過觀測數據與時鐘相位關係,根據實驗結果來反復手動調整延時大小,導致增加額外的成本,而且測試調整費時費力,因此,如何在成本的考量下來發展動態延時調整技術,而是未來的研究方向。The existing delay adjustment technology is an OTP (One Time Programmable (OTP) adjustment. Because of the need to observe the phase relationship between the data and the clock, it is necessary to manually adjust the delay according to the experimental result, resulting in additional cost, and the test adjustment is time consuming and laborious. Develop dynamic delay adjustment technology under the consideration of cost, but the future research direction.

因此,本發明之目的,即在提供一種自適應式調整延時且降低成本的資料與時脈回復電路。Accordingly, it is an object of the present invention to provide a data and clock recovery circuit that adaptively adjusts latency and reduces cost.

於是,本發明資料與時脈回復電路包含一時鐘信號產生器、一自適應延時器及一資料取樣器。Thus, the data and clock recovery circuit of the present invention comprises a clock signal generator, an adaptive delay device and a data sampler.

時鐘信號產生器接收一具有時鐘周期資訊的輸入數據,且進行時脈重建處理,以產生多個呈等間隔相位差的時鐘信號。The clock signal generator receives input data having clock cycle information and performs clock reconstruction processing to generate a plurality of clock signals in equal interval phase differences.

自適應延時器包括一延遲補償模組及一控制模組。The adaptive delay device includes a delay compensation module and a control module.

延遲補償模組接收該輸入數據且根據一延遲時間對該輸入數據進行延時,來產生一延時數據,且接收一控制信號,並根據該控制信號來調整該延遲時間,來改變該延時數據流的一被取樣點。The delay compensation module receives the input data and delays the input data according to a delay time to generate a delay data, and receives a control signal, and adjusts the delay time according to the control signal to change the delayed data stream. A sampled point.

控制模組電連接該延遲補償模組與該時鐘信號產生器,以接收來自該延遲補償模組的該延時數據與來自該時鐘信號產生器的該多個時鐘信號的其中之一,該控制模組根據該時鐘信號的取樣緣與該延時數據的該被取樣點來產生該控制信號,使該延時數據的該被取樣點符合一取樣條件,該取樣條件是一信號建立時間與一信號保持時間的至少之一。The control module is electrically connected to the delay compensation module and the clock signal generator to receive the delay data from the delay compensation module and one of the plurality of clock signals from the clock signal generator, the control mode The group generates the control signal according to the sampling edge of the clock signal and the sampled point of the delay data, so that the sampled point of the delayed data conforms to a sampling condition, and the sampling condition is a signal establishment time and a signal holding time. At least one of them.

資料取樣器電連接該延遲補償模組與該時鐘信號產生器,以接收來自該延遲補償模組的該延時數據與來自該時鐘信號產生器的該多個時鐘信號,且根據該多個時鐘信號來對該符合取樣條件的延時數據進行取樣,以回復出數據流中的資料。The data sampler is electrically connected to the delay compensation module and the clock signal generator to receive the delay data from the delay compensation module and the plurality of clock signals from the clock signal generator, and according to the plurality of clock signals The delay data that meets the sampling conditions is sampled to recover the data in the data stream.

本發明之功效在於:利用自適應延時調整技術,自動判斷用來取樣的時鐘信號的上升緣是靠前或靠後,來對被取樣的數據的延時進行相應的增減,以此保證在數據到來時能完成正確取樣,而兼顧了實現準確取樣與節約成本的優點。The utility model has the advantages of: using the adaptive delay adjustment technology to automatically determine whether the rising edge of the clock signal used for sampling is front or back, correspondingly increasing or decreasing the delay of the sampled data, thereby ensuring the data. Proper sampling can be done on arrival, taking into account the advantages of accurate sampling and cost savings.

在本發明被詳細描述之前,應當注意在以下的說明內容中,類似的元件是以相同的編號來表示。Before the present invention is described in detail, it should be noted that in the following description, similar elements are denoted by the same reference numerals.

參閱圖1,本發明資料與時脈回復電路之一實施例,包含一時鐘信號產生器1、一自適應延時器2及一資料取樣器3。Referring to FIG. 1, an embodiment of the data and clock recovery circuit of the present invention includes a clock signal generator 1, an adaptive delay device 2, and a data sampler 3.

時鐘信號產生器1接收一具有時鐘周期資訊的輸入數據,且進行時脈重建處理,以產生多個呈等間隔相位差的時鐘信號clk_1~clk_n。The clock signal generator 1 receives an input data having clock cycle information, and performs clock reconstruction processing to generate a plurality of clock signals clk_1 to clk_n which are equally spaced phase differences.

自適應延時器2用以補償輸入數據經過時鐘信號產生器1的相位延時,且自適應延時器2包括一延遲補償模組4及一控制模組5。The adaptive delay device 2 is used to compensate the phase delay of the input data through the clock signal generator 1, and the adaptive delay device 2 includes a delay compensation module 4 and a control module 5.

延遲補償模組4接收該輸入數據且根據一延遲時間對該輸入數據進行延時,來產生一延時數據data_d,且接收一控制信號,並根據該控制信號來調整該延遲時間,來改變該延時數據的一被取樣點。如圖2所示,該延遲補償模組4包括多個延遲線D1~D4及一數據選擇器mux。The delay compensation module 4 receives the input data and delays the input data according to a delay time to generate a delay data data_d, and receives a control signal, and adjusts the delay time according to the control signal to change the delay data. One of the points taken. As shown in FIG. 2, the delay compensation module 4 includes a plurality of delay lines D1 D D4 and a data selector mux.

多個延遲線D1~D4用以將該輸入數據的一相位根據多個不同延遲時間分別延遲而產生多個不同延遲相位的輸出數據,每一延遲線具有一第一端及一第二端,該多個延遲線的第一端電連接一起以接收該輸入數據,且該多個延遲線的第二端分別輸出多個輸出數據。在本實施例中,以四條延遲線進行說明,分別是第一延遲線D1、第二延遲線D2、第三延遲線D3、第四延遲線D4,對輸入數據的延遲時間分別為delay1,delay1+△t,delay1+2△t,delay1+3△t,其中,輸入數據所經過的初始預設路徑為最短延遲時間delay1的第一延遲線D1,但不限於此,也可以選擇其他延遲線作為輸入數據所經過的初始預設路徑。The plurality of delay lines D1 D D4 are used to delay the phase of the input data according to a plurality of different delay times to generate output data of a plurality of different delay phases, each delay line having a first end and a second end. The first ends of the plurality of delay lines are electrically connected together to receive the input data, and the second ends of the plurality of delay lines respectively output a plurality of output data. In this embodiment, four delay lines are used, which are the first delay line D1, the second delay line D2, the third delay line D3, and the fourth delay line D4, respectively. The delay time for the input data is delay1, delay1+. Δt, delay1+2Δt, delay1+3Δt, wherein the initial preset path through which the input data passes is the first delay line D1 of the shortest delay time delay1, but is not limited thereto, and other delay lines may be selected as Enter the initial preset path through which the data passes.

數據選擇器mux接收該控制信號,且電連接該多個延遲線D1~D4的輸出端以分別接收該多個輸出數據,且根據該控制信號選擇該多個輸出數據的其中之一作為該延時數據。在本實施例中,數據選擇器mux的控制信號為四位元的邏輯b<3:0>。The data selector mux receives the control signal, and electrically connects the output ends of the plurality of delay lines D1 D D4 to respectively receive the plurality of output data, and selects one of the plurality of output data as the delay according to the control signal data. In the present embodiment, the control signal of the data selector mux is a four-bit logical b<3:0>.

控制模組5電連接該延遲補償模組4與該時鐘信號產生器1,以接收來自該延遲補償模組4的該延時數據與來自該時鐘信號產生器1的該多個時鐘信號的其中之一,該控制模組5根據該時鐘信號clk_n-1的取樣緣(邏輯轉態的上升緣)與該延時數據的該被取樣點來產生該控制信號,使該延時數據的該被取樣點符合一取樣條件,該取樣條件是一信號建立時間(set up time)與一信號保持時間(hold time)的至少之一。其中,信號建立時間的定義,當時鐘的上升緣來到之前,被取樣的數據的準位已維持一段時間。保持時間的定義,當時鐘的上升緣來到之後,被取樣的數據的準位仍然維持一段時間。該控制模組5包括一時鐘延時單元51、一判斷單元52、一邏輯單元53。The control module 5 is electrically connected to the delay compensation module 4 and the clock signal generator 1 to receive the delay data from the delay compensation module 4 and the plurality of clock signals from the clock signal generator 1 First, the control module 5 generates the control signal according to the sampling edge of the clock signal clk_n-1 (the rising edge of the logical transition state) and the sampled point of the delay data, so that the sampled point of the delayed data matches A sampling condition, the sampling condition being at least one of a signal set up time and a signal hold time. Among them, the definition of the signal establishment time, the level of the sampled data has been maintained for a while before the rising edge of the clock comes. The definition of the hold time, when the rising edge of the clock comes, the level of the sampled data remains for a while. The control module 5 includes a clock delay unit 51, a determination unit 52, and a logic unit 53.

時鐘延時單元51電連接該時鐘信號產生器1以接收該多個時鐘信號的其中之一clk_n-1,且將該時鐘信號clk_n-1延遲以產生一延遲時鐘信號clk_n-1_d。該時鐘信號clk_n-1與該延遲時鐘信號clk_n-1_d間的相位差Td是正比於該輸入數據經過該時鐘信號產生器1的相位延遲。在此進一步說明,加入時鐘延時單元51的來使時鐘信號clk_n-1延遲,是為了保證被取樣的數據有足夠的信號建立時間或者保持時間,從而使得時鐘信號clk_n-1能夠獲得一個較為理想的取樣位置。相位差Td的大小設定值反比於數據的傳輸速率,同時它也會受到製程、電壓、溫度(簡稱:PVT)的影響,在高速應用中應該在滿足應用的前提下設定盡可能小。The clock delay unit 51 is electrically connected to the clock signal generator 1 to receive one of the plurality of clock signals clk_n-1, and delays the clock signal clk_n-1 to generate a delayed clock signal clk_n-1_d. The phase difference Td between the clock signal clk_n-1 and the delayed clock signal clk_n-1_d is proportional to the phase delay of the input data passing through the clock signal generator 1. It is further explained that the clock signal clk_n-1 is delayed by the clock delay unit 51 to ensure that the sampled data has sufficient signal setup time or hold time, so that the clock signal clk_n-1 can obtain an ideal one. Sampling location. The set value of the phase difference Td is inversely proportional to the data transmission rate, and it is also affected by the process, voltage, and temperature (referred to as: PVT). In high-speed applications, the setting should be as small as possible while satisfying the application.

判斷單元52接收該延時數據,且電連接該時鐘延時單元51以接收該延遲時鐘信號clk_n-1_d,且根據該延遲時鐘信號clk_n-1_d的時鐘轉態時間點與該延時數據data_d的數據轉態時間點,來產生一指示該延時數據是否符合該取樣條件邏輯輸出。The determining unit 52 receives the delay data, and electrically connects the clock delay unit 51 to receive the delayed clock signal clk_n-1_d, and according to the clock transition time point of the delayed clock signal clk_n-1_d and the data transition state of the delay data data_d At a time point, a logic output indicating whether the delayed data conforms to the sampling condition is generated.

該判斷單元52包括一第一資料延時單元du1、一第二資料延時單元du2、一第一取樣單元su1、一第二取樣單元su2、一第三取樣單元su3The determining unit 52 includes a first data delay unit du1, a second data delay unit du2, a first sampling unit su1, a second sampling unit su2, and a third sampling unit su3.

第一資料延時單元du1接收該延時數據,且將該延時數據延遲一個單位時間1×△t,該單位時間△t是正比於該信號建立時間。The first data delay unit du1 receives the delay data, and delays the delay data by one unit time 1×Δt, and the unit time Δt is proportional to the signal establishment time.

第二資料延時單元du2接收該延時數據,且將該延時數據延遲二個單位時間2×△t。The second data delay unit du2 receives the delay data, and delays the delay data by two unit time 2×Δt.

第一取樣單元su1接收該延時數據,且電連接該時鐘延時單元51以接收該延遲時鐘信號clk_n-1_d,且根據該延遲時鐘信號clk_n-1_d對該延時數據取樣,產生一第一邏輯信號a1。The first sampling unit su1 receives the delay data, and is electrically connected to the clock delay unit 51 to receive the delayed clock signal clk_n-1_d, and samples the delayed data according to the delayed clock signal clk_n-1_d to generate a first logic signal a1. .

第二取樣單元su2電連接該時鐘延時單元51與該第一資料延時單元du1,以接收該延遲時鐘信號clk_n-1_d與該延遲一個單位時間Δt的延時數據,且根據該延遲時鐘信號clk_n-1_d進行取樣,產生一第二邏輯信號a2。The second sampling unit su2 is electrically connected to the clock delay unit 51 and the first data delay unit du1 to receive the delayed clock signal clk_n-1_d and the delay data delayed by one unit time Δt, and according to the delayed clock signal clk_n-1_d Sampling is performed to generate a second logic signal a2.

第三取樣單元su3電連接該時鐘延時單元51與該第二資料延時單元du2,以接收該延遲時鐘信號clk_n-1_d與該延遲二個單位時間2Δt的延時數據,且根據該延遲時鐘信號clk_n-1_d進行取樣,產生一第三邏輯信號a3。The third sampling unit su3 is electrically connected to the clock delay unit 51 and the second data delay unit du2 to receive the delayed clock signal clk_n-1_d and the delay data of the delay of two unit time 2Δt, and according to the delayed clock signal clk_n- 1_d performs sampling to generate a third logic signal a3.

邏輯單元53電連接該判斷單元52,以接收該邏輯輸出,且據以產生該控制信號b<3:0>,該控制信號b<3:0>指示選擇該多條延遲線的其中之一,以使經過被選擇的該延遲線的該延時數據符合信號建立時間/保持時間的要求,其中,控制信號b<3:0>與第一至第三邏輯信號(a3a2a1)的邏輯變化關係,如當(a3a2a1)=000時,b<3:0>=0001;(a3a2a1)=001時,b<3:0>=0010;當(a3a2a1)=011時,b<3:0>=0100;當(a3a2a1)=111时,b<3:0>=1000。The logic unit 53 is electrically connected to the determining unit 52 to receive the logic output, and accordingly generates the control signal b<3:0>, the control signal b<3:0> indicating selection of one of the plurality of delay lines So that the delayed data passing through the selected delay line meets the signal setup time/hold time requirement, wherein the control signal b<3:0> is logically changed from the first to third logic signals (a3a2a1), For example, when (a3a2a1)=000, b<3:0>=0001; when (a3a2a1)=001, b<3:0>=0010; when (a3a2a1)=011, b<3:0>=0100 When (a3a2a1)=111, b<3:0>=1000.

如圖3所示,為上述實施例的延時調整時序圖,時鐘信號clk_n-1的上升緣相對於延時數據data_d的位置,存在保持時間不足的問題,有可能會出現錯誤的取樣導致增加誤碼率,而延遲時鐘信號clk_n-1_d取樣到延時數據data_d的高電位(邏輯1),第一邏輯信號a1變高電位(邏輯1),第二與第三邏輯信號a2、a3維持低電位(邏輯0),使邏輯單元53產生該控制信號b<3:0>來選擇第二延遲線D2,也就是(a3a2a1)=[001]、b<3:0>=[0010],第二延遲線D2對輸入數據的延遲時間為delay1+△t (等於原來一開始預設的延時數據data_d向後延時△t)以作為待取樣的數據信號data_real,輸出到該資料取樣器3以實現準確取樣。圖4為延時調整2△t的時序圖,此時(a3a2a1)=[011]、b<3:0>=[0100]。圖5為延時調整3△t的時序圖,此時(a3a2a1)=[111]、b<3:0>=[1000]。其中,當延時數據data_d滿足建立時間/保持時間(setup/hold time)時,則(a3a2a1)=[000],b<3:0>=[0001]。As shown in FIG. 3, in the delay adjustment timing diagram of the above embodiment, the rising edge of the clock signal clk_n-1 has a problem that the holding time is insufficient relative to the position of the delay data data_d, and there may be an erroneous sampling to increase the error. Rate, while the delayed clock signal clk_n-1_d is sampled to the high potential of the delay data data_d (logic 1), the first logic signal a1 goes high (logic 1), and the second and third logic signals a2, a3 remain low (logic 0), causing the logic unit 53 to generate the control signal b<3:0> to select the second delay line D2, that is, (a3a2a1)=[001], b<3:0>=[0010], the second delay line The delay time of the input data of D2 is delay1+Δt (equal to the delay data DATA of the first preset data_d backward Δt) as the data signal data_real to be sampled, and is output to the data sampler 3 to achieve accurate sampling. 4 is a timing chart of delay adjustment 2Δt, at which time (a3a2a1)=[011], b<3:0>=[0100]. Fig. 5 is a timing chart of delay adjustment 3?t, at which time (a3a2a1) = [111], b < 3: 0 > = [1000]. Wherein, when the delay data data_d satisfies the setup/hold time, then (a3a2a1)=[000], b<3:0>=[0001].

資料取樣器3電連接該延遲補償模組4與該時鐘信號產生器1,以接收來自該延遲補償模組4的該延時數據與來自該時鐘信號產生器1的該多個時鐘信號clk_1~clk_n,且根據該多個時鐘信號來對該符合取樣條件的延時數據進行取樣,以回復出數據中的資料。The data sampler 3 is electrically connected to the delay compensation module 4 and the clock signal generator 1 to receive the delay data from the delay compensation module 4 and the plurality of clock signals clk_1~clk_n from the clock signal generator 1. And sampling the delayed data that meets the sampling condition according to the plurality of clock signals to recover the data in the data.

如圖6所示,本發明資料與時脈回復電路執行一種延時調整方法,該延時調整方法包括以下步驟:As shown in FIG. 6, the data and clock recovery circuit of the present invention performs a delay adjustment method, and the delay adjustment method includes the following steps:

(A)控制模組5產生一指示初始預設延時路徑的控制信號,選擇該具有最短延時的第一延遲線D1的輸出作為該延時數據。(A) The control module 5 generates a control signal indicating the initial preset delay path, and selects the output of the first delay line D1 having the shortest delay as the delay data.

(B)控制模組5判斷該延時數據的建立時間/保持時間(setup/hold time)是否足夠,若否,則進到步驟(C),若是,則進到步驟(D)。(B) The control module 5 determines whether the setup time/hold time (setup/hold time) of the delay data is sufficient, and if not, proceeds to step (C), and if so, proceeds to step (D).

(C)控制模組5控制該數據選擇器mux以選擇符合建立時間/保持時間的延遲線的輸出。(C) The control module 5 controls the data selector mux to select the output of the delay line that meets the setup time/hold time.

(D)控制模組5控制該數據選擇器mux將該延時數據輸出到該資料取樣器3以實現準確取樣。(D) The control module 5 controls the data selector mux to output the delayed data to the data sampler 3 for accurate sampling.

綜上所述,隨著應用於顯示領域中晶片的處理頻率越來越高,信號建立時間和保持時間越來越短,在製程、電壓、溫度變異條件下數據與用來取樣的時鐘信號的延時不匹配,將影響最終顯示效果,上述實施例利用自適應延時調整技術,自動判斷用來取樣的時鐘信號的上升緣是靠前或靠後,來對被取樣的數據的延時進行相應的增減,以此保證在數據到來時能完成正確取樣,而兼顧了實現準確取樣與節約成本的優點,故確實能達成本發明之目的。In summary, as the processing frequency of the wafer applied in the display field is higher and higher, the signal setup time and the hold time are shorter and shorter, and the data and the clock signal used for sampling are processed under the conditions of process, voltage and temperature variation. The delay mismatch will affect the final display effect. The above embodiment uses the adaptive delay adjustment technique to automatically determine whether the rising edge of the clock signal used for sampling is front or back to increase the delay of the sampled data. By subtracting, it is ensured that the correct sampling can be completed when the data arrives, and the advantages of accurate sampling and cost saving are taken into consideration, so that the object of the present invention can be achieved.

惟以上所述者,僅為本發明之實施例而已,當不能以此限定本發明實施之範圍,凡是依本發明申請專利範圍及專利說明書內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。However, the above is only the embodiment of the present invention, and the scope of the invention is not limited thereto, and all the equivalent equivalent changes and modifications according to the scope of the patent application and the patent specification of the present invention are still The scope of the invention is covered.

1‧‧‧時鐘信號產生器 1‧‧‧clock signal generator

2‧‧‧自適應延時器2‧‧‧Adaptive delay

3‧‧‧資料取樣器3‧‧‧ data sampler

4‧‧‧延遲補償模組4‧‧‧Delay compensation module

D1~D4‧‧‧第一至第四延遲線D1~D4‧‧‧first to fourth delay lines

mux‧‧‧數據選擇器Mux‧‧‧data selector

5‧‧‧控制模組5‧‧‧Control Module

51‧‧‧時鐘延時單元51‧‧‧clock delay unit

52‧‧‧判斷單元52‧‧‧judging unit

53‧‧‧邏輯單元53‧‧‧Logical unit

du1‧‧‧第一資料延時單元Du1‧‧‧First data delay unit

du2‧‧‧第二資料延時單元Du2‧‧‧second data delay unit

su1‧‧‧第一取樣單元Su1‧‧‧first sampling unit

su2‧‧‧第二取樣單元Su2‧‧‧Second sampling unit

su3‧‧‧第三取樣單元Su3‧‧‧ third sampling unit

A‧‧‧初始預設延時路徑的步驟A‧‧‧Steps for initial preset delay path

B‧‧‧判斷的步驟B‧‧‧Steps of judgment

C‧‧‧選擇延遲線的步驟C‧‧‧Steps for selecting the delay line

D‧‧‧準確取樣的步驟D‧‧‧Steps for accurate sampling

clk_1~clk_n‧‧‧時鐘信號Clk_1~clk_n‧‧‧clock signal

clk_n-1_d‧‧‧延遲時鐘信號Clk_n-1_d‧‧‧delay clock signal

data_d‧‧‧延時數據Data_d‧‧‧delay data

data_real‧‧‧數據信號Data_real‧‧‧data signal

a1‧‧‧第一邏輯信號A1‧‧‧first logic signal

a2‧‧‧第二邏輯信號A2‧‧‧second logic signal

a3‧‧‧第三邏輯信號A3‧‧‧ third logic signal

本發明之其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中: 圖1是本發明資料與時脈回復電路之一實施例的一電路圖; 圖2是該實施例的自適應延時器的一電路圖; 圖3是該實施例的第一延時調整時序圖; 圖4是該實施例的第二延時調整時序圖; 圖5是該實施例的第三延時調整時序圖;及 圖6是該實施例之一延時調整方法的一流程圖。Other features and advantages of the present invention will be apparent from the embodiments of the present invention, wherein: Figure 1 is a circuit diagram of one embodiment of the data and clock recovery circuit of the present invention; FIG. 3 is a first delay adjustment timing diagram of the embodiment; FIG. 4 is a second delay adjustment timing diagram of the embodiment; FIG. 5 is a third delay adjustment timing diagram of the embodiment; And FIG. 6 is a flow chart of a delay adjustment method of the embodiment.

Claims (10)

一種資料與時脈回復電路,包含: 一時鐘信號產生器,接收一具有時鐘周期資訊的輸入數據,且進行時脈重建處理,以產生多個呈等間隔相位差的時鐘信號; 一自適應延時器,包括 一延遲補償模組,接收該輸入數據且根據一延遲時間對該輸入數據進行延時,來產生一延時數據,且接收一控制信號,並根據該控制信號來調整該延遲時間,來改變該延時數據流的一被取樣點; 一控制模組,電連接該延遲補償模組與該時鐘信號產生器,以接收來自該延遲補償模組的該延時數據與來自該時鐘信號產生器的該多個時鐘信號的其中之一, 該控制模組根據該時鐘信號的取樣緣與該延時數據的該被取樣點來產生該控制信號,使該延時數據的該被取樣點符合一取樣條件,該取樣條件是一信號建立時間與一信號保持時間的至少之一; 一資料取樣器,電連接該延遲補償模組與該時鐘信號產生器,以接收來自該延遲補償模組的該延時數據與來自該時鐘信號產生器的該多個時鐘信號,且根據該多個時鐘信號來對該符合取樣條件的延時數據進行取樣,以回復出數據流中的資料。A data and clock recovery circuit includes: a clock signal generator that receives input data having clock cycle information and performs clock reconstruction processing to generate a plurality of clock signals having equal interval phase differences; an adaptive delay The device includes a delay compensation module, receives the input data and delays the input data according to a delay time to generate a delay data, and receives a control signal, and adjusts the delay time according to the control signal to change a sampled point of the delayed data stream; a control module electrically connecting the delay compensation module and the clock signal generator to receive the delay data from the delay compensation module and the slave from the clock signal generator One of the plurality of clock signals, the control module generates the control signal according to the sampling edge of the clock signal and the sampled point of the delay data, so that the sampled point of the delayed data conforms to a sampling condition, The sampling condition is at least one of a signal establishment time and a signal retention time; a data sampler electrically connecting the delay compensation a module and the clock signal generator for receiving the delay data from the delay compensation module and the plurality of clock signals from the clock signal generator, and delaying the sampling condition according to the plurality of clock signals The data is sampled to recover the data in the data stream. 如請求項1所述的資料與時脈回復電路,其中,該延遲補償模組包括: 多個延遲線,用以將該輸入數據的一相位根據多個不同延遲時間分別延遲而產生多個不同延遲相位的輸出數據,每一延遲線具有一第一端及一第二端,該多個延遲線的第一端電連接一起以接收該輸入數據,且該多個延遲線的第二端分別輸出多個輸出數據; 一數據選擇器,接收該控制信號,且電連接該多個延遲線的輸出端以分別接收該多個輸出數據,且根據該控制信號選擇該多個輸出數據的其中之一作為該延時數據。The data and clock recovery circuit of claim 1, wherein the delay compensation module comprises: a plurality of delay lines for respectively delaying a phase of the input data according to a plurality of different delay times to generate a plurality of different Deferred phase output data, each delay line has a first end and a second end, the first ends of the plurality of delay lines are electrically connected together to receive the input data, and the second ends of the plurality of delay lines are respectively Outputting a plurality of output data; a data selector receiving the control signal and electrically connecting the output ends of the plurality of delay lines to respectively receive the plurality of output data, and selecting one of the plurality of output data according to the control signal One is used as the delay data. 如請求項1所述的資料與時脈回復電路,其中,該控制模組包括: 一時鐘延時單元,電連接該時鐘信號產生器以接收該多個時鐘信號的其中之一,且將該時鐘信號延遲以產生一延遲時鐘信號; 一判斷單元,接收該延時數據,且電連接該時鐘延時單元以接收該延遲時鐘信號,且根據該延遲時鐘信號的轉態時間點與該延時數據轉態時間點,來產生一指示轉態時間點領先或落後的邏輯輸出; 一邏輯單元,電連接該判斷單元,以接收該邏輯輸出,且據以產生該控制信號。The data and clock recovery circuit of claim 1, wherein the control module comprises: a clock delay unit electrically connected to the clock signal generator to receive one of the plurality of clock signals, and the clock The signal is delayed to generate a delayed clock signal; a determining unit receives the delayed data and electrically connects the clock delay unit to receive the delayed clock signal, and according to the transition time point of the delayed clock signal and the delay data transition time Pointing to generate a logic output indicating that the transition time point is leading or falling; a logic unit electrically connecting the determining unit to receive the logic output and generating the control signal accordingly. 如請求項3所述的資料與時脈回復電路,其中,該判斷單元包括: 一第一資料延時單元,接收該延時數據,且將該延時數據延遲一個單位時間; 一第二資料延時單元,接收該延時數據,且將該延時數據延遲二個單位時間; 一第一取樣單元,接收該延時數據,且電連接該時鐘延時單元以接收該延遲時鐘信號,且根據該延遲時鐘信號對該延時數據取樣,產生一第一邏輯信號; 一第二取樣單元,電連接該時鐘延時單元與該第一資料延時單元,以接收該延遲時鐘信號與該延遲一個單位時間的延時數據,且根據該延遲時鐘信號進行取樣,產生一第二邏輯信號; 一第三取樣單元,電連接該時鐘延時單元與該第二資料延時單元,以接收該延遲時鐘信號與該延遲二個單位時間的延時數據,且根據該延遲時鐘信號進行取樣,產生一第三邏輯信號。The data and clock recovery circuit of claim 3, wherein the determining unit comprises: a first data delay unit, receiving the delay data, and delaying the delay data by one unit time; a second data delay unit, Receiving the delay data, and delaying the delay data by two unit time; a first sampling unit receiving the delay data, and electrically connecting the clock delay unit to receive the delayed clock signal, and delaying the delay according to the delayed clock signal Data sampling, generating a first logic signal; a second sampling unit electrically connecting the clock delay unit and the first data delay unit to receive the delayed clock signal and the delay data delayed by one unit time, and according to the delay The clock signal is sampled to generate a second logic signal; a third sampling unit is electrically connected to the clock delay unit and the second data delay unit to receive the delayed clock signal and the delay data of the delay of two unit time, and Sampling is performed based on the delayed clock signal to generate a third logic signal. 如請求項4所述的資料與時脈回復電路,其中,該單位時間是正比於該信號建立時間。The data and clock recovery circuit of claim 4, wherein the unit time is proportional to the signal establishment time. 如請求項3所述的資料與時脈回復電路,其中,該時鐘信號與該延遲時鐘信號間的相位差是正比於該輸入數據經過該時鐘信號產生器的相位延遲。The data and clock recovery circuit of claim 3, wherein the phase difference between the clock signal and the delayed clock signal is proportional to a phase delay of the input data through the clock signal generator. 一種自適應延時器,包含: 一延遲補償模組,接收一具有時鐘周期資訊的輸入數據且根據一延遲時間對該輸入數據進行延時,來產生一延時數據,且接收一控制信號,並根據該控制信號來調整該延遲時間,來改變該延時數據流的一被取樣點; 一控制模組,接收一時鐘信號,且電連接該延遲補償模組以接收來自該延遲補償模組的該延時數據, 該控制模組根據該時鐘信號的取樣緣與該延時數據的該被取樣點來產生該控制信號,使該延時數據的該被取樣點符合一取樣條件,該取樣條件是一信號建立時間與一信號保持時間的至少之一。An adaptive delay device includes: a delay compensation module, receives input data having clock cycle information and delays the input data according to a delay time to generate a delay data, and receives a control signal, and according to the Controlling the signal to adjust the delay time to change a sampled point of the delayed data stream; a control module receiving a clock signal and electrically connecting the delay compensation module to receive the delayed data from the delay compensation module The control module generates the control signal according to the sampling edge of the clock signal and the sampled point of the delay data, so that the sampled point of the delayed data conforms to a sampling condition, and the sampling condition is a signal establishment time and A signal holds at least one of the times. 如請求項7所述的自適應延時器,其中,該延遲補償模組包括: 多個延遲線,用以將該輸入數據的一相位根據多個不同延遲時間分別延遲而產生多個不同延遲相位的輸出數據,每一延遲線具有一第一端及一第二端,該多個延遲線的第一端電連接一起以接收該輸入數據,且該多個延遲線的第二端分別輸出多個輸出數據; 一數據選擇器,接收該控制信號,且電連接該多個延遲線的輸出端以分別接收該多個輸出數據,且根據該控制信號選擇該多個輸出數據的其中之一作為該延時數據。The adaptive delay device of claim 7, wherein the delay compensation module comprises: a plurality of delay lines for respectively delaying a phase of the input data according to a plurality of different delay times to generate a plurality of different delay phases Output data, each delay line has a first end and a second end, the first ends of the plurality of delay lines are electrically connected together to receive the input data, and the second ends of the plurality of delay lines are respectively outputted Output data; a data selector receiving the control signal and electrically connecting the outputs of the plurality of delay lines to respectively receive the plurality of output data, and selecting one of the plurality of output data according to the control signal as The delay data. 如請求項7所述的自適應延時器,其中,該控制模組包括: 一時鐘延時單元,接收該時鐘信號,且將該時鐘信號延遲以產生一延遲時鐘信號; 一判斷單元,接收該延時數據,且電連接該時鐘延時單元以接收該延遲時鐘信號,且根據該延遲時鐘信號的轉態時間點與該延時數據轉態時間點,來產生一邏輯輸出; 一邏輯單元,電連接該判斷單元,以接收該邏輯輸出,且據以產生該控制信號。The adaptive delay device of claim 7, wherein the control module comprises: a clock delay unit that receives the clock signal and delays the clock signal to generate a delayed clock signal; a determining unit that receives the delay Data, and electrically connected to the clock delay unit to receive the delayed clock signal, and generate a logic output according to the transition time point of the delayed clock signal and the delay data transition time point; a logic unit, electrically connecting the determination a unit to receive the logic output and generate the control signal accordingly. 如請求項9所述的自適應延時器,其中,該判斷單元包括: 一第一資料延時單元,接收該延時數據,且將該延時數據延遲一個單位時間; 一第二資料延時單元,接收該延時數據,且將該延時數據延遲二個單位時間; 一第一取樣單元,接收該延時數據,且電連接該時鐘延時單元以接收該延遲時鐘信號,且根據該延遲時鐘信號對該延時數據取樣,產生一第一邏輯信號; 一第二取樣單元,電連接該時鐘延時單元與該第一資料延時單元,以接收該延遲時鐘信號與該延遲一個單位時間的延時數據,且根據該延遲時鐘信號進行取樣,產生一第二邏輯信號; 一第三取樣單元,電連接該時鐘延時單元與該第二資料延時單元,以接收該延遲時鐘信號與該延遲二個單位時間的延時數據,且根據該延遲時鐘信號進行取樣,產生一第三邏輯信號。The adaptive delay device of claim 9, wherein the determining unit comprises: a first data delay unit, receiving the delay data, and delaying the delay data by one unit time; and a second data delay unit receiving the Delaying the data, and delaying the delayed data by two unit time; a first sampling unit receiving the delayed data, and electrically connecting the clock delay unit to receive the delayed clock signal, and sampling the delayed data according to the delayed clock signal Generating a first logic signal; a second sampling unit electrically connecting the clock delay unit and the first data delay unit to receive the delayed clock signal and the delay data delayed by one unit time, and according to the delayed clock signal Sampling to generate a second logic signal; a third sampling unit electrically connecting the clock delay unit and the second data delay unit to receive the delayed clock signal and the delay data of the delay of two unit time, and according to the The delayed clock signal is sampled to generate a third logic signal.
TW106125474A 2017-07-28 2017-07-28 Adaptive delayer and data and clock recovery circuit TWI650989B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106125474A TWI650989B (en) 2017-07-28 2017-07-28 Adaptive delayer and data and clock recovery circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106125474A TWI650989B (en) 2017-07-28 2017-07-28 Adaptive delayer and data and clock recovery circuit

Publications (2)

Publication Number Publication Date
TWI650989B TWI650989B (en) 2019-02-11
TW201911803A true TW201911803A (en) 2019-03-16

Family

ID=66213913

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106125474A TWI650989B (en) 2017-07-28 2017-07-28 Adaptive delayer and data and clock recovery circuit

Country Status (1)

Country Link
TW (1) TWI650989B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117590897B (en) * 2023-11-23 2024-08-06 北京国科天迅科技股份有限公司 Chip and chip control method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102004041896B4 (en) * 2004-08-30 2006-05-18 Infineon Technologies Ag Clock signal synchronizing device for use in e.g. double data rate-dynamic RAM of mobile telephone, has control device for activating and/or deactivating synchronizing device based on control signal that is evaluated by evaluating device
US7856052B2 (en) * 2004-10-06 2010-12-21 Broadcom Corp. Method and system for low complexity conjugate gradient based equalization in a wireless system
US9053753B2 (en) * 2006-11-09 2015-06-09 Broadcom Corporation Method and system for a flexible multiplexer and mixer
KR100896188B1 (en) * 2007-05-25 2009-05-12 삼성전자주식회사 Level converting flip-flop, and method of operating level converting flip-flop

Also Published As

Publication number Publication date
TWI650989B (en) 2019-02-11

Similar Documents

Publication Publication Date Title
US10025345B2 (en) System on chip and integrated circuit for performing skew calibration using dual edge and mobile device including the same
US7999589B2 (en) Circuits and methods for clock signal duty-cycle correction
TWI737459B (en) Calibration circuit and associated calibrating method capable of precisely adjusting clocks with distorted duty cycles and phases
US8644085B2 (en) Duty cycle distortion correction
US10804919B1 (en) Dynamic sequential approximation register (SAR) analog-to-digital converter (ADC) (SAR-ADC) clock delay calibration systems and methods
KR20200088650A (en) Signal generation circuit synchronized with clock signal and semiconductor apparatus using the same
US10128853B2 (en) Delay locked loop circuit and integrated circuit including the same
US7068086B2 (en) Phase correction circuit
US9018994B2 (en) Duty cycle correction circuit and operation method thereof
KR20090002643A (en) Clock generating apparatus for performing bit error rate measurement
US20140075237A1 (en) Memory system using asymmetric source-synchronous clocking
JP2008091006A (en) Semiconductor memory device and method for operating the same
US20210042253A1 (en) Dynamic timing calibration systems and methods
KR100745855B1 (en) Delay line calibration circuit comprising asynchronous arbiter element
JP5375330B2 (en) Timing adjustment circuit, timing adjustment method, and correction value calculation method
TWI650989B (en) Adaptive delayer and data and clock recovery circuit
CN107395198B (en) Clock data recovery device and method
US8581654B2 (en) Method of compensating clock skew, clock skew compensating circuit for realizing the method, and input/output system including the clock skew compensating circuit
US8542049B1 (en) Methods and delay circuits for generating a plurality of delays in delay lines
KR20110137714A (en) Duty-cycle correction in a delay-locked loop
JP2011017604A (en) Testing device and testing method
KR102077684B1 (en) Semiconductor device compensating for internal skew and method for operating thereof
US9654114B2 (en) Transmission circuit, integrated circuit, and parallel-to-serial conversion method
TWI739417B (en) Memory controller and memory data receiving method
CN104052438A (en) Phase interpolator based output waveform synthesizer for low-power broadband transmitter