Abstract:
A data buffer makes use of a plurality of buffer storage cells into which serial bit streams are sequentially written, in order to obtain correction for phase jitter. A write clock signal is derived from the serial bit stream and is used to sequentially write the digits into the cells. A stable clock source is used to provide the basic timing for sequentially reading the bits out from the buffer storage cells, and a logic circuit is used in conjunction therewith to obtain the retimed serial bit stream. The write and read timing signals should have a maximum time separation to allow for maximum correction of phase jitter, and it is critical that the write and read signals should alternate. A monitor and reset circuit compares a selected write signal with a selected read signal and, where a violation of the alternating write-read condition occurs, the circuit resets the write timing and holds it until the read timing has attained a particular state.

Description:
BACKGROUND OF INVENTION 
     1. Field of Invention 
     This invention relates to pulse transmission systems and in particular to the retiming of serial bit streams to reduce phase distortion (jitter) introduced by transmission via an imperfect transmission medium. 
     2. Description of the Prior Art 
     In prior-art devices, the basic timing information was derived from the serial bit stream itself. Retiming was accomplished by controlling the frequency of a local oscillator by the phase difference between the incoming pulse train and the local oscillator output. Thus, phase jitter was reduced by allowing the local oscillator to smooth out the phase differences in the phase of the incoming bit stream. 
     An improvement over the above-described prior-art technique is disclosed in U.S. Pat. No. 3,093,815. In accordance with the invention therein described, coarse retiming is accomplished in much the same manner as is discussed for the above-described prior-art technique. This coarse timing information was utilized to write the successive elements of a serial bit stream into one of a number of the buffer storage cells in a fixed, cyclic order. At a later time, for example half of the period of a storage cycle, this information was read from the buffer storage elements under the control of a highly stabilized local clock. The clock frequency, and hence the read-out rate, was controlled by a signal representing the average amount of information stored in the buffer storage cells at any particular time. Thus, the local clock rate was made responsive to the average amount of data in the buffer storage cells, to prevent an undue accumulation or depletion from the buffer store. 
     A principal disadvantage of the patented technique is the complexity and, hence, cost of deriving a control signal which represents the average amount of information stored in the buffer storage cells at any particular instant and in using this signal to control the &#34;local clock&#34; frequency. Such prior-art arrangements employ circuitry which provides for constant write/read comparisons and for frequency adjustment of a voltage-controlled oscillator used as a read clock. It is a purpose of this invention to retain the retiming feature, i.e., phase jitter reduction and fixed phase compensation without the need for constant write/read phase comparison and frequency adjustment of the &#34;read&#34; voltage-controlled oscillator. 
     SUMMARY OF THE INVENTION 
     A retiming circuit for reducing the phase jitter in a serial bit stream generates N write timing signals, each having a rate which is 1/N that of the serial bit streams. The N write timing signals are used to sequentially write individual bits into one of N buffer storage cells in a cyclic order. A stable clock source having a rate equal to that of the serial bit stream is used as a reference for the N read timing signals which sequentially read the individual bits out of the buffer storage cell in retimed serial form. 
     The write/read sequence should alternate, and the maximum possible separation in time should occur between the write/read sequences so as to permit correction of a maximum of phase distortion for each bit. A monitor and reset circuit compares a selected write timing signal with a selected read timing signal to determine if the alternating write/read sequence has been violated. Violations occur if more than one read timing signal occurs between two sequential write timing signals; or, if two write timing signals occur between two sequential read timing signals. When this happens, the monitor and reset circuit resets one timer to a first predetermined timing signal position and holds it in this condition until the other timer reaches a second predetermined timing signal condition. 
    
    
     BRIEF DESCRIPTION OF THE DRAWING 
     FIG. 1 is a block diagram showing the interconnection of the basic elements of the invention. 
     FIG. 2 is a more detailed block diagram which illustrates a preferred embodiment of the invention. 
     FIG. 3 is a waveform diagram which shows the retiming process of the preferred embodiment of FIG. 2. 
     FIG. 4 is a block diagram of the digital monitor and reset circuit used in the preferred embodiment of the invention. 
     FIG. 5 is a waveform diagram which shows the waveforms at pertinent points of FIG. 4 when f w  has uniform pulses. 
     FIG. 6 is a waveform diagram which shows how the incoming bit stream is digitally retimed by action of the monitor and reset circuit. 
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
     Referring to FIG. 1, the incoming bit stream appears at path 2 and is applied to the buffer storage cells included in block 6. Write clock 4 actually writes the separate bits sequentially into cells of a storage device. The write clock also provides an output to the monitor and reset circuit 12. The read clock 8 sequentially reads the separate bits stored in the individual cells of buffer storage 6 through retiming logic and into the output path 14, providing a retimed output which reduces the phase jitter which occurs at the incoming bit stream on path 2. Read clock 8 also provides inputs to the monitor and reset circuit 12 which, in combination with the write clock, determines if the write and read timing pulses alternate or if there are occurrences of a plurality of write pulses intervening between read pulses and/or a plurality of read pulses occurring between adjacent write pulses. In the latter events, one clock is reset. In the diagram of FIG. 1, it is the write clock which is reset; however, it will become apparent later that either clock may be reset. Further, the write clock timing may be derived from the incoming bit stream. Also, the write clock output may be used as an input to control the clock rate of the read clock so that the average rate of the read clock is equal to the average rate of the write clock. The read and write frequencies are the same, but the phase relationship will vary. It is this effect that is controlled by the subject data buffer so as to minimize phase jitter at the output. This is explained in more detail with respect to FIG. 4. 
     Referring now to FIG. 2, an incoming serial bit stream at rate f w  is simultaneously applied to each of the D-inputs of buffer storage 6. In this embodiment, four D-type flip-flops are used as storage cells, although it should be understood that more or less cells may be used depending upon the time interval over which correction is to be obtained. Also, the incoming bit stream is applied to a data clock recovery circuit 14 which develops the output frequency f w  which is applied to write counter 16. Write counter 16 provides four timed outputs at one fourth the rate of clock f w . This is shown diagrammatically by waveforms f w  and W1 through W4 in FIG. 3 where the designations at the left of the drawing refer to the actual path and/or output designations as shown on FIG. 2. For example, W1 is the output 1 from the write counter and also illustrates the path interconnecting the write counter with the clock pulse input of flip-flop 18. The Q 1  output is the output of flip-flop 18 at the Q-output of this D-type flip-flop. While it would normally be expected that the incoming serial bit stream would include phase jitter, none is shown in FIG. 3 in order that the various relationships of the waveforms may be illustrated without adding this complexity. The incoming serial bit stream is sequentially gated by the write pulses from a counter such as a ring counter into the cells 18, 20, 22, and 24. As illustrated in FIG. 3, the incoming pulses are stored for a period of four pulse periods as illustrated by waveforms Q 1  - Q 4 . Thus, the data bit of any one cell is available to be read out for a total time of four clock periods. This allows jitter and delay variations of much greater than one clock period and, in fact, can theoretically approach four clock periods in duration. 
     Read clock 8 is shown as comprising a master clock 26 having a fequency f r , which frequency would nominally be equal to f w . The master clock applies the f r  timing frequency to the read counter which provides the four read timing outputs R 1  through R 4  to read the data out from the individual storage cells. Although the data clock 14 and the master clock 26 are shown as being independent, they must be at the same frequency, but may vary in their phase relationship, i.e., jitter and fixed phase difference. In FIG. 3, they are shown to be at the same frequency and phase. However, the phase relationship for the read counter outputs is such as to give the optimum phase relationship between the read and write counters. This is shown by the cyclic notation within the clock pulses of the f w  and f r  waveforms. 
     As shown in FIG. 3, the data bit is written into cell 18 on the positive transition of the leading edge of the read pulse W 1 . A time delay is not illustrated between the data clock frequency positive transition and the read pulse outputs W 1  -W 4 . This delay was not shown because there is no requirement to establish a particular phase delay relationship between the data clock frequency f w  and the write pulses. However, with respect to the master clock 26 output frequency f r , it is important that the delay be shown, and this is illustrated by a shift of the read output R 1  as illustrated in FIG. 3. The Q 1  bit is read out by the read clock pulse R 1 , and it should be noted that this occurs just subsequent to the clock pulse which generates the R 1  read pulse. Because of the coincidence of the Q 1   and R 1  inputs to AND-gate 30, the Q 1  output appears on path 39 as illustrated in FIG. 3. Since the readout of flip-flop 40 will not occur until the next input clock pulse from master clock 26, the serialized output is delayed as illustrated in FIG. 3 at 14. Note that the relationship between the serialized output and the stored pulse in cell 18 is such that this occurs at the middle of the storage interval. This then illustrates an optimum relationship between the write and read pulse occurrences. 
     In the circuit shown in FIG. 2, a master clock may be used to provide the f w  and f r  clock pulses for operating both the write and read counters. In this case, they will run synchronously but with a fixed and unpredictable phase relationship. For example, while data are being written into cell 18, the read counter could be reading any one of the four cells. In order to allow maximum phase jitter, in this case, the read counter should be reading out of cell no. 22. This write/read relationship is as illustrated in FIG. 3. However, it is possible, even in this case, that the read counter could be reading out from a memory cell as the same instant in time that the cell is being written into. This could produce errors. To ensure optimum phasing between the write and read counters, it is necessary that a technique be provided that will reset one or both of these counters to achieve this optimum phase relationship. In the block diagrams of FIGS. 1 and 2, this is shown as a monitor and reset 12. The monitor and reset circuit is shown in more detail in FIG. 4. 
     The monitor and reset circuit 12, illustrated in FIG. 4, compares the write output W 1  from path 42 with the read counter output R 1  over path 44 to ensure that there are never two consecutive write pulses or read pulses for an individual memory cell without an intervening read or write pulse therebetween. In other words, the write and read pulses for any cell must form an alternating sequence. The write W 1  pulse is applied simultaneously to the R-input of the R-S flip-flop 54 and to the clock pulse input of D-type flip-flop 58. The R1 input from read counter 28 is inverted in inverter 52, and the output of 52 is applied simultaneously to the S-input of R-S flip-flop 54 and to the clock pulse input of D-type flip-flop 60. The R-S flip-flop 54 is toggled only by the positive-going edge of the R and S inputs. FIG. 5 illustrates the normal relationship for an optimum write-read phase relationship such as is shown in FIG. 3. Note that in this case the write pulse W 1 , when applied to flip-flop 54 and to flip-flop 58, provides a 1 output on lead 62. This occurs because the R 1  has reset flip-flop 54, causing its Q-output on lead 56, and thus the input at D of flip-flop 58, to be a 1 prior to the occurrence of the write pulse W 1 . When the write pulse W 1  appears at a later time, this is read through to the Q-output, and thus the continuous output on lead 62 is a 1. Similarly, the output on lead 64 from flip-flop 60 is a 1, and thus the output of NAND-gate 66 is a 0, which is applied via lead 48 to the reset input of write counter 16. Thus, nothing occurs so far as the write counter 16 is concerned. 
     However, it is possible for the phase relationship between f w  and f r  to shift such that the bit in memory cell 18, for example, is being read out just prior to the time that new data is being written into that memory cell. This is acceptable as long as the read clock R 1  does not shift to the right. If this happens, due for example to phase jitter in the write clock, a data error will result. This is illustrated graphically in the waveform diagram of FIG. 6. The bit Q 1  of cell 18, at time interval A, is being read just prior to the time that new data would be inserted into this buffer storage cell. However, at time period B, the write clock has shifted slightly to the left with respect to read clock, and as a result R 1  does not sample data bit B in cell 18. This produces a data bit omission, i.e., error in the data buffer output. The monitor and reset circuit detects this as follows. Referring to FIG. 6, just prior to f w  clock pulse position no. 1 (see numerical designation above f w ), the R 1  provides a positive transition to the input S of flip-flop 54, thus causing a 1 output on lead 56. When the write pulse W 1  is applied to the R-input of flip-flop 54 shortly thereafter, the output does not immediately change. Thus, the simultaneous application of write pulse W 1  to the clock pulse input of flip-flop 58 reads a 1 output on lead 62. Shortly thereafter, the output on lead 56 goes to zero, and therefore a short pulse is formed as illustrated in FIG. 6 at line 56. This occurs again at f w  pulse position 5, but does not occur at f w  pulse position 9 because of the phase shift in clock f w . This will be discussed in more detail hereinbelow. With respect to flip-flop 60, it is apparent that the D-input is 0 at the time of occurrence of the next positive transition of R 1 . Thus, the Q-output is a 1 on path 64 and is illustrated in FIG. 6 at 64. The two logic 1 inputs to NAND-gate 66 again provide a 0 output on path 48 and, thus reset the input of write counter 16. 
     If, for example, W 1  and R 1  do not alternate, the following occurs. Referring to FIG. 6, the B time interval of Q 1 , the write pulse W 1  has shifted in phase such that there are two consecutive W 1  pulses without an R 1  pulse between them. Since the W 1  pulse that started time period B has not been followed by a R 1  pulse, lead 56 is still at logic 0. The next W 1  pulse (f w  clock cycle 9) clocks the 0 from lead 56 into flip-flop 58, which generates a 0 at its output 62. Thus, the inputs to NAND-gate 66 are 1 and 0, and therefore a 1 output appears on lead 48, which is applied to the reset input of write counter 16. This causes write counter 16 to be reset to count W 4  where it is held until the start of a read-count input R 3  on path 46 to the S (Set) and C (Clear) inputs of flip-flops 58 and 60, respectively. At this time, leads 62 and 64 both become logic 1 and the write counter 16 begins counting again, starting with W 1 . As can be seen from the waveform diagrams of FIG. 6, in this example, the negative-going edge of the read pulse R 1  is now centered with respect to the time interval of cell 22, i.e., the phase relationship between the write and read timing signals has been reset to the optimum condition. If there are two consecutive R 1  pulses, without a W 1  pulse between, flip-flop 60 operates in the same manner as described hereinabove for flip-flop 58. 
     While the invention has been particularly shown and described with reference to a preferred embodiment thereof, it will be understood by those skilled in the art that changes in form and detail may be made without departing from the spirit and scope of the invention.