TW202301827A - Method and system for clock and data recovery - Google Patents

Method and system for clock and data recovery Download PDF

Info

Publication number
TW202301827A
TW202301827A TW110123559A TW110123559A TW202301827A TW 202301827 A TW202301827 A TW 202301827A TW 110123559 A TW110123559 A TW 110123559A TW 110123559 A TW110123559 A TW 110123559A TW 202301827 A TW202301827 A TW 202301827A
Authority
TW
Taiwan
Prior art keywords
data
clock
sampling
reply
information signal
Prior art date
Application number
TW110123559A
Other languages
Chinese (zh)
Other versions
TWI769877B (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 TW110123559A priority Critical patent/TWI769877B/en
Application granted granted Critical
Publication of TWI769877B publication Critical patent/TWI769877B/en
Publication of TW202301827A publication Critical patent/TW202301827A/en

Links

Images

Abstract

The present invention provides a method and system for clock and data recovery, which provides at least one data information signal and at least one sampling signal. Generates a sampling clock based on default data in the data information signal and the sampling signal. Then, a plurality of recovery processes are executed in sequence, and each recovery process includes the following steps: sampling the data information signal by using the sampling clock, to obtain a response data; and according to the recovery data, restoring a recovery clock as the next sampling clock for the next recovery process. Finally, based on all the recovery data, a serial data is restored. Therefore, under a stable and simple structure, the present invention sequentially restores the entire serial data like a domino and restores all corresponding clocks at the same time.

Description

時脈與資料回復之方法及系統Method and system for clock and data recovery

本發明係有關一種時脈與資料回復技術,特別是指一種時脈與資料回復之方法及系統。The present invention relates to a clock and data recovery technology, in particular to a method and system for clock and data recovery.

對於一些嚴格要求低功耗和低發熱的接收機或是無電池的裝置,例如生醫植入式晶片、環境監測系統和物聯網等等,這些裝置需要一個解調變器來接收資料,然而解調變器占整個系統功耗比例很大,所以降低解調變器功耗成為提升系統功耗性能很重要的議題。解調變器使用上包括不歸零編碼(non-return-to-zero, NRZ)和相移鍵控(phase-shift keying, PSK)兩種調變方式。For some receivers that strictly require low power consumption and low heat generation or devices without batteries, such as biomedical implantable chips, environmental monitoring systems and Internet of Things, etc., these devices need a demodulator to receive data, however The demodulator accounts for a large proportion of the power consumption of the entire system, so reducing the power consumption of the demodulator has become an important topic for improving system power consumption performance. The demodulator uses two modulation methods: non-return-to-zero (NRZ) and phase-shift keying (PSK).

傳統serial links多使用NRZ信號進行數據傳輸,再加上如8B/10B編碼方式以保持調變訊號的直流平衡。然而,NRZ時脈資料還原電路需要使用高功耗的鎖相迴路(Phase-locked loops, PLL)先還原時脈,再利用還原的時脈對調變訊號取樣來還原資料,鎖相迴路中高頻振盪器的電感、迴路濾波器中的電阻、電容等被動元件不但面積大、功耗也高。此外使用8B/10B編碼更會降低有效資料傳輸率達20%。PSK調變訊號利用不同的載波時脈代表資料,例如二位元相移鍵控(binary PSK, BPSK)與四位元相移鍵控(quarter PSK, QPSK)等。由於PSK本身就具備直流平衡的特性,因此傳輸資料不需要先經8B/10B編碼,有效資料傳輸率可以達100%。Traditional serial links mostly use NRZ signals for data transmission, plus 8B/10B coding methods to maintain the DC balance of modulation signals. However, the NRZ clock data restoration circuit needs to use high-power phase-locked loops (PLL) to restore the clock first, and then use the restored clock to sample the modulated signal to restore data. The high-frequency oscillation in the phase-locked loop Passive components such as the inductance of the circuit breaker, the resistors and capacitors in the loop filter not only have a large area, but also consume a lot of power. In addition, the use of 8B/10B encoding will reduce the effective data transmission rate by 20%. PSK modulation signals use different carrier clocks to represent data, such as binary PSK (BPSK) and quadrature PSK (QPSK). Since PSK itself has the characteristic of DC balance, the transmission data does not need to be encoded by 8B/10B first, and the effective data transmission rate can reach 100%.

BPSK是使用相位差180度且正交的訊號表示0與1的資料,0和1分別在坐標圖的X軸正負兩端。第1A圖及第2A圖所示分別為BPSK和QPSK的訊號在星座圖上的符號及每一符號對應的波形。每一個時脈週期叫做一個符號(symbol),BPSK包括0與1兩種符號,如第1B圖所示。QPSK則包括四種符號分別在四個象限代表00、01、11、10。QPSK可以在與BPSK相同的頻寬下提升兩倍的資料傳輸率。而Costas loop為最簡潔的傳統QPSK解調器架構, 該架構包含兩個平行的鎖相迴路,分別為I分支和Q分支,如第2B圖所示,兩分支有90度相位差,常見的實現方案是由振盪器先產生兩倍載波頻率,再透過數位正交訊號產生器產生兩個相位相差90度的同頻率訊號,其有以下缺點:(1)功率消耗高,因為振盪器操作頻率為兩倍載波頻率,不僅增加電路設計難度,也因為功率消耗大不適用於低功耗的應用;(2)由於鎖相迴路有穩定度的問題,因此資料傳輸速率會受限於鎖相迴路穩定度;(3)電路複雜度高,因為鎖相迴路是較複雜的回授系統;以及(4)大面積,生醫應用頻率低,大的迴路濾波器很佔面積。BPSK uses 180-degree phase difference and orthogonal signals to represent the data of 0 and 1. 0 and 1 are respectively at the positive and negative ends of the X-axis of the coordinate diagram. Figure 1A and Figure 2A show the symbols on the constellation diagram of BPSK and QPSK signals and the waveform corresponding to each symbol. Each clock cycle is called a symbol, and BPSK includes two symbols of 0 and 1, as shown in Figure 1B. QPSK includes four symbols representing 00, 01, 11, and 10 in four quadrants. QPSK can double the data transmission rate with the same bandwidth as BPSK. The Costas loop is the most concise traditional QPSK demodulator architecture. This architecture includes two parallel phase-locked loops, which are the I branch and the Q branch. As shown in Figure 2B, the two branches have a 90-degree phase difference. The common The implementation scheme is to first generate twice the carrier frequency by the oscillator, and then generate two signals of the same frequency with a phase difference of 90 degrees through the digital quadrature signal generator, which has the following disadvantages: (1) High power consumption, because the oscillator operating frequency It is twice the carrier frequency, which not only increases the difficulty of circuit design, but also is not suitable for low-power applications because of the large power consumption; (2) Due to the stability of the phase-locked loop, the data transmission rate will be limited by the phase-locked loop Stability; (3) The circuit complexity is high, because the phase-locked loop is a relatively complex feedback system; and (4) Large area, low frequency of biomedical application, large loop filter takes up a lot of area.

美國公開號第20170317871號專利提出一改良式OQPSK解調器架構,利用延遲線來延遲OQPSK訊號,再與原訊號相乘並濾除高於載波頻率成分來得到資料,接著使用還原的資料與原始OQPSK訊號來回復時脈,整體架構中省去振盪器與迴路濾波器等,可減少功率消耗、縮小晶片面積。但此改良式OQPSK解調器有以下缺點:(1)資料傳輸率低。此OQPSK編碼並無包含星座圖中的所有資料轉換路徑,例如第二、四象限的資料無法轉換,造成有效的資料率降低。(2)由於第二、四象限的資料無法轉換,為了確保解調器正常工作,必須使用額外的編碼/解碼電路,將第二、四象限的資料通過運算轉換成其他象限的資料,因此需要付出額外編碼電路的面積及功率消耗。U.S. Patent Publication No. 20170317871 proposes an improved OQPSK demodulator architecture, which uses a delay line to delay the OQPSK signal, then multiplies the original signal and filters components higher than the carrier frequency to obtain data, and then uses the restored data and the original The OQPSK signal is used to recover the clock pulse, and the oscillator and loop filter are omitted in the overall structure, which can reduce power consumption and chip area. But this improved OQPSK demodulator has the following disadvantages: (1) The data transmission rate is low. This OQPSK encoding does not include all the data conversion paths in the constellation diagram, for example, the data in the second and fourth quadrants cannot be converted, resulting in a decrease in the effective data rate. (2) Since the data in the second and fourth quadrants cannot be converted, in order to ensure the normal operation of the demodulator, an additional encoding/decoding circuit must be used to convert the data in the second and fourth quadrants into data in other quadrants through calculation, so it is necessary Pay for the area and power consumption of the extra encoding circuit.

因此,本發明即提出一種時脈與資料回復之方法及系統,以有效地解決上述該等問題,具體架構及其實施方式將詳述於下:Therefore, the present invention proposes a method and system for clock and data recovery to effectively solve the above-mentioned problems. The specific structure and its implementation will be described in detail below:

本發明之主要目的在提供一種時脈與資料回復之方法及系統,其利用相移鍵控(PSK)技術,可根據預設時脈回復一筆資料的原理,再利用此回復資料還原出取樣時脈的下一個片段,並利用此下一個取樣時脈片段中的取樣邊緣再對訊號取樣以回復下一筆資料,重複此步驟即可依序還原所有的資料及相對應的時脈。The main purpose of the present invention is to provide a method and system for clock and data recovery, which utilizes phase-shift keying (PSK) technology, can restore a piece of data according to the principle of preset clock, and then use the recovered data to restore the sampling time The next segment of the pulse, and use the sampling edge in the next sampling clock segment to sample the signal again to restore the next data. Repeat this step to restore all the data and the corresponding clock in sequence.

本發明之另一目的在提供一種時脈與資料回復之方法及系統,其使用延遲鎖定迴路提供各種PSK延遲訊號,包括BPSK、QPSK、8PSK等,由於延遲鎖定迴路為一階迴授系統,與複雜的鎖相迴路相比之下,延遲鎖定迴路不但相當穩定,且架構簡單、功率消耗低。Another object of the present invention is to provide a method and system for clock and data recovery, which uses a delay-locked loop to provide various PSK delay signals, including BPSK, QPSK, 8PSK, etc., because the delay-locked loop is a first-order feedback system, and Compared with the complex phase-locked loop, the delay-locked loop is not only quite stable, but also has a simple structure and low power consumption.

本發明之再一目的在提供一種時脈與資料回復之方法及系統,其決策電路係由D型正反器及相位旋轉器所構成,且相位旋轉器為多工器,因此架構簡單,不論類比電路或數位電路皆可實現。Another object of the present invention is to provide a method and system for clock and data recovery. The decision-making circuit is composed of a D-type flip-flop and a phase rotator, and the phase rotator is a multiplexer, so the structure is simple. Both analog circuits and digital circuits can be implemented.

本發明之又一目的在提供一種時脈與資料回復之方法及系統,其整體架構僅包括延遲鎖定迴路及決策電路,不需低頻濾波器和其他龐大的被動元件,如電容、電感、振盪器、鎖相迴路等,因此整體面積小、製作成本低,且可在低供應電壓下操作。Another object of the present invention is to provide a method and system for clock and data recovery. Its overall structure only includes delay-locked loops and decision-making circuits, and does not require low-frequency filters and other huge passive components, such as capacitors, inductors, and oscillators. , phase-locked loop, etc., so the overall area is small, the manufacturing cost is low, and it can be operated under low supply voltage.

為達上述目的,本發明提供一種時脈與資料回復之方法,包括下列步驟:提供至少一第一類延遲訊號做為資料信息訊號及至少一第二類延遲訊號做為時脈信息訊號;根據時脈信息訊號及一預設資料產生一取樣時脈之片段;依序執行複數次回復流程,每一回復流程包括下列步驟:利用取樣時脈之片段的一取樣邊緣,對資料信息訊號進行取樣,以得到一回復資料;以及根據回復資料與時脈信息訊號,還原取樣時脈之下一片段,以供下一回復流程使用;以及結合所有回復資料,還原一串列資料。In order to achieve the above object, the present invention provides a method for clock and data recovery, including the following steps: providing at least one first type of delayed signal as a data information signal and at least one second type of delayed signal as a clock information signal; The clock information signal and a default data generate a segment of the sampling clock; execute multiple recovery processes in sequence, and each recovery process includes the following steps: use a sampling edge of the segment of the sampling clock to sample the data information signal , to obtain a reply data; and according to the reply data and the clock information signal, restore a segment under the sampling clock for use in the next reply process; and combine all the reply data to restore a series of data.

依據本發明之實施例,取樣時脈之取樣邊緣對資料信息訊號取樣後,分別輸出至少一子資料,子資料組成回復資料。According to an embodiment of the present invention, after the sampling edge of the sampling clock samples the data information signal, at least one sub-data is respectively output, and the sub-data constitutes the reply data.

依據本發明之實施例,子資料為0或1,子資料所組成之回復資料為二進位資料。According to the embodiment of the present invention, the sub-data is 0 or 1, and the reply data composed of the sub-data is binary data.

依據本發明之實施例,取樣時脈之一上升緣做為取樣邊緣,對資料信息訊號進行取樣,得到回復資料後,再利用回復資料還原出取樣時脈的下一片段的上升緣,以重複對資料信息訊號進行取樣,得到下一個回復資料。According to the embodiment of the present invention, one rising edge of the sampling clock is used as the sampling edge to sample the data information signal, and after obtaining the reply data, the reply data is used to restore the rising edge of the next section of the sampling clock to repeat The data information signal is sampled to obtain the next reply data.

依據本發明之實施例,串列資料中包含一同步訊號,預設時脈係從同步訊號中取得。According to an embodiment of the present invention, the serial data includes a synchronous signal, and the default clock is obtained from the synchronous signal.

本發明更提供一種時脈與資料回復之系統,包括:一延遲鎖定迴路,產生至少一第一類延遲訊號做為資料信息訊號及至少一第二類延遲訊號做為時脈信息訊號;以及一決策電路,電性連接延遲鎖定迴路,其中,決策電路根據一預設資料及時脈信息訊號產生一取樣時脈之片段,依序執行複數次回復流程,以得到所有的回復資料,還原一串列資料,其中,每一回復流程包括下列步驟:利用取樣時脈之片段的一取樣邊緣,對資料信息訊號進行取樣,以得到一回復資料;以及根據回復資料與時脈信息訊號,還原取樣時脈之下一片段的取樣邊緣,以供下一回復流程使用。The present invention further provides a clock and data recovery system, comprising: a delay-locked loop generating at least one first-type delayed signal as a data information signal and at least one second-type delayed signal as a clock information signal; and a The decision-making circuit is electrically connected to the delay-locked loop, wherein the decision-making circuit generates a segment of the sampling clock according to a preset data and timing information signal, executes a plurality of reply processes in order to obtain all the reply data, and restores a series of data, wherein each recovery process includes the following steps: using a sampling edge of a segment of the sampling clock, sampling the data information signal to obtain a recovery data; and restoring the sampling clock according to the recovery data and the clock information signal The sampled edge of the next fragment for use in the next recovery process.

依據本發明之實施例,決策電路中更包括至少一D型正反器,分別接收資料信息訊號,利用取樣時脈之取樣邊緣對資料信息訊號進行取樣,分別輸出至少一子資料,子資料組成回復資料。According to the embodiment of the present invention, the decision-making circuit further includes at least one D-type flip-flop, which respectively receives the data information signal, uses the sampling edge of the sampling clock to sample the data information signal, and outputs at least one sub-data respectively, and the sub-data consists of Reply to the information.

依據本發明之實施例,決策電路中更包括一相位旋轉器,由延遲鎖定迴路產生的時脈信息訊號做為相位旋轉器之輸入訊號,且由D型正反器輸出之回復資料做為相位旋轉器之選擇訊號,經過相位旋轉器處理後合成取樣時脈之下一片段並輸出,同時將該取樣時脈之下一片段的取樣邊緣提供給D型正反器進行取樣。According to the embodiment of the present invention, the decision circuit further includes a phase rotator, the clock information signal generated by the delay-locked loop is used as the input signal of the phase rotator, and the reply data output by the D-type flip-flop is used as the phase The selection signal of the rotator is processed by the phase rotator to synthesize and output the next segment of the sampling clock, and at the same time provide the sampling edge of the next segment of the sampling clock to the D-type flip-flop for sampling.

依據本發明之實施例,相位旋轉器為一多工器。According to an embodiment of the present invention, the phase rotator is a multiplexer.

依據本發明之實施例,延遲鎖定迴路及決策電路係應用於四位元相移鍵控(quarter phase-shift keying, QPSK)調變訊號。According to an embodiment of the present invention, the delay locked loop and the decision circuit are applied to a quarter phase-shift keying (QPSK) modulated signal.

本發明提供一種時脈與資料回復之方法及系統,利用相移鍵控(phase-shift keying, PSK)技術,可根據預設時脈回復一筆資料的原理,再利用此回復資料還原出取樣時脈的下一個片段,並利用取樣時脈片段的一取樣邊緣再對訊號取樣以回復下一筆資料,重複此步驟即可依序還原所有的資料及相對應的時脈。本發明不需要複雜的電路及龐大的被動元件,不但資料傳輸穩定,且具有低功耗、面積小、成本低等優點。The present invention provides a method and system for recovering clock and data. Using phase-shift keying (PSK) technology, a piece of data can be restored according to the principle of preset clock, and then the restored data can be used to restore the sampling time. The next segment of the pulse, and use a sampling edge of the sampling clock segment to sample the signal again to restore the next piece of data. Repeat this step to restore all the data and the corresponding clock in sequence. The invention does not need complex circuits and huge passive components, not only has stable data transmission, but also has the advantages of low power consumption, small area, and low cost.

請同時參考第3圖及第4圖,其中第3圖為時脈與資料回復之方法之流程圖,第4圖為本發明時脈與資料回復之系統中以BPSK為例之電路方塊圖,。本發明時脈與資料回復之系統20包括一延遲鎖定迴路22及一決策電路24。延遲鎖定迴路(delay locked loop, DLL)22用以產生至少一第一類延遲訊號做為資料信息訊號及至少一第二類延遲訊號做為時脈信息訊號並提供給決策電路24。以第3圖所示之BPSK為例,資料信息訊號 BPSK(t)和時脈信息訊號各一個;若以第5圖所示之QPSK為例,則兩個資料信息訊號分別為第一、第二延遲訊號,兩個時脈信息訊號分別為第三、第四延遲訊號,以此類推,可以將此模式延伸到8PSK、16PSK……等等。其中第二、第三、第四延遲訊號等為第一延遲訊號之延遲訊號,而延遲的時間由使用者設計。由於延遲鎖定迴路22為一階迴授系統,因此訊號輸出相當穩定。決策電路24則負責實現第3圖中的方法流程,詳述如下。Please refer to Fig. 3 and Fig. 4 at the same time, wherein Fig. 3 is a flow chart of the method for clock and data recovery, and Fig. 4 is a circuit block diagram using BPSK as an example in the system of clock and data recovery of the present invention. . The clock and data recovery system 20 of the present invention includes a delay locked loop 22 and a decision circuit 24 . A delay locked loop (DLL) 22 is used to generate at least one delayed signal of the first type as a data information signal and at least one delayed signal of the second type as a clock information signal and provide them to the decision circuit 24 . Taking the BPSK shown in Figure 3 as an example, there is one data information signal BPSK(t) and one clock information signal; if taking the QPSK shown in Figure 5 as an example, the two data information signals are respectively the first and the second Two delay signals, the two clock information signals are the third and fourth delay signals respectively, and so on, this mode can be extended to 8PSK, 16PSK...etc. The second, third, and fourth delay signals are delay signals of the first delay signal, and the delay time is designed by the user. Since the delay-locked loop 22 is a first-order feedback system, the signal output is quite stable. The decision-making circuit 24 is responsible for realizing the flow of the method in Fig. 3, which is described in detail as follows.

當時脈與資料回復之系統20接收到一串列資料,此串列資料包含在一封包中。首先於步驟S10中,由延遲鎖定迴路(delay locked loop, DLL)22產生至少一第一類延遲訊號及至少一第二類延遲訊號並輸出給決策電路24,包括第一類延遲訊號做為資料信息訊號,第二類延遲訊號則做為時脈信息訊號。接著步驟S12~S20為決策電路24中的演算流程。步驟S12中,決策電路24根據時脈信息訊號及一預設資料產生一取樣時脈之片段,假設取樣時脈分為多個片段,一個片段通常為一個週期,一次只能還原取樣時脈的一個片段。在步驟S14中,利用此取樣時脈之片段的一取樣邊緣對資料信息訊號進行取樣,得到一回復資料。進一步而言,每一封包的開頭都具有一段同步訊號(synchronization pattern),讓接收端可鎖定載波頻率與相位,因此此同步訊號的資料是已知的,在本發明中可用此同步訊號以取得預設時脈,以取樣並還原資料。通常此同步訊號為一連串的0。接著如步驟S16所述,利用取樣後得到的回復資料去還原一時脈,此時脈為取樣時脈的下一片段,會使用在下一個回復流程的取樣。接著重複步驟S14~S16,用上一個取樣時脈之片段的一取樣邊緣對資料信息訊號進行取樣,得到回復資料後,再還原取樣時脈的下一片段,並將最新還原的取樣時脈片段用以對資料信息訊號進行下一次取樣。步驟S18中判斷是否所有資料都已回復,若否,則回到步驟S14繼續回復流程,直到步驟S18判斷所有資料皆已回復,最後在步驟S20得到完整的串列資料及相對應的時脈,此相對應的時脈為取樣時脈的每一個片段一一還原後所組成。The system 20 of timing and data recovery receives a series of data, which is included in a packet. First, in step S10, at least one first-type delayed signal and at least one second-type delayed signal are generated by a delay-locked loop (delay locked loop, DLL) 22 and output to the decision circuit 24, including the first-type delayed signal as data information signal, and the second type of delayed signal is used as clock information signal. The following steps S12 - S20 are the calculation process in the decision circuit 24 . In step S12, the decision-making circuit 24 generates a segment of the sampling clock according to the clock information signal and a preset data. Assuming that the sampling clock is divided into multiple segments, one segment is usually one cycle, and only the sampling clock can be restored at a time. a fragment. In step S14, use a sampling edge of the sampling clock segment to sample the data information signal to obtain a reply data. Furthermore, each packet has a synchronization pattern at the beginning, allowing the receiving end to lock the carrier frequency and phase, so the data of this synchronization signal is known, and this synchronization pattern can be used in the present invention to obtain Preset clock to sample and restore data. Usually this sync signal is a series of zeros. Next, as described in step S16 , the recovery data obtained after sampling is used to restore a clock, and this clock is the next segment of the sampling clock, which will be used for sampling in the next recovery process. Then repeat steps S14~S16, use a sampling edge of the last sampling clock segment to sample the data information signal, and then restore the next segment of the sampling clock after obtaining the recovered data, and use the newly restored sampling clock segment Used for the next sampling of the data information signal. In step S18, it is judged whether all the data have been restored, if not, then return to step S14 to continue the reply process until step S18 judges that all data have been restored, and finally in step S20 the complete serial data and the corresponding clock are obtained, The corresponding clock is formed by restoring each segment of the sampling clock one by one.

決策電路24中更包括一至少一個D型正反器,例如第4圖的BPSK實施例中的D型正反器242,用以接收延遲鎖定迴路22提供之資料信息訊號,利用預設時脈對資料信息訊號進行取樣,可輸出回復資料。此外,決策電路24中更包括一相位旋轉器244,此相位旋轉器244為多工器。相位旋轉器244之輸入訊號由延遲鎖定迴路22提供一第三延遲訊號或一第四延遲訊號輸入,此第三、第四延遲訊號皆為第一延遲訊號之延遲訊號。另外, D型正反器242所輸出之回復資料也會提供給相位旋轉器244,做為相位旋轉器244的選擇訊號。經過相位旋轉器244多工處理後,即可合成取樣時脈的一片段,在輸出的同時也會反饋給D型正反器242,以供D型正反器242進行取樣,得到下一組回復資料。The decision circuit 24 further includes at least one D-type flip-flop, such as the D-type flip-flop 242 in the BPSK embodiment of FIG. The data information signal is sampled, and the reply data can be output. In addition, the decision circuit 24 further includes a phase rotator 244, which is a multiplexer. The input signal of the phase rotator 244 is provided by the delay locked loop 22 as a third delayed signal or a fourth delayed signal input, and the third and fourth delayed signals are both delayed signals of the first delayed signal. In addition, the reply data output by the D-type flip-flop 242 is also provided to the phase rotator 244 as a selection signal of the phase rotator 244 . After multiplex processing by the phase rotator 244, a segment of the sampling clock can be synthesized, which will be fed back to the D-type flip-flop 242 at the same time as the output, for the D-type flip-flop 242 to sample and obtain the next group Reply to the information.

舉例而言,D型正反器242根據同步訊號取得預設資料之後,相位旋轉器244根據預設資料及時脈信息訊號,產生第一個取樣時脈的片段。接著D型正反器242利用第一個取樣時脈片段的取樣邊緣對資料信息訊號進行取樣,得到第一個回復資料。接著,相位旋轉器244再利用第一個回復資料及時脈信息訊號,還原第二個取樣時脈的片段。接著,D型正反器242利用第二個取樣時脈的片段的取樣邊緣再去對資料信息訊號進行取樣,得到第二個回復資料。相位旋轉器244利用第二個回復資料還原第三個取樣時脈的片段。D型正反器242再利用第三個取樣時脈片段的取樣邊緣進行取樣,得到第三個回復資料……以此類推,便可如推骨牌一般將整個串列資料依序還原,同時還原相對應的所有時脈。For example, after the D-type flip-flop 242 obtains the preset data according to the synchronization signal, the phase rotator 244 generates the first sampling clock segment according to the preset data and the clock information signal. Then the D-type flip-flop 242 uses the sampling edge of the first sampling clock segment to sample the data information signal to obtain the first reply data. Next, the phase rotator 244 uses the first reply data and the clock information signal to restore the second sampling clock segment. Next, the D-type flip-flop 242 uses the sampling edge of the second sampling clock segment to sample the data information signal to obtain the second reply data. The phase rotator 244 uses the second recovered data to restore the segment of the third sampling clock. The D-type flip-flop 242 then uses the sampling edge of the third sampling clock segment to sample to obtain the third reply data... and so on, the entire series of data can be restored sequentially like pushing dominoes, and restored at the same time corresponding to all clocks.

再以第5圖舉例,其為本發明以QPSK為例之電路方塊圖。決策電路14中更包括一第一D型正反器142和一第二D型正反器144,分別接收延遲鎖定回路12提供之第一延遲訊號及第二延遲訊號,利用預設時脈對第一延遲訊號及第二延遲訊號進行取樣,可分別輸出回復資料中的二個子資料,如圖中所示之I資料及Q資料,I資料及Q資料可組成組回復資料。以QPSK調變器為例,I資料為0或1,Q資料為0或1,I資料及Q資料組成二位數之二進位資料,包括00、01、11、10等四個符號。Taking Fig. 5 as an example again, it is a circuit block diagram of the present invention taking QPSK as an example. The decision circuit 14 further includes a first D-type flip-flop 142 and a second D-type flip-flop 144, which respectively receive the first delay signal and the second delay signal provided by the delay-locked loop 12, and use the preset clock pulse to The first delayed signal and the second delayed signal are sampled, and two sub-data in the reply data can be respectively output, such as I data and Q data as shown in the figure, and the I data and Q data can form a group reply data. Taking the QPSK modulator as an example, the I data is 0 or 1, and the Q data is 0 or 1. The I data and the Q data form two-digit binary data, including four symbols such as 00, 01, 11, and 10.

若為BPSK調變器,則只有一個D型正反器,輸出一個子資料。若為8PSK調變器,則有三個D型正反器,輸出三個子資料,組成三位數的二進位資料做為回復資料。以此類推,所有子資料所組成之回復資料為二進位資料。If it is a BPSK modulator, there is only one D-type flip-flop, and one sub-data is output. If it is an 8PSK modulator, there are three D-type flip-flops, which output three sub-data to form three-digit binary data as reply data. By analogy, the reply data composed of all sub-data is binary data.

此外,決策電路14中更包括一相位旋轉器146,此相位旋轉器146為多工器。相位旋轉器146之輸入訊號為延遲鎖定迴路12提供之時脈信息訊號,包括一第三延遲訊號或一第四延遲訊號,此第三、第四延遲訊號皆為第一延遲訊號之延遲訊號。另外,第一、第二D型正反器142、144所輸出之I資料及Q資料也會提供給相位旋轉器146,做為相位旋轉器146的選擇訊號。經過相位旋轉器146多工處理後,即可合成取樣時脈的一片段,在輸出的同時也會反饋給第一、第二D型正反器142、144,以供第一、第二D型正反器142、144進行取樣,得到下一組回復資料。In addition, the decision circuit 14 further includes a phase rotator 146, which is a multiplexer. The input signal of the phase rotator 146 is the clock information signal provided by the delay locked loop 12, including a third delayed signal or a fourth delayed signal, and the third and fourth delayed signals are both delayed signals of the first delayed signal. In addition, the I data and Q data output by the first and second D-type flip-flops 142 and 144 are also provided to the phase rotator 146 as selection signals for the phase rotator 146 . After being multiplexed by the phase rotator 146, a segment of the sampling clock can be synthesized and fed back to the first and second D-type flip-flops 142 and 144 at the same time as the output for the first and second D-type flip-flops. Type flip-flops 142, 144 for sampling to obtain the next set of reply data.

舉例而言,第一D型正反器142及第二D型正反器144根據同步訊號取得預設資料,提供給相位旋轉器146。相位旋轉器146再根據預設資料及延遲鎖定回路12提供的時脈信息訊號,產生第一個取樣時脈的片段。接著第一D型正反器142及第二D型正反器144利用第一個取樣時脈片段的一取樣邊緣對資料信息訊號進行取樣,得到第一個回復資料。接著,相位旋轉器146再利用第一個回復資料及時脈信息訊號,還原第二個取樣時脈的片段。接著,第一D型正反器142及第二D型正反器144利用第二個取樣時脈片段的取樣邊緣再去對資料信息訊號進行取樣,得到第二個回復資料。相位旋轉器146利用第二個回復資料還原第三個取樣時脈的片段。第一D型正反器142及第二D型正反器144再利用第三個取樣時脈片段的取樣邊緣進行取樣,得到第三個回復資料……以此類推,便可如推骨牌一般將整個串列資料依序還原,同時還原相對應的所有時脈。For example, the first D-type flip-flop 142 and the second D-type flip-flop 144 obtain preset data according to the synchronization signal, and provide the phase rotator 146 with data. The phase rotator 146 generates the first sampling clock segment according to the preset data and the clock information signal provided by the delay locked loop 12 . Then the first D-type flip-flop 142 and the second D-type flip-flop 144 use a sampling edge of the first sampling clock segment to sample the data information signal to obtain the first reply data. Then, the phase rotator 146 uses the first reply data and the clock information signal to restore the second sampling clock segment. Next, the first D-type flip-flop 142 and the second D-type flip-flop 144 use the sampling edge of the second sampling clock segment to sample the data information signal to obtain the second reply data. The phase rotator 146 uses the second recovered data to restore the segment of the third sampling clock. The first D-type flip-flop 142 and the second D-type flip-flop 144 then use the sampling edge of the third sampling clock segment to sample to obtain the third reply data... and so on, it can be like pushing dominoes The entire serial data is restored sequentially, and all corresponding clocks are restored at the same time.

本發明除了可應用在第4圖的BPSK架構和第5圖的QPSK架構之外,基於同樣的原理,亦可應用在8PSK架構下,甚至以此類推到16PSK架構皆可實現。In addition to being applicable to the BPSK architecture in FIG. 4 and the QPSK architecture in FIG. 5 , the present invention can also be applied to an 8PSK architecture based on the same principle, and even to a 16PSK architecture by analogy.

本發明中,延遲訊號的延遲時間可由使用者自行定義。需先說明的是,只有在時脈的上升緣或下降緣才能對資料取樣,亦即本發明中所稱之取樣邊緣。本發明之實施例中是以上升緣對資料進行取樣,如第5圖中向上箭頭即為時脈的上升緣。假設使用QPSK調變器且已知資料的同步訊號為00,則其時脈的定義如第2A圖和第2B圖所示。00為sin波形,01為cos波形,11為-sin波形,10為-cos波形。由於sin波形是下降,無法取樣。因此,為了將下降緣移動到指定位置成為上升緣,第一筆資料需將時脈訊號延遲7T/8並反向,即可在第一個週期內的第3T/8位置產生一個取樣時脈的上升緣。請參考第7圖,此圖中已說明在資料為00時,時脈需要延遲7T/8並反向。在此前提下,相應的資料01需延遲5T/8、11需延遲7T/8、10需延遲5T/8並反向。延遲鎖定迴路12便依據這些符號對應的延遲訊號的設定,已預先定義輸出的第一延遲訊號、第二延遲訊號、第三延遲訊號及第四延遲訊號分別要延遲多少時脈。例如當遇到的時脈訊號為sin波形時,就要延遲7T/8並反向;而當遇到的時脈訊號為cos波形時,就要延遲5T/8,以此類推。In the present invention, the delay time of the delay signal can be defined by the user. It should be noted that the data can be sampled only at the rising edge or falling edge of the clock, which is called the sampling edge in the present invention. In the embodiment of the present invention, the rising edge is used to sample the data, as shown in FIG. 5, the upward arrow is the rising edge of the clock. Assuming that a QPSK modulator is used and the synchronization signal of the known data is 00, the definition of its clock is shown in Figure 2A and Figure 2B. 00 is sin waveform, 01 is cos waveform, 11 is -sin waveform, 10 is -cos waveform. Since the sin waveform is falling, it cannot be sampled. Therefore, in order to move the falling edge to the specified position to become a rising edge, the first data needs to delay the clock signal by 7T/8 and reverse it, so that a sampling clock can be generated at the 3T/8 position in the first cycle rising edge. Please refer to Figure 7, which shows that when the data is 00, the clock needs to be delayed by 7T/8 and reversed. Under this premise, the corresponding data 01 needs to be delayed by 5T/8, 11 needs to be delayed by 7T/8, and 10 needs to be delayed by 5T/8 and reversed. According to the setting of the delay signals corresponding to these symbols, the delay-locked loop 12 has predefined how many clock pulses the outputted first delayed signal, the second delayed signal, the third delayed signal and the fourth delayed signal should be delayed respectively. For example, when the clock signal encountered is a sin waveform, it must be delayed by 7T/8 and reversed; when the clock signal encountered is a cos waveform, it must be delayed by 5T/8, and so on.

因此,以上述的延遲時間的定義為前提設計出延遲鎖定迴路12後,決策電路14的演算流程為:當第一筆預設時脈被延遲7T/8並反向後,上升緣在3T/8位置,此時便可分別對

Figure 02_image001
Figure 02_image003
進行取樣,得到第一組回復資料(I、Q)。接著將第一組回復資料作為相位旋轉器146的選擇控制訊號,適當的切換第三延遲訊號
Figure 02_image005
或第四延遲訊號
Figure 02_image007
輸出,即可合成出取樣時脈的下一個片段,且此取樣時脈片段的上升緣位於下一個符號的3T/8處。重複上述的動作,用時脈上升緣對
Figure 02_image001
Figure 02_image003
取樣以得到第二組回復資料,再用第二組回復資料還原出取樣時脈的下一個片段的上升緣。以此類推,整個時脈與資料回復的過程就如同推骨牌,利用上一筆資料來還原當前的時脈,並用此時脈還原當前的資料,不斷重複此演算法的迴圈,即可將整個串列資料依序還原。 Therefore, after the delay-locked loop 12 is designed on the premise of the above-mentioned definition of delay time, the calculation flow of the decision-making circuit 14 is: when the first preset clock is delayed by 7T/8 and reversed, the rising edge is at 3T/8 position, at this time you can separately
Figure 02_image001
and
Figure 02_image003
Sampling is performed to obtain the first set of reply data (I, Q). Then use the first group of reply data as the selection control signal of the phase rotator 146, and appropriately switch the third delay signal
Figure 02_image005
or the fourth delayed signal
Figure 02_image007
output, the next segment of the sampling clock can be synthesized, and the rising edge of the sampling clock segment is located at 3T/8 of the next symbol. Repeat the above action, use the rising edge of the clock to
Figure 02_image001
and
Figure 02_image003
Sampling to obtain a second set of reply data, and then using the second set of reply data to restore the rising edge of the next segment of the sampling clock. By analogy, the entire clock and data recovery process is like pushing dominoes. Use the last data to restore the current clock, and use this pulse to restore the current data. Repeat the cycle of this algorithm continuously to restore the entire Serial data is restored sequentially.

第8圖所示為應用本發明之系統及方法在QPSK架構下進行資料轉態之時脈圖。在一最佳實施例中係以同步訊號為一串連續的資料000000為例,經過QPSK調變後就成為一小段載波時脈,如第一行QPSK(t)所示。由於第一筆資料為00,因此要將載波時脈延遲7T/8(如圖中第三行時脈QPSK(t-7T/8)),並反向(如圖中第四行時脈rclk),即可在第一個資料週期內的3T/8處產生一個取樣時脈的上升緣(此利用同步訊號取得的取樣時脈,如圖中第四行時脈rclk的第一個上升緣位在第一個資料週期內的3T/8處的上升緣)。接著,再用此取樣時脈的上升緣分別對

Figure 02_image001
Figure 02_image003
取樣(圖中第五行
Figure 02_image001
與第六行
Figure 02_image003
的第一個黑點為取樣位置),就可分別得到I分支與Q分支的第一筆I資料和Q資料,第一筆I資料和Q資料組成第一回復資料。接著,依據第一回復資料選擇適當的延遲訊號,即可在第二個週期時間內的3T/8處又產生一個取樣時脈的上升緣。當同步訊號結束後,第一個取樣時脈的資料為01,此為cos訊號(如圖中第二行時脈QPSK(t)的虛線所圈出的波形),因此延遲5T/8後使時脈上升緣落在3T/8處,並進行取樣(圖中第五行
Figure 02_image001
與第六行
Figure 02_image003
的第四個黑點為取樣位置)。以此類推,重複上述動作,依據不同的回復資料,將其波形作適當的延遲,即可得到取樣時脈的下一片段。 FIG. 8 is a timing diagram of data transition under the QPSK framework using the system and method of the present invention. In a preferred embodiment, the synchronous signal is a series of continuous data 000000 as an example, after being modulated by QPSK, it becomes a small segment of carrier clock, as shown in the first row of QPSK(t). Since the first data is 00, it is necessary to delay the carrier clock by 7T/8 (as shown in the third row of clock QPSK (t-7T/8)), and reverse it (as shown in the fourth row of clock rclk ), which can generate a rising edge of the sampling clock at 3T/8 in the first data period (the sampling clock obtained by using the synchronous signal, such as the first rising edge of the fourth line clock rclk in the figure Rising edge at 3T/8 in the first data period). Then, use the rising edge of the sampling clock to respectively
Figure 02_image001
and
Figure 02_image003
Sampling (the fifth line in the figure
Figure 02_image001
with the sixth row
Figure 02_image003
The first black dot is the sampling position), the first I data and Q data of the I branch and the Q branch can be obtained respectively, and the first I data and Q data form the first reply data. Then, by selecting an appropriate delay signal according to the first reply data, another rising edge of the sampling clock can be generated at 3T/8 in the second cycle time. When the synchronization signal ends, the data of the first sampling clock is 01, which is a cos signal (the waveform circled by the dotted line of the clock QPSK(t) in the second row in the figure), so after a delay of 5T/8, use The rising edge of the clock falls at 3T/8 and is sampled (the fifth line in the figure
Figure 02_image001
with the sixth line
Figure 02_image003
The fourth black point is the sampling position). By analogy, the above actions are repeated, and the waveform is appropriately delayed according to different reply data, so as to obtain the next segment of the sampling clock.

第8圖之實施例中係將符號00預設為sin波形,因此原始封包經QPSK調變後還需要進行相位延遲,轉換成第三行的時脈QPSK(t-7T/8),再反向成第四行的時脈rclk,得到時脈上升緣,才是本發明需要取樣時脈。若符號00的定義為-sin波形,則第一行QPSK(t)就是取樣時脈。因此,同步訊號可直接做為預設時脈進行取樣,或是需要進行延遲、反向後才能做為預設時脈進行取樣,端看使用者如何定義符號。In the embodiment of Figure 8, the symbol 00 is preset as a sin waveform, so the original packet needs to be phase-delayed after being modulated by QPSK, and converted into the clock QPSK (t-7T/8) of the third row, and then reversed To the clock rclk of the fourth row, the rising edge of the clock is obtained, which is the sampling clock required by the present invention. If the symbol 00 is defined as a -sin waveform, then the first line of QPSK(t) is the sampling clock. Therefore, the synchronization signal can be directly sampled as the default clock, or it needs to be delayed and reversed before it can be sampled as the default clock, depending on how the user defines the symbol.

第9圖所示為應用本發明之系統及方法在BPSK架構下進行資料轉態之時脈圖。在一最佳實施例中係以同步訊號為一串連續的資料000為例,經過BPSK調變後就成為一小段載波時脈,如第一行BPSK(t)所示。由於第一筆資料為0,因此要將載波時脈延遲3T/4(如圖中第二行時脈BPSK(t-3T/4)),即可在第一個資料週期內的3T/4處產生一個取樣時脈的上升緣(此利用同步訊號取得的取樣時脈,如圖中第三行時脈rclk的第一個上升緣位在第一個資料週期內的3T/4處的上升緣)。接著,再用此取樣時脈上升緣對BPSK(t)取樣(圖中第一行BPSK(t)的第一個黑點為取樣位置),就可得到第一筆回復資料。接著,依據第一回復資料即可在第二個週期時間內的3T/4處又產生一個取樣時脈的上升緣。當同步訊號結束後,第一個取樣時脈的資料為1(如圖中第一行時脈BPSK(t)的虛線所圈出的波形),其為下降緣,因此延遲3T/4後需反向(如圖中第三行時脈rclk用虛線圈選出的上升緣),再進行取樣(圖中第一行BPSK(t)中,被虛線圈選的週期內的黑點為取樣位置)。以此類推,重複上述動作,依據不同的回復資料,將其波形作適當的延遲,即可得到取樣時脈的下一個片段。FIG. 9 is a timing diagram of data transition under the BPSK architecture using the system and method of the present invention. In a preferred embodiment, the synchronization signal is a series of continuous data 000 as an example, which becomes a small segment of carrier clock pulse after BPSK modulation, as shown in the first row of BPSK(t). Since the first data is 0, it is necessary to delay the carrier clock by 3T/4 (as shown in the second row of clock BPSK(t-3T/4)), that is, 3T/4 in the first data period A rising edge of a sampling clock is generated at (this is a sampling clock obtained by using a synchronous signal, as shown in the figure, the first rising edge of the clock rclk in the third row rises at 3T/4 in the first data period edge). Then, use the rising edge of the sampling clock to sample BPSK(t) (the first black dot in the first row of BPSK(t) in the figure is the sampling position), and the first reply data can be obtained. Then, according to the first reply data, another rising edge of the sampling clock can be generated at 3T/4 of the second cycle time. When the synchronization signal ends, the data of the first sampling clock is 1 (the waveform circled by the dotted line of the clock BPSK(t) in the first row in the figure), which is a falling edge, so after a delay of 3T/4, it takes Reverse (the rising edge of the clock rclk selected by the dotted circle in the third line in the figure), and then sample (in the first line of BPSK(t) in the figure, the black dot in the cycle selected by the dotted line is the sampling position) . By analogy, the above actions are repeated, and the waveform is appropriately delayed according to different reply data, so as to obtain the next segment of the sampling clock.

綜上所述,本發明所提供之時脈與資料回復之方法及系統係利用已知時脈對資料信息訊號進行取樣,得到一回復資料後,再用此回復資料去還原出一取樣時脈的片段。接著利用此取樣時脈片段的取樣邊緣對資料信息訊號取樣得到下一回復資料,再還原出取樣時脈的下一片段。不斷重複此取樣得到回復資料、還原得到取樣時脈片段的步驟,便可如推骨牌一般依序還原整個串列資料,同時還原相對應的時脈。本發明具有以下優點: 1.    絕對穩定。因為延遲鎖定迴路為一階迴授系統,與鎖相迴路相較之下具有絕對穩定的優點。 2.    高資料傳輸率。因為本發明之電路穩定,因此有效資料率可達QPSK理論上之最快傳送速度。 3.    低功率消耗。由於本發明不需要使用耗電的振盪器和鎖相迴路,因此可大幅降低功率消耗。 4.    架構簡單實現容易,無論使用數位或類比電路皆可實現。 5.    可在低供應電壓操作。本發明之系統若使用在無線功率傳輸系統,系統所需的供應電壓越低,越容易增加傳輸距離,提升應用範圍。若是以數位電路實現,降低供應電壓能同時大幅減低動態功率消耗和靜態功率消耗。 6.    小面積低成本。由於本發明之系統不需要使用低頻濾波器和龐大被動元件,如電容、電感等,因此可縮小面積,降低製作成本。 7.    優異的對抗製程、電壓和溫動變異(PVT variation)能力。延遲線可以利用延遲鎖定迴路控制其延遲時間,當延遲鎖定迴路鎖定時,其延遲時間能對抗PVT變異,提升電路可靠度。 To sum up, the clock and data recovery method and system provided by the present invention use the known clock to sample the data information signal, and after obtaining a reply data, use the reply data to restore a sampling clock fragments. Then use the sampling edge of the sampling clock segment to sample the data information signal to obtain the next reply data, and then restore the next segment of the sampling clock. Continuously repeating the steps of sampling to obtain recovered data and restoring to obtain sampling clock segments, the entire series of data can be sequentially restored like pushing dominoes, and the corresponding clock can be restored at the same time. The present invention has the following advantages: 1. Absolutely stable. Because the delay-locked loop is a first-order feedback system, it has the advantage of absolute stability compared with the phase-locked loop. 2. High data transfer rate. Because the circuit of the present invention is stable, the effective data rate can reach the theoretically fastest transmission speed of QPSK. 3. Low power consumption. Since the present invention does not require the use of power-hungry oscillators and phase-locked loops, power consumption can be significantly reduced. 4. The architecture is simple and easy to implement, no matter using digital or analog circuits. 5. Can operate at low supply voltage. If the system of the present invention is used in a wireless power transmission system, the lower the supply voltage required by the system, the easier it is to increase the transmission distance and improve the application range. If implemented in digital circuits, reducing the supply voltage can greatly reduce both dynamic power consumption and static power consumption. 6. Small area and low cost. Since the system of the present invention does not need to use low-frequency filters and bulky passive components, such as capacitors and inductors, the area can be reduced and the manufacturing cost can be reduced. 7. Excellent resistance to process, voltage and temperature variation (PVT variation). The delay line can use the delay-locked loop to control its delay time. When the delay-locked loop is locked, the delay time can resist PVT variation and improve circuit reliability.

唯以上所述者,僅為本發明之較佳實施例而已,並非用來限定本發明實施之範圍。故即凡依本發明申請範圍所述之特徵及精神所為之均等變化或修飾,均應包括於本發明之申請專利範圍內。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the scope of the present invention. Therefore, all equivalent changes or modifications based on the features and spirit described in the scope of the application of the present invention shall be included in the scope of the patent application of the present invention.

10:時脈與資料回復之系統 12:延遲鎖定迴路 14:決策電路 142:第一D型正反器 144:第二D型正反器 146:相位旋轉器 20:時脈與資料回復之系統 22:延遲鎖定迴路 24:決策電路 242:D型正反器 244:相位旋轉器 10: Clock and data recovery system 12: Delay locked loop 14: Decision circuit 142: The first D-type flip-flop 144: The second D-type flip-flop 146:Phase rotator 20: Clock and data recovery system 22: Delay locked loop 24: Decision circuit 242: D-type flip-flop 244:Phase rotator

第1A圖為二位元相移鍵控(Binary PSK, BPSK)之星座圖。 第1B圖為二位元相移鍵控之波形對應I資料及Q資料之示意圖。 第2A圖為四位元相移鍵控(Quarter PSK, QPSK)之星座圖。 第2B圖為四位元相移鍵控之波形對應I資料及Q資料之示意圖。 第3圖為本發明時脈與資料回復之方法之流程圖。 第4圖為本發明時脈與資料回復之系統以BPSK為例之電路方塊圖。 第5圖為本發明時脈與資料回復之系統以QPSK為例之電路方塊圖。 第6圖為本發明將相位反轉後再從時脈上升緣對資料取樣之示意圖。 第7圖為本發明中以QPSK為例時,四種波形對應之延遲時間及其取樣時脈之示意圖 第8圖為應用本發明之系統及方法中以QPSK為例進行資料轉態之時脈圖。 第9圖為應用本發明之系統及方法中以BPSK為例進行資料轉態之時脈圖。 Figure 1A is a constellation diagram of Binary PSK (BPSK). FIG. 1B is a schematic diagram of the waveform corresponding to I data and Q data of binary phase shift keying. FIG. 2A is a constellation diagram of Quad PSK (Quarter PSK, QPSK). FIG. 2B is a schematic diagram of the four-bit phase-shift keying waveform corresponding to I data and Q data. Fig. 3 is a flow chart of the method for clock and data recovery of the present invention. Fig. 4 is a circuit block diagram of the clock and data recovery system of the present invention, taking BPSK as an example. Fig. 5 is a circuit block diagram of the clock and data recovery system of the present invention, taking QPSK as an example. Fig. 6 is a schematic diagram of data sampling from the rising edge of the clock after inverting the phase of the present invention. Figure 7 is a schematic diagram of the delay times and sampling clocks corresponding to the four waveforms when QPSK is taken as an example in the present invention Fig. 8 is a timing chart of data transition using QPSK as an example in the system and method of the present invention. Fig. 9 is a timing diagram of data transition using BPSK as an example in the system and method of the present invention.

Claims (12)

一種時脈與資料回復之方法,包括下列步驟: 提供至少一第一類延遲訊號做為資料信息訊號及至少一第二類延遲訊號做為時脈信息訊號; 根據一預設資料及該至少一時脈信息訊號產生一取樣時脈之片段; 依序執行複數次回復流程,每一該回復流程包括下列步驟: 利用該取樣時脈之片段的一取樣邊緣,對該至少一資料信息訊號進行取樣,以得到一回復資料;以及 根據該回復資料與該時脈信息訊號,還原該取樣時脈之下一片段,以供下一回復流程使用;以及 結合所有該回復資料,還原一串列資料。 A method for clock and data recovery, comprising the following steps: providing at least one delayed signal of the first type as the data information signal and at least one delayed signal of the second type as the clock information signal; generating a sampling clock segment according to a preset data and the at least one clock information signal; Execute multiple reply processes in sequence, and each reply process includes the following steps: sampling the at least one data information signal using a sampling edge of the segment of the sampling clock to obtain a reply data; and According to the reply data and the clock information signal, restore the next segment of the sampling clock for use in the next reply process; and Combine all the reply data to restore a series of data. 如請求項1所述之時脈與資料回復之方法,其中該取樣時脈之取樣邊緣對該至少一資料信息訊號取樣後,分別輸出至少一子資料,該至少一子資料組成該回復資料。The clock and data recovery method as described in Claim 1, wherein after the sampling edge of the sampling clock samples the at least one data information signal, at least one sub-data is respectively output, and the at least one sub-data constitutes the reply data. 如請求項2所述之時脈與資料回復之方法,其中該至少一子資料為0或1,該至少一子資料所組成之該回復資料為二進位資料。The method for replying clock and data as described in Claim 2, wherein the at least one sub-data is 0 or 1, and the reply data composed of the at least one sub-data is binary data. 如請求項1所述之時脈與資料回復之方法,其中該取樣時脈之一上升緣做為該取樣邊緣,對該至少一資料信息訊號進行取樣,得到該回復資料後,再利用該回復資料還原出該取樣時脈的下一片段的上升緣,以重複對該至少一資料信息訊號進行取樣,得到下一個回復資料。The method for clock and data recovery as described in Claim 1, wherein one rising edge of the sampling clock is used as the sampling edge, and the at least one data information signal is sampled, and the reply is used after obtaining the reply data The data restores the rising edge of the next segment of the sampling clock, so as to repeatedly sample the at least one data information signal to obtain the next reply data. 如請求項1所述之時脈與資料回復之方法,其中該串列資料中包含一同步訊號,該預設時脈係從該同步訊號中取得。The method for clock and data recovery as described in Claim 1, wherein the serial data includes a synchronization signal, and the default clock is obtained from the synchronization signal. 一種時脈與資料回復之系統,包括: 一延遲鎖定迴路,產生至少一第一類延遲訊號做為資料信息訊號及至少一第二類延遲訊號做為時脈信息訊號;以及 一決策電路,電性連接該延遲鎖定迴路,其中,該決策電路根據一預設資料及該至少一時脈信息訊號產生一取樣時脈之片段,依序執行複數次回復流程,以得到所有的回復資料,還原一串列資料,其中,每一該回復流程包括下列步驟: 利用該取樣時脈之片段的一取樣邊緣,對該至少一資料信息訊號進行取樣,以得到一回復資料;以及根據該回復資料與該時脈信息訊號,還原該取樣時脈之下一片段的取樣邊緣,以供下一回復流程使用。 A clock and data recovery system, comprising: a delay-locked loop generating at least one delayed signal of the first type as the data information signal and at least one delayed signal of the second type as the clock information signal; and A decision-making circuit, electrically connected to the delay-locked loop, wherein the decision-making circuit generates a segment of a sampling clock according to a preset data and the at least one clock information signal, and executes a plurality of reply processes in order to obtain all replies Data, to restore a series of data, wherein, each of the recovery process includes the following steps: Sampling the at least one data information signal by using a sampling edge of a segment of the sampling clock to obtain a reply data; and restoring the next segment of the sampling clock according to the reply data and the clock information signal Sample edges for use in the next recovery process. 如請求項6所述之時脈與資料回復之系統,其中該決策電路中更包括至少一D型正反器,分別接收該至少一資料信息訊號,利用該取樣時脈之取樣邊緣對該至少一資料信息訊號進行取樣,分別輸出至少一子資料,該至少一子資料組成該回復資料。The clock and data recovery system as described in Claim 6, wherein the decision-making circuit further includes at least one D-type flip-flop, respectively receiving the at least one data information signal, using the sampling edge of the sampling clock to at least one A data information signal is sampled, and at least one sub-data is respectively outputted, and the at least one sub-data constitutes the reply data. 如請求項7所述之時脈與資料回復之系統,其中該決策電路中更包括一相位旋轉器,由該延遲鎖定迴路產生的該至少一時脈信息訊號做為該相位旋轉器之輸入訊號,且由該至少一D型正反器輸出之該回復資料做為該相位旋轉器之選擇訊號,經過該相位旋轉器處理後合成該取樣時脈之下一片段並輸出,同時將該取樣時脈之下一片段的取樣邊緣提供給該至少一D型正反器進行取樣。The clock and data recovery system as described in Claim 7, wherein the decision circuit further includes a phase rotator, and the at least one clock information signal generated by the delay-locked loop is used as an input signal of the phase rotator, And the reply data output by the at least one D-type flip-flop is used as the selection signal of the phase rotator, after being processed by the phase rotator, the next segment of the sampling clock is synthesized and output, and the sampling clock The sampling edge of the next segment is provided to the at least one D-type flip-flop for sampling. 如請求項8所述之時脈與資料回復之系統,其中該相位旋轉器為一多工器。The system for clock and data recovery as claimed in claim 8, wherein the phase rotator is a multiplexer. 如請求項7所述之時脈與資料回復之系統,其中該至少一子資料為0或1,該至少一子資料所組成之該回復資料為二進位資料。The clock and data reply system as described in Claim 7, wherein the at least one sub-data is 0 or 1, and the reply data composed of the at least one sub-data is binary data. 如請求項6所述之時脈與資料回復之系統,其中該決策電路係利用該取樣時脈之一上升緣做為該取樣邊緣,對該至少一資料信息訊號進行取樣,得到該回復資料後,再利用該回復資料還原出取樣時脈的下一片段的上升緣以重複對該至少一資料信息訊號進行取樣,得到下一個該回復資料。The clock and data reply system as described in Claim 6, wherein the decision-making circuit uses a rising edge of the sampling clock as the sampling edge to sample the at least one data information signal, and obtain the reply data , and then use the reply data to restore the rising edge of the next segment of the sampling clock to repeatedly sample the at least one data information signal to obtain the next reply data. 如請求項6所述之時脈與資料回復之系統,其中該延遲鎖定迴路及該決策電路係應用於四位元相移鍵控(quarter phase-shift keying, QPSK)調變訊號。The clock and data recovery system as described in claim 6, wherein the delay-locked loop and the decision-making circuit are applied to a four-bit phase-shift keying (quarter phase-shift keying, QPSK) modulated signal.
TW110123559A 2021-06-28 2021-06-28 Method and system for clock and data recovery TWI769877B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110123559A TWI769877B (en) 2021-06-28 2021-06-28 Method and system for clock and data recovery

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110123559A TWI769877B (en) 2021-06-28 2021-06-28 Method and system for clock and data recovery

Publications (2)

Publication Number Publication Date
TWI769877B TWI769877B (en) 2022-07-01
TW202301827A true TW202301827A (en) 2023-01-01

Family

ID=83439627

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110123559A TWI769877B (en) 2021-06-28 2021-06-28 Method and system for clock and data recovery

Country Status (1)

Country Link
TW (1) TWI769877B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5376894A (en) * 1992-12-31 1994-12-27 Pacific Communication Sciences, Inc. Phase estimation and synchronization using a PSK demodulator
JP4964006B2 (en) * 2006-04-19 2012-06-27 パナソニック株式会社 Pulse signal receiving device, pulsed QPSK signal receiving device, and pulse signal receiving method
TWI587663B (en) * 2016-01-25 2017-06-11 國立交通大學 Bpsk demodulator
TWI604710B (en) * 2016-04-29 2017-11-01 國立交通大學 Qpsk demodulator

Also Published As

Publication number Publication date
TWI769877B (en) 2022-07-01

Similar Documents

Publication Publication Date Title
US8139701B2 (en) Phase interpolation-based clock and data recovery for differential quadrature phase shift keying
US6947493B2 (en) Dual phase pulse modulation decoder circuit
JP2959286B2 (en) DQPSK delay detection circuit
JP2000049882A (en) Clock synchronization circuit
JP5582140B2 (en) Receiving apparatus and demodulation method
Lu et al. An 8 Mbps data rate transmission by inductive link dedicated to implantable devices
US5448201A (en) Clock recovery circuit in π/4 shift quadriphase PSK demodulator
TWI769877B (en) Method and system for clock and data recovery
US4825452A (en) Digital FSK demodulator
CN107342959B (en) Four-phase shift keying demodulation modulator
US4859959A (en) Data demodulator carrier phase error detector
JPS5928101B2 (en) phase locked circuit
JPH0586093B2 (en)
JP2003309543A (en) Clock restoring circuit and data receiving circuit
JP3592489B2 (en) Clock timing recovery method and circuit
Perrins et al. Timing recovery based on the PAM representation of CPM
JP2000069100A (en) Clock timing reproducing circuit and demodulation device
WO2023103852A1 (en) Clock recovery circuit and communication device
Kushnirenko et al. QPSK-Modulation Modem Invariant to the Rotation of the Signal Constellation Plane
Chen et al. A CMOS 2-and 4-FSK demodulator for direct-conversion radio paging receivers
Kubo et al. A 20Gb/s QPSK Receiver with Mixed-Signal Carrier, Timing, and Data Recovery Using 3-bit ADCs
JP3831185B2 (en) Timing reproducing apparatus, demodulator, and variable frequency dividing circuit
JPS6030241A (en) Modulator and demodulator of digital signal
Wu et al. A novel symbol synchronization algorithm and low-complexity circuits design for zero-IF GFSK demodulator
Gupta et al. Design and Implementation of QPSK Modulator and Demodulator