This application claims priority to India Provisional Application No. 202041003223, filed Jan. 24, 2020, which is hereby incorporated by reference.
In serial communications, serial data is transmitted from a transmitter to a receiver. In some serial communication techniques, a dock is not transmitted along with the data. Instead, the receiver includes a clock and data recovery (CDR) circuit to extract a clock from the serial data and use the extracted dock to decode the transmitted symbols.
Some CDR implementations require the use of a reference dock. A reference clock for a CDR circuit is generated external to the chip containing the receiver and thus a pin is dedicated for use in receiving the reference dock. In lossy channels, the serial data received by the receiver may suffer from large inter-symbol interference.
In one example, a clock data recovery circuit includes a phase detector (PD) having a data input, a second input, and an output. The circuit also includes a filter, first and second charge pumps, a voltage-controlled oscillator (VCO), and a frequency detector (FD). The first charge pump couples between the output of the PD and the filter. The VCO has first and second inputs and an output. The first input of the VCO couples to the filter, and the VCO output couple to the second input of the PD. The FD has a data input, a second input, and first and second outputs. The FD second output couples to the second input of the VCO. The FD data input couples to the data input of the phase detector, and the FD second input couples to the output of the VCO. The second charge pump couples between the FD first output and the filter.
For a detailed description of various examples, reference will now be made to the accompanying drawings in which:
As explained above, some CDR implementations require the use of an externally-supplied reference clock. Such reference clocks generally necessitate a dedicate pin on the chip to receive the externally-generated reference clock. The use of a dedicated pin drives up the bill of material (BOM) costs and complicates the design for the printed circuit board on which the receiver requiring the externally-supplied reference clock is to be used. The examples described herein are directed to a CDR circuit that does not require an externally-supplied reference clock. Further, the CDR circuit described herein is data-modulation-technique independent meaning that the CDR circuit can recover a clock from serial data that has been modulated with any of a variety of modulation techniques (e.g., pulse amplitude modulation (PAM), non-return-to-zero (NRZ), etc.).
FD 220 generates UP/DN signals 221 to its corresponding charge pump 206 based on the frequency difference between the transmit data rate and the recovered clock frequency. FD 220 also generates DIGITAL CODE 222 to the VCO 210. DIGITAL CODE is generated by FD 220 as explained below and also controls the frequency of the VCO's VCO CLOCK. When CDR 130 is “in lock” (i.e., locked to the transmit data frequency), VCO CLOCK represents the clock extracted from the transmit data and can be used by a data recovery circuit to recover the transmitted tones.
As can be seen in
Inductor L1 is coupled between VDD and the drain of M1 and the capacitors on the left-side of the schematic at node X. L2 is coupled between VDD and the drain of M2 and the capacitors on the right-side of the schematic at node Y. The gate of M1 is coupled to node Y and the gate of M2 is coupled to node X. A current source Iss is coupled to the sources of M1 and M2 and provides bias current through M1 and M2.
The gate of M3 is coupled to node X. The drain and source of M3 are coupled together and receive the control voltage VCTRL. Similarly, the gate of M4 is coupled to node Y. The drain and source of M4 are coupled together and also receive the control voltage VCTRL. The frequency of oscillation of an LC VCO decreases with increasing capacitance C connected to nodes X and Y. This capacitance C can be split into the capacitance Cx that is controlled by the digital code and another capacitance Cy that is usually a “varactor” controlled by the control voltage VCTRL. The output of the VCO of
The output from the sampler 410 comprises a series of discrete-time sampled analog voltages which are then provided to SIGN 420. SIGN 420 quantizes the sampled voltages to produce x(n). SIGN 420 outputs a +1 (or equivalent) for each input sampled voltage that is equal to or greater than a threshold (e.g., 0); otherwise (for an input sampled voltage that is less than the threshold), SIGN 420 outputs −1 (or equivalent). As such, SIGN 420 converts the times series of input sampled voltages from sampler 410 to an output series x(n) of +1's and −1's.
As will be explained below regarding
As shown above, converting the sampled voltages from sampler 410 or x(n) from SIGN 420 directly to the frequency domain by, for example, a discrete Fourier transformer will result in a zero spectral value at the transmit data rate. As such, it would be of no use to compute a discrete Fourier transform (DFT) of the sampled voltages from sampler 410 or x(n). Instead, x(n) is provided to transition detector 429 which produces output signal y(n). Transition detector 429 includes a multiplier 440 and a delay element 430, and computes y(n) as x(n)×(x(n−1), that is the product of x(n) with a one sample-delayed version of x(n). In one implementation, multiplier 440 is implemented as an exclusive-OR gate. In general, the transition detector 429 is any non-linear operation that ensures that there is a non-zero value of the Fourier transform of the output at the transmit data rate.
Computing the DFT of y(n) advantageously results in a non-zero spectral tone at the transmit data rate. For example, for a lossless channel, the Discrete-time-Fourier-transform of y(n) can be shown to be
where Ts is the sampling rate of the clock used in the sampler 410. Assuming that
and hence y(n) is a convenient choice for extracting the transmit data rate. In one implementation, the sampling rate Ts is chosen to be 1/(4*fbrx), where fbrx is the recovered clock frequency, thus representing an oversampling factor of 4.
The peak frequency detector 520 receives. ŷ(k) and determines ŷpk and fpk. The value ŷpk is the magnitude of the largest spectral tone which occurs at the transmit baud rate and fpk is the frequency of the peak tone (i.e., fpk represents the transmit baud date). Peak frequency detector 520 may be implemented as a discrete digital circuit comprising a combination of logic gates, flip-flops, comparators, etc. and may be synthesized based on the functionality described herein using any suitable circuit synthesization tool.
At 620, if it is determined that the absolute value of ŷ(k) is not greater than ŷpk, then operation 630 in which ŷpk and fpk are updated is skipped. Once index k has reached the end of the DFT spectrum, the process stops.
As is shown in
At 710 and 720, the digital code generator FSM 330 initializes DIGITAL CODE to its lowest value (e.g., 0) and initializes the value ŷpkmax to the current ŷpk value. The current ŷpk value is the maximum frequency tone value with the DIGITAL CODE initialized to 0. The process will iteratively increase the DIGITAL CODE, sequencing the DIGITAL CODE upward until DIGITAL CODE reaches its maximum value (DIGITAL CODE MAX). In one example, DIGITAL CODE is an m-bit binary value and is sequenced from [00 . . . 0] to [11 . . . 1]. In some implementations, DIGITAL CODE is initialized to its maximum value and then decremented with each iteration through the process to its lowest value.
At 730, the digital code generator FSM 330 determines whether ŷpkmax is less than ŷpk (for the current value of DIGITAL CODE). The first time that operation 730 is performed ŷpkmax of course equals ŷpk, but such may not be the case for each successive iteration through the method. If ŷpkmax is less than ŷpk, then a temporary variable DIGITAL CODE OPT is set to the current value of DIGITAL CODE at 735, and ŷpkmax is reset to the current value of ŷpk at 740. At 750, the digital code generator FSM 330 determines whether the current value of DIGITAL CODE has reached its maximum value (DIGITAL CODE MAX). If DIGITAL CODE has not reached its maximum value, then at 760, the digital code generator FSM 330 increments DIGITAL CODE and control loops back to operation 730 at which the digital code generator FSM 330 determines whether the previously determined ŷpkmax is less than the new ŷpk for the new DIGITAL CODE setting. Once DIGITAL CODE reaches its maximum value (as determined at 750), the value of DIGITAL CODE to be used from that point forward by the CDR circuit 130 is set at 770 to DIGITAL CODE OPT, that is, the DIGITAL CODE that was determined to result in the largest spectral tone.
Once the appropriate DIGITAL CODE is determined as illustrated in the example method 700 of
The frequency resolution of the FD 220 is less than the lock range of the PD 202. As such, the PD 202 is able to lock on to the transmit baud rate. Once the CDR circuit 130 achieves frequency lock to the transmit baud rate (within a predetermined threshold), the flag lock_det is set to a value of 1 to indicate that the lock condition has been achieved. At 840, the method 800 determines whether lock_det is 1. If it is not 1, then another one or more UP/DN pulses are generated at 830. Once lock is achieved (lock_det equals 1), the process of generating UP/DN pulses to vary the magnitude of VCTRL ceases and VCTRL remains steady at its current level, with occasional changes due to the always-on PD 202 loop. In addition, there are other ways to determine that the phase-frequency-lock has occurred, which can be used to stop the generation of UP/PDN pulses.
The term “couple” is used throughout the specification. The term may cover connections, communications, or signal paths that enable a functional relationship consistent with the description of the present disclosure. For example, if device A generates a signal to control device B to perform an action, in a first example device A is coupled to device B, or in a second example device A is coupled to device B through intervening component C if intervening component C does not substantially alter the functional relationship between device A and device B such that device B is controlled by device A via the control signal generated by device A. Modifications are possible in the described embodiments, and other embodiments are possible, within the scope of the claims.
Number | Date | Country | Kind |
---|---|---|---|
202041003223 | Jan 2020 | IN | national |
Number | Name | Date | Kind |
---|---|---|---|
5610954 | Miyashita | Mar 1997 | A |
5818304 | Hogeboom | Oct 1998 | A |
7439816 | Lombaard | Oct 2008 | B1 |
7728675 | Kennedy | Jun 2010 | B1 |
20050242890 | Wu | Nov 2005 | A1 |
20070021933 | Sanduleanu | Jan 2007 | A1 |
20090289673 | Chiu | Nov 2009 | A1 |
20150213873 | Joo | Jul 2015 | A1 |
20150270947 | Tiwari | Sep 2015 | A1 |
20160211855 | Unruh | Jul 2016 | A1 |
20170163267 | Guinea Trigo | Jun 2017 | A1 |
Entry |
---|
Richman, Donald. “Color-Carrier Reference Phase Synchronization Accuracy in NTSC Color Television*” R583. NTSC Technical Monograph No. 7, Proceedings of the I-R-E, Jan. 1954, pp. 106-133. |
Hogge, Charles R. “A Self Correcting Clock Recovery Circuit.” Journal of Lightwave Technology, vol. LT-3, No. 6, Dec. 1985, pp. 1312-1314. |
Pottbacker, Ansgar et al. “A Si Bipolar Phase and Frequency Detector IC for Clock Extraction up to 8 Gb/s.” IEEE Journal of Solid-State Circuits, vol. 27, No. 12, Dec. 1992, pp. 1747-1751. |
Bellisio, J.A. “A New Phase-Locked Timing Recovery Method for Digital Regenerators.” In 1976 International Conference on Communications, vol. 1, ICC76, Jun. 14-16, 1976, Philadelphia, PA, pp. 10-17—10-20. |
Alexander, J.D. H. “Clock Recovery From Random Binary Signals.” Electronics Letters Oct. 30, 1975, vol. 11, No. 22, pp. 541-542 (Downloaded from Texas Instruments Virtual Library). |