The present invention is related to an apparatus and method for finely controlling the timing resolution of a delay line, and, more particularly, to an embodiment and method thereof using a master voltage-controlled delay line in a delay locked loop, and at least one slave voltage-controlled delay line.
A delay locked loop (DLL) can be used to achieve precisely controlled individual delay-stage delays by forcing a DLL to lock with the delay through the master delay line, equal to a single clock period of delay. For a given number of stages of delay, N, the delay per stage is equal to the precisely controlled clock period divided by N. If taps to the output are included at each stage of the delay line, an output signal can be created that has a variable delay with respect to the input to the delay line. Choosing a specific tap selects the desired delay. The resolution between delays is equal to the delay through a single stage of the delay line.
If a voltage controlled delay line is used as the master delay line in the DLL, it is possible to use the control voltage established by the DLL when it locks with one clock period of delay to control the delay through one or more “slave” delay lines. By using delay stages in the slave delay line that are substantially identical to the N stages in the master delay line and using the control voltage established by the DLL, the delay per stage in the slave delay line is also equal to one clock period divided by N. By including taps at each stage of the slave delay line, an output signal can be created that can be adjusted in delay with respect to the input signal to the slave delay line. The input to the slave delay line does not have to have any specific relationship to the input to the master delay line since the master delay line is only used to establish the delay per stage and the control voltage established when the DLL locks with a delay of one clock period. In this way, precisely controlled delays for multiple signals can be achieved by using multiple tapped slave delay lines.
However, with only the taps of the slave delay line selectable and the master delay line fixed, the timing resolution is limited by the fixed number of stages in the master DLL delay line, since the resolution is equal to the clock period divided by the number of stages.
What is desired, therefore, is a circuit and method for improving the timing resolution of a delay line beyond that of the prior art DLL circuit and technique using a fixed length DLL delay line as described above.
According to an embodiment of the present invention, an improvement on the timing resolution of a prior art DLL based delay line can be achieved, in part, by making the number of delay stages in the master DLL delay line variable. By adjusting both the tap selected on a slave voltage-controlled delay line as well as the number of stages of delay in the master DLL voltage-controlled delay line, the timing resolution can be improved by a factor of two in the worst case and by much more in most cases when compared to previous delay line circuits using a fixed length master voltage-controlled delay line.
According to an embodiment of the present invention, a delay line circuit includes a master voltage-controlled delay line including a selectable number of unit delay stages in a delay locked loop to establish unit delays and associated control voltages, and a slave voltage-controlled delay line slaved to the master voltage-controlled delay line also having a selectable number of unit delay stages in the slave delay path. The delay line circuit further includes a control block for providing control voltages to both the master voltage-controlled delay line and the slave voltage-controlled delay line. If desired, the delay line circuit can include one or more additional voltage-controlled slave delay lines slaved to the master voltage-controlled delay line. To assure the maximum precision in adjusting the timing resolution, the delay line circuit uses substantially identical unit delay stages in both the slave voltage-controlled delay line and in the master voltage-controlled delay line. For flexibility in a wide range of applications, both the length of the master voltage-controlled delay line and the number of unit delays in the slave voltage-controlled delay line can be electrically adjusted. In a particular embodiment of the present invention the master voltage-controlled delay line includes a fixed length portion and a selectable variable length portion, wherein the fixed length portion includes fifteen unit delay stages and wherein the variable length portion includes a maximum of eight delay stages. The master voltage-controlled delay line further includes multiplexing circuitry for receiving length control signals. The slave voltage-controlled delay line further includes multiplexing circuitry having an input for receiving tap select signals and an output for providing an output tap signal.
The foregoing and other features, utilities and advantages of the invention will be apparent from the following more particular description of an embodiment of the invention as illustrated in the accompanying drawings.
Referring now to
Still referring to
The fixed-length delay line 102 in series with the extension delay line 108 determines the delay in the DLL loop. For given values of VR and VC, the delay through the individual delay stages of both of these delay lines and the slave delay lines are equal since the delay portion of the unit stages in all of the delay lines shown in
If the minimum DLLCLK period of interest is “tck” and the delay of the buffer amplifier is “buf”, then the maximum number of stages allowed in the fixed-length line plus the extension line is given by:
Max stages=(tck−buf)/min. [1]
This is because the maximum allowable delay between DLLCLK and SYNC is ideally less than or equal to one clock period when the DLL is initialized, to achieve the minimum possible delay per stage for a given clock frequency.
If the length control signals select tap L (1≦L≦exmax), then the delay per stage when the DLL is locked is (tck−buf)/(n+L) where “n” is the number of stages in the fixed-length delay line.
The purpose of the DLL master delay line 101 is to establish this fixed delay per stage and the associated values of VR and VC. The clock period is constrained to be between the minimum “tck” defined above and the maximum delay that can be achieved through the delay line with the maximum number of stages as defined above. This maximum clock period is on the order of five times “tck”.
The two slave delays have the same delay per stage as that established by the DLL as described above. The tap select signals at busses 122 and 146 determine how many stages of the slave delay lines are in the path between “IN A” or “IN B” and “OUT A” or “OUT B”, respectively. So, by using a DLL to establish accurate incremental delays that are only dependent on the clock frequency and are independent of power, temperature, or process variations, accurate positioning of the outputs of the slave delay lines with respect to the inputs can be maintained.
It is important to note that in the present invention, it is possible to adjust both the length of the master delay line in the DLL loop and the tap selection on the slave delay lines to achieve a higher timing precision than can be achieved by only selecting the output tap on the slave delay line.
The specific delay between input and output of the slave for a length setting of “L” and a slave tap setting of “S”, is given by:
Delay=buf+S*(tck−buf)/(n+L). [2]
The graphs of
In
To illustrate the benefit of having the dual control of the slave delay, if the DLLCLK clock signal has a period of four nanoseconds, and the buffer delay is 0.1 ns, then the delay per stage with fifteen stages in the fixed-length delay line and eight stages in the extension delay line is 170 picoseconds. If the extension delay line is selected to be a single stage long by selecting the first tap, then total number of stages in the DLL locking loop is sixteen and the stage delay is 243 picoseconds. The change of 73 picoseconds is 43% of the minimum change possible if the fixed-length delay line has fifteen stages and the extension delay line is fixed at eight stages as it would be in the prior art. By selecting a smaller change in the length of the extension, even finer resolution is possible.
Referring now to
The unit delay portion of delay stage 200 includes transistors M1, M3, M7, and M10 and M2, M4, M8, and M9 and their respective load capacitances, Cpar1 and Cpar2, on nodes D1 and OUT respectively. The propagation delay through the delay stage is adjusted by controlling the drive currents through transistors M1 and M2 by varying the control voltage VC and the drive currents through transistors M10 and M9 by varying the control voltage VR. Transistors M3, M7 and M4, MS act as simple inverters and have minimal effect on the propagation delay through the delay stage. Transistors M14 and M13 are connected as capacitors between VC and the power supply, and VR and ground respectively. In concert with the equivalent transistors in all other delay stages in all voltage controlled delay lines, these capacitor-connected transistors act as integrating capacitors on VC and VR respectively. The buffer amplifier consisting of transistors M17 and M18 is coupled to the output of the delay stage on node OUT and drives the tap selection multiplexing transmission gate including transistors M29 and M30. An identical buffer amplifier including transistors M17 and M18 is coupled to intermediate node D1 in order to match the load capacitance to that on node OUT. By matching the drive currents and load capacitance on nodes D1 and OUT, any variation between the propagation delay for rising signals and falling signals are compensated for through the individual delay stages. Two stages of inversion are also required in order for the output at the tap to be in phase with the input to the stage.
The selection circuitry for turning the multiplexing transmission gate on includes a four-input AND gate that is made of the NAND gate including transistors M19-M23, M25-M27, and inverter M38-M39. Each individual delay stage in the slave delay lines and the extension delay line receives a unique combination of tap and length selection signals, respectively, and their complementary signals on their respective busses as is shown in
Referring now to
The table of
While the invention has been particularly shown and described with reference to an embodiment thereof, it will be understood by those skilled in the art that various other changes in the form and details may be made without departing from the spirit and scope of the invention. It should be understood that this description has been made by way of example, and that the invention is defined by the scope of the following claims.