The present embodiments of the invention relate generally to phase interpolators and, more specifically, relate to such interpolators useful in recovering a clock from serial data sent to a receiver.
In many data communication arrangements, separate clock signals are not transmitted with the data. This requires recovering the clock from the data at the receiving end in order to then recover the data. When transmitting the clocked data across a transmission medium, noise in the data signal, such as jitter and phase skew, reduces the sampling window for the data. Duty cycle distortion, for instance, is caused by non-symmetric positive and negative duty cycles of a data symbol and can show up either as a high frequency correlated jitter or as a phase step. The jitter, phase skew, and duty cycle distortion reduce the perceived sampling window by the receiver.
Phase interpolator circuits are increasingly used in embedded clock data recovery systems to position the sampling clock at the center of the data eye. Phase interpolators typically use fixed phase clocks, generated from a Phase Locked Loop (PLL), and mix them appropriately to generate interpolated clocks that can be adjusted to be at the center of the data bit. Some implementations of phase interpolator circuitry contain pre-conditioner circuitry, mixer circuitry, and an amplifier. With the phase interpolator operating at multiple Gb/S speeds, any duty cycle corruption can result in improperly sampled data.
The fixed phase clocks at the input of the phase interpolator may have some cycle-cycle jitter from the source and power supply noise. There is also a possibility of phase skew between the adjacent clocks that are mixed in the phase interpolator. This jitter and phase skew lead to duty cycle distortion in phase interpolator outputs.
A conventional phase interpolator circuit is very sensitive to input jitter and layout mismatches which may result in poor quality clocks. With jitter and phase skew in the input clocks, the outputs of the pre-conditioner circuitry in a phase interpolator may have different common mode voltages. These different common mode voltages cause differing operating points in the differential mixer circuitry of the phase interpolator. This may result in duty cycle distortion in the phase interpolator output clocks and, consequently, improperly sampled data. With higher speeds and jitter associated with clocks increasing, a phase interpolator that can provide cleaner clocks, even with significant phase skew and power supply noise induced jitter on the input clocks, will help reduce the occurrence of improperly sampled data.
The present invention will be understood more fully from the detailed description given below and from the accompanying drawings of various embodiments of the invention. The drawings, however, should not be taken to limit the invention to the specific embodiments, but are for explanation and understanding only.
A method and apparatus to reduce duty cycle distortion in a phase interpolator circuit is described. Reference in the specification to “one embodiment” or “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the invention. The appearances of the phrase “in one embodiment” in various places in the specification are not necessarily all referring to the same embodiment.
In the following description, numerous details are set forth. It will be apparent, however, to one skilled in the art, that the embodiments of the invention may be practiced without these specific details. In other instances, well-known structures and devices are shown in block diagram form, rather than in detail, in order to avoid obscuring the present invention.
Transmitter 102 transmits the serial data signal 130 including, for example, a series of data symbols, to receiver 120. CDR unit 125 of receiver 120 samples serial data signal 130 (for example, symbols included in the serial data signal) to recover data from the serial data signal. CDR unit 125 samples serial data signal 130 at sample times established by a sampling signal 140 generated locally at receiver 120. In some embodiments, sampling signal 140 may be generated by a Phase Locked Loop (PLL).
In recovering data from the serial data signal 130, sampling signal 140 causes CDR unit 125 to sample the serial data signal at sample times coinciding with occurrences of a maximum Signal-to-Noise (S/N) level of the serial data signal. Often, however, there is a phase offset between the serial data signal and the sample signal, causing CDR unit 125 to sample serial data signal 130 at sub-optimal sample times, which can cause errors in recovering the data from serial data signal 130.
The control signal from block 220 is used to vary the phase of the recovered remote clock until it is in a desired frequency and phase relationship with the incoming data. The recovered clock on line 290 is provided as an output and is used as a clock input to flip-flop 240 that is used to recover the data.
In the illustrated embodiment, the phase interpolator 300 includes three circuitry units: a pre-conditioner 310, a mixer 320, and an amplifier 330. Fixed phase clocks from a Phase Locked Loop (PLL) 350 are used as input clocks to the pre-conditioner 310. These fixed phase clocks are converted to triangle waves by the pre-conditioner 310. The pre-conditioner 310 is a square-to-triangle waveform shaper, which generates good overlap between the two phases. The output of the pre-conditioner 310 is a resistor-capacitor (RC) type of waveform rather than a triangle. This basically provides a good region of overlap between any two adjacent pre-conditioner output phases. The two output phases of the pre-conditioner are coupled to a common mode circuit 360.
Common mode circuit 360 contains circuitry to keep the pre-conditioner outputs biased at the same voltage. It forces the common mode of the pre-conditioner outputs to be the same, and consequently helps the pre-conditioner output signals swing around a fixed common mode to produce good differential signal crossovers and ideal clock outputs. Implementing the common mode circuit 360 may help produce proper phase spacing of the phase interpolator outputs after amplification. The output of the common mode circuit 360 is coupled to a mixer circuit 320.
At mixer circuit 320, the signal phases outputted from the pre-conditioner 310 are mixed proportionately based on proportionate current weighing. The mixer 320 takes in any of the plurality of adjacent triangular waves and mixes them to produce a resultant output that is close to sinusoidal in shape. The output of the mixer is controlled to produce an output whose phase is somewhere between the mixer input phases.
The proportionate current weighting implemented in the mixer cirucit is controlled by a Digital-to-Analog Converter (DAC) 340. The DAC 240 controls are generated based on edge and data samples, as well as the current position of the sampling clock. Proportional weighting of currents between IQ1 and IQ2, illustrated in
The output of the mixer 320 is analog and is fed to another common mode circuit 370. Common mode circuit 370 operates analogously to common mode circuit 360 to facilitate proper phase spacing of the outputs of mixer 320. Embodiments of the present invention may not require both common mode circuits 360 and 370. Some embodiments may implement only one of these common mode circuits, while other embodiments may implement both common mode circuits.
The output of the common mode circuit 370 is fed to an amplifier 330 that produces rail to rail (0V to VDD voltage swing) sampling clocks. Amplifier 330 may in some embodiments be a CMOS (Complementary Metal Oxide Semiconductor) level converter.
In
Furthermore, different common modes may cause mixer crossovers to be significantly different from expected values and result in long pulse-short pulse scenarios, thereby leading to duty cycle distortion in the phase interpolator outputs. With phase skews in the pre-conditioner input clocks, the pre-conditioner outputs swing around different common modes causing shifting of mixer output bias voltages. With phase skews (time) present, mixer output bias skews (voltage) result, leaving bad duty cycle clocks. In other words, poor phase spacing of the output clocks results.
In
The common mode circuits 360, 370 include an alternating current (AC) coupling capacitor 610, 630, together with a common mode bias keeper circuit 620, 640. AC coupling capacitor 610, 630 and common mode bias keeper circuit 620, 640 operate together to maintain the common mode of the input signals to the common mode circuit 360, 370.
A common mode circuit 360 may be located between the pre-conditioner circuitry 310 and the mixer circuitry 320. Alternatively, in other embodiments, common mode circuit 370 may be located between the mixer circuitry 320 and the amplifier 330. One embodiment of the phase interpolator may include both common mode circuit 370 between the mixer circuitry 320 and the amplifier 330, and common mode circuit 360 between the pre-conditioner circuitry 310 and the mixer circuitry 320.
The embodiment of phase interpolator 300 presented in
Method 700 may be implemented in the embodiments of phase interpolator illustrated in
Embodiments of the phase interpolator and its accompanying data recovery scheme may be used in serial interfaces such as PCI Express. However, the embodiments of the phase interpolator implementation presented here are useful in any arrangement where serial data transfer over a networks system is desired.
Whereas many alterations and modifications of the present invention will no doubt become apparent to a person of ordinary skill in the art after having read the foregoing description, it is to be understood that any particular embodiment shown and described by way of illustration is in no way intended to be considered limiting. Therefore, references to details of various embodiments are not intended to limit the scope of the claims, which in themselves recite only those features regarded as the invention.