1. Field
Embodiments of the present invention relate to electronic circuits and, in particular, to delay-locked loops or any circuit incorporating phase tracking.
2. Discussion of Related Art
Delay-locked loops may be used for frequency synthesis, windowing techniques in communication interfaces, and/or other clocking applications. Traditional delay-locked loops have limitations however.
One limitation is that the tracking bandwidth, which is proportional to the loop gain, is also proportional to jitter peaking. Loop filtering is typically employed to reduce tracking bandwidth, but loop filtering merely reduces jitter peaking. Thus both poor tracking bandwidth and poor jitter response compromise the overall phase tracking.
Other limitations include longer tracking distance, which leads to increased static phase error, and low closed-loop bandwidth, which leaves a vulnerability to noise-induced jitter, or jitter accumulation, as well as other high frequency effects.
In the drawings, like reference numbers generally indicate identical, functionally similar, and/or structurally equivalent elements. The drawing in which an element first appears is indicated by the leftmost digit(s) in the reference number, in which:
According to one embodiment of the present invention, the delay element 106 receives a differential clock signal φ(t) and delays the differential clock signal φ(t) to produce a reference clock signal φreference(t). The differential clock signal φ(t) may be a sine wave, a square wave, or other suitable clock signal.
The reference clock signal φreference(t) may be coupled to the second delay element 108, which may delay the reference clock signal φreference(t) to produce a tracking and/or resultant clock signal φcenter(t). The reference clock signal φreference(t) and the tracking and/or resultant clock signal φcenter(t) may be coupled to the phase detector 102.
The tracking and/or resultant clock signal φcenter(t) may include a tracking and/or resultant phase θcenter(t). In one embodiment, the tracking and/or resultant phase θcenter(t) may be the rising edge of the tracking and/or resultant clock signal φcenter(t) when the tracking and/or resultant phase θcenter(t) is between the rising and falling edges of the reference clock signal φreference(t). In an alternative embodiment, the tracking and/or resultant phase θcenter(t) may be the falling edge of the tracking and/or resultant clock signal φcenter(t) when the tracking and/or resultant phase θcenter(t) is between the falling and rising edges of the reference clock signal φreference(t).
A rising phase θlow(t) of the reference clock signal φreference(t) may be used as a first reference phase for the phase detector 102. A falling phase θhigh(t) of the reference clock signal φreference(t) may be used as a second reference phase for the phase detector 102. The phase detector 102 may detect a difference in phase between the tracking and/or resultant phase θcenter(t) of the tracking and/or resultant clock signal φcenter(t) and the average of the rising phase θlow(t) of the reference clock signal φreference(t) and the falling phase θhigh(t) of the reference clock signal φreference(t), or
The phase detector 102 may amplify this difference in a delay control signal sr(t). In one embodiment, the delay control signal sr(t) proportionally tracks the difference in phase between the tracking and/or resultant phase θcenter(t) of the tracking and/or resultant clock signal φcenter(t) and the average of the rising phase θlow(t) of the reference clock signal φreference(t) and the falling phase θhigh(t) of the reference clock signal φreference(t) and communicates this difference to the delay elements 106, 108, and 110.
The delay control signal sr(t) may be used to define the slew rate and hence the delay through the delay elements 106, 108, and 110, and thus the delay control signal sr(t) is annotated slew rate sr(t). The amount of delay through the delay elements 106, 108, and 110 may be substantially equal.
In one embodiment, a closed loop may be formed when the new tracking and/or resultant phase θcenter(t) of the tracking and/or resultant clock signal φcenter(t) is fed back into the phase detector 102 to be re-sampled relative to the same two reference phases. The phase tracking locks when the delay control signal sr(t) converges to a near constant value, which denotes that the tracking and/or resultant phase θcenter(t) is centered between the two reference phases θhigh(t) and θlow(t)).
In one embodiment, the phase detector 102 may multiply the reference clock signal φreference(t) and the tracking and/or resultant clock signal φcenter(t) together, inverting the multiplication every other half cycle of the reference clock signal φreference(t). The phase detector 102 may then integrate the product of the reference clock signal φreference(t) and the tracking and/or resultant clock signal φcenter(t) to define the delay control signal sr(t) by how far and in which direction the tracking and/or resultant phase θcenter(t) of the tracking and/or resultant clock signal φcenter(t) is from the average of the high reference θhigh(t), (shifted by π from the low reference) and the low reference θlow(t).
Operation of the phase detector 102 may be characterized by:
where β is the size of the transistors in the phase detector 102, C is the value of the capacitance in the active integrator of the phase detector 102 described below with reference to
The delay-locked loop 100 may optionally include the operational amplifiers 112 and 114. In the illustrated embodiment, the delay element 106 is coupled to an operational amplifier 112. The delay element 108 is coupled to an operational amplifier 114. The operational amplifiers 112 and 114 may be used to amplify the signals coming out of the delay elements 106 and 108, respectively.
In the illustrated embodiment, the low reference θlow is applied to the summation junction 202, the high reference θhigh is applied to the summation junction 206 and the outputs of the summation junctions 202 and 204 are applied to the summation junction 204.
A block 208 along with 202, 204, and 206 represent the integration of the product (inverting every half cycle) of the reference clock signal φreference(t) and the tracking and/or resultant clock signal φcenter(t). This is equivalent to taking the difference between the average of the two reference phases, θlow(t) and θhigh(t), and θcenter(t) in the loop equation diagram 200 and multiplying the difference by a set factor. The Laplace transform of the behavior of block 208 may be characterized by:
where I represents the amplitude of the multiplication and C represents the value needed to provide the right dampening factor from the integration. Together I and C determine the gain of the phase detector 102, which when multiplied by the delay line gain defines the overall loop gain.
Block 210 corresponds to the delay control signal sr(t) and the delay element ΔSR(t), determining the value of κΔ, or the gain of the delay line. If there is a very sensitive delay control signal sr(t), very small variation in sr(t) may result in very large changes in delay through the delay elements 106, 108, and 110. In this way the delay line would contribute to a high loop gain (along with gain from phase detector 102) and may support quick lock-in (fast acquisition time) and/or high tracking bandwidth.
The delay control signal, sr(t), by setting the output slew rate for the delay elements 106, 108, and 110, also may define the delay ΔSR(t) through delay elements 106, 108, and 110 and also complete a feedback loop in the delay-locked loop 100. Thus, the amount of delay for delaying the clock signal φ(t) and the reference clock signal φreference(t) may be based on the difference between the average of the rising and falling phases of the reference clock signal φreference(t) and the resultant phase θcenter(t) of the tracking and/or resultant clock signal φcenter(t). The amount of delay for delaying the clock signal φ(t) and the reference clock signal φreference(t) may also be based on the direction that the tracking and/or resultant phase is from the difference between the average of the rising and falling phases of the reference clock signal and the tracking and/or resultant phase. In one embodiment, the tracking and/or resultant phase θcenter(t) may be centered between the two reference phases θlow(t) and θhigh(t).
The illustrated four-quadrant analog four-quadrant analog multiplier 302 includes eight p-channel devices 312, 314, 316, 318, 320, 322, 324, and 326, and eight n-channel devices 332, 334, 336, 338, 340, 342, 344, and 346. Power to the devices in the four-quadrant analog multiplier 302 is coupled as follows. The sources of the transistors 312 and 316 and the sources of the transistors 322 and 326 are coupled to VDD. The sources of the transistors 334 and 346 and the sources of the transistors 336 and 340 are coupled to VSS.
The devices in the four-quadrant analog multiplier 302 are coupled to each other as follows. The drain of the transistor 312 is coupled to the source of the transistor 314. The drain of the transistor 314 is coupled to the drain of the transistor 332. The source of the transistor 332 is coupled to drain of the transistor 334.
The drain of the transistor 336 is coupled to the source of the transistor 338. The drain of the transistor 338 is coupled to the drain of the transistor 320. The source of the transistor 320 is coupled to the drain of the transistor 322.
The drain of the transistor 340 is coupled to the source of the transistor 342. The drain of the transistor 342 is coupled to the drain of the transistor 324. The source of the transistor 324 is coupled to the drain of the transistor 326. The drain of the transistor 316 is coupled to the source of the transistor 318.
The drain of the transistor 318 is coupled to the drain of the transistor 344. The drain of the transistor 344 is coupled to the source of the transistor 318. The source of the transistor 344 is coupled to the drain of the transistor 346.
In the illustrated embodiment, the reference clock signal φreference(t) are differential signals coupled to the four-quadrant analog multiplier 302 as follows. The gates of the transistors 318, 338, 320, and 344 are coupled to receive the positive going differential reference clock signal φreference(t) and the gates of the transistors 314, 332, 324, and 342 are coupled to receive the negative going differential reference clock signal φreference(t).
In the illustrated embodiment, the tracking and/or resultant clock signal φcenter(t) are differential signals coupled to the four-quadrant analog multiplier 302 as follows. The gates of the transistors 312, 336, 340, and 316 are coupled to receive the positive going differential tracking and/or resultant clock signal φcenter(t) and the gates of the transistors 334, 322, 326, and 346 are coupled to receive the negative going differential tracking and/or resultant clock signal φcenter(t).
In the illustrated embodiment, the output of the four-quadrant analog multiplier 302 is a differential signal that is the product of the reference clock signal φreference(t) and the tracking and/or resultant clock signal φcenter(t). The positive output out of the four-quadrant analog multiplier 302 is taken from the drains of the transistors 332 and 320. The negative output out of the four-quadrant analog multiplier 302 is taken from the drains of the transistors 324 and 344.
The outputs of the four-quadrant analog multiplier 302 are coupled to the integrator 304. In the illustrated embodiment, the integrator 304 includes an operational amplifier 348, three capacitors 350, 352, and optional capacitor 354, and four p-channel transistors 360, 362, 364, and 368.
Power to the devices in the analog integrator 304 is coupled as follows. The drains of the transistors 360 and 364 are coupled to VDD. The sources of the transistors 362 and 366 are coupled to VSS.
The devices in the analog integrator 304 are coupled to each other as follows. The drain of the transistor 360 is coupled to the source of the transistor 362, to the gate of the transistor 360, to a first terminal of the capacitor 350 and to the positive input of the operational amplifier 348. The drain of the transistor 364 is coupled to the source of the transistor 366, to the gate of the transistor 364, to a first terminal of the capacitor 352 and to the negative input of the operational amplifier 348.
A second terminal of the capacitor 350 is coupled to the negative output of the operational amplifier 348 and to a first terminal of the capacitor 354. A second terminal of the capacitor 352 is coupled to the positive output of the operational amplifier 348 and to a second terminal of the capacitor 354.
In one embodiment, the transistors 360, 362, 364, and 366 provide a direct current (DC) bias to the inputs of the operational amplifier 348. Applying the same DC bias on both inputs to the operational amplifier 348 fixes a common mode of operation, which may allow more stable integration of the signals output from the four-quadrant analog multiplier 302.
In one embodiment, the transistors in the four-quadrant analog multiplier 302 are sized to β and the transistors in the analog integrator 304 are sized to sβ. The sβ is a scale factor that is s times the Beta value of the transistors in the four-quadrant analog multiplier 302. In one embodiment, the ratio of s may be set to a value that is high enough to stabilize the active integrator 304 but not so high that multiplication of the reference clock signal φreference(t) and the tracking and/or resultant clock signal φcenter(t) is completely attenuated.
Without the optional capacitor 354, the integrator 304 may be an active integrator. With the optional capacitor 354 placed between the differential outputs of the operational amplifier 348 and shorting out the capacitors 350 and 352 the analog integrator 304 may become a passive analog integrator. In one embodiment, the capacitors 350 and 352 may be metal capacitors.
In one embodiment, the active integrator 304 may be initialized to a saturated negative value. In this embodiment, there may be optimal convergence of the delay control signal sr(t) to a near constant value by initializing the slew-rate controlled delay of the delay elements 106, 108, and 110 to a shortest delay.
Although shown as an analog integrator, the integrator 304 may be a digital integrator.
In one embodiment, the output of the phase detector 102 may be characterized by:
In one embodiment, the delay of the slew rate controlled delay or delay element ΔSR(t) 106 is proportional to SRΔ, which may be characterized by:
where W is the width of the input transistors 412 and 416, L is the length of the input transistors 412 and 416, βΔ is the size of the input transistors 402, 404, 406, 408, 410, 412, 414 and 416, and VT is the threshold voltage of the input transistors 412 and 416.
Power to the devices in the delay element 106 is coupled as follows. The sources of the transistors 402 and 404 are coupled to VDD. The sources of the transistors 412 and 416 are coupled to VSS.
The devices in the delay element 106 are coupled to each other as follows. The gate of the transistor 402 is coupled to the drain of the transistor 416 and the gate of the transistor 404 is coupled to the drain of the transistor 412. The drain of the transistor 402 is coupled to the source of the transistor 406. The drain of the transistor 406 is coupled to the drain of the transistor 410. The source of the transistor 410 is coupled to the drain of the transistor 412. The drain of the transistor 404 is coupled to the source of the transistor 408. The drain of the transistor 408 is coupled to the drain of the transistor 414. The source of the transistor 414 is coupled to the drain of the transistor 416.
In the illustrated embodiment, delay control signal sr(t) is coupled from the integrator 304 portion of the phase detector 102 to the delay element 106 on the gates of the transistors 406 and 408 and the gates of the transistors 410 and 414. In the illustrated embodiment, the differential clock signal φin(t) is coupled to the delay element 106 on the gates of the transistors 412 and 416.
In the illustrated embodiment, the outputs of the delay elements 106, 108, and/or 110 are taken from the drains of the transistors 410 and 414. If the output is taken from the drains of the transistors 410 and 414 in the delay element 106, then the output may be the reference clock signal φreference(t). If the output is taken from the drains of the transistors 410 and 414 in the delay element 108, then the output may be the tracking and/or resultant clock signal φcenter(t).
The envelopes 502, 504, and 506 illustrate operation for a delay-locked loop 100 having two delay elements 106 and 108 and perhaps the delay element 110 used as a dummy load. The envelopes 508, 510, and 512 illustrate operation for a delay-locked loop 100 having four delay elements. The case of too fast a slew rate out of the delay element, or too short a delay, is shown in 502 and 508. The case of too slow a slew rate out of the delay element, or too long of a delay is shown in 506 and 512. The case of converged slew rate, when the tracking phase is centered, is depicted in 504 and 510.
If the area in the example envelopes 502 and 508 are skewed less to the left than to the right, the phase detector 102 may decrease the feedback to the associated delay elements to move the tracking and/or resultant clock signal φcenter(t) to the right in an attempt to center the tracking and/or resultant clock signal φcenter(t) between the rising edge and the falling edge of the reference clock signal φreference(t), for example. The example envelopes 506 and 512 are skewed more to the left than to the right. The phase detector 102 in this embodiment may increase the feedback to the associated delay elements to move their associated tracking and/or resultant clock signal φcenter(t) to the left.
The behavior of the delay-locked loop 100 may be characterized in the frequency domain by:
The Laplace transform of the behavior of the delay-locked loop 100 may be characterized by:
where G represents loop gain as represented in the loop gain diagram 200 and defined in the loop equation.
The delay-locked loop 100 may be used in a variety of applications. For example, the delay-locked loop 100 may be used in high speed serial links, windowing circuitry, and frequency multipliers.
The comparator 602 has a differential input coupled with the same polarity to the first reference signal or the reference clock signal φreference(t). A first (positive) output of the comparator 602 is coupled to a first input of the exclusive OR gate 606. A second output (negative) of the comparator 602 is coupled to a first input of the exclusive OR gate 608.
The comparator 604 has a differential input coupled with the same polarity to the second reference signal or the tracking and/or resultant clock signal φcenter(t). A first output of the comparator 604 is coupled to a second input of the exclusive OR gate 606. A second output of the operational amplifier 602 is coupled to a second input of the exclusive OR gate 608. Optionally, comparators 602 and 604 may be removed, shorting inputs to corresponding outputs maintaining the same polarity.
The input to the frequency multiplier 600 is differential clock signal φ(t), which is applied to the delay-locked loop 100 input. The output of the frequency multiplier 600 is a differential clock with double the frequency of the input differential clock signal φ(t), and is taken from the exclusive OR gates 606 and 608 output terminals.
While embodiments of the present invention may be described with reference to complementary metal oxide semiconductor (CMOS) technology, it should be appreciated that embodiments of the present invention are not so limited. For example, embodiments of the present invention may be implemented in bipolar technology, using silicon, gallium arsenide (GaAs) or any other high mobility semiconductor.
Embodiments of the present invention may be implemented using hardware, software, or a combination thereof. In implementations using software, the software may be stored on a machine-accessible medium.
In the above description, numerous specific details, such as, for example, particular processes, materials, devices, and so forth, are presented to provide a thorough understanding of embodiments of the invention. One skilled in the relevant art will recognize, however, that the embodiments of the present invention may be practiced without one or more of the specific details, or with other methods, components, etc. In other instances, structures or operations are not shown or described in detail to avoid obscuring the understanding of this description.
Reference throughout this specification to “one embodiment” or “an embodiment” means that a particular feature, structure, process, block, or characteristic described in connection with an embodiment is included in at least one embodiment of the present invention. Thus, the appearance of the phrases “in one embodiment” or “in an embodiment” in various places throughout this specification does not necessarily mean that the phrases all refer to the same embodiment. The particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
The terms used in the following claims should not be construed to limit embodiments of the invention to the specific embodiments disclosed in the specification and the claims. Rather, the scope of embodiments of the invention is to be determined entirely by the following claims, which are to be construed in accordance with established doctrines of claim interpretation.