CN111277262B - Clock data recovery circuit - Google Patents
Clock data recovery circuit Download PDFInfo
- Publication number
- CN111277262B CN111277262B CN201911157153.6A CN201911157153A CN111277262B CN 111277262 B CN111277262 B CN 111277262B CN 201911157153 A CN201911157153 A CN 201911157153A CN 111277262 B CN111277262 B CN 111277262B
- Authority
- CN
- China
- Prior art keywords
- circuit
- signal
- phase
- sub
- recovery
- 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.)
- Active
Links
- 238000011084 recovery Methods 0.000 title claims abstract description 106
- 230000001360 synchronised effect Effects 0.000 claims description 9
- 230000000875 corresponding effect Effects 0.000 claims description 8
- 238000001914 filtration Methods 0.000 claims description 6
- 230000002596 correlated effect Effects 0.000 claims description 3
- 230000009467 reduction Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 14
- 238000000034 method Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 10
- 230000008901 benefit Effects 0.000 description 6
- 239000000872 buffer Substances 0.000 description 5
- 239000012535 impurity Substances 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 230000009977 dual effect Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000005070 sampling Methods 0.000 description 3
- 238000009825 accumulation Methods 0.000 description 2
- 238000012937 correction Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000007723 transport mechanism Effects 0.000 description 1
Images
Classifications
-
- 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
- H03L7/06—Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
- H03L7/08—Details of the phase-locked 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
- H03L7/06—Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
- H03L7/08—Details of the phase-locked loop
- H03L7/085—Details of the phase-locked loop concerning mainly the frequency- or phase-detection arrangement including the filtering or amplification of its output signal
- H03L7/095—Details of the phase-locked loop concerning mainly the frequency- or phase-detection arrangement including the filtering or amplification of its output signal using a lock detector
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
Abstract
A clock data recovery circuit comprising: the phase detector is in one-to-one correspondence with the links, generates a phase difference signal and a data signal according to an input signal from the corresponding link and a recovered clock signal from the first recovered sub-circuit, the phase difference generating sub-circuit generates a final phase difference signal according to the phase difference signal input by each phase detector, the charge pump generates a voltage difference signal according to the final phase difference signal, and the first recovered sub-circuit is used for generating the recovered clock signal according to the voltage difference signal and feeding back the recovered clock signal to the phase detector. According to the scheme provided by the embodiment, a plurality of phase difference signals are integrated into one phase difference signal, only one clock is recovered, and power consumption is greatly reduced due to the reduction of clocks.
Description
Technical Field
The present disclosure relates to electronic technology, and more particularly, to a clock data recovery circuit.
Background
At present, serial interfaces (SerDes) are adopted as high-speed interfaces for data transmission, and the reason is that the problems of data Skew (Skew), interference (Crosstalk) and the like in parallel interfaces can be well solved. In theory, the serial interface is easier to raise the upper speed limit, so long as the receiving end can better recover the clock and the data of the transmitting end. The circuit for realizing this function is clock data recovery (Clock and Data Recovery, CDR for short), so the quality of CDR design directly affects the performance of the interface, which is a very important ring of the whole SerDes interface.
The multiple SerDes interfaces typically employ a method of providing a CDR circuit separately for each lane, i.e., each lane (lane) recovers its own clock and data. The recovered data generally causes skew due to the layout of the individual lanes on the flat cable, etc. At this time, a De-skew circuit needs to be added at the back end to eliminate the data skew between each lane, and finally, a synchronization (sync) circuit is used to synchronize the clock signals of each lane. The specific signal flow is shown in fig. 1 a.
FIG. 1a shows the CDR module arrangement and architecture design currently used for multi-way SerDes high speed interface data transfer. Taking Gen3 PCIe of 2 lanes as an example, 101 in fig. 1a is a differential transmitter (Differential transmitter) of lane0 at the transmitting end of chip a; 102 is a link between Lane0 transceivers; 103 is a differential receiver (Differential receiver) of Lane0 at the receiving end, which receives a single bit (bit) data_0 from the link; reference numeral 104 denotes a memory unit (illustrated as a register) for storing clock and data recovered by the CDR; 105 is shown as a flexible buffer, which is essentially a large FIFO (First Input First Output, first in first out), driven by the local clock at the receiving end; 106 is a link data skew delay circuit (lane data de-skew delay circuit) for eliminating skew caused by data transfers between PCIe lanes; reference numeral 107 denotes a CDR circuit, which includes a clock recovery circuit (Clock Recovery Circuit, abbreviated as CRC) and a data recovery circuit (Data Recovery Circuit, abbreviated as DRC), wherein the CRC is used to recover a clock embedded in a data stream transmitted from a transmitting end, and the DRC is used to recover the data of the transmitting end according to the recovered clock sampling data. The waveforms of the data and clock before and after CDR circuit recovery are shown in fig. 1b, and the data and clock skew between lane0 and lane1 can be seen clearly in fig. 1 b.
The conventional multi-way high-speed SerDes interface is generally provided with a respective CDR circuit for each lane, and the following two main problems are faced in this case:
clock and data recovered from Lane to Lane have skew, so that the subsequent logic circuit is easy to recognize data errors, and communication failure is caused;
the circuit area is large, the power consumption is large, the performance is poor, and the circuit is unstable.
Disclosure of Invention
The application provides a clock data recovery circuit, which reduces power consumption and data skew.
The application provides a clock data recovery circuit, comprising: the phase detector is in one-to-one correspondence with the links, the phase detector comprises a first output end and a second output end, the first output end of the phase detector is connected to the phase difference generation sub-circuit, the output end of the phase difference generation sub-circuit is connected to the input end of the charge pump, and the output end of the charge pump is connected to the first recovery sub-circuit, wherein:
the phase discriminator is used for generating a phase difference signal and a data signal according to an input signal from a corresponding link and a recovered clock signal from the first recovery sub-circuit, outputting the phase difference signal through the first output end and outputting the data signal through the second output end;
the phase difference generation sub-circuit is used for generating a final phase difference signal according to the phase difference signals input by the phase detectors and outputting the final phase difference signal to the charge pump;
the charge pump is used for generating a voltage difference signal according to the final phase difference signal and outputting the voltage difference signal to the first recovery sub-circuit;
the first recovery sub-circuit is used for generating the recovery clock signal according to the voltage difference signal and feeding the recovery clock signal back to the phase discriminator.
In one embodiment, the phase difference generating sub-circuit generates a final phase difference signal from the phase difference signals input from the phase detectors, including: and the phase difference generating sub-circuit respectively weights and sums the phase difference signals input by the phase detectors to obtain the final phase difference signal.
In one embodiment, the weight of the phase difference signal for each link is positively correlated to the delay of that link when weighted.
In an embodiment, the first recovery sub-circuit includes: the input end of the first loop filter is connected to the output end of the charging pump, the output end of the first loop filter is connected to the input end of the first voltage-controlled oscillator, and the output end of the first voltage-controlled oscillator serves as the output end of the first recovery subcircuit.
In an embodiment, the clock data recovery circuit further includes a second recovery sub-circuit, where the second recovery sub-circuit is connected to the second output end of the phase detector and the output end of the charge pump, and the second recovery sub-circuit is configured to receive the data signal output by the phase detector and the voltage difference signal output by the charge pump, adjust the phase of the data signal according to the voltage difference signal, and output a recovered data signal;
the phase detector, the phase difference generating sub-circuit, the charge pump and the first recovery sub-circuit form a first branch, one of the phase detector, the phase difference generating sub-circuit, the charge pump and the second recovery sub-circuit forms a second branch based on a delay phase-locked loop, and the other is based on a phase-locked loop.
In an embodiment, the second recovery sub-circuit includes: the second loop filter and the first synchronization sub-circuit, the first synchronization sub-circuit includes first input and second input, the second output of phase discriminator is connected to the first input of first synchronization sub-circuit, the input of second loop filter is connected to the output of charge pump, the output of second loop filter is connected to the second input of first synchronization sub-circuit, the second loop filter is used for filtering voltage difference signal, output second phase adjustment signal to first synchronization sub-circuit, first synchronization sub-circuit is used for delaying the data signal received from the phase discriminator according to the second phase adjustment signal, output data signal after recovering.
In an embodiment, the first synchronization sub-circuit is implemented based on at least one of: delay line, first-in first-out memory, shift register.
In an embodiment, the first recovery sub-circuit includes: the input end of the third loop filter is connected to the output end of the charging pump, the output end of the third loop filter is connected to the input end of the second synchronous subcircuit, the output end of the second synchronous subcircuit is used as the output end of the first recovery subcircuit, the third loop filter is used for filtering the voltage difference signal and outputting a first phase adjustment signal to the second synchronous subcircuit, and the second synchronous subcircuit is used for delaying the phase of the last outputted recovery clock signal according to the first phase adjustment signal and then outputting the recovery clock signal.
In an embodiment, the second recovery sub-circuit includes: the fourth loop filter, second voltage controlled oscillator and register unit, the register unit includes first input and second input, the second output of phase discriminator is connected to the first input of register unit, the input of fourth loop filter is connected to the output of charge pump, the output of fourth loop filter is connected to the input of second voltage controlled oscillator, the output of second voltage controlled oscillator is connected to the second input of register unit, wherein:
the fourth loop filter is configured to filter the voltage difference signal, and output the filtered voltage difference signal to the second voltage-controlled oscillator;
the second voltage-controlled oscillator is used for generating a clock signal according to the filtered voltage difference signal and outputting the clock signal to the register unit;
the register unit is used for delaying the data signal received from the phase discriminator according to the clock signal and outputting the recovered data signal.
In an embodiment, the clock data recovery circuit further includes a receiver corresponding to the links one by one, an output end of the receiver is connected to a phase detector of the link where the receiver is located, and the receiver is configured to receive an input signal of the corresponding link, amplify the input signal, and output the amplified input signal to the phase detector.
Compared with the prior art, the clock data recovery circuit comprises at least one phase detector, a phase difference generating sub-circuit, a charge pump and a first recovery sub-circuit, wherein the phase detector corresponds to a link one by one, the phase detector comprises a first output end and a second output end, the first output end of the phase detector is connected to the phase difference generating sub-circuit, the output end of the phase difference generating sub-circuit is connected to the input end of the charge pump, and the output end of the charge pump is connected to the first recovery sub-circuit. According to the scheme provided by the embodiment, a plurality of phase difference signals are synthesized into one phase difference signal, only one clock is recovered, and the power consumption is greatly reduced due to the reduction of the clocks; under the condition that only one clock sampling data is recovered, the generation of skew between the Lane is avoided, and therefore the necessity of a de-skew circuit is avoided; in addition, compared with the implementation mode that each link in the related art needs one CDR, in the application, each link multiplexes the charge pump and the first recovery sub-circuit, so that the area of the logic circuit is greatly reduced, and the more signal channels at the receiving end, the more remarkable the effect.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application. Other advantages of the present application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide an understanding of the technical aspects of the present application, and are incorporated in and constitute a part of this specification, illustrate the technical aspects of the present application and together with the examples of the present application, and not constitute a limitation of the technical aspects of the present application.
FIG. 1a is a schematic diagram of a clock data recovery circuit in the related art;
FIG. 1b is a schematic diagram of the circuit signal shown in FIG. 1 a;
FIG. 2 is a schematic diagram of a delay locked loop circuit;
FIG. 3 is a schematic diagram of a phase locked loop circuit;
FIG. 4 is a schematic diagram of a clock data recovery circuit according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a first recovery sub-circuit according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a first recovery sub-circuit according to another embodiment of the present invention;
FIG. 7 is a schematic diagram of a clock data recovery circuit according to another embodiment of the present invention;
FIG. 8 is a schematic diagram of a second recovery sub-circuit according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of a second recovery sub-circuit according to another embodiment of the present invention;
FIG. 10a is a schematic diagram of a clock data recovery circuit according to an embodiment of the present invention;
FIG. 10b is a signal diagram of the circuit shown in FIG. 10 a;
fig. 11 is a schematic diagram of a clock data recovery circuit according to another embodiment of the present invention.
Detailed Description
The present application describes a number of embodiments, but the description is illustrative and not limiting and it will be apparent to those of ordinary skill in the art that many more embodiments and implementations are possible within the scope of the embodiments described herein. Although many possible combinations of features are shown in the drawings and discussed in the detailed description, many other combinations of the disclosed features are possible. Any feature or element of any embodiment may be used in combination with or in place of any other feature or element of any other embodiment unless specifically limited.
The present application includes and contemplates combinations of features and elements known to those of ordinary skill in the art. The embodiments, features and elements of the present disclosure may also be combined with any conventional features or elements to form a unique inventive arrangement as defined in the claims. Any feature or element of any embodiment may also be combined with features or elements from other inventive arrangements to form another unique inventive arrangement as defined in the claims. Thus, it should be understood that any of the features shown and/or discussed in this application may be implemented alone or in any suitable combination. Accordingly, the embodiments are not to be restricted except in light of the attached claims and their equivalents. Further, various modifications and changes may be made within the scope of the appended claims.
Furthermore, in describing representative embodiments, the specification may have presented the method and/or process as a particular sequence of steps. However, to the extent that the method or process does not rely on the particular order of steps set forth herein, the method or process should not be limited to the particular sequence of steps described. Other sequences of steps are possible as will be appreciated by those of ordinary skill in the art. Accordingly, the particular order of the steps set forth in the specification should not be construed as limitations on the claims. Furthermore, the claims directed to the method and/or process should not be limited to the performance of their steps in the order written, and one skilled in the art can readily appreciate that the sequences may be varied and still remain within the spirit and scope of the embodiments of the present application.
CDR circuits are mainly divided into two types, one based on a phase locked loop (Phase Locked Loop, PLL for short) and the other based on a delay locked loop (Delay Locked Loop, DLL for short). The DLL function module is shown in fig. 2, and includes: the phase detector 201, the charge pump 202, the loop filter 203 and the delay circuit 204 are sequentially connected, wherein the output of the delay circuit 204 is used as one input of the phase detector, and the phase detector 201 compares the input serial data with a clock fed back and transmits error information to the charge pump 202; the charge pump 202 automatically adjusts the phase of the locally generated signal to match the phase of the input; a loop filter 203, typically a low-pass filter, for filtering noise or impurity signals; the delay circuit 204 corrects the phase of the recovered clock based on feedback.
PLL functional module as shown in fig. 3, it can be found that the PLL is similar to the DLL in terms of functional module division, except for the correction unit, the PLL uses an analog voltage-controlled oscillator (Voltage Controlled Oscillator, VCO) 301, which is mainly used to adjust the recovered clock phase according to the voltage correction signal generated by the previous module.
In the embodiment of the invention, one clock is recovered from the multipath signals through the preset algorithm, so that the subsequent skew problem is avoided.
As shown in fig. 4, an embodiment of the present invention provides a clock data recovery circuit, including: at least one receiver 401, at least one phase detector 402, a phase difference generating sub-circuit 403, a charge pump 404 and a first recovery sub-circuit 405, wherein the receiver 401, the phase detector 402 are in one-to-one correspondence with links, the phase detector 402 is connected to its corresponding receiver 401, the phase detector 402 comprises a first output OP and a second output OD, the first output OP of the phase detector is connected to the phase difference generating sub-circuit 403, the output of the phase difference generating sub-circuit 403 is connected to the input of the charge pump 404, and the output of the charge pump 404 is connected to the first recovery sub-circuit 405, wherein:
the receiver 401 is configured to receive a corresponding link input signal, amplify the link input signal, and output the amplified link input signal to the phase detector 402;
the phase detector 402 is configured to generate a phase difference signal and a data signal according to the signal from the receiver 401 and the recovered clock signal from the first recovered subcircuit 405, output the phase difference signal through the first output terminal OP, and output the data signal through the second output terminal OD;
the phase difference generating sub-circuit 403 is configured to generate a final phase difference signal according to the phase difference signal input by each phase detector 402, and output the final phase difference signal to the charge pump 404;
the charge pump 404 is configured to generate a voltage difference signal according to the final phase difference signal, and output the voltage difference signal to the first recovery sub-circuit 405;
the first recovery sub-circuit 405 is configured to generate the recovery clock signal according to the voltage difference signal, and feed back the recovery clock signal to the phase detector 402.
According to the scheme provided by the embodiment, a plurality of phase difference signals are synthesized into one phase difference signal, only one clock is recovered, and the power consumption is greatly reduced due to the reduction of the clocks; under the condition that only one clock sampling data is recovered, the generation of skew between the Lane is avoided, and therefore the necessity of a de-skew circuit is avoided; in addition, compared with the implementation mode that each link in the related art needs one CDR, in the application, each link multiplexes the charge pump and the first recovery sub-circuit, so that the area of the logic circuit is greatly reduced, and the more signal channels at the receiving end, the more remarkable the effect.
In one embodiment, the phase difference generating sub-circuit 403 generates a final phase difference signal according to the phase difference signal input by each phase detector, including: the phase difference generating sub-circuit 403 weights and sums the phase difference signals input from the phase detectors 402, respectively, to obtain the final phase difference signal. The phase difference generating sub-circuit 403 is, for example, a function generator.
The function generator can be designed according to actual needs, and if the example is an N-way high-speed interface, then
Wherein,,for Link i-1 (Link) i-1 ) Phase difference, W i-1 Is Link i-1 I=1, …, N, the value of which can be determined from the signal delay of the link. In one embodiment, the weight parameter of a link is positively correlated with the signal delay of the link, the smaller the weight parameter. The value may be stored in a register, so that the value is convenient to modify according to actual requirements, and it should be noted that the value is only an example here, and in another embodiment, the weight parameters of each link may be fixed.
The first recovery sub-circuit 405 may be implemented using a loop filter, such as a low pass filter, and a voltage controlled oscillator, or using a loop filter and a synchronization sub-circuit. The voltage controlled oscillator may be an analog Voltage Controlled Oscillator (VCO) or a digital voltage controlled oscillator (Digital Control Oscillator, DCO for short). The synchronous sub-circuit is a sub-circuit for realizing signal Delay, and can be realized through a Delay Line (Delay Line), a FIFO memory or a Shift register (Shift register). A delay line is a series of voltage or current controlled buffers (buffers) in series forming a delay chain whose output signal is the phase delayed input signal.
In one embodiment, as shown in fig. 5, the first recovery sub-circuit 405 includes: a first loop filter 4051 and a first voltage controlled oscillator 4052, wherein an input terminal of the first loop filter 4051 is connected to an output terminal of the charge pump 404, an output terminal of the first loop filter 4051 is connected to an input terminal of the first voltage controlled oscillator 4052, and an output terminal of the first voltage controlled oscillator 4052 serves as an output terminal of the first recovery sub-circuit 405. The first loop filter 4051 filters the voltage difference signal from the charge pump 404 and outputs the filtered voltage difference signal to the first voltage controlled oscillator 4052, and the first voltage controlled oscillator 4052 generates a recovered clock signal based on the filtered voltage difference signal.
In one embodiment, as shown in fig. 6, the first recovery sub-circuit 405 includes: a third loop filter 4053 and a second synchronization sub-circuit 4054, wherein an input end of the third loop filter 4053 is connected to an output end of the charge pump 404, an output end of the third loop filter 4053 is connected to an input end of the second synchronization sub-circuit 4054, an output end of the second synchronization sub-circuit 4054 is used as an output end of the first recovery sub-circuit 405, the third loop filter 4053 is used for filtering the voltage difference signal, outputting a first phase adjustment signal, and the second synchronization sub-circuit 4054 is used for delaying a phase of a recovery clock signal outputted last time according to the first phase adjustment signal and outputting a recovery clock signal.
Wherein the second synchronization sub-circuit 4054 is implemented based on at least one of: delay line, first-in first-out memory, shift register.
Both the DLL and the PLL have advantages and disadvantages, wherein the DLL is characterized as follows:
a) The clock is easier to stabilize;
b) Jitter of the reference clock (Ref_Clk) is transferred along with the circuit, and is difficult to eliminate;
c) Accumulation without phase error
The PLL is characterized as follows:
a) It is harder to stabilize the clock;
b) Jitter of the reference clock is filtered out;
c) There is a phase error accumulation.
Therefore, in an embodiment of the present application, the Dual loop (Dual loop) mode is adopted, and the advantages of the two CDR circuits are combined to realize optimization. As shown in fig. 7, an embodiment of the present invention provides a clock data recovery circuit, and compared with the circuit shown in fig. 4, in this embodiment, the clock data recovery circuit further includes a second recovery sub-circuit 409, where the second recovery sub-circuit 409 is connected to the second output end OD of the phase detector 402 and the output end of the charge pump 404, and the second recovery sub-circuit 409 is configured to receive a data signal output by the phase detector 402 and a voltage difference signal output by the charge pump 404, adjust a phase of the data signal according to the voltage difference signal, and output a recovered data signal;
wherein, one of the first branch circuit formed by the phase detector 402, the phase difference generating sub-circuit 403, the charge pump and the first recovering sub-circuit is implemented based on a delay phase-locked loop, and the other one of the second branch circuit formed by the phase detector, the phase difference generating sub-circuit, the charge pump and the second recovering sub-circuit is implemented based on a phase-locked loop. Specifically, one of the first recovery sub-circuit 405 and the second recovery sub-circuit 409 uses a voltage-controlled oscillator to synchronize phases, and the other uses a synchronization sub-circuit to synchronize phases.
The scheme provided by the embodiment uses a dual-loop design, combines the advantages of the PLL and the DLL circuit, can obviously reduce jitter of the recovered data clock Signal, and improves the data accuracy (Signal Integrity) of CDR recovery.
In one embodiment, as shown in fig. 8, the second recovery sub-circuit 409 includes: the second loop filter 4091 and the first synchronization sub-circuit 4092, the first synchronization sub-circuit 4092 includes a first input terminal and a second input terminal, the second output terminal of the phase detector 402 is connected to the first input terminal of the first synchronization sub-circuit 4092, the input terminal of the second loop filter 4091 is connected to the output terminal of the charge pump 404, the output terminal of the second loop filter 4091 is connected to the second input terminal of the first synchronization sub-circuit 4092, the second loop filter 4091 is configured to filter the voltage difference signal to obtain a second phase adjustment signal, and output the second phase adjustment signal to the first synchronization sub-circuit 4092, and the first synchronization sub-circuit 4092 is configured to delay the data signal received from the phase detector 402 according to the second phase adjustment signal, and output the recovered data signal. The second loop filter 4091 is for example a low pass filter.
In an embodiment, the first synchronization sub-circuit 4092 is implemented based on at least one of: delay line, first-in first-out memory, shift register.
In one embodiment, as shown in fig. 9, the second recovery sub-circuit 409 includes: a fourth loop filter 4093, a second voltage controlled oscillator 4094 and a register unit 4095, said register unit 4095 comprising a first input and a second input, said second output of the phase detector 402 being connected to the first input of said register unit 4095, said input of the fourth loop filter 4093 being connected to the output of the charge pump 404, said output of the fourth loop filter 4093 being connected to the input of the second voltage controlled oscillator 4094, said output of the second voltage controlled oscillator 4094 being connected to the second input of the register unit 4095, wherein:
the fourth loop filter 4093 is configured to filter the voltage difference signal, and output the filtered voltage difference signal to the second voltage-controlled oscillator;
the second voltage controlled oscillator 4094 is configured to generate a clock signal according to the filtered voltage difference signal, and output the clock signal to the register unit 4095;
the register unit 4095 is configured to delay the data signal received from the phase detector 402 according to the clock signal, and output a recovered data signal. The register unit 4095 may include one or more registers.
The present application is further illustrated by one specific example below. Fig. 10a shows a Multi-channel dual-loop CDR circuit (Multi-lane Dual Loop CDR) according to an embodiment of the present invention, which is further provided with a function generator 403 (i.e. a phase difference generating sub-circuit), a Low Pass Filter (LPF) 608, a set of delay units 609, but is provided with N-1 sets of charge pumps 404, pll loop filter 605 and voltage controlled oscillator 606, wherein N represents the number of channels (i.e. the number of links) compared to the conventional CDR circuit (fig. 1 a). The low pass filter 608 and the delay unit 609 constitute a second recovery sub-circuit, and the loop filter 605 and the voltage controlled oscillator 606 constitute a first recovery sub-circuit.
The basic operation principle of this embodiment is as follows, assuming that the CDR circuit is used for PCIe 3.0 of 4 lanes, i.e., n=4 (lane 0, lane1, lane2, lane 3). The single bit serial signals (in_a, in_b, in_c, in_d) are amplified by the differential receiver 401 and passed to the phase detector 402. Note that the signal amplified at this time includes not only effective information such as a data clock but also impurity signals such as noise. The phase detector 402 has two inputs: port a receives the serial data stream from the transmitting end and the clock information embedded therein, and port B receives the CDR recovered clock signal clk_rcv. There are two outputs, namely, a Data recovery (OD) and a Phase difference (OP) Output Phase. The phase detector 402 is operative to compare the phase of the input data clock signal with the phase of the feedback CLK RCV and to register data information samples in registers of the phase detector 402. The CDRs are then divided into Clock Recovery Circuits (CRCs) and Data Recovery Circuits (DRCs) based on the different properties of the OP-side and OD-side signals.
The signal from the OP terminal goes to the CRC circuit, part 407, which takes the PLL configuration. The phase detector of 4 lanes recognizes the phase difference of the data clock signals on the respective lanes and then outputs the phase difference to the function generator 403. The function generator 403 calculates the phase difference Φe closest to clk_rcv according to the weight of each path by a preset algorithm, and outputs the calculated phase difference Φe to the charge pump 404. Charge pump 404, upon receiving Φe, generates a voltage signal matching the Φe phase and outputs the voltage signal to loop filter 605. After the voltage passes through the loop filter 605, noise impurities are further reduced, a voltage difference signal Ve reflecting the phase difference Φe is obtained, and the voltage difference signal Ve is output to the voltage-controlled oscillator 606. The voltage difference signal Ve controls the voltage controlled oscillator 606 to adjust the phase difference between clk_rcv and the Receiver (Receiver), and finally recovers the clock signal clk_rcv embedded IN in_ A, IN _ B, IN _c and in_d. Compared with the traditional CDR circuit, the clock signal recovered by the embodiment of the invention is unique and optimal, so that a subsequent signal deviation eliminating (de-skew) circuit is omitted, the area is reduced, and the power consumption is saved.
The signal flowing from the OD terminal goes to the DRC circuit, which is illustrated as a DLL Loop. The voltage signal generated by charge pump 404 that matches the phase of Φe is provided as an input to low pass filter 608 (LPF). The low-pass filter 608 outputs a phase adjustment signal to the delay unit 609 after removing unnecessary Noise (Noise). The delay unit 609 adjusts the phase difference of the DRC recovered DATA data_rcv and the serial input signal according to the phase adjustment signal. The DLL of DRC circuit and the PLL of CRC circuit assist each other, combine the advantage of both, can adjust data and clock that is better than traditional CDR circuit, shake less. Delay cell 609 may include one or more delay lines.
As shown in fig. 10b, the data and clock signals recovered by the embodiment of the present invention can be seen that although the input signal data_0 of the link 0 and the input signal data_1 of the link 1 have skew, since only one clock is recovered after passing through the CDR circuit, the final recovered data and clock have no skew.
Fig. 11 is a schematic diagram of a clock data recovery circuit according to another embodiment of the present invention, in which a CRC circuit using a DLL structure and a DRC circuit using a PLL structure are used. In this embodiment, the loop filter 705 and the voltage controlled delay buffer 706 constitute a first restoration sub-circuit, and the low pass filter 708, the voltage controlled oscillator 709, and the register set 710 constitute a second restoration sub-circuit.
The differential receiver 701 recognizes and amplifies the serial signal sent from the transmitting end, and sends the serial signal to the phase detector 702, and the n-way phase detector 702 sends the converted phase signal to the function generator 703 as input. After the final phase difference Φe is obtained in the function generator 703, the final phase difference Φe is output to the charge pump 704, and the charge pump 704 generates a voltage difference signal reflecting the phase difference Φe according to the final phase difference Φe. In the CRC circuit of the DLL configuration 707, the loop filter 705 filters out unnecessary impurity signals in the voltage difference signal, and then outputs Ve0 to the voltage controlled buffer 706 (VCDL, i.e., voltage Controlled Delay Line, one of the delay units) to recover the required clock.
Correspondingly, the voltage difference signal generated by the charge pump 704 is also sent to the DRC circuit of the PLL structure. The voltage difference signal generated by the charge pump 704 is filtered by a low pass filter 708 (LPF) to remove impurities, thereby generating a voltage difference signal Ve1. The voltage difference signal Ve1 controls the voltage controlled oscillator 709 to generate a clock signal to the register set 710, and the register set 710 outputs the recovered data signal according to the clock signal. It is noted that the register set 710 may also be implemented as a FIFO.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, functional modules/units in the apparatus, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between the functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed cooperatively by several physical components. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
Claims (9)
1. A clock data recovery circuit, comprising: the phase detector is in one-to-one correspondence with the links, the phase detector comprises a first output end and a second output end, the first output end of the phase detector is connected to the phase difference generation sub-circuit, the output end of the phase difference generation sub-circuit is connected to the input end of the charge pump, and the output end of the charge pump is connected to the first recovery sub-circuit, wherein:
the phase discriminator is used for generating a phase difference signal and a data signal according to an input signal from a corresponding link and a recovered clock signal from the first recovery sub-circuit, outputting the phase difference signal through the first output end and outputting the data signal through the second output end;
the phase difference generation sub-circuit is used for generating a final phase difference signal according to the phase difference signals input by the phase detectors and outputting the final phase difference signal to the charge pump;
the charge pump is used for generating a voltage difference signal according to the final phase difference signal and outputting the voltage difference signal to the first recovery sub-circuit;
the first recovery sub-circuit is used for generating the recovery clock signal according to the voltage difference signal, feeding back the recovery clock signal to the phase detector,
the phase difference generating sub-circuit generates a final phase difference signal according to the phase difference signals input by the phase detectors, and the phase difference generating sub-circuit comprises: and the phase difference generating sub-circuit respectively weights and sums the phase difference signals input by the phase detectors to obtain the final phase difference signal.
2. The clock data recovery circuit of claim 1, wherein the weight of the phase difference signal for each link when weighted is positively correlated with the delay of the link.
3. The clock data recovery circuit of claim 1, wherein,
the first recovery sub-circuit includes: the input end of the first loop filter is connected to the output end of the charging pump, the output end of the first loop filter is connected to the input end of the first voltage-controlled oscillator, and the output end of the first voltage-controlled oscillator serves as the output end of the first recovery subcircuit.
4. A clock data recovery circuit according to any one of claims 1 to 3, further comprising a second recovery sub-circuit, the second recovery sub-circuit being connected to the second output terminal of the phase detector and the output terminal of the charge pump, the second recovery sub-circuit being configured to receive the data signal output from the phase detector and the voltage difference signal output from the charge pump, adjust the phase of the data signal according to the voltage difference signal, and output a recovered data signal;
the phase detector, the phase difference generating sub-circuit, the charge pump and the first recovery sub-circuit form a first branch, one of the phase detector, the phase difference generating sub-circuit, the charge pump and the second recovery sub-circuit forms a second branch based on a delay phase-locked loop, and the other is based on a phase-locked loop.
5. The clock data recovery circuit of claim 4, wherein the second recovery sub-circuit comprises: the second loop filter and the first synchronization sub-circuit, the first synchronization sub-circuit includes first input and second input, the second output of phase discriminator is connected to the first input of first synchronization sub-circuit, the input of second loop filter is connected to the output of charge pump, the output of second loop filter is connected to the second input of first synchronization sub-circuit, the second loop filter is used for filtering voltage difference signal, output second phase adjustment signal to first synchronization sub-circuit, first synchronization sub-circuit is used for delaying the data signal received from the phase discriminator according to the second phase adjustment signal, output data signal after recovering.
6. The clock data recovery circuit of claim 5, wherein the first synchronization sub-circuit is implemented based on at least one of: delay line, first-in first-out memory, shift register.
7. The clock data recovery circuit of claim 4, wherein the first recovery sub-circuit comprises: the input end of the third loop filter is connected to the output end of the charging pump, the output end of the third loop filter is connected to the input end of the second synchronous subcircuit, the output end of the second synchronous subcircuit is used as the output end of the first recovery subcircuit, the third loop filter is used for filtering the voltage difference signal and outputting a first phase adjustment signal to the second synchronous subcircuit, and the second synchronous subcircuit is used for delaying the phase of the last outputted recovery clock signal according to the first phase adjustment signal and then outputting the recovery clock signal.
8. The clock data recovery circuit of claim 7, wherein the second recovery sub-circuit comprises: the fourth loop filter, second voltage controlled oscillator and register unit, the register unit includes first input and second input, the second output of phase discriminator is connected to the first input of register unit, the input of fourth loop filter is connected to the output of charge pump, the output of fourth loop filter is connected to the input of second voltage controlled oscillator, the output of second voltage controlled oscillator is connected to the second input of register unit, wherein:
the fourth loop filter is configured to filter the voltage difference signal, and output the filtered voltage difference signal to the second voltage-controlled oscillator;
the second voltage-controlled oscillator is used for generating a clock signal according to the filtered voltage difference signal and outputting the clock signal to the register unit;
the register unit is used for delaying the data signal received from the phase discriminator according to the clock signal and outputting the recovered data signal.
9. The clock data recovery circuit according to claim 1 or 2, further comprising a receiver corresponding to the links one by one, wherein an output end of the receiver is connected to a phase detector of the link where the receiver is located, and the receiver is configured to receive an input signal of the corresponding link, amplify the input signal, and output the amplified input signal to the phase detector.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911157153.6A CN111277262B (en) | 2019-11-22 | 2019-11-22 | Clock data recovery circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911157153.6A CN111277262B (en) | 2019-11-22 | 2019-11-22 | Clock data recovery circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111277262A CN111277262A (en) | 2020-06-12 |
CN111277262B true CN111277262B (en) | 2023-06-06 |
Family
ID=71000026
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911157153.6A Active CN111277262B (en) | 2019-11-22 | 2019-11-22 | Clock data recovery circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111277262B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111865300B (en) * | 2020-07-08 | 2022-05-17 | 福州大学 | Programmable digital control delay line applied to double-loop delay phase-locked loop |
CN113726349B (en) * | 2021-07-30 | 2023-03-24 | 珠海亿智电子科技有限公司 | Data transmitter for reducing jitter |
CN115037294A (en) * | 2022-06-06 | 2022-09-09 | 清华大学 | Phase-locked loop, signal processing equipment and signal processing method |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8634503B2 (en) * | 2011-03-31 | 2014-01-21 | Avago Technologies General Ip (Singapore) Pte. Ltd. | Fast lock clock-data recovery for phase steps |
CN202068399U (en) * | 2011-06-03 | 2011-12-07 | 成都远望科技有限责任公司 | Radar clock frequency converter |
CN105703767B (en) * | 2016-01-13 | 2018-10-12 | 中国科学技术大学先进技术研究院 | A kind of single loop clock data recovery circuit of high energy efficiency low jitter |
CN110086488A (en) * | 2019-03-29 | 2019-08-02 | 西南电子技术研究所(中国电子科技集团公司第十研究所) | Radar-communication integration shares building module architectures superheterodyne receiver design method |
-
2019
- 2019-11-22 CN CN201911157153.6A patent/CN111277262B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN111277262A (en) | 2020-06-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111277262B (en) | Clock data recovery circuit | |
US7743168B2 (en) | PLL/DLL dual loop data synchronization | |
US7366270B2 (en) | PLL/DLL dual loop data synchronization utilizing a granular FIFO fill level indicator | |
US20170134153A1 (en) | Clock and Data Recovery Having Shared Clock Generator | |
US20070047683A1 (en) | Clock and data recovery circuit having wide phase margin | |
US8130891B2 (en) | Clock-data recovery (“CDR”) circuit, apparatus and method for variable frequency data | |
US8170169B2 (en) | Serializer deserializer circuits | |
US8320770B2 (en) | Clock and data recovery for differential quadrature phase shift keying | |
US7995698B2 (en) | Method for binary clock and data recovery for fast acquisition and small tracking error | |
US7978802B1 (en) | Method and apparatus for a mesochronous transmission system | |
US8090067B2 (en) | Circuits and methods for clock and data recovery | |
JPH11168376A (en) | Continuously adjustable delay lock loop | |
US11190191B2 (en) | Correction signaling between lanes in multi-chip-modules | |
US20100123493A1 (en) | System and method for implementing a digital phase-locked loop | |
KR20090059757A (en) | Receiver and communication system having the same | |
US20140334584A1 (en) | Systems and methods for tracking a received data signal in a clock and data recovery circuit | |
US9467092B1 (en) | Phased locked loop with multiple voltage controlled oscillators | |
US8295423B2 (en) | System and method for clockless data recovery | |
US20090141846A1 (en) | Receiving apparatus and receiving method | |
CN111277263B (en) | Clock data recovery circuit and serial interface circuit | |
US9166769B2 (en) | Data transmission method and data restoration method | |
US20200119739A1 (en) | Integrated circuit detecting frequency and phase of clock signal and clock and data recovery circuit including the integrated circuit | |
US20190214997A1 (en) | Clock and data recovery of sub-rate data | |
JP3974618B2 (en) | Data processing circuit | |
US7885320B1 (en) | MGT/FPGA clock management system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 230088 floor 7, block C, building J2, phase II, innovation industrial park, high tech Zone, Hefei, Anhui Province Applicant after: HEFEI DATANG STORAGE TECHNOLOGY Co.,Ltd. Address before: 100094 No. 6 Yongjia North Road, Beijing, Haidian District Applicant before: HEFEI DATANG STORAGE TECHNOLOGY Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |