US20040036516A1 - Clock and data recovery circuit and method - Google Patents
Clock and data recovery circuit and method Download PDFInfo
- Publication number
- US20040036516A1 US20040036516A1 US10/634,279 US63427903A US2004036516A1 US 20040036516 A1 US20040036516 A1 US 20040036516A1 US 63427903 A US63427903 A US 63427903A US 2004036516 A1 US2004036516 A1 US 2004036516A1
- Authority
- US
- United States
- Prior art keywords
- clock
- clock signal
- recovered
- signals
- clock signals
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
- 238000011084 recovery Methods 0.000 title claims abstract description 33
- 238000000034 method Methods 0.000 title claims abstract description 10
- 230000001360 synchronised effect Effects 0.000 claims abstract description 14
- 230000007704 transition Effects 0.000 claims abstract description 9
- 230000000295 complement effect Effects 0.000 claims description 15
- 238000010586 diagram Methods 0.000 description 9
- 230000005540 biological transmission Effects 0.000 description 8
- 102100029469 WD repeat and HMG-box DNA-binding protein 1 Human genes 0.000 description 5
- 101710097421 WD repeat and HMG-box DNA-binding protein 1 Proteins 0.000 description 5
- 230000000630 rising effect Effects 0.000 description 4
- 238000001514 detection method Methods 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/04—Generating or distributing clock signals or signals derived directly therefrom
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/02—Speed or phase control by the received code signals, the signals containing no special synchronisation information
- H04L7/033—Speed or phase control by the received code signals, the signals containing no special synchronisation information using the transitions of the received signal to control the phase of the synchronising-signal-generating means, e.g. using a phase-locked loop
- H04L7/0337—Selecting between two or more discretely delayed clocks or selecting between two or more discretely delayed received code signals
- H04L7/0338—Selecting between two or more discretely delayed clocks or selecting between two or more discretely delayed received code signals the correction of the phase error being performed by a feed forward loop
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03L—AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
- H03L7/00—Automatic control of frequency or phase; Synchronisation
Definitions
- the present invention relates to a clock and data recovery circuit and method capable of generating clock signals that are synchronized with received data.
- USB Universal Serial Bus
- a computer and a peripheral device For data communication between a computer and a peripheral device according to the USB interface standard, there are several requirements. For example, a computer and a peripheral device must have a USB transmission unit and a USB receiving unit therein, respectively. Also, a clock signal is not transmitted between the USB transmission unit and the USB receiving unit. Instead, only Non-Return-to-Zero (NRZ) or Non-Return-to-Zero-Inverted (NRZI) data is transmitted between the USB transmission unit and the USB receiving unit. Accordingly, a clock signal is recovered in the USB receiving unit using the received data.
- NRZ Non-Return-to-Zero
- NRZI Non-Return-to-Zero-Inverted
- the USB transmission unit and the USB receiving unit use the same clock signal, so the clock signal used by the USB transmission unit usually has the same frequency as the clock signal used by the USB receiving unit but has a different phase.
- the USB receiving unit has a clock and data recovery circuit for recovering the clock signal having the same frequency and phase as the clock signal used by the USB transmission unit, and generates a recovered clock signal that is synchronized with the received data.
- FIG. 1 illustrates an example of a clock and data recovery circuit, in accordance with the present invention.
- a conventional clock and data recovery circuit comprises a phase detector 10 , a bi-directional shift register 12 , a phase selector 14 , a clock generator 16 and a multi-phase clock generator 18 .
- the phase detector 10 generates a down signal DN when received data RDATA leads a recovered clock signal RCCK in phase, and generates an up signal UP when the received data lags the recovered clock signal RCCK in phase, after comparing the phases of the received data RDATA and the recovered clock signal RCCK.
- the bi-directional shift register 12 counts down in response to the down signal DN and counts up in response to the up signal UP, and generates a control signal CON.
- the phase selector 14 selects one clock signal from a plurality of clock signals P 1 , P 2 , P 3 , . . . , Pn output from the multi-phase clock generator 18 , and outputs the selected clock signal as a recovered clock signal RCCK.
- the clock generator 16 generates a receiving clock signal RXCK.
- the multi-phase clock generator 18 receives the receiving clock signal RXCK, and generates n clock signals P 1 , P 2 , P 3 , . . . , Pn which have the same frequency and different phases from each other by as much as 360/N ⁇ K, wherein K is an integer between zero to N ⁇ 1. If, N is 8, 8 clock signals are generated from the multi-phase clock generator 18 , and the generated clock signals have phase differences from each other by as much as 45 degrees, so that the 8 clock signals have phases 0, 45, 90, 135, 180, 225, 270 and 315 degrees, respectively.
- the receiving clock signal RXCK generated by the clock generator 16 has the same frequency as a clock signal which is used in the USB transmission unit (not shown), for transmitting the received data RDATA.
- FIG. 2 is a timing diagram showing the operation of the clock and data recovery circuit shown in FIG. 1.
- the phase detector 10 compares the respective phases of the received data RDATA and the recovered clock signal RCCK. If an initial value of a control signal CON output from the bi-directional shift register is 1 and the phase selector 14 selects a clock signal CK0, the recovered clock signal RCCK is the clock signal CKO. Accordingly, at this time, the phase detector 10 generates an up signal UP because the received data lags the recovered clock signal in phase. Then, the bi-directional shift register 12 counts up and increments the value of the control signal to 2. The phase selector 14 generates a clock signal CK45 as the recovered clock signal RCCK in response to the incremented control signal CON having the value 2.
- the phase detector 10 again compares the phases of the received data RDATA and the recovered clock signal RCCK, and generates the up signal UP because the received data RDATA lags the recovered clock signal RCCK in phase. Then, the bi-directional shift register counts up and the value of the control signal CON increments to 3. Then, the phase selector 14 generates a clock signal CK90 as the recovered clock signal in response to the control signal CON. The phase detector 10 compares the phases of the received data RDATA and the recovered clock signal RCCK, and generates a down signal DN because the received data RDATA leads the recovered clock signal RCCK in phase. Then, the bi-directional shift register 12 counts down and decrements the value of the control signal CON to be 2.
- the clock and data recovery circuit shown in FIG. 1 generates the recovered clock signal in synchronization with the received data, and the clock signal CK45 and the clock signal CK90 are alternately generated as the recovered clock signal RCCK.
- the N is set to a small number to synchronize the received data RDATA with the recovered clock signal RCCK within a short period, the phase difference between the received data RDATA and the recovered clock signal RCCK becomes greater even though the received data RDATA and the recovered clock signal RCCK are synchronized.
- a clock and data recovery circuit comprising a clock signal generator for generating a plurality of clock signals, each clock signal having a different phase with respect to the others.
- a phase selector selects one of the clock signals of the plurality of clock signals as a recovered clock signal if a first of the plurality of clock signals is in a first state and if a second of the plurality of clock signals is in a second state when a logic level transition of a received data is detected.
- a recovered data generator generates a recovered data that is synchronized with the recovered clock signal output from the phase selector, using the received data.
- the clock signals for example have a phase difference of 360/N ⁇ K from each other, wherein N denotes an integer and wherein K denotes an integer from 0 to N ⁇ 1.
- the phase selector generates an I+2 th clock signal out of the N clock signals as the recovered clock signal, wherein the first of the plurality of clock signals is an I th clock signal and wherein the second of the plurality of clock signals is an I+1 th clock signal, wherein I denotes an integer from 1 to N.
- the phase selector comprises, for example, N flip-flops for receiving the N clock signals and generating N clock signals and N complementary clock signals when a level transition of the received data is detected; N AND gates for performing AND operation of an I th complementary clock signal and an I+1 th clock signal out of the N clock signals and the N complementary clock signals; and N switches for generating the I+2 th clock signal as the recovered clock signal in response to corresponding output signals of the N AND gates.
- the recovered data generator receives the received data and generates the recovered data in response to the complementary signal of the recovered clock signal.
- the present invention is directed to a method for recovering clock and data information from a signal.
- a plurality of clock signals are generated, each clock signal having a different phase with respect to the others.
- One of the clock signals of the plurality of clock signals is selected as a recovered clock signal if a first of the plurality of clock signals is in a first state and if a second of the plurality of clock signals is in a second state when a logic level transition of a received data is detected.
- a recovered data that is synchronized with the recovered clock signal is generated as an output from the phase selector, using the received data.
- FIG. 1 is a block diagram of a clock and data recovery circuit, in accordance with the conventional approach
- FIG. 2 is a timing diagram showing the operation of the clock and data recovery circuit shown in FIG. 1;
- FIG. 3 is a block diagram of a clock and data recovery circuit in accordance with the present invention.
- FIG. 4 is a circuit diagram of the clock and data recovery circuit shown in FIG. 3;
- FIGS. 5A and 5B are timing diagrams showing the operation of the clock and data recovery circuit shown in FIG. 3.
- FIG. 3 illustrates an embodiment of a clock and data recovery circuit in accordance with the present invention.
- a clock and data recovery circuit in accordance with the present invention comprises a phase selector 20 , a clock generator 22 , a multi-phase clock generator 24 , a D-flip-flop 26 and inverters I 1 , I 2 .
- the clock generator 22 and the multi-phase clock generator 24 operate in the same manner as the clock generator 16 and the multi-phase clock generator 18 , respectively, shown in FIG. 1.
- the phase selector 20 selects one clock signal out of a plurality of clock signals P 1 , P 2 , . . . , Pn output from the multi-phase clock generator 24 in response to a received data RDATA and generates a clock signal SRCCK.
- the inverters I 1 , I 2 buffer the clock signal SRCCK output from the phase selector 20 and generate a recovered clock signal RCCK.
- the D-flip-flop 26 receives the received data RDATA and generates a recovered data RRDATA synchronized with the recovered clock signal RCCK, in response to a signal output from the inverter I 1 .
- FIG. 4 illustrates an exemplary embodiment of a circuit diagram of the phase selector shown in FIG. 3.
- the phase selector 20 comprises the D-flip-flops 30 - 1 to 30 - 8 , AND gates AND 1 to AND 8 and switches SW 1 to SW 8 .
- the phase selector shown in FIG. 4 receives eight (8) clock signals CK0, CK45, CK90, CK135, CK180, CK225, CK270 and CK315, for example corresponding to outputs P 1 . . . Pn of the multi-phase clock generator.
- the D-flip-flops 30 - 1 to 30 - 8 receive the clock signals CK0, CK45, CK90, CK135, CK180, CK225, CK270 and CK315 in response to rising edges of the received data RDATA.
- the AND gates AND 1 and AND 2 perform an AND operation of respective output signals Q 1 to Q 8 of corresponding D-flip-flops 30 - 1 to 30 - 8 and respective complementary output signals Q 8 B, Q 1 B to Q 7 B of respective D-flip-flops 30 - 8 , 30 - 1 to 30 - 7 .
- the D-flip-flops 30 - 1 to 30 - 8 and the AND gates AND 1 to AND 8 detect a level transition of the clock signals from logic “low” level to logic “high” level of adjacent clock signals at rising edges of the received data RDATA.
- the switches SW 1 to SW 8 select one clock signal among the multiple clock signals CK45, CK90, CK135, CK180, CK225, CK270, CK315 and CK0, and generates the selected one clock signal as the clock signal SRCCK in response to the output signals of the AND gates AND 1 to AND 8 , respectively.
- phase detector In the phase detector shown in FIG. 4, at the rising edges of the received data RDATA, if adjacent clock signals CKI (I is a natural number from 1 to N) and CK(I+1) have a logic “low” level and logic “high” level, respectively, a detection signal is generated and a clock signal CK(I+2) is generated as the selected clock signal SRCCK in response to the detection signal.
- the detection signal is-the output signals of the AND gates AND 1 to AND 8 .
- FIG. 5A and FIG. 5B illustrate timing diagrams that explain the operation of the clock and data recovery circuit in accordance with the present invention.
- the D-flip-flops 30 - 1 to 30 - 8 receive the clocks signals CK0, CK45, CK90, CK135, CK180, CK225, CK270 and CK315, respectively, and generate respective pairs of output signals (Q 1 , Q 1 B) to (Q 8 , Q 8 B).
- the clock signals CK225, CK270 have a logic “low” level and a logic “high” level, respectively, complementary output signals Q 6 B, Q 7 of the D-flip-flops 30 - 6 , 30 - 7 have logic “high” level.
- both of the complementary output signal Q 5 B of the D-flip-flop 30 - 5 and the output signal Q 6 of the D-flip-flop 30 - 6 have logic “high” level.
- the AND gate AND 6 generates a signal having logic “high” level, and the switch SW 6 is turned on and the clock signal CK270 is generated as the clock signal SRCCK. That is, the clock signal SRCCK is generated as the recovered clock signal RCCK.
- the D-flip-flop 26 receives the received data RDATA and generates the recovered data RRDATA precisely synchronized with the recovered clock signal RCCK in response to the inverted signal of the clock signal SRCCK.
- the clock and data recovery circuit in accordance with the present invention since the clock and data recovery circuit in accordance with the present invention generates the recovered data RRDATA using the recovered clock signal RCCK, it generates the recovered data RRDATA precisely synchronized with the recovered clock signal RCCK.
- the clock and data recovery circuit in accordance with the present invention generates the recovered clock signal RCCK within one clock cycle.
- the clock and data recovery circuit in accordance with the present invention is advantageous for use in a USB receiving unit according to USB standard 2.0 in which the received data and the recovered clock signal must be synchronized within a short time period.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
- Information Transfer Systems (AREA)
Abstract
In a clock and data recovery circuit and method, the clock and data recovery circuit comprises a clock signal generator for generating N clock signals, each clock signal having phase difference of 360/N×K from each other, wherein the N denotes an integer and the K denotes an integer from 0 to N−1, a phase selector for generating an I+2th clock signal out of the N clock signals as a recovered clock signal if an Ith clock signal is on a first state and an I+1th clock signal is on a second state when logic level transition of a received data is detected, wherein the I denotes an integer from 1 to N, and a recovered data generator for generating a recovered data synchronized with the recovered clock signal by using the received data in response to the recovered clock signal output from the phase selector.
Description
- This application claims priority to Korean Patent Application No. 2002-49325, filed on Aug. 20, 2002.
- 1. Field of the Invention
- The present invention relates to a clock and data recovery circuit and method capable of generating clock signals that are synchronized with received data.
- 2. Description of the Related Art
- Universal Serial Bus (USB) is an interface standard for data transmission between a computer and its peripheral devices. For data communication between a computer and a peripheral device according to the USB interface standard, there are several requirements. For example, a computer and a peripheral device must have a USB transmission unit and a USB receiving unit therein, respectively. Also, a clock signal is not transmitted between the USB transmission unit and the USB receiving unit. Instead, only Non-Return-to-Zero (NRZ) or Non-Return-to-Zero-Inverted (NRZI) data is transmitted between the USB transmission unit and the USB receiving unit. Accordingly, a clock signal is recovered in the USB receiving unit using the received data.
- Generally, the USB transmission unit and the USB receiving unit use the same clock signal, so the clock signal used by the USB transmission unit usually has the same frequency as the clock signal used by the USB receiving unit but has a different phase. Typically, the USB receiving unit has a clock and data recovery circuit for recovering the clock signal having the same frequency and phase as the clock signal used by the USB transmission unit, and generates a recovered clock signal that is synchronized with the received data.
- FIG. 1 illustrates an example of a clock and data recovery circuit, in accordance with the present invention. Referring to FIG. 1, a conventional clock and data recovery circuit comprises a
phase detector 10, abi-directional shift register 12, aphase selector 14, aclock generator 16 and amulti-phase clock generator 18. - The
phase detector 10 generates a down signal DN when received data RDATA leads a recovered clock signal RCCK in phase, and generates an up signal UP when the received data lags the recovered clock signal RCCK in phase, after comparing the phases of the received data RDATA and the recovered clock signal RCCK. Thebi-directional shift register 12 counts down in response to the down signal DN and counts up in response to the up signal UP, and generates a control signal CON. Thephase selector 14 selects one clock signal from a plurality of clock signals P1, P2, P3, . . . , Pn output from themulti-phase clock generator 18, and outputs the selected clock signal as a recovered clock signal RCCK. Theclock generator 16 generates a receiving clock signal RXCK. Themulti-phase clock generator 18 receives the receiving clock signal RXCK, and generates n clock signals P1, P2, P3, . . . , Pn which have the same frequency and different phases from each other by as much as 360/N×K, wherein K is an integer between zero to N−1. If, N is 8, 8 clock signals are generated from themulti-phase clock generator 18, and the generated clock signals have phase differences from each other by as much as 45 degrees, so that the 8 clock signals havephases 0, 45, 90, 135, 180, 225, 270 and 315 degrees, respectively. The receiving clock signal RXCK generated by theclock generator 16 has the same frequency as a clock signal which is used in the USB transmission unit (not shown), for transmitting the received data RDATA. - FIG. 2 is a timing diagram showing the operation of the clock and data recovery circuit shown in FIG. 1.
- First, the
phase detector 10 compares the respective phases of the received data RDATA and the recovered clock signal RCCK. If an initial value of a control signal CON output from the bi-directional shift register is 1 and thephase selector 14 selects a clock signal CK0, the recovered clock signal RCCK is the clock signal CKO. Accordingly, at this time, thephase detector 10 generates an up signal UP because the received data lags the recovered clock signal in phase. Then, thebi-directional shift register 12 counts up and increments the value of the control signal to 2. Thephase selector 14 generates a clock signal CK45 as the recovered clock signal RCCK in response to the incremented control signal CON having the value 2. Thephase detector 10 again compares the phases of the received data RDATA and the recovered clock signal RCCK, and generates the up signal UP because the received data RDATA lags the recovered clock signal RCCK in phase. Then, the bi-directional shift register counts up and the value of the control signal CON increments to 3. Then, thephase selector 14 generates a clock signal CK90 as the recovered clock signal in response to the control signal CON. Thephase detector 10 compares the phases of the received data RDATA and the recovered clock signal RCCK, and generates a down signal DN because the received data RDATA leads the recovered clock signal RCCK in phase. Then, thebi-directional shift register 12 counts down and decrements the value of the control signal CON to be 2. - In the manner described above, the clock and data recovery circuit shown in FIG. 1 generates the recovered clock signal in synchronization with the received data, and the clock signal CK45 and the clock signal CK90 are alternately generated as the recovered clock signal RCCK.
- Accordingly, the clock and data recovery circuit in accordance with the conventional art is limited in that it does not generate the recovered clock signal RCCK in precise synchronization with the received data RDATA. Also, the conventional art is limited in that it requires a maximum of N clock periods in order to generate the recovered clock signal RCCK in relative synchronization with the received data.
- If the N is set to a small number to synchronize the received data RDATA with the recovered clock signal RCCK within a short period, the phase difference between the received data RDATA and the recovered clock signal RCCK becomes greater even though the received data RDATA and the recovered clock signal RCCK are synchronized.
- It is a feature of the present invention to provide a clock and data recovery circuit capable of generating a recovered clock signal precisely synchronized with received data.
- It is another feature of the present invention to provide a clock and data recovery circuit capable of synchronizing a recovered clock signal with received data within one clock cycle.
- It is further another feature of the present invention to provide a clock and data recovery method capable of achieving the features described above and other features.
- In accordance with one aspect of the present invention, there is provided a clock and data recovery circuit comprising a clock signal generator for generating a plurality of clock signals, each clock signal having a different phase with respect to the others. A phase selector selects one of the clock signals of the plurality of clock signals as a recovered clock signal if a first of the plurality of clock signals is in a first state and if a second of the plurality of clock signals is in a second state when a logic level transition of a received data is detected. A recovered data generator generates a recovered data that is synchronized with the recovered clock signal output from the phase selector, using the received data.
- The clock signals for example have a phase difference of 360/N×K from each other, wherein N denotes an integer and wherein K denotes an integer from 0 to N−1. The phase selector generates an I+2th clock signal out of the N clock signals as the recovered clock signal, wherein the first of the plurality of clock signals is an Ith clock signal and wherein the second of the plurality of clock signals is an I+1th clock signal, wherein I denotes an integer from 1 to N.
- The phase selector comprises, for example, N flip-flops for receiving the N clock signals and generating N clock signals and N complementary clock signals when a level transition of the received data is detected; N AND gates for performing AND operation of an Ith complementary clock signal and an I+1th clock signal out of the N clock signals and the N complementary clock signals; and N switches for generating the I+2th clock signal as the recovered clock signal in response to corresponding output signals of the N AND gates.
- The recovered data generator receives the received data and generates the recovered data in response to the complementary signal of the recovered clock signal.
- In another aspect, the present invention is directed to a method for recovering clock and data information from a signal. A plurality of clock signals are generated, each clock signal having a different phase with respect to the others. One of the clock signals of the plurality of clock signals is selected as a recovered clock signal if a first of the plurality of clock signals is in a first state and if a second of the plurality of clock signals is in a second state when a logic level transition of a received data is detected. A recovered data that is synchronized with the recovered clock signal is generated as an output from the phase selector, using the received data.
- The above and other features and advantages of the present invention will become readily apparent to those of ordinary skill in the art by describing in detail preferred embodiments thereof with reference to the attached drawings in which:
- FIG. 1 is a block diagram of a clock and data recovery circuit, in accordance with the conventional approach;
- FIG. 2 is a timing diagram showing the operation of the clock and data recovery circuit shown in FIG. 1;
- FIG. 3 is a block diagram of a clock and data recovery circuit in accordance with the present invention;
- FIG. 4 is a circuit diagram of the clock and data recovery circuit shown in FIG. 3; and
- FIGS. 5A and 5B are timing diagrams showing the operation of the clock and data recovery circuit shown in FIG. 3.
- Korean Patent Application No. 2002-49325, filed on Aug. 20, 2002 and entitled: “Clock and Data Recovery Circuit,” is incorporated by reference herein in its entirety.
- Hereinafter, the present invention will be described in detail by describing preferred embodiments thereof with reference to the accompanying drawings.
- Like reference numerals refer to like elements throughout the drawings.
- FIG. 3 illustrates an embodiment of a clock and data recovery circuit in accordance with the present invention.
- Referring to FIG. 3, a clock and data recovery circuit in accordance with the present invention comprises a
phase selector 20, aclock generator 22, amulti-phase clock generator 24, a D-flip-flop 26 and inverters I1, I2. - The
clock generator 22 and themulti-phase clock generator 24 operate in the same manner as theclock generator 16 and themulti-phase clock generator 18, respectively, shown in FIG. 1. - The
phase selector 20 selects one clock signal out of a plurality of clock signals P1, P2, . . . , Pn output from themulti-phase clock generator 24 in response to a received data RDATA and generates a clock signal SRCCK. The inverters I1, I2 buffer the clock signal SRCCK output from thephase selector 20 and generate a recovered clock signal RCCK. The D-flip-flop 26 receives the received data RDATA and generates a recovered data RRDATA synchronized with the recovered clock signal RCCK, in response to a signal output from the inverter I1. - FIG. 4 illustrates an exemplary embodiment of a circuit diagram of the phase selector shown in FIG. 3. Referring to FIG. 4, the
phase selector 20 comprises the D-flip-flops 30-1 to 30-8, AND gates AND1 to AND8 and switches SW1 to SW8. - The phase selector shown in FIG. 4 receives eight (8) clock signals CK0, CK45, CK90, CK135, CK180, CK225, CK270 and CK315, for example corresponding to outputs P1 . . . Pn of the multi-phase clock generator.
- The D-flip-flops30-1 to 30-8 receive the clock signals CK0, CK45, CK90, CK135, CK180, CK225, CK270 and CK315 in response to rising edges of the received data RDATA. The AND gates AND1 and AND2 perform an AND operation of respective output signals Q1 to Q8 of corresponding D-flip-flops 30-1 to 30-8 and respective complementary output signals Q8B, Q1B to Q7B of respective D-flip-flops 30-8, 30-1 to 30-7. In this manner, the D-flip-flops 30-1 to 30-8 and the AND gates AND1 to AND8 detect a level transition of the clock signals from logic “low” level to logic “high” level of adjacent clock signals at rising edges of the received data RDATA. The switches SW1 to SW8 select one clock signal among the multiple clock signals CK45, CK90, CK135, CK180, CK225, CK270, CK315 and CK0, and generates the selected one clock signal as the clock signal SRCCK in response to the output signals of the AND gates AND1 to AND8, respectively.
- In the phase detector shown in FIG. 4, at the rising edges of the received data RDATA, if adjacent clock signals CKI (I is a natural number from 1 to N) and CK(I+1) have a logic “low” level and logic “high” level, respectively, a detection signal is generated and a clock signal CK(I+2) is generated as the selected clock signal SRCCK in response to the detection signal. The detection signal is-the output signals of the AND gates AND1 to AND8.
- FIG. 5A and FIG. 5B illustrate timing diagrams that explain the operation of the clock and data recovery circuit in accordance with the present invention.
- First, the operation of the clock and data recovery circuit in accordance with the present invention will be described below with reference to FIG. 5A.
- The D-flip-flops30-1 to 30-8 receive the clocks signals CK0, CK45, CK90, CK135, CK180, CK225, CK270 and CK315, respectively, and generate respective pairs of output signals (Q1, Q1B) to (Q8, Q8B). At this time, since the clock signals CK225, CK270 have a logic “low” level and a logic “high” level, respectively, complementary output signals Q6B, Q7 of the D-flip-flops 30-6, 30-7 have logic “high” level. The AND gate AND7 therefore generates an output signal at a logic “high” level, and the other AND gates AND1-AND6, AND8 generate respective output signals of a logic “low” level. Accordingly, the switch SW7 is turned on and the clock signal CK315 is generated as the clock signal SRCCK. That is, the clock signal CK315 is generated as the recovered clock signal RCCK. At this time, the other switches SW1-SW6, SW8 are turned off. The D-flip-
flop 26 receives the received data RDATA and generates the recovered data RRDATA precisely synchronized with the recovered clock signal RCCK in response to the clock signal SRCCK. - Next, the operation of the clock and data recovery circuit in accordance with the present invention will be described below with reference to FIG. 5B.
- At a rising edge of the received data RDATA, since the clock signal CK180 has logic “low” level and the clock signal CK225 has logic “high” level, both of the complementary output signal Q5B of the D-flip-flop 30-5 and the output signal Q6 of the D-flip-flop 30-6 have logic “high” level. The AND gate AND6 generates a signal having logic “high” level, and the switch SW6 is turned on and the clock signal CK270 is generated as the clock signal SRCCK. That is, the clock signal SRCCK is generated as the recovered clock signal RCCK. The D-flip-
flop 26 receives the received data RDATA and generates the recovered data RRDATA precisely synchronized with the recovered clock signal RCCK in response to the inverted signal of the clock signal SRCCK. - As illustrated above in the timing diagrams of FIGS. 5A and 5B, since the clock and data recovery circuit in accordance with the present invention generates the recovered data RRDATA using the recovered clock signal RCCK, it generates the recovered data RRDATA precisely synchronized with the recovered clock signal RCCK.
- Further, the clock and data recovery circuit in accordance with the present invention generates the recovered clock signal RCCK within one clock cycle.
- Accordingly, the clock and data recovery circuit in accordance with the present invention is advantageous for use in a USB receiving unit according to USB standard 2.0 in which the received data and the recovered clock signal must be synchronized within a short time period.
- While this invention has been particularly shown and described with references to preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made herein without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (10)
1. A clock and data recovery circuit comprising:
a clock signal generator for generating a plurality of clock signals, each clock signal having a different phase with respect to the others;
a phase selector for selecting one of the clock signals of the plurality of clock signals as a recovered clock signal if a first of the plurality of clock signals is in a first state and if a second of the plurality of clock signals is in a second state when a logic level transition of a received data is detected,
a recovered data generator for generating a recovered data that is synchronized with the recovered clock signal output from the phase selector, using the received data.
2. The clock and data recovery circuit of claim 1 wherein the clock signals have a phase difference of 360/N×K from each other, wherein N denotes an integer and wherein K denotes an integer from 0 to N−1.
3. The clock and data recovery circuit of claim 2 wherein the
phase selector generates an I+2th clock signal out of the N clock signals as the recovered clock signal, wherein the first of the plurality of clock signals is an Ith clock signal and wherein the second of the plurality of clock signals is an I+1th clock signal, wherein I denotes an integer from 1 to N.
4. The clock and data recovery circuit according to claim 3 , wherein the phase selector comprises:
N flip-flops for receiving the N clock signals and generating N clock signals and N complementary clock signals when a level transition of the received data is detected;
N AND gates for performing AND operation of an Ith complementary clock signal and an I+1th clock signal out of the N clock signals and the N complementary clock signals; and
N switches for generating the I+2th clock signal as the recovered clock signal in response to corresponding output signals of the N AND gates.
5. The clock and data recovery circuit according to claim 4 , wherein the recovered data generator receives the received data and generates the recovered data in response to the complementary signal of the recovered clock signal.
6. A method for recovering clock and data information from a signal comprising:
generating a plurality of clock signals, each clock signal having a different phase with respect to the others;
selecting one of the clock signals of the plurality of clock signals as a recovered clock signal if a first of the plurality of clock signals is in a first state and if a second of the plurality of clock signals is in a second state when a logic level transition of a received data is detected,
generating a recovered data that is synchronized with the recovered clock signal output from the phase selector, using the received data.
7. The method of claim 6 wherein the clock signals have a phase difference of 360/N×K from each other, wherein N denotes an integer and wherein K denotes an integer from 0 to N−1.
8. The method of claim 7 wherein an I+2th clock signal out of the N clock signals is generated as the recovered clock signal, wherein the first of the plurality of clock signals is an Ith clock signal and wherein the second of the plurality of clock signals is an I+1th clock signal, wherein I denotes an integer from 1 to N.
9. The method according to claim 8 , wherein the step of generating the recovered clock signal comprises steps of:
generating N clock signals and N complementary clock signals by receiving the N clock signals when a level transition of the received data is detected;
generating N AND operation signals by performing an AND operation of an Ith complementary clock signal and an I+1th clock signal out of the N clock signals and the N complementary clock signals; and
generating an I+2th clock signal as the recovered clock signal in response to the N AND operation signals.
10. The method according to claim 9 , wherein the step of generating the recovered data generates the recovered data by using the received data in response to a complementary signal of the recovered clock signal.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR02-49325 | 2002-08-20 | ||
KR10-2002-0049325A KR100448707B1 (en) | 2002-08-20 | 2002-08-20 | Clock and data recovery circuit and method |
Publications (2)
Publication Number | Publication Date |
---|---|
US20040036516A1 true US20040036516A1 (en) | 2004-02-26 |
US7254201B2 US7254201B2 (en) | 2007-08-07 |
Family
ID=31884931
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US10/634,279 Expired - Fee Related US7254201B2 (en) | 2002-08-20 | 2003-08-05 | Clock and data recovery circuit and method |
Country Status (3)
Country | Link |
---|---|
US (1) | US7254201B2 (en) |
JP (1) | JP2004080792A (en) |
KR (1) | KR100448707B1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070279263A1 (en) * | 2006-06-02 | 2007-12-06 | Hon Hai Precision Industry Co., Ltd. | Network device and method for recovering clock signal thereof |
US20090196387A1 (en) * | 2008-02-01 | 2009-08-06 | Matsushita Electric Industrial Co., Ltd. | Instant-acquisition clock and data recovery systems and methods for serial communications links |
US20110158366A1 (en) * | 2009-12-29 | 2011-06-30 | Sang Seob Kim | Clock Recovery Apparatus |
CN102820885A (en) * | 2012-07-13 | 2012-12-12 | 电子科技大学 | Clock recovery control unit |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2040175B1 (en) * | 2002-07-17 | 2010-11-03 | Chronologic Pty Ltd | Synchronized multichannel universal serial bus |
US20060187729A1 (en) * | 2005-02-24 | 2006-08-24 | Broadcom Corporation | Source synchronous communication channel interface receive logic |
US20060188046A1 (en) * | 2005-02-24 | 2006-08-24 | Broadcom Corporation | Prediction of an optimal sampling point for clock resynchronization in a source synchronous data channel |
KR100741470B1 (en) | 2006-09-26 | 2007-07-20 | 삼성전자주식회사 | Clock generator for usb devices |
WO2008138053A1 (en) * | 2007-05-15 | 2008-11-20 | Fiberbyte Pty Ltd | Usb based synchronization and timing system |
US8169241B2 (en) | 2008-01-15 | 2012-05-01 | Atmel Rousset S.A.S. | Proportional phase comparator and method for phase-aligning digital signals |
US8433991B2 (en) | 2010-06-16 | 2013-04-30 | Qualcomm Incorporated | Global Navigation Satellite System (GLONASS) data bit edge detection |
US8780958B2 (en) | 2010-08-27 | 2014-07-15 | Qualcomm Incorporated | Hybrid bit extraction for global position receiver |
KR101037198B1 (en) | 2010-10-13 | 2011-05-26 | 엘아이지넥스원 주식회사 | Apparatus for recovering data of asynchronous communication using phase modulation of sampling clock and method thereof |
US8619919B2 (en) | 2010-10-14 | 2013-12-31 | Qualcomm Incorporated | Selective coherent and non-coherent demodulation methods and apparatuses |
US8482332B2 (en) * | 2011-04-18 | 2013-07-09 | Taiwan Semiconductor Manufacturing Company, Ltd. | Multi-phase clock generator and data transmission lines |
US8405436B2 (en) * | 2011-07-19 | 2013-03-26 | Himax Technologies Limited | Multi-phase clock generator |
JP2013141102A (en) | 2011-12-28 | 2013-07-18 | Fujitsu Ltd | Reception apparatus, transmission/reception system, and restoration method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5928293A (en) * | 1996-04-30 | 1999-07-27 | Motorola, Inc. | Method for generating a clock signal for use in a data receiver, clock generator, data receiver and remote controlled access system for vehicles |
US6584163B1 (en) * | 1998-06-01 | 2003-06-24 | Agere Systems Inc. | Shared data and clock recovery for packetized data |
US6954506B2 (en) * | 2001-01-05 | 2005-10-11 | Samsung Electronics Co., Ltd. | Clock signal recovery circuit used in receiver of universal serial bus and method of recovering clock signal |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5557224A (en) * | 1994-04-15 | 1996-09-17 | International Business Machines Corporation | Apparatus and method for generating a phase-controlled clock signal |
KR100186433B1 (en) * | 1996-12-30 | 1999-04-15 | 구자홍 | Clock frequency and phase recovery circuit of data communication device |
JP4049511B2 (en) * | 1999-11-26 | 2008-02-20 | 富士通株式会社 | Phase synthesis circuit and timing signal generation circuit |
JP3636657B2 (en) * | 2000-12-21 | 2005-04-06 | Necエレクトロニクス株式会社 | Clock and data recovery circuit and clock control method thereof |
US6810485B2 (en) * | 2001-01-04 | 2004-10-26 | Maxtor Corporation | Determining the timing of a data signal |
-
2002
- 2002-08-20 KR KR10-2002-0049325A patent/KR100448707B1/en not_active IP Right Cessation
-
2003
- 2003-08-05 US US10/634,279 patent/US7254201B2/en not_active Expired - Fee Related
- 2003-08-19 JP JP2003294824A patent/JP2004080792A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5928293A (en) * | 1996-04-30 | 1999-07-27 | Motorola, Inc. | Method for generating a clock signal for use in a data receiver, clock generator, data receiver and remote controlled access system for vehicles |
US6584163B1 (en) * | 1998-06-01 | 2003-06-24 | Agere Systems Inc. | Shared data and clock recovery for packetized data |
US6954506B2 (en) * | 2001-01-05 | 2005-10-11 | Samsung Electronics Co., Ltd. | Clock signal recovery circuit used in receiver of universal serial bus and method of recovering clock signal |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070279263A1 (en) * | 2006-06-02 | 2007-12-06 | Hon Hai Precision Industry Co., Ltd. | Network device and method for recovering clock signal thereof |
US20090196387A1 (en) * | 2008-02-01 | 2009-08-06 | Matsushita Electric Industrial Co., Ltd. | Instant-acquisition clock and data recovery systems and methods for serial communications links |
WO2009096199A1 (en) * | 2008-02-01 | 2009-08-06 | Panasonic Corporation | Instant-acquisition clock and data recovery systems and methods for serial communications links |
US7929644B2 (en) | 2008-02-01 | 2011-04-19 | Panasonic Corporation | Instant-acquisition clock and data recovery systems and methods for serial communications links |
US20110158366A1 (en) * | 2009-12-29 | 2011-06-30 | Sang Seob Kim | Clock Recovery Apparatus |
US8565362B2 (en) * | 2009-12-29 | 2013-10-22 | Dongbu Hitek Co., Ltd. | Clock recovery apparatus |
CN102820885A (en) * | 2012-07-13 | 2012-12-12 | 电子科技大学 | Clock recovery control unit |
Also Published As
Publication number | Publication date |
---|---|
KR20040017184A (en) | 2004-02-26 |
US7254201B2 (en) | 2007-08-07 |
JP2004080792A (en) | 2004-03-11 |
KR100448707B1 (en) | 2004-09-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7254201B2 (en) | Clock and data recovery circuit and method | |
TWI410791B (en) | Apparatus and method for transmitting and receiving data bits | |
US7684531B2 (en) | Data recovery method and data recovery circuit | |
USRE40939E1 (en) | Multi-phase locked loop for data recovery | |
JP3946050B2 (en) | Data clock recovery circuit | |
US11804945B2 (en) | Reset synchronizing circuit and glitchless clock buffer circuit for preventing start-up failure, and IQ divider circuit | |
US6943595B2 (en) | Synchronization circuit | |
US6472913B2 (en) | Method and apparatus for data sampling | |
KR20020057697A (en) | Clock recovery circuit for universal serial bus | |
US6314151B1 (en) | Phase comparator operable at half frequency of input signal | |
JP2005506798A (en) | Transition detection, validation and memory circuit | |
US4823365A (en) | Synchronization method and elastic buffer circuit | |
CN115242224A (en) | Multi-clock glitch-free switching circuit and switching method | |
EP1113616B1 (en) | Method for recovering a clock signal in a telecommunications system and circuit thereof | |
US6259278B1 (en) | Phase detector | |
US20190007056A1 (en) | Frequency divider circuit, demultiplexer circuit, and semiconductor integrated circuit | |
US7321647B2 (en) | Clock extracting circuit and clock extracting method | |
US7194057B2 (en) | System and method of oversampling high speed clock/data recovery | |
US20080075221A1 (en) | Apparatus and related method for detecting phase of input data | |
JP2744094B2 (en) | Digital system | |
US20070069927A1 (en) | Method of transmitting a serial bit-stream and electronic transmitter for transmitting a serial bit-stream | |
US7170963B2 (en) | Clock recovery method by phase selection | |
JP2006279945A (en) | Method for sampling reverse data and reverse data sampling circuit employing the same | |
KR20040004838A (en) | Clock and data recovery circuit | |
JPH10145344A (en) | Bit phase synchronizing circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: SAMSUNG ELECTRONICS CO., LTD., KOREA, REPUBLIC OF Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:KIM, JU-HYUNG;REEL/FRAME:014374/0414 Effective date: 20030729 |
|
FEPP | Fee payment procedure |
Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
CC | Certificate of correction | ||
FPAY | Fee payment |
Year of fee payment: 4 |
|
REMI | Maintenance fee reminder mailed | ||
LAPS | Lapse for failure to pay maintenance fees | ||
STCH | Information on status: patent discontinuation |
Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362 |
|
FP | Lapsed due to failure to pay maintenance fee |
Effective date: 20150807 |