The present invention relates generally to integrated circuits, and more particularly, to phase locked loops (PLL).
In electronic systems, good clock distribution is very important to the overall performance of the electronic systems in general. Unwanted clock skew and jitter typically result from poor clock distribution and cause problems in the design and operation of the electronic systems. Techniques have been developed using PLLs to mitigate the effect of these problems to manageable levels. Therefore, PLLs are widely used in electronic circuits.
When PLLs are implemented in integrated circuits (IC), variations in behavior may occur due to device mismatch, offset, and/or leakage. These undesirable variations may affect the static phase error (SPE) of signals sampled by the output clock signals of the PLLs. The SPE is defined as the deviation from the crossing of a sampling clock to the center of an eye diagram of the signals sampled.
However, the conventional PLL suffers from a number of disadvantages. One disadvantage of the conventional technology is the extra deterministic jitter, also known as inter symbol interference (ISI). The ISI may be generated as the fixed path delays are used to tune the SPE. Furthermore, since various offsets and mismatches in the conventional PLL might be random, having one fixed delay setting as provided by the fixed delay elements 110 in
The present invention will be understood more fully from the detailed description that follows and from the accompanying drawings, which however, should not be taken to limit the appended claims to the specific embodiments shown, but are for explanation and understanding only.
In the following description, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In other instances, well-known circuits, structures, and techniques have not been shown in detail in order not to obscure the understanding of this description.
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 do not necessarily all refer to the same embodiment. Furthermore, the term “to connect” as used in the current description may include both to directly connect and to indirectly connect. Likewise, the term “to couple” as used herein may include both to directly couple and to indirectly couple.
Note that any or all of the components and the associated hardware illustrated in
In one embodiment, the offset compensation circuit 230 provides an offset current to the charge pump 211. The charge pump 211 may be pre-offset biased. For example, the charge pump 211 may be pre-offset biased at 32 uA. The charge pump 211 provides an up current (Iup) and a down current (Idn) to the loop filter 213. The loop filter 213 may include an active filter or a passive filter. The loop filter 213 outputs an up voltage (Vpu) and a down voltage (Vpd) to the VCO 215. Then the VCO 215 generates an output clock signal (vcoclk) based on Vpu and Vpd. The VCO 215 sends vcoclk to the frequency divider 217, which divides the frequency of vcoclk by a predetermined value, N, and generates a feedback clock signal, fb_clk.
In one embodiment, a reference clock signal (ref_clk) and fb_clk are input to the PFD 219. Based on fb_clk and ref_clk, the PFD 219 outputs at least two signals, pfd_up and pfd_dn, to the charge pump 211 to provide feedback to the charge pump 211. In some embodiments, vcoclk is input to the PD 218. A data signal (data_in) is also input to the PD 218. Based on vcoclk and data_in, the PD 218 outputs two signals, UP and DN, to the charge pump 211 to provide feedback to the charge pump 211. In addition to the PD 218, vcoclk and data_in are also input to the sampling flip-flop 220. The sampling flip-flop 220 recovers data_in using vcoclk and the recovered data is output at the Q-terminal of the sampling flip-flop 220.
In one embodiment, the PLL 200 is used in a transmit loop in a networked device (e.g., a router, a switch, etc.) to transmit signals. Such a PLL 200 may include the PFD 219, but not the PD 218. In an alternative embodiment, the PLL 200 is used in a receive loop in a networked device (e.g., a router, a switch, etc.) to receive incoming signals. Such a PLL 200 may include the PD 218, but not the PFD 219. Alternatively, a PLL 200 in a receive loop may include both the PD 218 and the PFD 219 such that the PFD 219 loop gets a coarse (or initial) frequency lock by pulling the frequency of vcoclk closer to the frequency of data_in. Then the PLL 200 may switch to the PD 218 loop. Such a dual loop design may prevent false locking of the PLL 200.
The programmable current source 235 generates an offset current based on the setting from the MUX 233. Unlike the conventional design shown in
In one embodiment, the programmable current source 235 includes a number of parallel branches. Each branch includes a fixed current source 241 (e.g., 4 uA, 2 uA, etc.) and a switch S[i] 243, where i corresponds to the branch number. In the embodiments illustrated in
In one embodiment, the MUX 233 may receive the second input from a source external to the integrated circuit (IC) in which the PLL 200 is implemented, such as automated testing equipment (ATE). Alternatively, the MUX 233 may receive the second input from a state machine monitoring another piece of logic in the IC. Thus, the setting of the offset compensation circuit 230 may be changed in real time by the state machine.
An example is provided below to illustrate the operation of one embodiment of the PLL 200 with the offset compensation circuit 230. In the following example, the charge pump 211 is already pre-offset with 32 uA. Thus, a default setting for the programmable current source 235 in
During testing of the PLL 200, the ATE may look for the left boundary 255 and the right boundary 257 in the eye diagram 209 of data_in from the PLL 200 output to determine the width of the eye opening (i.e., the width between the left boundary 255 and the right boundary 257). The ATE may program the storage device 231 according to the width. In some embodiments, the static phase skew between the reference clock signal (ref_clk in
Referring to
Based on the width of the eye opening, processing logic writes a value in a storage device (e.g., storage device 231 in
One advantage of the improved PLL is that the compensation may be performed in a low frequency path. It is in general more difficult to determine the proper amount of compensation for the PVT mismatches in the PLL at high frequencies. Therefore, performing the compensation at a low frequency is typically preferred. Furthermore, the technique discussed above does not add inter-symbol interference (ISI) jitter to test the PLL, where ISI is usually caused by limited channel bandwidth. In some embodiments, the resolution for the SPE correction depends on the number of bits in the storage device 231, and hence, may be readily designed to be higher than the conventional design. Moreover, reducing the SPE makes it possible for a clock de-skew or zero delay buffer (ZDB) application to have a true zero delay between the reference clock signal and the feedback clock signal.
Another advantage of the improved PLL is to allow screening of the PLL by measuring the width of the eye opening in the corresponding eye diagram instead of introducing some predetermined amount of jitter to the PLL during testing. Introducing jitter to the PLL during testing is not preferred because it is generally difficult to control the amount of jitter introduced, and hence, the conventional screening of PLLs is prone to error. Moreover, one should appreciate that the offset compensation technique discussed above is applicable to both clock data recovery (CDR) applications, such as in a receive loop, and ZDB applications, such as in a transmit loop.
Note that any or all of the components of the system 400 and associated hardwire may be used in various embodiments of the present invention. However, it can be appreciated that other configurations of the systems may include additional or fewer components than those illustrated in
The foregoing discussion merely describes some exemplary embodiments of the present invention. One skilled in the art will readily recognize from such discussion, the accompanying drawings, and the claims that various modifications can be made without departing from the spirit and scope of the appended claims. The description is thus to be regarded as illustrative instead of limiting.
This application claims the benefit of U.S. Provisional Application No. 60/505,198, filed on Sep. 22, 2003.
Number | Name | Date | Kind |
---|---|---|---|
5355097 | Scott et al. | Oct 1994 | A |
5745011 | Scott | Apr 1998 | A |
5896068 | Moyal | Apr 1999 | A |
5952888 | Scott | Sep 1999 | A |
6084479 | Duffy et al. | Jul 2000 | A |
6177843 | Chou et al. | Jan 2001 | B1 |
6351168 | Li et al. | Feb 2002 | B1 |
6373302 | Li et al. | Apr 2002 | B1 |
6628171 | Chou et al. | Sep 2003 | B1 |
7058120 | Lu et al. | Jun 2006 | B1 |
7142622 | Brunn et al. | Nov 2006 | B1 |
20030020526 | Ingino, Jr. | Jan 2003 | A1 |
20030223526 | Sorna | Dec 2003 | A1 |
20040033793 | Gauthier et al. | Feb 2004 | A1 |
20040210790 | Moon et al. | Oct 2004 | A1 |
Number | Date | Country | |
---|---|---|---|
60505198 | Sep 2003 | US |