DELAY CIRCUIT AND METHOD

Abstract: The invention provides for a precise timing delay method and apparatus in which a phase-locked loop (PLL) in combination with a timing reference is used to calibrate a precise delay. The delays are then duplicated throughout the chip and controlled by the same current as in the PLL. This makes the delay process, voltage, and temperature insensitive and the delays can be programmed by selecting the desired delay through a multiplexer. A high precision delay can be provided which is particularly advantageous for use in devices such as computer bus isolators.

Description: DELAY CIRCUIT AND METHOD Technical Field The present invention relates to a delay circuit method and apparatus and more particularly to a techniσue for generating accurate delays for electrical signals Background of the Invention In asynchronous bus isolating/bridging applications, such as a SCSI isolator or bus extender, signals need to be precisely delayed by a predetermined amount m order to guarantee or even improve setup or hold times on the resultant output bus. Current techniques involve the use of a dynamically varying string of standard cells (such as inverters or buffers) , of length determined by comparison to a reference delay or clock, to achieve a fixed delay. The delay elements are duplicated throughout the chip This approach is large, very difficult to test and not very precise. The invention seeks to provide for a delay αevice and method having advantages over known devices and methods Summary of the Invention The invention provides for a delay circuit arrangement comprising an oscillator having a delay cell exhibiting a delay based upon a control signal coupled thereto and a second delay cell coupled to the control signal . The invention can also provide for a circuit, comprising a clock signal a phase-locked loop, coupled to the clock signal, comprising at least one cell having a cell delay and at least one delay cell, coupled to the phase- locked loop, having a delay corresponding to the cell delay. According to another aspect, the invention provides for a circuit, comprising an oscillator comprising a plurality of inverters a control signal coupled to at least one of the inverters and at least one delay cell coupled to the control signal. Further, the invention can comprise a circuit, having a clock signal, a phase-locked loop, coupled to the clock signal, comprising at least one cell having a cell delay and a plurality of delay cells, coupled to the phase- locked loop, each having a delay corresponding to the cell delay. According to yet another aspect of the present invention, there is provided a computer system comprising a first bus and second bus, said first bus and second bus coupled together by a bridge circuit, sa d bridge circuit comprising a first port for receiving a plurality of first signals, a second port for transmitting a plurality of second signals, and a delay circuit coupled between the first and second port, said delay circuit comprising an oscillator comprising a delay cell having a delay based upon a control signal coupled thereto and a second delay cell coupled to the control signal. The invention can also provide for a method for providing delay precision m a circuit, comprising the steps of providing a plurality of delay cells serially cascaded together to form a ring, the delay cells having a delay based upon at least one control signal and coupling the at least one control signal to another delay cell The method may further comprise the step of providing a clock signal to the circuit, wherein the at least one control signal relates to the frequency of the clock signal . Advantageously, the invention also provides a plurality of delay cells serially cascaded together to form a ring, the delay cells having a delay based upon at least one control signal; and involves the coupling of the at least one control signal to a second plurality of delay cells. Further, the second plurality of delay cells may be coupled to a multiplexor. A method of the present invention can also involve controlling an oscillator circuit a control signal that is based upon a clock signal coupling said control signal to another circuit having an input and coupling the signal to the input of the another circui . Additionally it can involve generating a control signal from a clock and using said control signal to phase lock a phase-locked loop circuit and regulate delay of a delay circuit. Delay precision can be enhanced in a circuit by mirroring current from an oscillator to the circuit to control delay propagation of the circuit . The method can further comprise the step of controlling the frequency of the oscillator with the current. It will be appreciated that the invention can therefore provide for a precise timing delay method and apparatus in which a phase-locked loop (PLL) in combination with a timing reference is used to calibrate a precise delay. The delays are then duplicated throughout the chip and controlled by the same current as m the PLL This makes the delay process, voltage, and temperature insensitive and the delays can be programmed by selecting the desired delay through a multiplexer. A high precision delay can be provided which is particularly advantageous for use m devices such as computer bus isolators . The present invention is directed to a method and apparatus for generating precise delays of electrical signals. The approach is based on a phase-locked loop (PLL) , and uses a reference clock, typically a crystal oscillator, as a timing reference. This removes the necessity of using a self calibration feature The PLL locks to the reference clock, generating some integer multiple of the reference frequency. The PLL has a voltage-controlled oscillator {VCO) that is made up of a string of delay elements These delay elements are precisely controlled by the closed loop dynamic of the PLL. Kence, the delay is precisely controlled by the timing reference By using a PLL with a timing reference, the goals of process, voltage, and temperature msensitivity can be achieved. The delays (which make up the VCO) can be duplicated to particular locations on the chip where a controlled delay is needed. In the preferred embodiment, the delay cells are current controlled. In this case, a number of currents are distributed throughout the chip to the delay cells Finally, programmability can be incorporated by using a number of delay cells and selecting tne desired delay through a multiplexer. To summarize, a precise delay can be achieved that is generated by a timing reference via a PLL The delay is then duplicated across the chip in the form of a delay cell which is current controlled. The delay cells tend to be much smaller than existing solutions. The techniques described hereinbelow reduce gate count from those of prior techniques, which saves chip area, test time and overall chip cost. The invention provides for a precise delay circuit that is small and wherein the delay elements are tolerant to process, voltage, and temperature variations. The present invention can therefore provide for a method and apparatus for delaying an electrical signal when propagating from one electrical element/device to another. The present invention can also advantageously provide a delay technique using a phase-locked loop and also a high precision programmable delay element. Another advantage is that the present invention can provide for an improved bus isolator/bridge circuit which, for example, has controllable delay elements. Brief Description of the Drawing The invention is described further hereinafter, by way of example only, with reference to the accompanying drawings in which: Fig. 1 is a block diagram of a phase-locked loop circuit; Fig. 2 is a block diagram of a voltage-controlled oscillator circuit; Fig. 3 is a schematic of a ring oscillator circuit; Figs. 4A and 4B is a schematic of a delay cell; Fig. 5 is a schematic of a delay cell having a differential structure,- Fig. 6 is a schematic of two single-ended delay cells cascaded together; Fig. 7 is a schematic showing current mirroring from a current source ; Fig. 8 is a schematic of a VCO in combination with an isolator circuit; Fig. 9 is a block diagram for a bus isolator/bridge circuit ,- Fig. 10 is a schematic of a programmable delay circuit; Figs. 11A and 11B show a computer bus, and extension thereof; and Fig. 12 shows a computer system having devices with dissimilar characteristics coupled to a controller. Detailed Description of a Preferred Embodiment Referring to Fig. 1, a PLL synthesizer circuit 10 comprises a phase detector 12, loop filter 14, voltage controlled oscillator (VCO) 16, and a divider 18. The phase detector 12 compares the phase of the timing reference 20 and the output 24 of divider 18. If there is a phase difference, an error signal 26, which is proportional to the phase difference, is sent to the loop filter 14. The VCO 16 then responds to the DC voltage 28 from the loop filter 14. As the voltage 28 increases, so does the frequency of the VCO, and conversely, as the voltage 28 decreases, so does the frequency of the VCO. The divider 18 allows for providing an output clock having a frequency that is N times the frequency of the timing reference or clock frequency appearing at 20. For example, if the input clock or timing reference 20 had a frequency of 40 MHZ, and the divider had an N value of 5, the output frequency would be 200 MHZ (i.e 40 MHZ X 5) . The operation of the VCO 16 will now be described. The present invention preferably employs a current starved architecture However, the techniques described herein can be generalized to any architecture that uses delay cells. Referring now to Fig. 2, a current controlled oscillator (ICO) 32 is used to provide a VCO 16 by adding a voltage-to-current converter 30 to its front end One embodiment of the ICO is shown in Fig 3 Using inverters 34 as delay cells, a ring oscillator is built having an odd number M of cascaded delay cells The frequency of the oscillator can be computed by the relationship where M is the number of stages and J d is the delay of the inverter Stated another way, the delay of the inverter can be expressed as J d = 2 freq / M The frequency freg of the VCO is precisely controlled by the timing reference signal 20 (Fig 1) Thus, as can be seen by the equations above, the delay J d of each inverter cell is also precisely controlled. The delay is precisely controlled by the closed loop dynamic of the PLL. Inverters 34 are current starved inverters m the preferred embodiment. As its name suggests, the current m the inverter is starved by current sources in order to slow down the delay. The current starved inverter architecture used to create delay cells 36 is shown in Fig. 4A, and comprises an inverter 34 (comprising transistor pair MP1 and MN1 ) with two current sources 40 and 42. The amount of current provided by the current sources 40 and 42 determines the delay through the inverter 34. The current sources 40 and 42 are preferably realized, as shown in Fig. 4B, by transistors MP2 and MN2 , respectively . A differential structure can also be used. This would allow an even number of delay stages in the VCO where one stage would be cross coupled. The cell shown m Fig. 5 is a differential starved inverter delay cell 136. It can be used for differential type data, or followed by a differential to single-ended converter. Delay cell 136 comprises a differential inverter 134 and current sources 40 and 42. As with the delay cell shown in Fig. 4B, current sources 40 and 42 determine the delay through differential inverter 134. To prevent inversion of the data signal, or to increase the delay of the cell, two single-ended delay cells 36 can be cascaded together as shown at 236 of Fig. 6. If more delay is required, more delay cells can be cascaded. A complete and precise delay can be achieved as described above, and similar delay cells can be duplicated throughout the integrated circuit device, so as to mirror the VCO current to the delay cells. Since this current directly relates to a known delay, this current can be used to generate substantially the same delay in these other similar delay cells. Referring now to Fig. 7, current from current source 8/00917 9 44 is mirrored by current mirror 46 to current sources 45. These current sources 45 are used to provide 1) a reference current l ref to other delay cells in the integrated circuit, and (2) to provide a reference current I, e:2 to the ICO delay cells. The delay cells in a given integrated circuit device will exhibit similar propagation cnaracteristics . Thus, mirroring current to both the ICO delay cells of the VCO (which have a given, known delay in the ICO), as well as the other delay cells, will produce a substantially similar delay in both the ICO delay cells and the other delay cells of the integrated circuit device . Fig. 8 shows how the mirrored current 48 from the VCO 16 is used to control the delay in other delay cells 56. As can be seen, this mirrored current 48 is used to control current sources 50 of delay cells 56. In addition, the V-I output current 31 is used to control current sources 52 of delay cells 56 Delay cells 56, each including current sources 50 and 52 and a curren - starved inverter 54, provide similar function and characteristics as the delay cell 36 of Figs 4A-B Thus, the delay provided by delay cells 56 is substantially the same as that provided by delay cells 36 in the ICO 32. It is therefore possible to accurately and precisely delay electrical signals propagated from circuits sucn as 58 and 60 to circuits 62 and 64, respectively. An application for using the previously described precision delay technique is shown in Fig. 9. A bus isolator/bridge circuit 96 is shown, and comprises the above described PLL 10 along with digital and delay circuitry 76 The isolator bridge circuit 96 can be used to couple together to ports, such as computer buses, as will be later described below. Programmability can be built in by cascading several delay cells together and selecting the desired delay through a multiplexer. This is shown in Fig. 10. Delay cells 56 are serially cascaded together in the preferred embodiment. The outputs of each successive stage are coupled to the input of multiplexer 66 . By proper selection of the multiplexer's control lines, it is possible to delay the propagation of the IN signal to the OUT signal by IX, 2X ... or ZX. Traditional techniques are used to manipulate the multiplexer control lines, such as hardwiring such lines to switches to allow user selectable delays, coupling the control lines to a microprocessor/controller for programmable control by such microprocessor/controller, etc. A system using the above described delay techniques will now be described. A bus isolator/bridge may be desired to isolate two computer busses from one another, or bridge one bus to the other. Certain computer busses, such the small computer system interface (SCSI) bus, have well defined signal characteristics, such as allowable voltages/currents, timing, noise, etc. These signal characteristic requirements dictate certain constraints on cabling used to interconnect devices on the SCSI bus. Using an isolator on such a bus allows one to effectively extend the bus, as will now be shown by the following examples . Referring to Fig. 11A, there is shown as SCSI bus cable interconnecting a plurality of devices on a SCSI bus. In the embodiment shown, SCSI controller 72 is coupled to a plurality of storage devices 74 via SCSI bus 70 Due to the above described signal characteristic constraints, there is a limited number of devices that are allowed to be coupled to SCSI bus 70 There is also a constraint as to the physical length of the SCSI cable providing the bus interconnect to the devices. By adding a bus isolator/bridge, the bus can be effectively extended This is shown in Fig. 11B, where bus isolator/bridge 96 allows for connecting an additional SCSI cable 78, to allow for coupling of additional SCSI devices 80 to controller 72. Fig 12 shows another application of an isolator/ bridge Here, a computer 82 has an electronics board 84 contained therein A bus controller 86 on board 84 is used to communicate with one or more devices 88 inside the computer chassis, via bus 90. Use of bus isolator 96 allows for coupling external devices 92 to controller 86 via bus 94 This bus may have different performance characteristics than internal bus 90, and hence the bus isolator provides downwards compatibility When advances in bus technology occur, certain older devices are still capable of being used in combination with new, higher performance devices In asynchronous bus isolating/bridging applications, such as a SCSI isolator or bus extender, signals need to be precisely delayed by a predetermined amount m order to guarantee or even improve setup or hold times on the resultant output bus. Thus, the above described delay techniques are particularly useful for such isolation/ bridge applications However, it should be noted that the above uses of an isolator/bridge are by way of example 8/00917 12 only. The key aspect of the invention described herein is how to provide precise delays, and a bus isolator is but one example of why precise delays might be desired. There are likely numerous other applications for precise delays that could advantageously utilize the tecnniques described hereinabove . While preferred embodiments of the present invention have been illustrated, it should be understood that the invention is not restricted to the details of the forgoing embodiments.

Claims: 8/00917 CLAIMS 1. A delay circuit arrangement comprising: an oscillator (16) having a delay cell (36) exhibiting a delay based upon a control signal coupled thereto; and a second delay cell (36) coupled to the control signal . 2. A circuit as claimed in Claim 1, wherein the delay cell comprises an inverter (34) and a current source (40, 42) . 3. A circuit as claimed in Claim 2, wherein the control signal is coupled to the current source (40, 42) . 4. A circuit, as claimed in Claim 1, 2 or 3 , including a phase-locked loop (10) for receiving a clock signal and comprising at least one of the delay cells (36); and further including at least one second delay cell, coupled to the phase-locked loop (10) and having a delay corresponding to the cell delay. 5. A circuit as claimed in Claim 4, wherein the at least one delay cell (36) comprises first and second inverters and first and second current sources (40, 42) . 6. A circuit as claimed in Claim 5, wherein the first current source (40) is coupled to the second current source (42 ) . 7. A circuit as claimed in any one of Claims 1-6, wherein the oscillator (32) includes a plurality of inverters (34) exhibiting the said delay based upon the control signal coupled to at least one of the inverters and at least one delay cell (36) coupled to the control signal . 8. A circuit as claimed in Claim 7, wherein the plurality of inverters (34) are serially coupled together to form a ring. 9. A circuit as claimed in any one of the preceding claims, wherein the control signal comprises a current signal . 10. A circuit, as claimed in any one of the preceding claims, and including a plurality of delay cells coupled to the control signal. 11. A circuit as claimed in Claim 10, further comprising a multiplexer { 66 ) having a plurality of inputs, wherein the plurality of delay cells are coupled to the plurality of inputs. 12. A computer system comprising a first (70) bus and second (78) bus coupled together by a bridge circuit, the bridge circuit (96) comprising a first port for receiving a plurality of first signals, a second port for transmitting a plurality of second signals, and a delay circuit coupled between the first and second port, said delay circuit comprising a circuit as claimed in any one of the preceding claims. 13. A method of providing a delay within a circuit arrangement and conducted in accordance with the circuit of Claims 1 to 12.

Inventors: ANDERSON MICHAEL B, JANDER MARK J, TABOR GREGORY A, ANDERSON, MICHAEL, B., JANDER, MARK, J., TABOR, GREGORY, A.
Applicants: GILL DAVID ALAN, SYMBIOS LOGIC INC, GILL, DAVID, ALAN, SYMBIOS LOGIC INC.
Application year: 1997
Main classification: H03K5
IPC codes: H03K3, H03K5, H03L7