TW201429165A - Device for recovering data and clock signal - Google Patents

Device for recovering data and clock signal Download PDF

Info

Publication number
TW201429165A
TW201429165A TW102101169A TW102101169A TW201429165A TW 201429165 A TW201429165 A TW 201429165A TW 102101169 A TW102101169 A TW 102101169A TW 102101169 A TW102101169 A TW 102101169A TW 201429165 A TW201429165 A TW 201429165A
Authority
TW
Taiwan
Prior art keywords
clock signal
clock
data
state
delay
Prior art date
Application number
TW102101169A
Other languages
Chinese (zh)
Other versions
TWI487287B (en
Inventor
Hui-Min Wang
Original Assignee
Himax Tech Ltd
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 Himax Tech Ltd filed Critical Himax Tech Ltd
Priority to TW102101169A priority Critical patent/TWI487287B/en
Publication of TW201429165A publication Critical patent/TW201429165A/en
Application granted granted Critical
Publication of TWI487287B publication Critical patent/TWI487287B/en

Links

Abstract

A device for recovering a data signal and a clock signal is provided. The device comprises a clock recovery module and a data recovery module. The clock recovery module comprises an adjustable delay unit, a first and a second sampling units, a first and a second delay units and a determining unit. The adjustable delay unit and the first and second delay units delay the clock signal in series to generate a first, a second and a third delay clock signals. The first and the second sampling units samples a clock signal source according to the first and the third delay clock signals to retrieve a first and a second clock states. The determining unit determines whether the first and the second clock states are inverted to adjust an adjustable delay time of the adjustable delay unit when they are not inverted. The data recovery module recovers the data signal when the first and the second clock states are inverted.

Description

資料及時脈恢復裝置 Data and time recovery device

本發明是有關於一種訊號恢復技術,且特別是有關於一種資料及時脈恢復裝置。 The present invention relates to a signal recovery technique, and more particularly to a data source and time recovery device.

在各種電腦系統及網路通訊系統間,常需要進行大量的資料傳輸。資料傳輸的技術隨著不同的設計而有所不同的傳輸規格與定義,但目的都是在使接收端能夠準確並快速地接收來自發送端的資料。 A large amount of data transmission is often required between various computer systems and network communication systems. The technology of data transmission varies with different designs and definitions, but the purpose is to enable the receiving end to accurately and quickly receive data from the transmitting end.

為了透過訊號線將資料從發送端傳送到接收端,接收端必須知道何時採樣來自發送端的資料訊號。舉例來說,低電壓差分訊號(Low-voltage differential signaling,LVDS)的傳輸架構規範中,一個時脈週期中將對應數筆資料,因此接收端需要依據資料的發送端所傳送來的時脈訊號據以正確地接收資料。然而在資料訊號處於高頻的情形下,由於時脈訊號為差動式(differential),在接收端欲將差動式轉換回單端式(single)時,由於延遲效應所產生的誤差使時脈訊號容易與資料訊號無法對齊。在時脈訊號不準確的情形下,接收端將因而無法正確的對資料訊號進行恢復。 In order to transmit data from the transmitting end to the receiving end through the signal line, the receiving end must know when to sample the data signal from the transmitting end. For example, in the transmission architecture specification of low-voltage differential signaling (LVDS), a clock cycle corresponds to a plurality of data, so the receiving end needs a clock signal transmitted according to the transmitting end of the data. According to the correct receipt of information. However, when the data signal is at a high frequency, since the clock signal is differential, when the receiving end wants to convert the differential back to a single-ended (single), the error caused by the delay effect is time-consuming. The pulse signal is not easily aligned with the data signal. In the case where the clock signal is not accurate, the receiving end will not be able to recover the data signal correctly.

因此,如何設計一個新的資料及時脈恢復裝置,以克服上述的問題,乃為此一業界亟待解決的問題。 Therefore, how to design a new data and time-recovery device to overcome the above problems is an urgent problem to be solved in the industry.

因此,本發明之一態樣是在提供一種資料及時脈恢復(recovery)裝置,包含:時脈恢復模組以及資料恢復模組。時脈恢復模組包含:可調延遲單元、第一取樣單元、第一延遲單元、第二延遲單元、第二取樣單元以及判斷單元。可調延遲單元接收時脈訊號,以依據可調延遲時間對時脈訊號進行延遲以產生第一延遲時脈訊號,其中時脈訊號依據時脈訊號源產生,且時脈訊號源與時脈訊號間具有延遲時間。第一取樣單元根據第一延遲時脈訊號對時脈訊號源取樣以擷取第一時脈狀態。第一延遲單元對第一延遲時脈訊號進行延遲以產生第二延遲時脈訊號。第二延遲單元對第二延遲時脈訊號進行延遲以產生第三延遲時脈訊號。第二取樣單元用以根據第三延遲時脈訊號對時脈訊號源取樣以擷取第二時脈狀態。判斷單元判斷第一時脈狀態以及第二時脈狀態是否為反相,以於第一時脈狀態以及第二時脈狀態為同相時對可調延遲單元之可調延遲時間進行調整。資料恢復模組於第一時脈狀態以及第二時脈狀態為反相時根據第二延遲時脈訊號對資料訊號進行恢復。 Therefore, one aspect of the present invention provides a data recovery device, including a clock recovery module and a data recovery module. The clock recovery module includes: an adjustable delay unit, a first sampling unit, a first delay unit, a second delay unit, a second sampling unit, and a determining unit. The adjustable delay unit receives the clock signal to delay the clock signal according to the adjustable delay time to generate the first delayed clock signal, wherein the clock signal is generated according to the clock signal source, and the clock signal source and the clock signal are generated. There is a delay between. The first sampling unit samples the clock signal source according to the first delayed clock signal to capture the first clock state. The first delay unit delays the first delayed clock signal to generate a second delayed clock signal. The second delay unit delays the second delayed clock signal to generate a third delayed clock signal. The second sampling unit is configured to sample the clock signal source according to the third delayed clock signal to capture the second clock state. The determining unit determines whether the first clock state and the second clock state are inverted, so that the adjustable delay time of the adjustable delay unit is adjusted when the first clock state and the second clock state are in phase. The data recovery module recovers the data signal according to the second delayed clock signal when the first clock state and the second clock state are inverted.

依據本發明一實施例,其中當判斷單元判斷第一時脈狀態為低態且第二時脈狀態為低態時,調增可調延遲時間。當判斷單元判斷第一時脈狀態為高態且第二時脈狀態為高態時,調降可調延遲時間。當判斷單元判斷第一時脈狀態為低態且第二時脈狀態為高態時,資料恢復模組根據第二延遲時脈訊號對資料訊號進行恢復。 According to an embodiment of the invention, when the determining unit determines that the first clock state is low and the second clock state is low, the adjustable delay time is increased. When the judging unit judges that the first clock state is high and the second clock state is high, the adjustable delay time is adjusted. When the determining unit determines that the first clock state is low and the second clock state is high, the data recovery module recovers the data signal according to the second delayed clock signal.

依據本發明另一實施例,當判斷單元判斷第一時脈狀態為低態且第二時脈狀態為低態時,調降可調延遲時間。 其中當判斷單元判斷第一時脈狀態為高態且第二時脈狀態為高態時,調增可調延遲時間。當判斷單元判斷第一時脈狀態為高態且第二時脈狀態為低態時,資料恢復模組根據第二延遲時脈訊號對資料訊號進行恢復。 According to another embodiment of the present invention, when the determining unit determines that the first clock state is low and the second clock state is low, the adjustable delay time is adjusted. When the judging unit judges that the first clock state is high and the second clock state is high, the adjustable delay time is increased. When the determining unit determines that the first clock state is high and the second clock state is low, the data recovery module recovers the data signal according to the second delayed clock signal.

依據本發明又一實施例,其中資料及時脈恢復裝置更包含延遲鎖相迴路模組(delay locked loop;DLL),俾根據第二延遲時脈訊號產生複數相位偏移時脈訊號,資料恢復模組實質上根據相位偏移時脈訊號對資料訊號進行恢復。 According to still another embodiment of the present invention, the data timely recovery device further includes a delay locked loop (DLL), and generates a complex phase offset clock signal according to the second delayed clock signal, and the data recovery mode is performed. The group essentially recovers the data signal based on the phase offset clock signal.

依據本發明再一實施例,資料及時脈恢復裝置更包含差動轉單端(differential to single)電路,時脈訊號源為差動形式,以經由差動轉單端電路轉換為具有單端形式之時脈訊號。 According to still another embodiment of the present invention, the data and time recovery device further comprises a differential to single circuit, wherein the clock signal source is in a differential form for conversion to a single-ended form via a differential-to-single-ended circuit. Clock signal.

應用本發明之優點係在於藉由資料及時脈恢復裝置中,時脈恢復模組對時脈訊號進行不同程度的延遲後,以延遲的訊號對時脈訊號源取樣,並依據取樣所得到的時脈訊號狀態,判斷時脈訊號源的邊緣,進一步判斷時脈訊號源的實際位置以對時脈訊號的偏移量進行校正,而輕易地達到上述之目的。 The advantage of applying the present invention is that in the data and time recovery device, the clock recovery module delays the clock signal by different degrees, and samples the clock signal source with the delayed signal, and obtains the time according to the sampling. The state of the pulse signal determines the edge of the source of the clock signal, and further determines the actual position of the source of the clock signal to correct the offset of the clock signal, and easily achieves the above purpose.

請參照第1圖。第1圖為本發明一實施中,資料及時脈恢復(recovery)裝置1之方塊圖。資料及時脈恢復裝置1包含:時脈恢復模組10以及資料恢復模組12。 Please refer to Figure 1. 1 is a block diagram of a data recovery and recovery device 1 in an implementation of the present invention. The data and time recovery device 1 includes a clock recovery module 10 and a data recovery module 12.

時脈恢復模組10包含:可調延遲單元100、第一取樣單元102、第一延遲單元104、第二延遲單元106、第二取 樣單元108以及判斷單元110。 The clock recovery module 10 includes: an adjustable delay unit 100, a first sampling unit 102, a first delay unit 104, a second delay unit 106, and a second take Sample unit 108 and determination unit 110.

可調延遲單元100接收時脈訊號CK。在本實施例中,時脈訊號CK是透過一個差動轉單端(differential to single)電路112,由原本為差動的時脈訊號源CKP/CKN轉換而來。於其他實施例中,時脈訊號CK亦可自其他可能的電路接收其他形式的時脈訊號源,而不為差動形式所限。可調延遲單元100將依據一個預設的可調延遲時間ADT,對時脈訊號CK進行延遲以產生第一延遲時脈訊號CKD1。第一延遲單元104可對第一延遲時脈訊號CKD1再進行延遲以產生第二延遲時脈訊號CKD2。而第二延遲單元106可對第二延遲時脈訊號CKD2進行延遲以產生第三延遲時脈訊號CKD3。 The adjustable delay unit 100 receives the clock signal CK. In this embodiment, the clock signal CK is converted from the originally differential clock source CKP/CKN through a differential to single circuit 112. In other embodiments, the clock signal CK can also receive other forms of clock signal sources from other possible circuits, and is not limited by the differential form. The adjustable delay unit 100 will delay the clock signal CK according to a preset adjustable delay time ADT to generate a first delayed clock signal CKD1. The first delay unit 104 may further delay the first delayed clock signal CKD1 to generate a second delayed clock signal CKD2. The second delay unit 106 may delay the second delayed clock signal CKD2 to generate a third delayed clock signal CKD3.

請同時參照第2A圖至第2D圖。第2A圖至第2D圖分別為本發明一實施例中,時脈訊號源CKP/CKN、時脈訊號CK、第一延遲時脈訊號CKD1、第二延遲時脈訊號CKD2以及第三延遲時脈訊號CKD3之波型圖。 Please refer to the 2A to 2D drawings at the same time. 2A to 2D are respectively a clock signal source CKP/CKN, a clock signal CK, a first delayed clock signal CKD1, a second delayed clock signal CKD2, and a third delay clock according to an embodiment of the invention. Waveform of signal CKD3.

由於在本實施例中,時脈訊號CK是透過差動轉單端電路112轉換而來。因此,此差動轉單端電路112將造成如第2A圖所示的延遲時間DT,使時脈訊號CK與時脈訊號源CKP/CKN的相位並不一致。原本應依據時脈訊號源CKP/CKN的時序對所接收的資料訊號DATA進行恢復的資料恢復模組12,無法依據轉換後而延遲的時脈訊號CK正確地對資料訊號DATA進行恢復。由於此延遲時間DT為未知,因此,需要有效的方法予以檢測並校正。 In the present embodiment, the clock signal CK is converted by the differential to single-ended circuit 112. Therefore, the differential-to-single-ended circuit 112 will cause the delay time DT as shown in FIG. 2A, so that the phases of the clock signal CK and the clock signal source CKP/CKN do not coincide. The data recovery module 12, which should restore the received data signal DATA according to the timing of the clock signal source CKP/CKN, cannot correctly recover the data signal DATA according to the delayed clock signal CK after the conversion. Since this delay time DT is unknown, an effective method is needed for detection and correction.

藉由本發明的設計,第一取樣單元102可根據第一延 遲時脈訊號CKD1,對時脈訊號源CKP/CKN進行取樣,以擷取第一時脈狀態STATE1。而第二取樣單元104則用以根據第三延遲時脈訊號CKD3對時脈訊號源CKP/CKN取樣以擷取第二時脈狀態STATE2。 With the design of the present invention, the first sampling unit 102 can be based on the first delay The late clock signal CKD1 samples the clock signal source CKP/CKN to capture the first clock state STATE1. The second sampling unit 104 is configured to sample the clock signal source CKP/CKN according to the third delayed clock signal CKD3 to capture the second clock state STATE2.

於不同實施例中,第一取樣單元102與第二取樣單元104可利用上升邊緣或下降邊緣對時脈訊號源CKP/CKN取樣。於本實施例中,第一取樣單元102與第二取樣單元104是利用上升邊緣對時脈訊號源CKP/CKN取樣。第一延遲單元104與第二延遲單元106在經過適當的設計下,可控制延遲時間,使第一延遲時脈訊號CKD1、第二延遲時脈訊號CKD2與第三延遲時脈訊號CKD3間僅具有極小的差距。因此,第一延遲時脈訊號CKD1與第三延遲時脈訊號CKD3的邊緣(edge),與第二延遲時脈訊號CKD2的邊緣將極為相近且位於第二延遲時脈訊號CKD2的邊緣兩側。 In different embodiments, the first sampling unit 102 and the second sampling unit 104 can sample the clock signal source CKP/CKN by using a rising edge or a falling edge. In this embodiment, the first sampling unit 102 and the second sampling unit 104 use the rising edge to sample the clock signal source CKP/CKN. The first delay unit 104 and the second delay unit 106 can control the delay time after appropriate design, so that only the first delayed clock signal CKD1, the second delayed clock signal CKD2 and the third delayed clock signal CKD3 have Very small gap. Therefore, the edge of the first delayed clock signal CKD1 and the third delayed clock signal CKD3 will be very close to the edge of the second delayed clock signal CKD2 and located on both sides of the edge of the second delayed clock signal CKD2.

判斷單元110進一步判斷第一時脈狀態STATE1以及第二時脈狀態STATE2是否為反相。如第2A圖所示,判斷單元110將判斷第一時脈狀態STATE1以及第二時脈狀態STATE2均為低態(0,0)而為同相。因此,判斷單元110將得知第一時脈狀態STATE1以及第二時脈狀態STATE2之間,並不具有時脈訊號源CKP/CKN的邊緣。 The determining unit 110 further determines whether the first clock state STATE1 and the second clock state STATE2 are inverted. As shown in FIG. 2A, the determining unit 110 determines that the first clock state STATE1 and the second clock state STATE2 are both in a low state (0, 0) and are in phase. Therefore, the determining unit 110 will know that there is no edge of the clock signal source CKP/CKN between the first clock state STATE1 and the second clock state STATE2.

判斷單元110在判斷第一時脈狀態STATE1以及第二時脈狀態STATE2為同相時,將對可調延遲單元100之可調延遲時間ADT進行調整。於本實施例中,判斷單元110將增加可調延遲時間ADT,以使第一延遲時脈訊號CKD1相對時脈訊號CK進行更長時間的延遲。 The determining unit 110 adjusts the adjustable delay time ADT of the adjustable delay unit 100 when it is determined that the first clock state STATE1 and the second clock state STATE2 are in phase. In this embodiment, the determining unit 110 increases the adjustable delay time ADT to delay the first delayed clock signal CKD1 with respect to the clock signal CK for a longer time.

當可調延遲單元100、第一延遲單元104及第二延遲單元106依據新調整後的可調延遲時間ADT再進行延遲後,第一取樣單元102與第二取樣單元104依第一延遲時脈訊號CKD1與第三延遲時脈訊號CKD3進行的取樣結果仍為同相時,可調延遲單元100將繼續對可調延遲時間ADT調整,直到如第2B圖所示,取樣結果達到反相(0,1)時為止。此時,時脈相位位於第一延遲時脈訊號CKD1與第三延遲時脈訊號CKD3間的第二延遲時脈訊號CKD2,即與時脈訊號源CKP/CKN的邊緣位置實質相等。更正確地說,依本實施例之方式進行調整所得的第二延遲時脈訊號CKD2,實際上是時脈訊號源CKP/CKN相差整整一個時脈週期。 After the adjustable delay unit 100, the first delay unit 104, and the second delay unit 106 are further delayed according to the newly adjusted adjustable delay time ADT, the first sampling unit 102 and the second sampling unit 104 are in accordance with the first delay clock. When the sampling result of the signal CKD1 and the third delayed clock signal CKD3 is still in phase, the adjustable delay unit 100 will continue to adjust the adjustable delay time ADT until the sampling result reaches the inversion (0, as shown in FIG. 2B). 1) Until then. At this time, the clock phase is located at the second delayed clock signal CKD2 between the first delayed clock signal CKD1 and the third delayed clock signal CKD3, that is, substantially equal to the edge position of the clock signal source CKP/CKN. More specifically, the second delayed clock signal CKD2 obtained by adjusting in the manner of this embodiment is actually a clock period CKP/CKN difference of a whole clock period.

需注意的是,此處使用「實質相等」一詞,是表示由於第一延遲單元104及第二延遲單元106的延遲時間的設定上,可能會影響取樣的精確度,而造成些許誤差,而使第二延遲時脈訊號CKD2與時脈訊號源CKP/CKN的相位間,有著些微但可以容許的誤差,而並非完全地相等。 It should be noted that the term "substantially equal" is used herein to mean that the accuracy of the sampling may be affected due to the setting of the delay time of the first delay unit 104 and the second delay unit 106, and some errors may occur. There is a slight but tolerable error between the second delayed clock signal CKD2 and the phase of the clock signal source CKP/CKN, and is not completely equal.

因此,藉由上述的方式,時脈恢復模組10將可以測知時脈訊號源CKP/CKN的相位,以使資料恢復模組12可以依據第一延遲單元104所輸出的第二延遲時脈訊號CKD2,對資料訊號DATA進行正確地的恢復程序。 Therefore, in the above manner, the clock recovery module 10 can detect the phase of the clock signal source CKP/CKN, so that the data recovery module 12 can be based on the second delay clock output by the first delay unit 104. Signal CKD2, correct recovery procedure for data signal DATA.

類似地,於另一實施例中,第一取樣單元102與第二取樣單元104依第一延遲時脈訊號CKD1與第三延遲時脈訊號CKD3進行的取樣結果可能如第2C圖所示,為均為高態(1,1)的同相。此時,可調延遲單元100可調降可調延 遲時間ADT,以使第一延遲時脈訊號CKD1相對時脈訊號CK有較短時間的延遲,並逐步逼近時脈訊號源CKP/CKN的邊緣位置,直到取樣結果為反相(0,1)為止,以達到校正的功效。 Similarly, in another embodiment, the sampling result of the first sampling unit 102 and the second sampling unit 104 according to the first delayed clock signal CKD1 and the third delayed clock signal CKD3 may be as shown in FIG. 2C. Both are in phase with the high state (1,1). At this time, the adjustable delay unit 100 can be adjusted and adjusted. The ADT is delayed, so that the first delayed clock signal CKD1 has a short time delay relative to the clock signal CK, and gradually approaches the edge position of the clock signal source CKP/CKN until the sampling result is inverted (0, 1). So far, to achieve the effect of correction.

需注意的是,於其他實施例中,第一取樣單元102與第二取樣單元104亦可依第一延遲時脈訊號CKD1與第三延遲時脈訊號CKD3的下降邊緣對時脈訊號源CKP/CKN取樣,並由判斷單元110判斷後,據以控制可調延遲單元100的可調延遲時間ADT。以第2D圖為例,第一取樣單元102與第二取樣單元104依第一延遲時脈訊號CKD1與第三延遲時脈訊號CKD3的下降邊緣對時脈訊號源CKP/CKN取樣的結果為同相(1,1)。此時,判斷單元110可調增可調延遲時間ADT,直到取樣結果為反相(1,0)為止。而如果取樣結果為同相(0,0),判斷單元110可調降可調延遲時間ADT,直到取樣結果為反相(1,0)為止。在取樣的結果為反相時,資料恢復模組12亦可以依據此時第一延遲單元104所輸出的第二延遲時脈訊號CKD2,對資料訊號DATA進行正確地的恢復程序。 It should be noted that in other embodiments, the first sampling unit 102 and the second sampling unit 104 may also be based on the falling edge of the first delayed clock signal CKD1 and the third delayed clock signal CKD3 to the clock signal source CKP/ The CKN samples and is judged by the judging unit 110 to control the adjustable delay time ADT of the adjustable delay unit 100. Taking the 2D picture as an example, the first sampling unit 102 and the second sampling unit 104 are in phase with the result of sampling the clock signal source CKP/CKN according to the falling edges of the first delayed clock signal CKD1 and the third delayed clock signal CKD3. (1,1). At this time, the judging unit 110 adjusts the adjustable delay time ADT until the sampling result is inverted (1, 0). If the sampling result is in phase (0, 0), the judging unit 110 can adjust the adjustable delay time ADT until the sampling result is inverted (1, 0). When the result of the sampling is reversed, the data recovery module 12 can also perform a correct recovery procedure on the data signal DATA according to the second delayed clock signal CKD2 output by the first delay unit 104 at this time.

請參照第3圖,第3圖為本發明一實施例中,第二延遲時脈訊號CKD2以及據以產生的相位偏移時脈訊號CKP1、CKP2、...、CKPN的波形圖。於一實施例中,第一延遲單元104所輸出的第二延遲時脈訊號CKD2將可經由如第1圖所示的一個延遲鎖相迴路模組114產生複數相位偏移時脈訊號CKP1、CKP2、...、CKPN後,提供至資料恢復模組12進行資料恢復。因此,在如低電壓差分訊號 (Low-voltage differential signaling,LVDS)的傳輸架構規範中,一個時脈週期中將對應數筆資料,由於資料訊號DATA的資料頻率為時脈訊號源CKP/CKN的時脈頻率的N倍,資料恢復模組12將可依據延遲鎖相迴路模組114所產生的相位偏移時脈訊號CKP1、CKP2、...、CKPN進行資料恢復。需注意的是,本發明的資料及時脈恢復裝置1亦可應用於其他的傳輸架構中,不限於以上舉例之低電壓差分訊號傳輸架構。 Referring to FIG. 3, FIG. 3 is a waveform diagram of the second delayed clock signal CKD2 and the phase offset clock signals CKP1, CKP2, . . . , CKPN generated according to an embodiment of the present invention. In one embodiment, the second delayed clock signal CKD2 output by the first delay unit 104 can generate a complex phase offset clock signal CKP1, CKP2 via a delay phase locked loop module 114 as shown in FIG. After the CKPN, the data recovery module 12 is provided for data recovery. Therefore, in the case of low voltage differential signals (Low-voltage differential signaling, LVDS) transmission architecture specification, a clock cycle will correspond to a number of data, because the data frequency of the data signal DATA is N times the clock frequency of the clock signal source CKP/CKN, data The recovery module 12 can recover data according to the phase offset clock signals CKP1, CKP2, ..., CKPN generated by the delay phase locked loop module 114. It should be noted that the data and time recovery device 1 of the present invention can also be applied to other transmission architectures, and is not limited to the low voltage differential signal transmission architecture exemplified above.

因此,本發明可藉由時脈恢復模組10對經由差動轉單端電路112而產生延遲的時脈訊號CK進行校正,使成為單端輸出的第二延遲時脈訊號CKD2與差動形式的時脈訊號源CKP/CKN為同相。資料恢復模組12將可據以正確地對資料訊號DATA進行恢復程序。 Therefore, the clock recovery module 10 can correct the clock signal CK delayed by the differential-turn single-ended circuit 112, so that the second delayed clock signal CKD2 and the differential form become single-ended outputs. The clock signal source CKP/CKN is in phase. The data recovery module 12 will be able to properly recover the data signal DATA.

雖然本發明已以實施方式揭露如上,然其並非用以限定本發明,任何熟習此技藝者,在不脫離本發明之精神和範圍內,當可作各種之更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and the present invention can be modified and modified without departing from the spirit and scope of the present invention. The scope is subject to the definition of the scope of the patent application attached.

1‧‧‧資料及時脈恢復裝置 1‧‧‧Information Time and Pulse Recovery Device

10‧‧‧時脈恢復模組 10‧‧‧ Clock Recovery Module

100‧‧‧可調延遲單元 100‧‧‧Adjustable delay unit

102‧‧‧第一取樣單元 102‧‧‧First sampling unit

104‧‧‧第一延遲單元 104‧‧‧First delay unit

106‧‧‧第二延遲單元 106‧‧‧second delay unit

108‧‧‧第二取樣單元 108‧‧‧Second sampling unit

110‧‧‧判斷單元 110‧‧‧judging unit

112‧‧‧差動轉單端電路 112‧‧‧Differential to single-ended circuit

114‧‧‧延遲鎖相迴路模組 114‧‧‧Delayed phase-locked loop module

12‧‧‧資料恢復模組 12‧‧‧ Data Recovery Module

為讓本發明之上述和其他目的、特徵、優點與實施例能更明顯易懂,所附圖式之說明如下:第1圖為本發明一實施中,資料及時脈恢復裝置之方塊圖;第2A圖至第2D圖分別為本發明一實施例中,時脈訊號源、時脈訊號、第一延遲時脈訊號、第二延遲時脈訊號 以及第三延遲時脈訊號之波型圖;以及第3圖為本發明一實施例中,第二延遲時脈訊號以及據以產生的相位偏移時脈訊號的波形圖。 The above and other objects, features, advantages and embodiments of the present invention will become more <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt; 2A to 2D are respectively a clock signal source, a clock signal, a first delayed clock signal, and a second delayed clock signal according to an embodiment of the invention. And a waveform diagram of the third delayed clock signal; and FIG. 3 is a waveform diagram of the second delayed clock signal and the phase offset clock signal generated according to an embodiment of the invention.

1‧‧‧資料及時脈恢復裝置 1‧‧‧Information Time and Pulse Recovery Device

10‧‧‧時脈恢復模組 10‧‧‧ Clock Recovery Module

100‧‧‧可調延遲單元 100‧‧‧Adjustable delay unit

102‧‧‧第一取樣單元 102‧‧‧First sampling unit

104‧‧‧第一延遲單元 104‧‧‧First delay unit

106‧‧‧第二延遲單元 106‧‧‧second delay unit

108‧‧‧第二取樣單元 108‧‧‧Second sampling unit

110‧‧‧判斷單元 110‧‧‧judging unit

112‧‧‧電路 112‧‧‧ Circuitry

114‧‧‧延遲鎖相迴路模組 114‧‧‧Delayed phase-locked loop module

12‧‧‧資料恢復模組 12‧‧‧ Data Recovery Module

Claims (9)

一種資料及時脈恢復(recovery)裝置,包含:一時脈恢復模組,包含:一可調延遲單元,用以接收一時脈訊號,以依據一可調延遲時間對該時脈訊號進行延遲以產生一第一延遲時脈訊號,其中該時脈訊號依據一時脈訊號源產生,且該時脈訊號源與該時脈訊號間具有一延遲時間;一第一取樣單元,用以根據該第一延遲時脈訊號對該時脈訊號源取樣以擷取一第一時脈狀態;一第一延遲單元,對該第一延遲時脈訊號進行延遲以產生一第二延遲時脈訊號;一第二延遲單元,對該第二延遲時脈訊號進行延遲以產生一第三延遲時脈訊號;一第二取樣單元,用以根據該第三延遲時脈訊號對該時脈訊號源取樣以擷取一第二時脈狀態;以及一判斷單元,判斷該第一時脈狀態以及該第二時脈狀態是否為反相,以於該第一時脈狀態以及該第二時脈狀態為同相時對該可調延遲單元之該可調延遲時間進行調整;以及一資料恢復模組,於該第一時脈狀態以及該第二時脈狀態為反相時根據該第二延遲時脈訊號對一資料訊號進行恢復。 A data recovery device includes: a clock recovery module, comprising: an adjustable delay unit for receiving a clock signal to delay the clock signal according to an adjustable delay time to generate a a first delayed clock signal, wherein the clock signal is generated according to a clock signal source, and the clock signal source and the clock signal have a delay time; a first sampling unit is configured to use the first delay time The pulse signal samples the clock signal source to capture a first clock state; a first delay unit delays the first delayed clock signal to generate a second delayed clock signal; and a second delay unit Delaying the second delayed clock signal to generate a third delayed clock signal; a second sampling unit for sampling the clock signal source according to the third delayed clock signal to obtain a second a clock state; and a determining unit, determining whether the first clock state and the second clock state are inverted, so that the first clock state and the second clock state are in phase Delayed order The adjustable delay time is adjusted; and a data recovery module recovers a data signal according to the second delayed clock signal when the first clock state and the second clock state are inverted. 如請求項1所述之資料及時脈恢復裝置,其中當該判斷單元判斷該第一時脈狀態為低態且該第二時脈狀態 為低態時,調增該可調延遲時間。 The data and time recovery device according to claim 1, wherein the determining unit determines that the first clock state is a low state and the second clock state is When it is low, the adjustable delay time is increased. 如請求項2所述之資料及時脈恢復裝置,其中當該判斷單元判斷該第一時脈狀態為高態且該第二時脈狀態為高態時,調降該可調延遲時間。 The data and time recovery device of claim 2, wherein the adjustable delay time is decreased when the determining unit determines that the first clock state is high and the second clock state is high. 如請求項3所述之資料及時脈恢復裝置,其中當該判斷單元判斷該第一時脈狀態為低態且該第二時脈狀態為高態時,該資料恢復模組根據該第二延遲時脈訊號對該資料訊號進行恢復。 The data recovery device according to claim 3, wherein when the determining unit determines that the first clock state is low and the second clock state is high, the data recovery module is configured according to the second delay The clock signal recovers the data signal. 如請求項1所述之資料及時脈恢復裝置,其中當該判斷單元判斷該第一時脈狀態為低態且該第二時脈狀態為低態時,調降該可調延遲時間。 The data and time recovery device of claim 1, wherein the adjustable delay time is decreased when the determining unit determines that the first clock state is low and the second clock state is low. 如請求項5所述之資料及時脈恢復裝置,其中當該判斷單元判斷該第一時脈狀態為高態且該第二時脈狀態為高態時,調增該可調延遲時間。 The data and time recovery device of claim 5, wherein the adjustable delay time is increased when the determining unit determines that the first clock state is high and the second clock state is high. 如請求項6所述之資料及時脈恢復裝置,其中當該判斷單元判斷該第一時脈狀態為高態且該第二時脈狀態為低態時,該資料恢復模組根據該第二延遲時脈訊號對該資料訊號進行恢復。 The data recovery device according to claim 6, wherein when the determining unit determines that the first clock state is high and the second clock state is low, the data recovery module is configured according to the second delay The clock signal recovers the data signal. 如請求項1所述之資料及時脈恢復裝置,更包含一延遲鎖相迴路模組(delay locked loop;DLL),俾根據該第二延遲時脈訊號產生複數相位偏移時脈訊號,該資料恢復模組實質上根據該等相位偏移時脈訊號對該資料訊號進行恢復。 The data and time recovery device according to claim 1 further includes a delay locked loop (DLL), and generating a complex phase offset clock signal according to the second delayed clock signal, the data The recovery module substantially recovers the data signal according to the phase offset clock signals. 如請求項1所述之資料及時脈恢復裝置,更包含一差動轉單端(differential to single)電路,該時脈訊號源為一差動形式,以經由該差動轉單端電路轉換為具有一單端形式之該時脈訊號。 The data and time recovery device according to claim 1 further includes a differential to single circuit, wherein the clock signal source is in a differential form to be converted to a single-ended circuit via the differential to The clock signal has a single-ended form.
TW102101169A 2013-01-11 2013-01-11 Device for recovering data and clock signal TWI487287B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102101169A TWI487287B (en) 2013-01-11 2013-01-11 Device for recovering data and clock signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102101169A TWI487287B (en) 2013-01-11 2013-01-11 Device for recovering data and clock signal

Publications (2)

Publication Number Publication Date
TW201429165A true TW201429165A (en) 2014-07-16
TWI487287B TWI487287B (en) 2015-06-01

Family

ID=51726233

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102101169A TWI487287B (en) 2013-01-11 2013-01-11 Device for recovering data and clock signal

Country Status (1)

Country Link
TW (1) TWI487287B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6178213B1 (en) * 1998-08-25 2001-01-23 Vitesse Semiconductor Corporation Adaptive data recovery system and methods
JP3892847B2 (en) * 2003-12-03 2007-03-14 株式会社東芝 Semiconductor integrated circuit and test method for semiconductor integrated circuit
US7415089B2 (en) * 2004-03-16 2008-08-19 Industrial Technology Research Institute High-speed serial link clock and data recovery
JP5269387B2 (en) * 2006-09-25 2013-08-21 シリコン イメージ,インコーポレイテッド Signal interleaving for serial clock and data recovery

Also Published As

Publication number Publication date
TWI487287B (en) 2015-06-01

Similar Documents

Publication Publication Date Title
US8686773B1 (en) In-system margin measurement circuit
US6978403B2 (en) Deskew circuit and disk array control device using the deskew circuit, and deskew method
US6560716B1 (en) System for measuring delay of digital signal using clock generator and delay unit wherein a set of digital elements of clock generator identical to a set of digital elements of delay unit
TWI448081B (en) All-digital clock correction circuit and method thereof
KR101297683B1 (en) Method and apparatus for adjustment of synchronous clock signals
TW202042521A (en) Phase predictor and associated method of use
US8294498B2 (en) Clock de-skewing delay locked loop circuit
GB2511274A (en) Duty cycle correction system
TWI523037B (en) Memory device
KR101989393B1 (en) Domain crossing circuit of semiconductor apparatus
US10965442B2 (en) Low-power, low-latency time-to-digital-converter-based serial link
US8850258B2 (en) Calibration for source-synchronous high frequency bus synchronization schemes
KR102469133B1 (en) Delay circuit
TWI487287B (en) Device for recovering data and clock signal
TWI488047B (en) One wire signal transmission apparatus and method
TWI635706B (en) Method for determining sampling phase of sampling clock signal and associated electronic device
US8269535B1 (en) Delay-locked loop and method of using the same
US20150207617A1 (en) Reception circuit and communication system
WO2021238838A1 (en) Method and circuit for measuring retention time of time sequence unit
US9552310B2 (en) Signal control circuit, information processing apparatus, and signal control method
US8907709B1 (en) Delay difference detection and adjustment device and method
TWI514775B (en) Clock edge detection device and method
US7171574B2 (en) DDR clocking
US10931269B1 (en) Early mode protection for chip-to-chip synchronous interfaces
KR20080001124A (en) Semiconductor memory device