Apparatus for low skew system clock distribution and generation of 2x frequency clocks

Abstract: A phase-locked loop clock regeneration circuit which removes board-to-board system skew and further provides a second order loop to adjust the cycle-to-cycle symmetry of a 2X frequency clock.

Description: The present invention relates to computer system clock generation apparatus and, in particular, clock generation apparatus which provides cycle-to-cycle symmetry skew compensation. In general, most computer system clock distribution is provided by a master oscillator signal driving a large fan out tree to create the required number of clocks to drive the entire system. However, the clock distributions for most systems require a very small time delay (skew) between the clock signal transitions at different chips on different circuit boards, as well as the ability to start and stop various groups of clocks. Multiple copies of the clock signals may be provided by a gate array on each board to "fan out" the copies of the clock. The process variations of the gate array will typically cause different arrays and therefore each circuit board to have different propagation delays, while maintaining a small variation of delay between similar paths in the sam array. As a result, the clock cycle is lengthened to accommodate the expected variations in propagation delay. The problems of clock skew errors accumulate, ultimately offsetting or limiting the improvement possible in computer system. Techniques for clock frequency multiplication by delaying the master reference clock and the XOR the delayed clock with the original have been used. Unfortunately, the rise/fall time effects as well as previously mentioned variances of tolerances of the gate array cause the resulting signal to be nonsymmetric (i.e., each consecutive pairs of cycles not having the same period). Moreover, computer systems frequently require clocking signals at frequency multiples of the reference or master clock signal, and the previously mentioned clock signal distribution problems are exacerbated at higher frequencies. EP-A-302,262 constitutes prior art under Article 54(3)EPC in respect of the designated states DE and FR and discloses apparatus for generation of a synchronised clock signal comprising means for supplying a reference clock signal, clock signal distribution means for supplying a plurality of clock output signals having a selected phase relationship therebetween and having a delay from the reference clock signal, and phase lock loop means for supplying a phase lock loop output signal to the clock distribution means, the phase lock loop means being arranged to receive the reference clock signal. However in this known apparatus, the phase lock loop means does not receive any of the clock output signals from the clock distribution means; instead the delays of the different clock signals are controlled by analogue control signals generated by delay element monitors. In respect of the designated states DE and FR the invention provides apparatus for generation of a synchronized clock signal comprising means for supplying a reference clock signal, clock signal distribution means for supplying a plurality of clock output signals having a selected phase relationship therebetween and having a delay from the reference clock signal, and phase lock loop means for supplying a phase lock loop output signal to the clock distribution means, characterised in that the phase lock loop means receives the reference clock signal and one of said clock output signals from the clock distribution means, in that the clock distribution means maintains a phase relationship between said one of said clock output signals and said reference clock signal and the phase relationship selectable by the phase lock loop output signal whereby the apparatus compensates for the delay in the distribution means, in that the apparatus includes a frequency multiplier means for receiving the phase lock loop output signal and generating a frequency multiplier output signal at a frequency being a multiple of said phase lock loop output signal, and in that the apparatus includes duty cycle control means for specifying a selected duty cycle of the frequency multiplier output signal. US3,588,713 discloses a multiplier circuit comprising a sawtooth oscillator which generates a sawtooth waveform whose duty cycle is proportional to an input signal. This sawtooth waveform is fed to a comparator which gates a further signal. The filtered output of the comparator is proportional to the product of the two signals IEEE Design and Text of Computers, Vol. 5 No. 5 Oct. 1988 pp 9 - 27 Wagner "Clock system design" discloses apparatus for generation of a synchronized clock signal comprising means for supplying a reference clock signal and clock signal distribution means for supplying a plurality of clock output signals having a selected phase relationship therebetween and having a delay from said reference clock signal. In respect of the designated state GB, the present invention provides apparatus as disclosed in the above-mentioned Wagner article, characterised by phase lock loop means for receiving said reference clock signal and one of said clock output signals from the clock distribution means and for supplying a phase lock loop output signal to said clock distribution means for maintaining a phase relationship between said one of said clock output signals and said reference clock signal, wherein said apparatus compensates for the delay of the distribution means. A frequency multiplied clock signal having low skew errors and high cycle-to-cycle symmetry is provided by the present invention. In a preferred embodiment a phase-locked loop (PLL) circuit is provided on each system board to align the outputs of the board gate array to a common reference clock signal sent down the system backplane. The PLL selectively moves the positions of clock input signal transitions to the gate array with respect to the reference clock signal to align the gate arrays output to that reference to remove accumulated skew errors. In addition, in one embodiment the system of the present invention generates symmetric clock signals at twice the base system frequency (of 18.18 MHz) by providing a second servo loop that senses the cycle times of the generated signal by dividing the generated signal by 2 and uses the difference between the logical high time vs. the logical low time in order to adjust the symmetry of the generated signal. Other preferred embodiments are defined in the dependent claims. A preferred embodiment of the present invention is described below by way of example only with reference to Figures 1 to 4 of the accompanying drawings, wherein: Fig. 1 is a block diagram of the clock distribution; Fig. 2 is a block diagram of the phase-locked loop; Fig. 3 is a timing diagram showing frequency multiplication errors; and Fig. 4 is a schematic phase-locked loop error amplifier. The equations used in the preferred embodiment are shown in the Appendix. A system 50 having one embodiment of the present invention is shown in Fig. 1. The utility board contains a 18.18 MHz TTL oscillator 54 high stability. This oscillator drives the input of an F3038 gate 56, comprising an open-collector, high-output current buffer, which provides a common source of all (backplane) reference clock signals. The output of the F3038 is pulled-up and source-terminated 58 with eight independent circuits (16 resistors). These eight clock leads 60 that leave the utility board are load-terminated on each bus connected board with a 10 Λ series resistor and two Schottky diodes at the input of each PLL. Each of the eight outputs goes to a bus board slot through time-matched etch runs 62. The reference clock for utility board goes out on the backplane and back in again with the appropriate amount of etch delay preferably equal to the clock delay for other boards 70A, 70B. The board clock distribution on each board 52, 70A 70B includes PLL circuitry 72 the distribution gate array (SCR) 74. The physical make up of the PLL circuit is uniformly laid out on each bus board and in the same manner for all board types in the system. Moreover, all clock paths on each circuit board should have their printed traces matched in length to 6.3 mm (1/4 inch). The clock fan out logic is part of the gate array 74 that is an ICS CMOS gate array referred to as the distribution portion of the gate array. Its outputs directly drive all the clock input pins on the board. The clock distribution portion's main input signals are a 18.18 MHz clock and two delayed 18.18 MHz clocks from PLL 72. The delayed clocks are delayed by 5ns (% 0.75ns) and 14.75 ns (% 0.75ns). Other inputs include a power-on/reset signal and five control signals from other parts of the array. The clock portion 74 of the gate array fans out the clock to outputs whose pin-to-pin skew can be well controlled because the entire array is fabricated as a unit. Each of the outputs will drive 4 loads. The chip also creates a 36.36 MHz signal that is in sync with the 18.18 MHz clock, discussed below. As shown in the block diagram 100 in Fig. 2, the PLL circuit includes a phase detector 102, error amplifier 104/low pass filter 106 (including an op-amp and associated resistors and capacitors), a voltage-controlled crystal oscillator 108 (VCXO), and a delay line 110. By including the distribution gate array 74, the phase-locked loop 72 compensates for skew differences between distributors 74 on different bus board 70, effectively reducing board-to-board clock skew, and also reducing the burden on the bus interface (BIF) to compensate for large skew between two clock sources. The VCXO 108 is a 18.18 MHz VCXO with a high stability and a control voltage range of 0.5 to 4.5V. The PLL circuit keeps the rising edges of the R and V inputs to the phase detector 102 aligned. The VCXO 108 creates a square wave with approximately a 60-40% duty cycle. The duty cycle control circuitry 112, discussed below, corrects the 60-40% duty cycle from the VCXO to achieve a symmetrical 36.36 MHz clock duty cycle. The phase detector 102 detects an offset between the output of the distributor 74 and the reference clock from the backplane and corrects the offset (aligns the outputs). The phase detector (comparator) 102 comprises two ECL flip flops (10H131) and an ECL NOR gate (10H102). The Reference input to the phase comparator comes from the system backplane clock signal 60. The reference backplane signal is terminated, level shifted and clamped by input resistors and Schottky diodes to insure proper ECL logic levels and fast rise and fall times. The variable (V) input to be compared is received from the output of the distributor 74 and is essentially a delayed version of the VCXO output. The delay resulting from distributor 74 varies from approximately 5ns to 10ns. Moreover, the distributor 74 output signal is also level shifted and clamped to provide proper logic ECL levels and fast rise and fall time. The pulse output of the phase detector is amplified 104 and 106 is filtered by an UA714TC op amp and associated discrete components. The offset voltage amplifier 104 of the (UA714TC) is trimmed so that when the entire phase locked loop is locked the error between the reference input and the locked inputs is less than 100ps. The third main block is the delay line 110. Although the present embodiment uses a custom active delay line with three outputs, other, separate devices may be used. The first output is considered the main output, the other two outputs are referred to this main output. The main output signal on lead 11 occurs 3.5ns ± 2.0ns after the input changes relative to a fixed threshold. This initially is nulled out by the main loop of the PLL. The preferred parameters are: less than 4ns rise, fall time when driving one equivalent HC load; 5ns delay tap (± .75ns) with respect to main output 111, rising edge to rising edge and falling edge to falling edge; and 14.75ns (± .75ns, 1/4 cycle + 1ns for rise time correction) with respect to main output 111, rising edge to rising edge and falling edge to falling edge. The other outputs of the distributor 74 track very closely because circuits and paths inside the distributor 74 are very carefully matched. The PLL maintains a lock while the distributor 74 on each bus board changes propagation delay due to changes in temperature and supply voltage. This produces less board-to-board clock skew than other methods that correct for the process variation only at power-up/boot time. The multiple frequency 36.36 MHz clock signal is generated by first passing the 18.18 MHz clock through a 14.75 % 0.75sns delay line 110. Both the normal 18.18 MHz and the delayed (154) 18.18 MHz enter the distributor 74 gate array. The two signals are EXOR'ed together inside the distributor to produce a 36.36 MHz clock signal (156) on lead 114. The normal 18.18 MHz is also passed through an EXOR gate with one of its inputs tied to ground. This will balance the delay and have the resulting 18.18 MHz and 36.36 MHz clock signals in tight sync. The skew of the delay line will only appear in the falling edge 152, Fig. 3. Since most of the system is rising edge triggered, the trailing edge skew is only important to the minimum pulse width issue. Duty cycle control is important because any variation in duty cycle of the 18.18 MHz signal translates into cycle time asymmetry (adjacent cycle-to-cycle differences in period) of the 36.36 MHz clocks generated by the CMOS gate array comprising the distribution 74. Duty cycle control of the 18.18 MHz clock is necessary to insure that the cycle time of the 36.36 MHz clock is consistent (about 27.5ns). A symmetry loop, also shown in Fig. 2, includes a divide-by-two circuit 118, a duty cycle detector 120 and error amp 122, a low pass filter 124 and duty cycle control circuitry 112. This loop is used to insure a consistent cycle time of the 36.36 MHz clock this is achieved by modifying the duty cycle of the 18.18 MHz clock. To perform duty cycle adjustment, the (FRUN) 36.36 MHz clock is divided by 2 in an ECL flip-flop 118. When the high and low times are not balanced, an error signal is generated by the duty cycle detector 120, which is amplified (122) and filtered (124). The rise and fall times of the VCXO are slowed to approximately 20ns by an RC network in the duty cycle control 112. the combination of the filtered error signal and the slowed down VCXO output are combined resulting in shifting of the average DC level of the duty cycle control output signal (in response to the filter 124 output signal), causing the duty cycle of the delay line 110 output to be modified by the amount of the DC offset, as provided by variations in the slowed VCXO signal point which crosses a fixed threshold of the delay line 110. Alternately, a differential buffer or comparator having one input receiving the oscillator signal with slowed edges and the other input receiving the error voltage from filter 124. This creates a duty cycle which produces minimum cycle time variation in the 36.36 MHz clock. A typical gate array clock tree receiving the clock signals produced by the clock distributor 74 will delay the clock signal by approximately 5ns in a fast array and 10ns in a slow array depending on manufacturing and other variables. This delay must be added in to the clock path before setup/hold (S/H) calculations can be done. This causes a problem when TTL MSI registers (not shown) are also used on the board and data is transferred between gate arrays and TTL MSI registers. With a common clock (clocking both the gate array and registers) the data is clocked into/out of the register 5-10ns before the same occurs inside of the gate array. To compensate for this effect, a delay line is added (lead 116) to the clocks that will clock the registers. The value of the delay line is determined by a combination of the clock tree delay, the time it takes for the data to enter/exit the gate array and the setup/hold time of the register. The distributor 74 provides clock outputs that are delayed by the correct amount. The array contains a fanout tree for the delayed clock signals (not shown) similar to the one used for the main 18.18 MHz clock. The range of the delay line selection can be calculated from the setup and hold time of the transfer to/from the register. The hold time determines the minimum delay line and the setup time determines the maximum delay line and the ideal value was calculated as 5ns. The actual phase locked loop compensation is calculated as per Floyd M. Gardner, Phaselock Techniques, Second Edition 1979 by John Wiley & Sons, Inc., "Loop Fundamentals," pp. 8-11, incorporated by reference. The loop error amplifier is a differential input variation of the one shown on page 11 of that reference. The equations are shown in the Appendix. APPENDIX Assume in = 100Hz - because of internal pole in VCXO at 700Hz ωn = 2π fn = 628 rads/sec ζ = 1 Kosc Kphase ωn 2 = T1 = R1 C 2 ωN = T2 = R2 C Kphase = 1V 2 π = .16V/rad Kose (Motoroia K1523AA) = 50ppm 20MHz 2π 1V = 6.28 x 10 3 rads volts - sec So T1 = 6.28 x 10 3 .16 628 2 = 2.55 x 10 -3 R1 = 2.55 x 10 -3 .22 x 10 -6 = 11.6 KΩ So the sum of the two resistors that make up R1 is 11.6 KΩ T2 = 2 628 = 3.18 x 10 -3 R2 = 3.18 x 10 -3 .22 x 10 -6 = 14.5 K - 14.7K for MFE 2004 Kosc = 250 20 2π 3.7 = 8.49 x 10 3 T1 = 8.49 x 10 3 .16 628 2 = 3.44 x 10 -3 R1 = 3.41 x 10 -3 .22 x 10 -6 = 15.7 KΩ Other frequencies, delay times and components may be selected as the values chosen (e.g., 18.18 MHz clock) relate to the preferred embodiment.

Claims: Claims for the following Contracting States : DE, FR Apparatus for generation of a synchronized clock signal comprising means (54,56,60) for supplying a reference clock signal, clock signal distribution means (74) for supplying a plurality of clock output signals having a selected phase relationship therebetween and having a delay from the reference clock signal, and phase lock loop means (72) for supplying a phase lock loop output signal to the clock distribution means (74), the phase lock loop means (72) being arranged to receive the reference clock signal and one of said clock output signals from the clock distribution means (74), the clock distribution means (74) being arranged to maintain a phase relationship between said one of said clock output signals and said reference clock signal, the phase relationship being selectable by the phase lock loop output signal whereby the apparatus compensates for the delay in the distribution means (74), a frequency multiplier means for receiving the phase lock loop output signal and generating a frequency multiplier output signal at a frequency being a multiple of said phase lock loop output signal, and duty cycle control means (112) for specifying a selected duty cycle of the frequency multiplier output signal. The apparatus of claim 1, wherein said one of said clock output signals of the distribution means (74) has a delay from said received reference signal different from other said clock output signals from the distribution means. The apparatus as claimed in claim 1 or claim 2 wherein the duty cycle control means (112) specifies a duty cycle relative to the phase lock loop output signals. The apparatus of any preceding claim, wherein said frequency multiplier means output signal comprises two portions corresponding to each portion of said phase lock loop output signal, and said duty cycle control means (112) provides a substantially equal duty cycle of each said two portions. Claims for the following Contracting State : GB Apparatus for generation of a synchronized clock signal comprising: means (54,56,60) for supplying a reference clock signal, and clock signal distribution means (74) for supplying a plurality of clock output signals having a selected phase relationship therebetween and having a delay from said reference clock signal; characterised by phase lock loop means (72) for receiving said reference clock signal and one of said clock output signals from the clock distribution means (74) and for supplying a phase lock loop output signal to said clock distribution means (74) for maintaining a phase relationship between said one of said clock output signals and said reference clock signal, wherein said apparatus compensates for the delay of the distribution means (74). The apparatus of claim 1, wherein said one of said clock output signals of the distribution means (74) has a delay from said received reference signal different from other said clock output signals from the distribution means (74). The apparatus of claim 1 or claim 2, further including frequency multiplier means for receiving said phase lock loop output signal and generating a frequency multiplier output signal at a frequency being a multiple of said phase lock loop output signal. The apparatus of claim 3, wherein said frequency multiplier output signal comprises a plurality of portions each having a specified duty cycle relative to said phase lock loop output signal said apparatus further including duty cycle control means (112) for providing a selected duty cycle of each said portion. The apparatus of claim 4, wherein said frequency multiplier output signal comprises two portions corresponding to each portion of said phase lock loop output signal, and said duty cycle means (112) provides a substantially equal duty cycle of each said two portions.

Inventors: HOGAN THOMAS, MARKINSON SCOTT, SHUSTER MICHAEL, HOGAN, THOMAS, MARKINSON, SCOTT, SHUSTER, MICHAEL
Applicants: HEWLETT PACKARD CO, HEWLETT-PACKARD COMPANY
Application year: 1989
Main classification: G06F1
IPC codes: G06F1, H03L7, H03K5