Reference-less frequency detector with high jitter tolerance
09584303 ยท 2017-02-28
Assignee
Inventors
- Liang Gu (San Jose, CA, US)
- Yuming Cao (Pleasanton, CA, US)
- Gong Lei (Sunnyvale, CA, US)
- Yen Dang (San Jose, CA, US)
- Yifan Gu (Santa Clara, CA, US)
- Hungyi Lee (Cupertino, CA, US)
- Mamatha Deshpande (San Jose, CA, US)
- Shou-Po Shih (Cupertino, CA, US)
- Yan Duan (Ames, IA, US)
Cpc classification
H03L7/099
ELECTRICITY
H03K19/0948
ELECTRICITY
H04L7/0008
ELECTRICITY
H03K5/135
ELECTRICITY
H03L7/089
ELECTRICITY
H03K19/20
ELECTRICITY
H03D13/00
ELECTRICITY
H04L7/033
ELECTRICITY
H03L7/0807
ELECTRICITY
International classification
Abstract
An apparatus, comprising a first sampling circuit configured to sample a clock signal according to a data signal to produce a first sampled signal, a second sampling circuit configured to sample the clock signal according to a delay signal to produce a second sampled signal, and a control circuit coupled to the first sampling circuit and the second sampling circuit, wherein the control circuit is configured to perform a not-and (NAND) operation according to the first sampled signal and the second sampled signal to produce an activation signal for activating a frequency adjustment for the clock signal.
Claims
1. An apparatus, comprising: a first sampling circuit configured to sample a clock signal according to a data signal to produce a first sampled signal; a second sampling circuit configured to sample the clock signal according to a delay signal to produce a second sampled signal; a control circuit coupled to the first sampling circuit and the second sampling circuit, wherein the control circuit is configured to perform a not-AND (NAND) operation according to the first sampled signal and the second sampled signal to produce an activation signal for activating a frequency adjustment for the clock signal; and a third sampling circuit coupled to the first sampling circuit and the second sampling circuit, wherein the third sampling circuit is configured to sample the first sampled signal according to the second sampled signal to produce a frequency error signal indicating whether to increase or decrease a frequency of the clock signal to match a frequency of the data signal.
2. The apparatus of claim 1, wherein the delay signal corresponds to the data signal with a quarter bit delay, wherein the control circuit comprises a NAND gate, and wherein the control circuit is further configured to perform the NAND operation by applying the first sampled signal and an inverse of the second sampled signal to inputs of the NAND gate to produce the activation signal.
3. The apparatus of claim 2, wherein the data signal, the delay signal, and the clock signal are differential signals comprising common-mode logic (CML) voltage levels, wherein the first sampling circuit comprises a first common-mode logic-to-complementary metal-oxide semiconductor (CML-to-CMOS) converter configured to convert the first sampled signal from the CML voltage levels to complementary metal-oxide semiconductor (CMOS) logic voltage levels to produce a first level-converted signal, and wherein the second sampling circuit comprises a second CML-to-CMOS converter configured to convert the second sampled signal from the CML voltage levels to the CMOS logic voltage levels to produce a second level-converted signal.
4. The apparatus of claim 3, wherein the control circuit is further configured to perform the NAND operation by applying a positive signal component of the first level-converted signal and a negative signal component of the second level-converted signal to the inputs of the NAND gate.
5. The apparatus of claim 3, wherein the control circuit further comprises: an inverter coupled to the NAND gate and configured to invert the activation signal produced by the NAND gate to produce a negative differential signal component, wherein the inverter is associated with a delay time; a buffer coupled to the NAND gate and configured to delay the activation signal by the delay time to produce a positive differential signal component; and a charge pump coupled to the inverter and the buffer, wherein the charge pump is configured to activate the frequency adjustment for the clock signal according to the positive differential signal component and the negative differential signal component produced from the activation signal.
6. The apparatus of claim 5, wherein the first CML-to-CMOS converter, the second CML-to-CMOS converter, the NAND gate, the inverter, and the buffer comprise CMOS logic circuits.
7. The apparatus of claim 1, wherein the first sampling circuit and the second sampling circuit comprise one or more D-type flip-flops (DFF's).
8. The apparatus of claim 1, wherein the data signal and the clock signal operates between 10 gigabits per second (Gbps) and 100 Gbps.
9. A method comprising: sampling a clock signal according to a data signal to produce a first sampled signal; delaying the data signal by a quarter of a bit duration to produce a delayed signal; sampling the clock signal according to the delayed signal to produce a second sampled signal; performing a not-AND (NAND) operation according to the first sampled signal and the second sampled signal to produce an activation signal for activating a charge pump to align a frequency of the clock signal to a frequency of the data signal; and sampling the first sampled signal according to the second sampled signal to produce a frequency error signal for correcting the frequency of the clock signal.
10. The method of claim 9, wherein the data signal and the clock signal are differential signals comprising common-mode logic (CML) voltage levels, and wherein the method further comprises: converting, via a first level converter, the first sampled signal from the CML voltage levels to complementary metal-oxide semiconductor (CMOS) logic voltage levels to produce a first level-converted signal; and converting, via a second level converter, the second sampled signal from the CML voltage levels to the CMOS logic voltage levels to produce a second level-converted signal.
11. The method of claim 10, wherein the performing the NAND operation further comprises: applying a positive signal component of the first level-converted signal to a first input of a NAND gate; and applying a negative signal component of the second level-converted signal to a second input of the NAND gate.
12. The method of claim 10, further comprising generating a differential signal from the activation signal by: inverting the activation signal to produce a negative signal component for the differential signal; and delaying the activation signal to produce a positive signal component for the differential signal.
13. An apparatus comprising: a first sampling circuit configured to sample a clock signal according to a data signal to produce a first sampled signal; a first delay buffer configured to delay the data signal by a quarter of a bit duration to produce a delayed signal; a second sampling circuit coupled to the first delay buffer and configured to sample the clock signal according to the delayed signal to produce a second sampled signal; a control circuit coupled to the first sampling circuit and the second sampling circuit, wherein the control circuit is configured to perform a not-AND (NAND) operation according to the first sampled signal and the second sampled signal to produce an activation signal; a charge pump coupled to the control circuit and configured to activate an alignment of a first frequency of the clock signal to a second frequency of the data signal according to the activation signal; and a third sampling circuit coupled to the first sampling circuit and the second sampling circuit, wherein the third sampling circuit is configured to sample the first sampled signal according to the second sampled signal to produce a frequency error signal for the alignment of the first frequency of the clock signal to the second frequency of the data signal according to the activation signal.
14. The apparatus of claim 13, wherein the data signal and the clock signal are first differential signals comprising common-mode logic (CML) voltage levels, wherein the first sampling circuit comprises a first level converter configured to convert the first sampled signal from the CML voltage levels to complementary metal-oxide semiconductor (CMOS) logic voltage levels to produce a first level-converted signal, and wherein the second sampling circuit comprises a second level converter configured to convert the second sampled signal from the CML voltage levels to the CMOS logic voltage levels to produce a second level-converted signal.
15. The apparatus of claim 14, wherein the control circuit comprises a NAND gate, and wherein the control circuit is further configured to perform the NAND operation by: applying a positive signal component of the first level-converted signal to a first input of the NAND gate; and applying a negative signal component of the second level-converted signal to a second input of the NAND gate.
16. The apparatus of claim 15, wherein the control circuit further comprises: an inverter coupled to the NAND gate and configured to invert the activation signal to produce a negative signal component for a second differential signal, wherein the inverter is associated with a delay time; and a second delay buffer coupled to the NAND gate and configured to delay the activation signal by the delay time to produce a positive signal component for the second differential signal, and wherein the charge pump is further configured to activate the alignment according to second differential signal produced from the activation signal.
17. The apparatus of claim 16, wherein the first level converter, the second level converter, the NAND gate, the inverter, and the second delay buffer comprise p-channel metal-oxide semiconductor (PMOS) transistors and n-channel metal-oxide semiconductor (NMOS) transistors.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) For a more complete understanding of this disclosure, reference is now made to the following brief description, taken in connection with the accompanying drawings and detailed description, wherein like reference numerals represent like parts.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
DETAILED DESCRIPTION
(15) It should be understood at the outset that, although illustrative implementations of one or more embodiments are provided below, the disclosed systems and/or methods may be implemented using any number of techniques, whether currently known or in existence. The disclosure should in no way be limited to the illustrative implementations, drawings, and techniques illustrated below, including the exemplary designs and implementations illustrated and described herein, but may be modified within the scope of the appended claims along with their full scope of equivalents.
(16) Frequency detectors are commonly employed in phase-locked loop (PLL)-based CDRs to recover timing information from data. A reference-less frequency detector refers to a frequency detector comprising a frequency detection loop that is automatically activated when the loop is out of lock and automatically deactivated after completing frequency acquisition without the employment of a reference clock or a lock detector. The elimination of the reference clock and the lock detector reduces the number of hardware components and power consumption. Thus, reference-less frequency detectors may provide an attractive solution for CDRs.
(17)
(18) The frequency detector 100 receives a data signal V.sub.B and a clock signal CK as inputs. The clock signal CK is generated by a voltage controlled oscillator (VCO). The clock signal CK is provided to the DFFs 111 and 112 at corresponding data input ports 114. The data signal V.sub.B is provided to the DFF 111 at the DFF 111's clock input port 115. The data signal is delayed by the delay buffer 120 by about a quarter of a bit to produce a delayed signal V.sub.D, which is provided to the DFF 112 at DFF 112's clock input port 115. The DFF 111 samples the clock signal CK at a rising edge of the data signal V.sub.B and outputs the sampled output signal Q.sub.1 at the DFF 111's output port 116. Similarly, the DFF 112 samples the clock signal CK at a rising edge of the delay signal V.sub.D and outputs the sampled output signal Q.sub.2 at the DFF 112's output port 116. The output signals Q.sub.1 and Q.sub.2 comprise equal periods, which may be proportional or inversely proportional to the frequency difference between the data signal V.sub.B and the clock signal CK. The relative phase shift between the output signals Q.sub.1 and Q.sub.2 indicates the polarity of the frequency difference. When the output signal Q.sub.1 leads the output signal Q.sub.2, the frequency of the clock signal CK is less than the frequency of the data signal V.sub.B. When the output signal Q.sub.1 lags the output signal Q.sub.2, the frequency of the clock signal CK is greater than the frequency of the data signal V.sub.B.
(19) The DFF 113 is coupled to the output ports 116 of the DFFs 111 and 112. The DFF 113 receives the output signal Q.sub.1 at the DFF 113's data input port 114 and the output signal Q.sub.2 at the DFF 113's clock input port 115. The DFF 113 samples the output signal Q.sub.1 by the output signal Q.sub.2. When the output signal Q.sub.1 leads the output signal Q.sub.2, the DFF 113 produces an output signal Q.sub.3 with a logic high level. When the output signal Q.sub.1 lags the output signal Q.sub.2, the DFF 113 generates an output signal Q.sub.3 with a logic low level. The logic high level represents a binary value of one, and the logic low level represents a binary value of zero. The voltage levels of the logic high level and the logic low level depend on the power supply voltage employed by the frequency detector 100. Since the output signal Q.sub.3 carries the polarity of the frequency difference between the data signal V.sub.B and the clock signal CK, the output signal Q.sub.3 may be used to instruct the charge pump 130 to charge or discharge the loop filter. The output voltage of the loop filter increases or decreases as the loop filter is charged or discharged. Therefore, the output voltage of the loop filter may be used to control the VCO, where the frequency of the clock signal CK is proportional to the output voltage. For example, the charge pump 130 is configured to charge the loop filter when the output signal Q.sub.3 is high and discharge the loop filter when the output signal Q.sub.3 is low. The charging or discharging of the loop filter is required to be deactivated when the frequency of the clock signal CK is locked to the frequency of the data signal V.sub.B. As shown, the output signal Q.sub.2 is employed to control the activation and deactivation of the charge pump 130. The activation of the charge pump 130 is active low, thus the inverse of the output signal Q.sub.2 is used to activate and deactivate the charge pump 130 as shown by the bubble 140. After the clock signal CK is corrected to match the frequency of the data signal V.sub.B, the signal CK may be used to re-time or sample the data signal V.sub.B or a copy of the data signal V.sub.B for data recovery, as described more fully below.
(20)
(21) However, if jitter occurs for V.sub.B and V.sub.D, the rising edges of the clock signal CK may momentarily drift to the right or to the left. Jitter may occur due to various reasons, such as noise on a transmission line, inter-symbol interference (ISI) in a received data stream, and noise in the original transmitted source data stream. When the drift exceeds the timing margin 281 or 282, the drift may cause the both V.sub.B and V.sub.D to transition when the clock signal CK is low or when the clock signal CK is high, and thus may toggle the signals Q.sub.1 and Q.sub.2. The toggling changes the logic state of Q.sub.1 and Q.sub.2, causing the frequency detector 100 to falsely detect a loss of lock and unnecessarily correct the frequency of the clock signal CK.
(22)
(23)
(24) Disclosed herein are embodiments for providing a reference-less frequency detector with high jitter tolerance. The disclosed embodiments employ a reference-less frequency detector comprising three sampling circuits. A first sampling circuit samples a clock signal generated by a VCO according to an incoming data signal to produce a first output signal Q.sub.1. The second sampling circuit samples the clock signal according to a delayed copy of the incoming data signal to produce a second output signal Q.sub.2, where the delay is about a quarter of a bit duration. The third sampling circuit samples the first output signal by the second output signal to produce a third output signal. The third output signal instructs a charge pump to control the current flow of a loop filter for aligning the frequency of the VCO to the frequency of the incoming data signal. However, instead of directly activating the charge pump based on Q.sub.2 as in the frequency detector 100, the disclosed embodiments activate the charge pump only when Q.sub.1 is at a logic high level and Q.sub.2 is at a logic low level. The disclosed embodiments enforce the activation condition by inserting a NAND gate at the input of the charge pump with Q.sub.1 and Q.sub.2 as inputs. In an embodiment, the first, second, and third sampling circuits are implemented by DFFs comprising CML logic circuits and the NAND gate is implemented by CMOS logic circuits. Thus, CML-to-CMOS level converters are employed to convert the first output signal Q.sub.1 and the second output signal Q.sub.2 from CML differential signals to CMOS rail-to-rail signals before applying them to the inputs of the NAND gate. The employment of the NAND gate prevents the frequency detector from falsely triggering the VCO frequency correction under high jitter. The disclosed frequency detector is suitable for use in high-speed systems such as optical modules operating at about 10 Gbps to about 100 Gbps.
(25)
(26) To prevent jitter from falsely activating the charge pump 530 when the frequency of the VCO is locked to the frequency of the data signal V.sub.B, the frequency detector 500 employs the NAND gate 540 to enforce the activation condition to be only when the first output signal Q.sub.1 is high and the second output signal Q.sub.2 is low. The NAND gate 540 is coupled to the DFFs 511 and 512 and configured to receive the first output signal Q.sub.1 and an inverse of the second output signal Q.sub.2 as inputs. The NAND gate 540 performs a NAND operation on the first output signal Q.sub.1 and the inverse of the second output signal Q.sub.2. The following table summarizes the logic of the NAND gate 540:
(27) TABLE-US-00001 TABLE 1 Logic of the NAND Gate 540 Inputs to NAND Gate 540 Q.sub.1 Q.sub.2 Q.sub.1 Invert(Q.sub.2) Output of NAND Gate 540 0 0 0 1 1 0 1 0 0 1 1 0 1 1 0 1 1 1 0 1
As shown in Table 1, the NAND gate 540 produces an output with a logic low level only when Q.sub.1 and Q.sub.2 comprise a logic state of 10. Since the charge pump 530 is active low, the output signal of the NAND gate 540, shown as ON/OFF, is inverted prior to applying the signal ON/OFF to activate the charge pump 530.
(28) The DFF 513 samples Q.sub.1 by Q.sub.2 to produce an error signal Q.sub.3 indicating the polarity of the frequency difference between the data signal V.sub.B and the clock signal CK. The error signal Q.sub.3 drives the charge pump 530 to charge or discharge a loop filter, which produces a control voltage for adjusting the frequency of the VCO to match the frequency of the data signal V.sub.B. The frequency detector 500 may be configured to employ the DFFs 511, 512, and 513 for frequency comparison as shown or alternatively configured to employ other suitable logic circuits to achieve similar functionalities.
(29)
(30) The DFF modules 611, 612, and 613 may comprise CML circuits configured to implement the sampling functions of the DFFs 511, 512, and 513. Each of the DFF modules 611, 612, and 613 further comprises a differential data input port 621 comprising terminals DM and DP, a differential clock input port 622 comprising terminals CKM and CKP, and a differential output port 623 comprising terminals QM and QP. The data input ports 621, the clock input ports 622, and the output ports 623 are similar to the data input ports 114, the clock input ports 115, and the output ports 116, respectively, and provide a more detailed view of the differential terminals. The DFF modules 611, 612, and 613 are referred to as sampling circuits. The V2I module 630, the NAND module 650, the buffer module 660, the inverter module 670, and the CML-to-CMOS modules 641 and 642 are referred to as control circuits.
(31) The DFF modules 611, 612, and 613 are configured to couple with each other in a similar configuration as the DFFs 511, 512, and 513 in the frequency detector 500. The data input ports 621 of the DFF modules 611 and 612 are configured to connect to the differential pair of clock signals VCO_CKM and VCO_CKP. The clock input port 622 of the DFF module 611 is configured to connect to the differential pair of data signals VBM and VBP. The clock input port 622 of the DFF module 612 is configured to connect to the differential pair of delayed signals VDM and VDP. The output port 623 of the DFF module 611 produces a differential pair of output signals Q1M and Q1P, which are coupled to the data input ports 621 of the DFF module 613. The output port 623 of the DFF module 612 produces a differential pair of output signals Q2M and Q2P, which are coupled to the clock input ports 622 of the DFF module 613. The output ports 623 of the DFF module 613 produces a differential pair of output signals Q3M and Q3P.
(32) The CML-to-CMOS modules 641 and 642 comprise circuits configured to convert signals from CML voltage levels to CMOS logic voltage levels. For example, CMLs may comprise a lower output voltage swing than CMOS logics. Each of the CML-to-CMOS modules 641 and 642 further comprises a differential input port 645 comprising terminals VIN_M and VIN_P, and a differential output port 646 comprising terminals VOUT_M and VOUT_P. The input port 645 receives CML differential signals, and the output port 646 produces CMOS rail-to-rail signals converted from the received CML differential signals. The internal circuits of the CML-to-CMOS modules 641 and 642 are described more fully below. The input port 645 of the CML-to-CMOS module 641 is configured to receive the signals Q1M and Q1P from the DFF module 611 and produce level-shifted signals Q1P_LS and Q1M_LS at the output port 646. The input port 645 of the CML-to-CMOS module 642 is configured to receive the signals Q2M and Q2P from the DFF module 612 and produce level-shifted signals Q2P_LS and Q2M_LS. As shown, the connections between the DFF modules 611, 612, and 613 and the CML-to-CMOS modules 641 and 642 are configured such that positive signal components are connected to positive terminals and negative signal components are connected to negative terminals.
(33) The NAND module 650 comprises circuits configured to implement the NAND operation of the NAND gate 540. The buffer module 660 comprises circuits configured to buffer or delay a signal by a period of time, which may be in units of clock cycles. The inverter module 670 comprises circuits configured to invert the polarity of a signal. The NAND module 650 is coupled to the CML-to-CMOS modules 641 and 642 and configured to receive the signals Q1P_LS and Q2M_LS as inputs A and B and produce a NAND of the signals Q1P_LS and Q2M_LS as output Y. The input states and the output states of the NAND module 650 are as shown in Table 1. The inverter module 670 and the buffer module 660 are coupled to the output of the NAND module 650. The inverter module 670 comprises circuits configured to invert the output signal of the NAND module 650 to produce an output signal FONOFF_M. The buffer module 660 comprises circuits configured to buffer the output signal of the NAND module 650 for a period of time, which may be similar to the delay of the inverter module 670. The buffer module 660 produces an output signal FONOFF_P. The output signals FONOFF_M and FONOFF_P are configured to form a differential pair to activate or deactivate the V2I module 630.
(34) The V2I module 630 comprises current sources configured to convert voltages to current. The V2I module 630 further comprises a differential signal adjustment port 631 comprising terminals ADJM and ADJP, a differential activation port 632 comprising terminals ONOFFM and ONOFFP, and an output current port 633, shown as IOUT. The signal adjustment port 631 is configured to receive the output signals Q3M and Q3P from the output port 623 of the DFF module 613. The activation port 632 is configured to receive the output signals ONOFFM and ONOFFP from the outputs of the inverter module 670 and the buffer module 660, respectively. The V2I module 630 produces a current signal at the output port 633 when the ONOFFP signal is at a logic high level, where the amount of current is dependent on the signals Q3M and Q3P. The current signal is employed to drive current to and from a loop filter for controlling the frequency of the VCO.
(35)
(36)
(37)
(38) The output section 930 comprises two inverter circuits 931 and 932 similar to the inverter circuits 700, 810, and 820. The inverter circuit 931 is coupled to the signal VA and produces an inverse of the signal VA, shown as VOUTP. The inverter circuit 932 is coupled to the signal VB and produces an inverse of the signal VB, shown as VOUTM. The signals VOUTP and VOUTB comprise voltage levels with respect to V.sub.DD and GND, which are CMOS voltage levels.
(39)
(40)
(41)
(42)
(43) While several embodiments have been provided in the present disclosure, it may be understood that the disclosed systems and methods might be embodied in many other specific forms without departing from the spirit or scope of the present disclosure. The present examples are to be considered as illustrative and not restrictive, and the intention is not to be limited to the details given herein. For example, the various elements or components may be combined or integrated in another system or certain features may be omitted, or not implemented.
(44) In addition, techniques, systems, subsystems, and methods described and illustrated in the various embodiments as discrete or separate may be combined or integrated with other systems, modules, techniques, or methods without departing from the scope of the present disclosure. Other items shown or discussed as coupled or directly coupled or communicating with each other may be indirectly coupled or communicating through some interface, device, or intermediate component whether electrically, mechanically, or otherwise. Other examples of changes, substitutions, and alterations are ascertainable by one skilled in the art and may be made without departing from the spirit and scope disclosed herein.