The present invention relates to a Clock Data Recovery (CDR) restoring a clock and data from the received data bit stream in the serial data communication, and a transceiver implemented thereof, and more particularly the all-digital circuit technology for implementing the CDR device without any analog part.
Recently, a serial link transceiver tends to be integrated in a single chip due to the boosting utilization of the high-speed serial link which can transmit gigabits per second. The sender transmits only the data stream without a clock to the receiver through the communication channel in the chip-to-chip communication. A clock and data recovery, which extracts a clock and data from the transmitted serial data, is needed for the receiver to process the serial data bits which are transmitted at the rate of gigabit per second.
The state of the art in this field relies on the analog scheme wherein the voltage controlled oscillator (VCO) as well as the charge pump phase-locked loop (CPPLL) is implemented by an analog circuitry.
Since the phase lag implies that the clock frequency is slow, the CDR circuit generates the UP signal, which turns on the transistor (42) for pumping up the charge to the capacitor (41) and thereby increasing the capacitor voltage. The frequency of the recovered clock, which is generated by the VCO, is tuned to increase since the voltage applied at the VCO is raised.
To the contrary, if the phase which the phase detector (10) detects at the sampling point is leading, we need to reduce the frequency of the clock. Therefore, the circuit activates the DN signal for the charge pump circuit (40) to pull down the charges of the capacitor (41) in such a way that the voltage at the capacitor falls down.
Thus, the clock data recovery circuit according to the prior art feeds back the output of the VCO (30) and finely tunes the clock by monitoring if the phase of the serial data leads or lags. The frequency detector (20) sets the frequency of the clock to the reference value by locking the feed-back circuit if there exists a significant amount of errors between the frequency of the serial data and the recovered clock frequency at the receiver.
The prior-art clock data recovery utilizing the CPPLL has been implemented either by analogy circuits or by the mixture of analog and digital circuits. Namely, the conventional CDR is implemented by the mixed analog-digital circuits wherein the phase detector(10) and the frequency detector(20) are implemented by digital circuits while the charge pump circuits(40) and the voltage controlled oscillators (30), depicted at the right block of
More recently, the design rule of the semiconductor integrated circuit has been reduced down to sub-100 nanometers as the integration density of the semiconductor integrated circuits increases. Accordingly, the thickness of the oxide film has been reduced down to several nanometers or several tens nanometers in compliance with the scaling law.
Capacitors integrated in the semiconductor integrated circuit are usually implemented with gate oxide layer. If the thickness of the gate oxide film is reduced down to the scale of nanometer, the current leakage problem becomes significant in the capacitors (41) comprising the charge pump circuits (40). Consequently, it is not easy to restore a clock by fine-tuning in the nanometer-scaled integrated circuit since the voltage controlling the voltage controlled oscillator (30) is varied by the leakage current.
Furthermore, since the power supply for the 100 nanometer design rule is less than 1.0 V, it is impossible to implement the current sources (45) for the charge pump circuit (40) in the 100 nanometer-scaled semiconductor integrated circuit.
If the current sources are to be implemented with MOS field-effect transistors, the MOS transistors should be operated in the pinch-off mode. For this mode of operation, we need at least 1.0 V of voltage swing from the power supply line to the ground line. Therefore, we find some difficulties in implementing the analog charge pump circuits in the sub-100 nanometer integrated circuits, which has a constraint in the power supply voltage wherein the power supply voltage should be less than 1.0 V.
Accordingly, the goal of the present invention is to provide an all-digital CDR scheme wherein the charge pump circuit and the voltage controlled oscillator, which were the analog parts in the conventional CDR technology, are now implemented with digital circuits.
Another goal of the present invention is to provide a method and configuration architecture implemented thereof for eliminating the jitters due to the quantization errors and for resolving the inherent problem of the sluggish operation of digital filters when the conventional CDR circuitry including the charge pump circuit as well as the voltage controlled oscillator is to be converted into the digital circuitry either via digital filters or via digital circuits.
Additional goal of the present invention is to provide a method and circuit implemented thereof for minimizing the hardware size of the circuit block of the digitally controlled oscillator (DCO), for reducing the generation of glitches, and for equalizing tuning steps in the frequency scale.
The present invention discloses how to implement an all-digital CDR device, and resolves the issues of jitters which are inevitable due to the leakage current in the conventional fine-pitch analog integrated circuits. Accordingly, the present invention makes it possible to operate the CDR circuit even if we have to design an all-digital CDR circuit under the restriction that the power supply voltage should be less than 1.0 V. In addition, the present invention provides a method to resolve a variety of technical issues which we are faced with during the step of designing an all-digital CDR device.
To achieve the aforementioned goals, the CDR device in accordance with the present invention has features in that charge pump circuit is implemented via digital filter circuits while voltage controlled oscillator (VCO) is implemented via digitally controlled oscillator (DCO). The DCO in the present invention comprises a multi-stage inverter chain and a variable-resistor switching matrix between the power supply and each inverter of the chain and adjusts the supply current for each inverter by varying the resistance value of each element of the switching matrix to tune the oscillating frequency.
As a preferred embodiment of the present invention, a variable resistance switching matrix is implemented by PMOS transistor arrays wherein the PMOS transistors act as variable resistors since the amount of conducting current is controlled by the input gate voltage. The present invention proposes an approach of inserting vertical resistances between the rows of the switching matrix in order to equalize the frequency tuning steps both at high levels and at low levels. Obviously, the vertical resistance is implemented by a PMOS transistor while the gate is grounded.
In addition, the present invention employs 1st ΣΔ (sigma-delta) modulator to implement the dithering algorithm in an effort to resolve the jitter noise problem which is caused by the quantization errors when comparison is made between digitally controlled oscillator (DCO) and voltage controlled oscillator (VCO) of analog type. For instance, the present invention prevents the generation of quantization errors for a digital signal, for instance, having 10 MSB (most significant bit) bits and additional 7 LSB bits for dithering in order to secure 17 bit resolution power.
Since the chip size may blow up due to the expansion of the hardware block of the control circuit when the digital code for the control of the oscillating frequency of the DCO is binary, the CDR of the present invention tunes the DCO with minimum number of routing lines by employing the segmented thermometer scheme.
The subject matters of the present invention are described in appended claims. The present invention relates to an all-digital clock data recovery (CDR) which is implemented by a digital filter and a digitally controlled oscillator. The CDR of the present invention comprises a phase detector producing a digital sequence of data and a digital sequence of edge by sampling the serial data stream with a clock, a de-serializer transforming the digital sequences of data and edge into n-bit bus, a digitally controlled oscillator (DCO) implemented by a multi-stage chain of inverters having a variable resistance switching matrix wherein the resistance of each element of the variable resistance switching matrix is varied in such a way that the supply current being fed to each inverter is controlled in pursuant to a digital control code, and thereby producing a clock whose oscillation frequency is updated and fed to the phase detector, a digital synthesis control logic circuit generating a thermometer-code-type digital control code out of the n-bit data and n-bit edge from the de-serializer wherein the thermometer-code-type digital control code is fed to the DCO, and a 2-bit direct forward path directly controlling the frequency of the clock being produced by the DCO with an operating speed which is faster than the digital synthesis control logic circuit by n times.
The digital synthesis control logic circuit of the CDR in accordance with the invention comprises an UP/DN signal generator which produces an instruction code in the range of the levels −n˜+n either for the frequency increase or for the frequency decrease from the n-bit data and n-bit edge data which was generated by the de-serializer of the digital synthesis control logic circuits; an IIR digital filter which produces (m+k) bit codes by integrating the UP/DN signals; a 1st sigma-delta modulator which has a resolution power of (m+k) bits and produces m-bit digital code from the uppermost m MSB bits through dithering the lowermost k LSB bits in (m+k) bit codes which are generated by the IIR digital filter; a binary to segment thermometer converter which converts a total of 2m frequency tuning level into 2m/2+(2m/2−1) bit thermometer code which is thereafter fed to the row and column routing wires of the variable resistance switching matrix; and a frequency detector which enforces the reference frequency in digital code when the difference between the clock frequency of the DCO and the reference frequency crosses over the threshold.
Furthermore, the glitch elimination method of the present invention employs a scheme as a preferable embodiment wherein each cell of a first column in the variable resistance switching matrix is set “on” when the cell value of the corresponding row is “1”, while each cell of the row of even numbering is set “on” when the corresponding column code is “1”, and each cell of the row of odd numbering is set “on” when the corresponding column code is “0”.
Further, the variable resistance switching matrix which is a constituent of the DCO in accordance with the present invention comprises 2m/2×2m/2 cells for equalizing the frequency tuning steps and additional cells for initializing the oscillation when powered up wherein those cells are implemented by PMOS gate-controlled resistance matrix. More preferably, additional PMOS voltage controlled resistors with gate grounded can be inserted between the rows.
Detailed descriptions will be made on preferred embodiments and constitutional features of the CDR in accordance with the present invention with reference to attached figures from
However, there are still substantial technical issues that need to be resolved if we want to implement the entire blocks of the CDR as well as the digital filter (100) and DCO (200), as shown in
Furthermore, if the serial data bit stream fed to the phase detector (10) happens to exhibit no up/down change for a while, for example, if either the signal “1” or the signal “0” repeats for several consecutive bits like 11111111000 . . . , the errors are inevitably accumulated in the phase or frequency detection.
Therefore, the ADPLL (all-digital phase-locked loop) CDR in accordance with the present invention also provides a solution to overcome the technical hurdles such as the quantization errors and accumulated errors in phase and frequency detection for making the entire CDR blocks be implemented only with digital circuit.
Moreover, since the operating speed of the digital filter (100), which is a constituent of the CDR according to the present invention, is as slow as a few hundreds of MHz, it is difficult to synchronize the operation of the digital filter with that of the phase detector (10) processing the serial data stream which is transmitted at a rate of gigabit per second. The present invention proposes a solution to overcome the technical difficulties due to slow operation of digital filter circuits when we want to implement the CDR with all-digital circuits.
Data sampler & re-timer (9) samples the data and edge and thereafter performs XOR gate(65) operation, which is followed by the integration of the phase information by the integrator (66) for the control of digitally controlled oscillator(DCO; 200). Consequently, data sampler & re-timer (9) effectively loads an appropriate damping factor during the stage of clock recovery. In other words, data sampler & re-timer (9) directly controls the oscillator by detecting the phase information both of the data and of the edges of the serial digital data stream of the gigabit per second rate in the forward path, which enhances the stability of the tuning circuit due to a damping factor effect to the oscillator.
Furthermore, the signal values of the data and the edge, which has been de-serialized to 8-bit bus are fed to the up/down & sum (28) and transformed into 4-bit tracking data according to the level which is divided into sixteen steps (−8 to +8). The O-bit tracking data regarding the phase is now multiplied by the filter coefficient, integrated by the integrator, and then added by the digital integrator (29).
The 17-bit data from the digital integrator (29) is converted to a 10-bit data through the first-order sigma-delta modulator (300). Here, the first-order sigma-delta modulator(300) functions as a dithering device, which resolves the error-accumulation problem when the detector recognize as if there seems to be no phase change for the serial data stream because the data sequence does not go up and down and sticks to the same value in the successive bits.
In accordance with a preferred embodiment of the invention, we can employ the upper 10 bits as representing an integer number while the lower 7 bits represents the decimals for resolving the frequency error-accumulation problem. Namely, the dithering circuit compensates the quantization errors by taking into account the decimals when the serial input data does not change and sticks to the same value in the successive bits such as 11111 . . . 111.
The 10-bit digital signal from the first-order sigma-delta modulator (300) is divided into a couple of 5-bit data via binary-to-segment thermometer convertor and transformed into 32-bit thermometer bus. We can effectively reduce the size of the hardware by segmenting the 10-bit data into two 5-bit data and converting into 32-bit×32-bit thermometer signal.
The binary to segment thermometer converter (400) of the present invention transforms the 10-bit bus from the first-order sigma-delta modulator (300), namely 210=1024 level information, into a 25×25 switching matrix, namely a 32×32 switching matrix. In other words, the present invention controls the tuning of the oscillation frequency by implementing a 32×32 switching matrix in stead of having a 1023 control lines. For instance, let us suppose that we want to represent 131. Since 131=32×4+3, “4” can be expressed as “1111000 . . . 00” at row as an MSB while “3” can be expressed as “11100 . . . 000” at column as an LSB.
Referring to
However, we cannot rule out the possibility that a glitch can be produced in the segment thermometer converter according to the switching matrix scheme when the row code changes from 1 to 0 or from 0 to 1. For instance, when the data changes the level 127 (=32×3+31) to 128 (=32×4+0), the MSB of the switching matrix of the segment thermometer (400), which controls the supply current to the DCO (200), crosses over from “11100 . . . 0” to “11110000 . . . 0” while the LSB transfers from “11111 . . . 1” to “000 . . . 0”. In this case, since all the bits goes from 1 to 0, a signal noise or glitch, whatever, can be produced. The present invention proposes a novel scheme for resolving this glitch issue.
Referring to
The variable resistance switching matrix which comprises the DCO in accordance with the present invention includes additional cells for controlling the initial oscillation at the moment of power-up as well as 2m/2×2m/2 cells, which are made of PMOS gate-controlled resistance matrix, for frequency tuning. The additional cells are made of gate-grounded PMOS transistors. The gates of the first column cells are fed with the inverted row data while the gates of the even-numbered row cells are fed with OR operated data of row data and column data, and the inverted OAI data. The gates of the odd-numbered row cells are fed with OR operated data of the inverted row data and column data, and the NOT-OAI (not-or-and-invert) data of the preceding row.
As aforementioned, the present invention has a feature of controlling the input current by varying the resistance of each resistor of the 32 bit×32 bit switching matrix which is connected to the power supply. We should note, however, that the rate of the current change is 100% when the current level switches from level 1 to level 2, while the rate of current change is only 0.1% when the current level switches from level 1023 to level 1024. Consequently, we need an equalization process for the overall current change.
In order to equalize the rate of current change between the upper-part switches and the lower-part switches in the resistance switching matrix, we add a variable resistance element (91′) in the array of a first PMOS transistor (92) and insert a second PMOS transistor (92) as a vertical resistance (92′) between the rows.
The present invention has a feature of employing a charge pump PLL instead of using the conventional RC loop filter and charge pump circuit. Digitally controlled oscillator (DCO) in
DCO (200) of the present invention has an additional tuning cell as a 2-bit direct path which receives the up/down signal from the phase detector (9). The tuning cell (700) of the direct forward path directly controls the frequency of the DCO eight times faster than the integral path (not shown) and provides the stability of the circuit.
In this embodiment, digitally controlled oscillator (200) makes the UP/DOWN signals control on and off in 1 through to 8 tuning cells depending on the value of CPROP. From the perspective of bandwidth and stability of the loop circuits, it is desirable to have an equalized tuning step (fstep=fn+1/fn) for the digitally controlled oscillator (200), if possible. The equalization of the frequency tuning step implies that the frequency increases as an exponential manner, fn=f0fstepn, as the digital-controlled codes increase.
To achieve the equalization, the inventors provide a switching matrix which is constituted by additional PMOS transistors inserted between the rows. As a consequence, we can make the frequency be tuned in an exponential manner in response to the change of the row code.
The UP/DN signal generator (28) generates the up/down signals in the range of −8 to +8 levels out of the 16-bit signal which are transmitted by the 1:8 de-serializer (8) of the preceding block. Further, the IIR Filter (29) generates a 17-bit frequency code by integrating the input phase information in the range of −8˜+8 levels. Since it is technically difficult to hardware-implement a digitally controlled oscillator (200) having a resolution power of 17 bits, it is more preferable to generate a frequency control code with MSB 10 bits by dithering LSB 7 bits out of a total of 17 bits through employing a 1st-order ΣΔ modulator (300). The dithering algorithm allows us to generate a code which can control the decimals by utilizing the LSB 7 bits in case when there is no up/down change in the input serial data.
The quantization effect is shown as jitters in the time-domain.
The aforementioned somewhat widely improves the characteristics and technical advantages of the present invention so that the scope of the invention to be described later can be more clearly understood. The additional characteristics and technical advantages that constitute the scope of the present invention will be described below. The features that the disclosed concept and specific embodiments of the present invention can be instantly used as a basis designing or correcting other structure for accomplishing a similar object with the present invention should be recognized by those skilled in the art.
Further, it will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit or scope of the inventions. Thus, it is intended that the present invention covers the modifications and variations of this invention provided they come within the scope of the appended claims and their equivalents.
The present invention provides a solution to implement a fill digital CDR with sub-100 nanometer semiconductor technology by curing the leakage problem of the current source comprising the traditional PLL-type VCO. Furthermore, the present invention overcomes the jitter problem due to the leakage current of the conventional analog PLL by utilizing the digital filter and DCO for frequency tuning, which also makes it possible to program the filter coefficient even if the design rule becomes tight due to scale-down.
In addition, the present invention separates the direct forward path with the integral path in order to compensate for the slow operating speed of the digital filter wherein the integral path can be operated with a sub-clock rate. The present invention also resolves the jitter problem which is due to the quantization as well as the equalization of the frequency tuning. The CDR according to the invention can achieve a GBPS data transmission rate for 1.0 V power supply voltage.
This application claims priority under 35 USC §119 to PCT Application No. PCT/KR2009/000321, filed on Jan. 22, 2009, the contents of which are incorporated herein by reference in their entirety.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/KR2009/000321 | 1/22/2009 | WO | 00 | 4/6/2010 |