Reference-less frequency detector with high jitter tolerance
10461757 ยท 2019-10-29
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/085
ELECTRICITY
H03L7/0807
ELECTRICITY
International classification
H04L7/033
ELECTRICITY
H03D13/00
ELECTRICITY
H04L7/00
ELECTRICITY
H03L7/099
ELECTRICITY
H03K5/135
ELECTRICITY
H03K19/20
ELECTRICITY
H03L7/089
ELECTRICITY
H03L7/085
ELECTRICITY
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 not-and (NAND) gate comprising a first NAND gate input port, a second NAND gate input port, and a NAND gate output port; a charge pump comprising a charge pump activation port and a charge pump output current port, the charge pump activation port is coupled to the NAND gate output port, and the charge pump output current port is configured to couple to a frequency detection loop filter; an inverter module coupled to the NAND gate and the charge pump so that the inverter module is positioned between the NAND gate and the charge pump; and a buffer module coupled to the NAND gate and the charge pump so that the buffer module is positioned between the NAND gate and the charge pump, the buffer module is configured to buffer or delay a signal by a period of time.
2. The apparatus of claim 1, further comprising: a first D-type flip-flop (DFF) comprising a first DFF data input port, a first DFF clock input port, and a first DFF output port coupled to the first NAND gate input port; and a second DFF comprising a second DFF data input port, a second DFF clock input port, and a second DFF output port coupled to the second NAND gate input port.
3. The apparatus of claim 2, further comprising: a first current-mode logic-to-complementary metal-oxide semiconductor (CML-to- CMOS) converter comprising a first differential input port and a first differential output port comprising a first positive terminal and a first negative terminal; and a second CML-to-CMOS converter comprising a second differential input port and a second differential output port comprising a second positive terminal and a second negative terminal, wherein the first differential input port is coupled to the first DFF output port, wherein the second differential input port is coupled to the second DFF output port, wherein the first positive terminal of the first differential output port is coupled to the first NAND gate input port, and wherein the second negative terminal of the second differential output port is coupled to the second NAND gate input port.
4. The apparatus of claim 3, further comprising: an inverter comprising an inverter input port and an inverter output port; and a buffer comprising a buffer input port and a buffer output port, wherein the charge pump activation port is a differential port comprising a positive activation terminal and a negative activation terminal, wherein the inverter input port is coupled to the NAND gate output port, wherein the inverter output port is coupled to the positive activation terminal, wherein the buffer input port is coupled to the NAND gate output port, and wherein the buffer output port is coupled to the negative activation terminal.
5. The apparatus of claim 4, wherein the first CML-to-CMOS converter, the second CML-to-CMOS converter, the NAND gate, the buffer, and the inverter comprise p- channel metal-oxide semiconductor (PMOS) transistors and n-channel metal-oxide semiconductor (NMOS) transistors.
6. The apparatus of claim 1, wherein the NAND gate is the only NAND gate coupled to the charge pump.
7. An apparatus comprising: a not-and (NAND) gate comprising a first NAND gate input port, a second NAND gate input port, and a NAND gate output port; a first D-type flip-flop (DFF) comprising a first DFF data input port, a first DFF clock input port, and a first DFF output port coupled to the first NAND gate input port; a second DFF comprising a second DFF data input port, a second DFF clock input port, and a second DFF output port coupled to the second NAND gate input port; a third DFF comprising a third DFF data input port coupled to the first DFF output port, a third DFF clock input port coupled to the second DFF output port, and a third DFF output port; and a charge pump comprising a charge pump current adjustment port coupled to the third DFF output port, a charge pump activation port coupled to the NAND gate output port, a charge pump output current port configured to couple to a frequency detection loop filter.
8. A method comprising: receiving a first level-shifted signal and a second level-shifted signal; implementing a not-and (NAND) of the first level-shifted signal and the second level- shifted signal to produce a NAND output signal; inverting a first polarity of the NAND output signal to produce an inverted output signal; buffering the NAND output signal for a period of time to produce a buffered output signal; producing a current signal when the buffered output signal is at a logic high level; and driving a loop filter based on the current signal.
9. The method of claim 8, further comprising controlling a frequency of a voltage-controlled oscillator (VCO) utilizing the loop filter.
10. The method of claim 8, further comprising: sampling a clock signal according to a data signal to produce a first sampled signal; delaying the data signal to produce a delayed signal; and sampling the clock signal according to the delayed signal to produce a second sampled signal.
11. The method of claim 10, further comprising sampling the first sampled signal according to the second sampled signal to produce an error signal indicating a second polarity of a frequency difference between the data signal and the clock signal.
12. The method of claim 11, further comprising controlling a magnitude of the current signal based on the error signal.
13. The method of claim 8, wherein a NAND component performs the receiving and the implementing, an inverter component performs the inverting, a buffer component performs the buffering, and a charge pump component performs the producing and the driving.
14. The method of claim 8, further comprising: forming a differential pair with the inverted output signal and the buffered output signal; and activating or deactivating a charge pump module based on the differential pair.
15. An apparatus comprising: a not-and (NAND) gate comprising: a first NAND gate input port, a second NAND gate input port, and a NAND gate output port; a charge pump comprising: a charge pump activation port coupled to the NAND gate output port, and a charge pump output current port; a frequency detection loop filter coupled to the charge pump output current port; an inverter module coupled to the NAND gate and the charge pump so that the inverter module is positioned between the NAND gate and the charge pump; and a buffer module coupled to the NAND gate and the charge pump so that the buffer module is positioned between the NAND gate and the charge pump.
16. The apparatus of claim 15, further comprising: a first D-type flip-flop (DFF) comprising: a first DFF data input port, a first DFF clock input port, and a first DFF output port coupled to the first NAND gate input port; and a second DFF comprising: a second DFF data input port, a second DFF clock input port, and a second DFF output port coupled to the second NAND gate input port.
17. The apparatus of claim 16, wherein the charge pump further comprises a charge pump current adjustment port.
18. The apparatus of claim 17, further comprising a third DFF comprising: a third DFF data input port coupled to the first DFF output port, a third DFF clock input port coupled to the second DFF output port, and a third DFF output port coupled to the charge pump current adjustment port.
19. The apparatus of claim 16, further comprising: a first current-mode logic-to-complementary metal-oxide semiconductor (CML-to- CMOS) converter comprising: a first differential input port coupled to the first DFF output port, and a first differential output port comprising: a first positive terminal coupled to the first NAND gate input port, and a first negative terminal; and a second CML-to-CMOS converter comprising: a second differential input port coupled to the second DFF output port, and a second differential output port comprising: a second positive terminal, and a second negative terminal coupled to the second NAND gate input port.
20. The apparatus of claim 19, wherein the charge pump activation port is a differential port comprising a positive activation terminal and a negative activation terminal.
21. The apparatus of claim 20, wherein the inverter module comprises: an inverter input port coupled to the NAND gate output port, and an inverter output port coupled to the positive activation terminal, and wherein the buffer module comprises: a buffer input port coupled to the NAND gate output port, and a buffer output port coupled to the negative activation terminal.
22. The apparatus of claim 21, wherein the first CML-to-CMOS converter, the second CML-to-CMOS converter, the NAND gate, the buffer module, and the inverter module comprise p-channel metal-oxide semiconductor (PMOS) transistors and re- 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 clock 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 the signals 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 both signals 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 signals 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 signal Q.sub.2 as in the frequency detector 100, the disclosed embodiments activate the charge pump only when signal Q.sub.1 is at a logic high level and signal 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 signals 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
(28) As shown in Table 1, the NAND gate 540 produces an output with a logic low level only when signals 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.
(29) The DFF 513 samples signals 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.
(30)
(31) 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.
(32) 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.
(33) 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.
(34) 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.
(35) 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.
(36)
(37)
(38)
(39) 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 V.sub.A and produces an inverse of the signal V.sub.A, shown as VOUTP. The inverter circuit 932 is coupled to the signal V.sub.B and produces an inverse of the signal V.sub.B, shown as VOUTM. The signals VOUTP and VOUTB comprise voltage levels with respect to V.sub.DD and GND, which are CMOS voltage levels.
(40)
(41)
(42)
(43)
(44) 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.
(45) 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.