The present invention relates to a phase comparison device for making a comparison between the phase of two clocks, and a DLL circuit using the phase comparison device.
In clock generation circuits such as a CDR circuit and a DLL circuit, a phase comparator has been broadly used for making phase comparison between input data and a clock. As typical phase comparators well known are: a Hogge type which outputs a linear signal in accordance with a phase difference between two input signals (see Non-patent Document 1); and an Alexander type which just determines whether one input signal is advanced or delayed with respect to the other input signal, and outputs a binary signal (see Non-patent Document 2).
In the linear phase comparator typified by the Hogge type, for example as shown in
The variable delay buffer circuit 40 includes cascade-connected four-stage delay elements 41, 42, 43, 44 with same characteristics, and a common current source 45 for supplying an operating current to each of the delay elements 41 to 44. The current of the current source 45 is increased or decreased by means of an output signal of the low-pass filter 30, thereby to mutually control a delay amount of each of the delay elements 41 to 44. When the feedback clock CLK2 is delayed just by one cycle and the DLL circuit is locked, a delay clock PH1 delayed from the reference clock CLK1 just by ¼ cycle is obtained from the delay element 41 of the variable delay buffer circuit 40, a delay clock PH2 delayed just by 2/4 cycle is obtained from the delay element 42, and a delay clock PH3 delayed just by ¾ cycle is obtained from the delay element 43. A clock PH0 is the same clock as the reference clock CLK1, and a clock PH4 is the same clock as the feedback clock CLK2.
In the phase comparator 11A as described above, a phase detection range of the reference clock CLK1 and the feedback clock CLK2, namely a pulling range as the DLL circuit, is from +π to −π. Unless the delay amount of the variable delay buffer circuit 40 is held within this pulling range, the circuit is not operated as the DLL circuit. This variable delay buffer circuit 40 should at least have the minimum delay amount corresponding to π of the reference clock CLK1 in order to satisfy the restriction of −π of the pulling range. This needs to be elaborated as an absolute minimum delay amount in terms of hardware.
As shown in
T
—
CLK1≦2×T_mindelay (1)
On the other hand, as shown in
T
—
CLK1≧T_mindelay (2)
As thus described, the absolute minimum delay amount T_mindelay is required for the variable delay buffer circuit 40, and the following conditional expression is given from the above expressions (1) and (2).
T_mindelay≦T—CKL1≦2×T_mindelay (3)
That is, when the DLL circuit is intended to be configured in accordance with the present configuration, the phase detection range of the reference clock CLK1 is restricted to a range which is double the absolute minimum delay amount T_mindelay. There has thus been a problem of not being able to constitute a wide-band DLL exceeding the double range.
An object of the present invention is to provide a phase comparison device which enables a phase detection range to be expanded. Moreover, the object is also to provide a DLL circuit which is applied with such a phase comparison device so as to enable its operation cycle to be freely selected.
In order to achieve the above object, a phase comparison device according to claim 1 is a phase comparison device which compares a first clock with a second clock having the same frequency as the first clock and delayed from the first clock just by a delay amount D1, the phase comparison device including: a divider that generates a division clock obtained by receiving the first clock and dividing the clock by N (N is a positive integer not smaller than two); an inverter that inverts a phase of the division clock to generate a division inverted clock; first synchronizing means for synchronizing the division inverted clock sequentially with delay clocks in the number of m (m is a positive integer not smaller than N−1) to generate a synchronized clock, the delay clocks having the same frequencies as the first clock and whose delay amounts from the first clock increase by 2π each at the maximum within a range smaller than the delay amount D1 when one cycle of the first clock is regarded as 2π; second synchronizing means for synchronizing the synchronized clock with the second clock to generate a final synchronized clock; and a phase comparator that receives the division clock and the final synchronized clock to compare phases of the division clock and the final synchronized clock.
In the phase comparison device according to claim 1, an invention according to claim 2 is characterized in that the phase comparator compares phases of rising edges of the division clock and the final synchronized clock and the division clock has an “L” period of 2π and an “H” period of 2(N−1)π, or the phase comparator compares phases of falling edges of the division clock and the final synchronized clock and the division clock has an “H” period of 2π and an “L” period of 2(N−1)π.
In the phase comparison device according to claim 1 or 2, an invention according to claim 3 is characterized in that N=2 and m=1, and the first synchronizing means generates the synchronized clock by use of the delay clock whose delay amount from the first clock is D2 (0<D2<2π and D1−2π<D2).
In the phase comparison device according to claim 3, an invention according to claim 4 is characterized in that the delay amount D2 of the delay clock is 0.5D1.
A DLL circuit according to claim 5 includes: the phase comparison device according to any one of claims 1 to 4; and a variable delay buffer circuit that delays the first clock just by a delay amount controlled based upon a phase comparison result of the phase comparator, and outputs the clock as the second clock.
In the DLL circuit according to claim 5, an invention according to claim 6 is characterized in that the variable delay buffer circuit includes a plurality of delay buffers that are cascade-connected and whose delay amounts are mutually controlled based upon the result of the phase comparator; and the delay clocks in the number of m are clocks taken out from the respective output sides of the plurality of different delay buffers.
In the DLL circuit according to claim 5 or 6, an invention according to claim 7 is characterized in that the phase comparator outputs the phase comparison result which maintains the delay amount of the variable delay buffer circuit when D1=2π.
According to a phase comparison device of the present invention, a phase detection range can be extended beyond a range of −π to +π. Further, in the case of application to a DLL circuit, its operation cycle can be freely selected, to enable realization of a wide-band DLL circuit.
This phase comparison device 10 includes: a divider 12 including a TFF circuit to divide a reference clock CLK1 by two (double cycle); an inverter 13 that inverts a phase of a division clock CLK3 outputted from the divider 12 to generate a division inverted clock CLK3B; a DFF circuit 14 that synchronizes the division inverted clock CLK3B outputted from the inverter 13 with a delay clock PH2 (=CKL4) outputted from a delay element 42 of the variable delay buffer circuit 40; a DFF circuit 15 that finally synchronizes a synchronized clock CLK5 outputted from the DFF circuit 14 with a feedback clock CLK2; and a phase comparator 11 in which the division clock CLK3 is inputted into a reference signal input terminal 11a and a final synchronized clock CLK6 finally synchronized in the DFF circuit 15 is inputted into a feedback signal input terminal 11b. This phase comparator 11 is one having the same configuration as that of the phase comparator 11A described in
Hence in the present embodiment, since the division clock CLK3 obtained by dividing the reference clock CLK1 by two is defined as an input of the phase comparator 11, when the reference clock CLK1 is regarded as a reference, the phase detection range exceeds the range of −π to +π to be extended to a range of −2π to +2π. In addition, as for the relation with the claims, the DFF circuit 14 constitutes the first synchronizing means and the DFF circuit 15 constitutes the second synchronizing means.
In the present embodiment, since the clock that is to be inputted into the input terminal 11a of the phase comparator 11 is the division clock CLK3, the feedback clock CLK2 also needs to be divided and then inputted into the input terminal 11b. However, dividing the feedback clock CLK2 and inputting it into the phase comparator 11 requires two dividers, respectively for the reference clock and the feedback clock. When a combined state of the two dividers is considered, there exist two states of the phase relation, that is, a proper state and a shifted state just by π, and wrong locking may be performed. Further, complex control in consideration of a jitter between the two dividers and the like is also required.
Hence in the present embodiment, in order to perform phase comparison in a state where the phase relation between the feedback clock CLK2 and the division clock CLK3 is properly held, the division clock CLK3 is synchronized with the feedback clock CLK2, to generate the final synchronized clock CLK6 and input it into the phase comparator 11. That is, in the phase comparison, erroneous detection of the phase relation is prevented by use of the final synchronized clock CLK6 generated from one division clock CLK3.
The division inverted clock CLK3B of the division clock CLK3 is synchronized with the delay clock CLK4 outputted from the delay element 42 of the variable delay buffer circuit 40, to become the synchronized clock CLK5. It is further synchronized with the feedback clock CLK2 again, to be the final synchronized clock CLK6, which is then inputted into the feedback input terminal 11b of the phase comparator 11. By synchronizing the division inverted clock CLK3B of the division clock CLK3 with the delay clock CLK4 as thus described, the phase comparison can be performed in a cycle behind one clock from a rise of the division clock CLK3 while phase information of the division clock CLK3 is held. The division clock CLK3 is outputted in synchronization with the rise of the reference clock CLK1. Similarly, the final synchronized clock CLK6 is outputted in synchronization with the rise of the feedback clock CLK2. That is, phase information of the reference clock CLK1 and the feedback clock CLK2 as the original clocks are transmitted to the division clock CLK3 and the final synchronized clock CLK6. For this reason, a phase comparison result for the division clock CLK3 and the final synchronized clock CLK6 matches a phase comparison result for the reference clock CLK1 and the feedback clock CLK2, to enable phase adjustment with the same accuracy as that of the conventional phase comparator 11.
Here, the relation between a rising edge of the delay clock CLK4 and a state of the division clock CLK3 will be considered. In the case of
Hence in the present embodiment, the division inverted clock CLK3B is synchronized by use of the delay clock CLK4 at an intermediate node of the variable delay buffer circuit 40, to obtain the clock CLK5. This is again synchronized with the feedback clock CLK2 to be the final synchronized clock CLK6, thereby preventing the logical inconsistency as described above. An “H” period of the reference clock CLK1 is a half of the “H” period of the division clock CLK3, as shown in
It is to be noted that in the present embodiment, only a clock CLK3 is synchronized in a one-stage configuration by use of the clock CLK3 by division by two. However, it goes without saying that a similar function can also be realized by realizing —division by two by means of a multiple configuration with a method of using delay clocks PH1, PH3. That is, although the delay clocks (PH2) are used in the number of (the number of division−1) clocks in
Further, in the present embodiment, the delay clock CLK4 (=PH2) taken out from the output side of the delay element 42 of the variable delay buffer circuit 40 has been used as described above. This has led to extension of the phase detection range of the feedback clock CLK2 to the range of −2π to +2π. However, this is not restrictive, and it is possible to use a delay clock whose delay amount from the reference clock CLK1 is smaller than the delay amount of the feedback clock CLK2 and has an edge between the edge of the reference clock CLK1 and the edge of the feedback clock CLK2. It is thereby possible to obtain at least a phase detection range beyond the conventional range of −π to +π. Hereinafter, the range of the delay amount of the delay clock which is useful for expanding the phase detection range will be considered.
When the delay amount of the delay clock CLK4 from the reference clock CLK1 is regarded as D2, first, it is found by referencing
In the case of
Here, with D2=kD1 (0<k<1), it is only in the case of k>0.5 that (D1−2π)<D2 can be satisfied in the range of D1=0 to 4π (which is the range of −2π to +2π when D1=2πbeing in the locked state is regarded as a reference). However, when k>0.5 and D1=4π, the condition of D2<2π cannot be satisfied. As thus described, in the present embodiment, strictly speaking, the phase detection range of −2π to +2πcannot be taken. However, when k=0.5, the phase detection range of nearly 2π to +2π is taken.
Further, it is only in the case of (⅓)<k<(⅔) that (D1-2π)<D2 can be satisfied in the range of D1=0 to 3π (which is the range of −2π to +π when D1=2π being in the locked state is regarded as a reference, namely the range equivalent to or wider than the conventional one on the + side).
The above is summarized as follows.
(A) Conditions for having the phase detection range before/after the locked state:
Further, it is also possible to generate a delay clock that satisfies any of these desired conditions outside the DLL circuit. Moreover, in the present embodiment, the synchronization has been performed using the phase comparator 11 that compares the phases of the rising edges of the two clocks that are to be inputted into the input terminals 11a, 11b, while using the DFFs 14, 15 that perform sampling with the rising edge of the clock signal that is to be inputted into the clock terminal. However, it is also possible to use a phase comparator that compares phases of falling edges, and also possible to perform synchronization in a DFF that performs sampling with a falling edge of a clock signal.
It is to be noted that even in the case of making design so as to satisfy the above conditions, a desired phase detection range may not be obtained due to diverse variations. Therefore, in order to increase the operation margin, it is also possible to form a configuration where synchronization is performed with more stages. That is, in the configuration of
The range of the delay time possible for each of the plurality of delay clocks varies in accordance with the number of delay clocks and a required phase detection range. However, the range can be specified by performing a similar consideration to the above consideration regarding the case where the number of delay clocks is one. Alternatively, a plurality of delay clocks can also be generated by simple schematic division between the reference clock CLK1 and the feedback clock CLK2 into equal parts.
For example, when a delay amount of a first delay clock from the reference clock CLK1 is D21 and a delay amount of a second delay clock from the reference clock CLK1 is D22, it is possible that D21=(⅓)D1 and D22=(⅔)D1. In this case, with the locked state regarded as a reference, it is possible to obtain a phase detection range to 2π on the − side and beyond 2π on the + side.
In the DLL circuit of the present embodiment, the phase comparator 11A described in
Here, the phase comparator 51 compares phases of rising edges of clocks that are to be inputted into the two input terminals 51a, 51b. In this case, a division circuit 52 by division by three generates the clock CLK13 in which the “L” period is 2π and the “H” period is 4π. In addition, in the case of using as the phase comparator 51 a comparator that compares phases of falling edges of the clock CLK13 that is to be inputted into the input terminals 51a, 51b, a division circuit that generates the clock CLK13 in which the “H” period is 2π and the “L” period is 4π is used as the division circuit 52.
Also in the present embodiment, a similar consideration to that in the case of the embodiment of
For example, when a delay amount of the feedback clock CLK12 from the reference clock CLK11 is D1 and a delay amount of the first delay clock from the reference clock CLK11 is D21 and a delay amount of the second delay clock from the reference clock CLK11 is D22, it is possible that D21=(⅓)D1 and D22=(⅔)D1. In this case, with the locked state regarded as a reference, it is possible to obtain a phase detection range to 2π on the − side and to nearly 3π on the + side.
Further, in order to extend the phase detection range of the feedback clock to a range of −2π to +2(N−1)π (N is a positive integer not smaller than two), a reference clock is divided by N (its cycle is multiplied by N) and then inputted into one input terminal of the phase comparator. A division inverted clock obtained by inverting the clock divided by N is synchronized N−1 times with the delay clocks in the number of N−1 whose delay amounts sequentially increases by 2π each at the maximum, and then synchronized with the feedback clock. Thereby, the final synchronized clock is obtained and then inputted into the other input terminal of the phase comparator.
Also here, in the case of using the phase comparator that compares phases of rising edges of the clocks that are to be inputted into the two input terminals, a clock in which the “L” period is 2π and the “H” period is 2(N−1)π is generated as the division clock. In the case of using the phase comparator that compares phases of falling edges of the clocks that are to be inputted into the two input terminals, in which the “H” period is 2π and the “L” period is 2(N−1)π is generated as the division clock. Also in the case of division by three or division by N, the number of delay clocks can be made larger than N−1, to increase the operation margin.
Number | Date | Country | Kind |
---|---|---|---|
2011-157923 | Jul 2011 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP12/68056 | 7/17/2012 | WO | 00 | 1/13/2014 |