Abstract:
A phase locked loop extracts a clock signal through a wave differential method, and comprises a phase detector supplied with a sampled signal indicative of a variable discrete level of an input signal for producing a first output signal indicative of a waveform difference calculated from variable discrete levels of the sampled signal and a second output signal indicative of an integral calculated from waveform differences; a detector operative to produce a detecting signal indicative of continuation of the waveform differences less than a reference value; a calculator operative to calculate a virtual integral from integrals for producing a third output signal indicative of the virtual integral, the virtual integral and integrals previously calculated forming a convergent series; a selector operative to transfer the second output signal in the absence of the detecting signal and the third output signal in the presence of the detecting signal; and a series combination of a loop filter, a voltage controlled oscillator and a frequency divider responsive to the second and third output signals for producing the clock signal, thereby decreasing time period for convergence of phase difference.

Description:
FIELD OF THE INVENTION 
     This invention relates to a phase locked loop and, more particularly, to a phase locked loop for extracting clock pulses by the wave difference method. 
     DESCRIPTION OF THE RELATED ART 
     A typical example of the phase locked loop used in the digital transmission system is disclosed by Kokumai et. al. in &#34;A low-jitter PLL for 2B+D Echo Canceler&#34;, Proceedings of 1986 Spring Conference of Communication Department of Electronic Communication Society, page 2-18. FIG. 1 shows the basic concept of the phase locked loop disclosed by Kokumai et. al., and comprises a phase detector 1 coupled with an input terminal IN, a loop filter 2, a voltage controlled X&#39;tal-Oscillator 3 and a variable frequency divider 4 coupled with an output terminal OUT. An input signal Sin is supplied to the input terminal IN, and is sampled at a predetermined sampling frequency twice as large as that of an extracted clock signal described hereinbelow. The phase detector 1 produces an output signal S1 through the wave differential method, and the output signal S1 is supplied in parallel to the loop filter 2 and the variable frequency divider 4. The loop filter 2 eliminates noises from the output signal S2, and the output signal S2 of the loop filter 2 is supplied to the voltage controlled X&#39;tal-oscillator 3. Since pattern jitter due to the intersymbol interference takes place in the output signal S1, a perfect integration type loop filter is desirable rather than a lag-lead type. The voltage controlled X&#39;tal-oscillator 3 oscillates at an extremely high frequency tens times higher than the transmission clock rate under the control of the loop filter 2, and the output signal S3 of the voltage controlled X&#39;tal-oscillator 3 is divided by the variable frequency divider 4 for producing the extracted clock signal S4. In the initial training, the dividing ratio is controlled by the phase detector 1. 
     The wave differential method is hereinbelow briefly described with reference to FIGS. 2 and 3A to 3D. FIG. 2 shows the waveform of the input signal Sin, and the sampled signals are labeled with a n-1 , a n , a n+1 , . . . According to the wave differential method, the waveform difference A n  is represented by Equation 1 
     
         A.sub.n =a.sub.n ×(a.sub.n-1 -a.sub.n+1)             Equation 1 
    
     If the sampled signal a n  is at the peak point of the input signal Sin, the sampled signals a n-1  and a n+1  are indicative of respective values equal to each other, and Equation 1 gives zero to the waveform difference A n . The wave differential method contemplates the relation between the location of the sampled signal a n  and the waveform difference A n , and the oscillation frequency of the voltage controlled X&#39;tal-oscillator 3 is controlled in such a manner as to bring the waveform difference A n  to zero. With the oscillation frequency thus controlled, the variable frequency divider 4 produces the extracted clock signal S4 at the output terminal OUT. If the waveform difference A n  is directly used as the output signal S1, the loop is less stable, and the waveform differences are integrated as 
     
         S.sub.n =A.sub.n +(1/2) A.sub.n-1                          Equation 2 
    
     where S n  is an integral of the waveform difference A n . If the integral S n  is greater than zero, the voltage controlled X&#39;tal oscillator 3 is controlled to increase the frequency of the output signal S3. However, if the integral S n  is less than zero, the voltage controlled X&#39;tal oscillator 3 is controlled to decrease the frequency. FIGS. 3A to 3D shows various relative relations between the sampled signals a n-1 , a n  and a n+1  and the peak point PK of the input signal Sin, and each arrow is indicative of the direction of frequency shift. If the arrow is oriented to the left, the voltage controlled X&#39;tal oscillator 3 increases the frequency. However, the arrow oriented to the right requests the voltage controlled X&#39;tal oscillator 3 to decrease the frequency. Table 1 summarizes the behavior of the voltage controlled X&#39;tal oscillator 3. 
     
                       TABLE 1______________________________________FIG.    a.sub.n-1          a.sub.n a.sub.n+1                       A.sub.n                             Frequency of VCXO______________________________________3A      +      +       -    +     increase3B      -      +       +    -     decrease3C      +      -       -    -     decrease3D      -      -       +    +     increase______________________________________ 
    
     In Table 1, the plus sign and the minus sign are indicative of the positive value and the negative value of the sampled signal. 
     As will be understood from the foregoing description, the waveform differential method is available in so far as the input signal Sin has the peak point PK such as a bipolar waveform. If data bit of &#34;1&#34; is carried by the bipolar waveform, the waveform differential method can effectively extract the clocks from the input signal. However, if the transmitted data bit is &#34;0&#34;, the waveform difference A n  tends to be zero at high probability. For this reason, in case where the extracted clock signal is synchronous with the input signal Sin carrying a string of transmitted data bits of &#34;0&#34;, the voltage controlled X&#39;tal oscillator 3 is liable to be uncontrollable, and asynchronism tends to take place. If, especially, the free-running frequency shift of the voltage controlled X&#39;tal oscillator 3 is large or the clock rate on the transmitting side contains deviation, the voltage controlled X&#39;tal oscillator 3 is much liable to be uncontrollable. 
     In order to overcome such an instability, the present inventor has proposed a phase locked loop shown in FIG. 4. In the phase locked loop proposed by the present inventor, and input signal Sin is supplied to a phase detector 11, and the phase detector 11 is coupled with a zero-bit detector 12 as well as with a calculator for average 13. The zero-bit detector 12 discriminates a string of bits of &#34;0&#34;, and produces a detecting signal DET indicative of the string of bits &#34;0&#34;. On the other hand, the calculator 13 averages values indicated by the output signal S11 sequentially supplied from the phase detector 11, and maintains the average value therein. A selector 14 is directly coupled with the phase detector 11 and with the calculator 13, and is responsive to the detecting signal DET indicative of the string of bits &#34;0&#34;. Namely, the selector 14 supplies the output signal S11 to a loop filter in the absence of the detecting signal DET, and transfers the output signal S12 of the calculator 13 to the loop filter 15 in the presence of the detecting signal DET. The loop filter 15 is coupled with a voltage controlled X&#39;tal oscillator 16 which in turn is coupled with a variable frequency divider 17 as similar to the prior art phase locked loop shown in FIG. 1. 
     FIG. 5 shows the circuit arrangement of the phase detector 11, and the phase detector 11 is equipped with a shift register 11 for storing sampled signals a n-1 , a n  and a n+1 , and the sampled signals a n-1  and a n+1  are supplied to an adder 11b for producing the sum of the values. The sum is further supplied to a multiplier 11c, and the multiplier 11c multiplies the sum by the value of the sampled signal A n . Thus, the adder 11b and the multiplier 11c calculates the waveform difference A n  in accordance with Equation 1, and the waveform difference A n  is supplied to an integrator 11d implemented by a loop consisting of a multiplier 11e and an adder 11f for calculating an integral S n  in accordance with Equation 2. Namely, the value of the waveform difference A n-1  previously supplied is multiplied by 1/2, and the product A n-1  /2 is added to the waveform difference A n . Then, the integral S n  is calculated, and is represented by the output signal S11. On the other hand, the zero-bit detector 12 has a comparator 12a, and the waveform difference A n  and a reference level RF are supplied to the comparator 12a. The comparator 12a compares the waveform difference A n  with the reference level RF, and produces an output bit of &#34;1&#34; if the waveform difference A n  is less than the reference level RF. The output bit of the comparator 12a is sequentially supplied to an eight-stage shift register 12b, and the output bits respectively stored in the eight stages are supplied in parallel to an AND gate 12c. If all of the output bits are &#34;1&#34;, the previous eight waveform differences form a string of zero bits, and the AND gate 12c detects the string so as to produce the detecting signal DET. FIG. 6 shows the circuit arrangement of the calculator 13, and the calculator 13 comprises a 15 stage shift register 13a for storing values of the integral S n  sequentially supplied from the phase detector 11, and the ninth to fifteenth stages of the shift register 13a are coupled in parallel to an average calculator 13b. The average calculator 13b calculates the average of the values stored in the ninth to fifteenth stages, and the average is indicated by the output signal S12. Even if the string of bits &#34;0&#34; takes place, the first to eighth stages store the corresponding integrals. However, at least one of the ninth to fifteenth stages stores value except for zero, and, accordingly, the average is not zero. Since the detecting signal DET causes the selector 14 to transfer the output signal S12 indicative of the average to the loop filter 15, the voltage controlled X&#39;tal oscillator 15 continues to vary the frequency in the same direction as the previous controlling status, and undesirable asynchronism hardly takes place. 
     Thus, the phase locked loop proposed by the present inventor is effective against a string of zero bits by virtue of the zero-bit detector 12, and enhances the stability. FIGS. 7A and 7B illustrate functions of the prior art phase locked loops respectively shown in FIGS. 1 and 4. If a phase locked loop is not equipped with any zero-bit detector as shown in FIG. 1, a string of zero bits causes the output signal S1 to be indicative of zero from time t1 to time t2 of FIG. 7A, and the phase difference is increased due to uncontrollable voltage controlled X&#39;tal oscillator 3 over the time period between time t1 and time t2. As a result, the phase difference converges at zero at time t3. However, if a phase locked loop is equipped with the zero-bit detector 12 as shown in FIG. 4, the selector 14 transfers the output signal S12 to the loop filter 15 from time t11 to time 12 of FIG. 7B instead of the output signal S11 indicative of zero, and the phase difference is kept flat over the time period from time t11 to time t12. The phase difference converges at time t13, and the time interval between time t12 and time t13 is shorter than the time interval between time t2 and time t3. The zero-bit detector 12 effectively shrinks the time interval for convergence. However, the phase difference is hardly decreased during the time interval between time t11 and time t12, and the convergence in the presence of a string of zero bits is still prolonged in comparison with a convergence in the absence of any string of zero bits. Asynchronism often takes place at transient phenomena upon power-on event as well as at turbulence, and is causative of reduction in transmission rate. On the other hand, there is an increasing request to enhance the transmission rate in, for example, ISDN system, and such a prolonged convergence deteriorates the service. 
     SUMMARY OF THE INVENTION 
     It is therefore an important object of the present invention to provide a phase locked loop which accelerates the convergence of phase difference. 
     To accomplish the object, the present invention proposes to vary a voltage value supplied through a loop filter to a voltage controlled oscillator in the presence of a string of zero bits. 
     In accordance with the present invention, there is provided a phase locked loop for extracting a clock signal from an input signal through a waveform differential method, comprising: a) a phase detector supplied with a sampled signal indicative of a variable discrete level of the input signal, and producing a first output signal indicative of a waveform difference calculated from a plurality of variable discrete levels of the sampled signal and a second output signal indicative of an integral calculated from waveform differences; b) a detector operative to monitor the first output signal to see whether or not the waveform difference is less than a reference value, and producing a detecting signal indicative of continuation of the waveform differences less than the reference value; c) a calculator operative to calculate a virtual integral from integrals sequentially indicated by the second output signal, and producing a third output signal indicative of the virtual integral, the virtual integral and integrals previously calculated forming in combination a convergent series; d) a selector operative to transfer the second output signal in the absence of the detecting signal and the third output signal in the presence of the detecting signal; and e) an extracting means responsive to the second and third output signals for producing a clock signal. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     The features and advantages of the phase locked loop according to the present invention will be more clearly understood from the following description taken in conjunction with the accompanying drawings in which: 
     FIG. 1 is a block diagram showing the basic concept of the prior art phase locked loop; 
     FIG. 2 is a graph showing the waveform of an input signal and sampled signals sampled therefrom; 
     FIGS. 3A to 3D are graphs showing various relative relations between the sampled signals and the peak point of the input signal; 
     FIG. 4 is a block diagram showing the circuit arrangement of the phase locked loop which has been already proposed by the present inventor; 
     FIG. 5 is a circuit diagram showing the circuit arrangements of a phase detector and a zero-bit detector both incorporated in the phase locked loop shown in FIG. 4; 
     FIG. 6 is a circuit diagram showing the circuit arrangement of a calculator incorporated in the phase locked loop shown in FIG. 4; 
     FIGS. 7A to 7C are graphs illustrating time intervals for convergence; 
     FIG. 8 is a block diagram showing the circuit arrangement of a phase locked loop according to the present invention; 
     FIG. 9 is a block diagram showing the circuit arrangement of a calculator for optimum value incorporated in the phase locked loop shown in FIG. 8; 
     FIG. 10 is a chart showing the behavior of the phase locked loop shown in FIG. 8; 
     FIG. 11 is a block diagram showing the circuit arrangement of a calculator for optimum value incorporated in another phase locked loop according to the present invention; and 
     FIG. 12 is a chart showing the behavior of the calculator shown in FIG. 11. 
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     First Embodiment 
     Referring to FIG. 8 of the drawings, a phase locked loop embodying the present invention comprises a phase detector 21, a zero-bit detector 22, a calculator for optimum value 23, a selector 24, a loop filter 25, a voltage controlled X&#39;tal oscillator 26, and a variable frequency divider 27. The phase detector 21 is similar in circuit arrangement to the phase detector 11, and produces a first output signal S31 indicative of a waveform difference A n  and a second output signal S32 indicative of an integral S n  or an averaged waveform difference. The zero-bit detector 22 is also similar in circuit arrangement to the zero-bit detector 12, and produces a detecting signal DET upon occurrence of a string of zero bits. The calculator 23 calculates an optimum value linearly varied in the presence of the string of zero bits, and produces a third output signal S33 indicative of the optimum value. The selector 24 is responsive to the detecting signal DET, and transfers either output signal S32 or S33 to the loop filter 25. The loop filter 25, the voltage controlled X&#39;tal oscillator 26 and the variable frequency divider 27 are similar to those of the prior art, and an extracted clock signal S34 is produced at the output node of the variable frequency divider 27. However, no further description is made on the loop filter 25, the voltage controlled X&#39;tal oscillator 26 and the variable frequency divider 27 for the sake of simplicity. 
     Turning to FIG. 9 of the drawings, the circuit arrangement of the calculator 23 is illustrated in detail. The calculator 23 comprises a shift register 23a supplied with the second output signal S32, and sequentially stores integrals represented by the output signal S32. In this instance, the first to eighth stages are lower stages, the ninth to thirteenth stages are intermediate stages, and the fourteenth to eighteenth stages are higher stages. An integral are sequentially shifted from the first stage to the eighteenth stage, and finally overflows from the eighteenth stage. The ninth to thirteenth stages are coupled in parallel with a first average calculator 23b, and the fourteenth to eighteenth stages are coupled in parallel with a second average calculator 23c. The first average calculator 23b averages the integrals stored in the ninth to thirteenth stages, and produces a first average signal S23b indicative of the first average calculated by the first average calculator 23b. Similarly, the second average calculator averages the integrals stored in the fourteenth to eighteenth stages, and produces a second average signal S23c indicative of the second average calculated by the second average calculator 23c. The calculator 23 further comprises a data processing unit 23d, and a counter 23e. The counter 23e is reset with the detecting signal DET, and increments the value stored therein in synchronism with a clock signal CLK. The counter 23e produces an output signal S23e indicative of the value sequentially incremented, and the value represented by the output signal S23e serves as a multiplier factor in the data processing unit 23d. The first average signal S23b indicative of the first average, the second average signal S23c indicative of the second average and the output signal S23e indicative of the multiplier factor are supplied to the data processing unit 23d, and the data processing unit 23d calculates a virtual integral or variable optimum value. The virtual integral S n  &#39; is given as 
     
         S.sub.n &#39;=(Q-P)×m/10+P                               Equation 1 
    
     where P and Q are the first and second averages, m is the multiplier factor, and 10 is the number of the intermediate and higher stages, i.e., the ninth to eighteenth stages. Since the multiplier m is incremented in synchronism with the clock signal CLK, the virtual integral S n  &#39; is also incremented, and the third output signal S33 is increased in value with time. While the zero-bit detector 12 does not produce the detecting signal DET, the selector 24 transfers the second output signal S32 indicative of the integral S n  to the loop filter 25. However, if the zero-bit detector 22 discriminates a string of zero bits, the detecting signal DET is supplied to the selector 24, and the third output signal S33 indicative of the virtual integral S n  &#39; is transferred to the loop filter 25. For this reason, after replacement with the third output signal S33, the virtual integral S n  &#39; is decremented over the time period of the string of zero bits, i.e., from time t21 to time t22 of FIG. 7C, and the phase difference converges at time t23. Since the phase difference is decreased over the time period, the time interval between time t22 and time t23 is shorter than the time period between time t12 and time t13. 
     FIG. 10 shows job assignments of component units incorporated in the phase locked loop shown in FIG. 8 for extracting the clock signal S34. A data input 21a, the calculation of the waveform difference A n  and the calculation of the integral S n  are assigned to the phase detector 21. The zero-bit detector 22 compares the waveform difference A n  with a reference level to see whether or not the reference level is greater than the waveform difference A n  as by step 22a. If the answer is affirmative, bit &#34;1&#34; is written into a shift register corresponding to the shift register 12b, and the previous bit either &#34;1&#34; or &#34;0&#34; is shifted to the next stage as by step 22b. On the other hand, if the answer is negative, bit &#34;0&#34; is written into the shift register, and the previous bit is shifted to the next stage as by step 22c. The zero-bit detector 22 further checks the shift register corresponding to the shift register 12b to see whether or not all the eight bits are &#34;1&#34; as by step 22d. If the answer is affirmative, the zero-bit detector 22 produces the detecting signal DET of active &#34;1&#34; level as by step 22e. While the answer at step 22d remains negative, the zero-bit detector 22 does not produce the detecting signal DET or allows the detecting signal DET to remain in inactive &#34;0&#34; level as by step 22f. 
     The calculator 23 carries out the optimization as by step 23. One of the jobs assigned to the calculator 23 is to shift previously stored integrals to the next stages of the shift register 23a as by step 231, and another job is to write a newly supplied integral into the firs stage of the shift register 23a as by step 232. The calculation of the first average and the calculation of the second average are further carried out as by steps 233 and 234, and the calculator 23 monitors the detecting signal DET to see whether or not the detecting signal DET is changed from the inactive &#34;0&#34; to the active &#34;1&#34; as by step 235. If the answer is affirmative, the counter 23e is reset to zero as by step 236. The data processing unit 23d calculates the virtual integral S n  &#39; as by step 237, and repeats steps 231 to 237 together with incrementing the multiplier factor m as by step 238. The selector also monitors the detecting signal DET to see if or not the detecting signal DET is in the active &#34;1&#34; level as by step 24a. While the answer remains negative, the selector 24 transfers the integral S n  to the loop filter 25. On the other hand, if the answer is given affirmative, the selector 24 transfers the virtual integral S n  &#39; to the loop filter 25 as by step 24c. 
     Thus, the selector 24 provides a variable virtual integral S n  &#39; in the presence of a string of zero bits to the loop filter 25, and the phase difference is gradually decreased over the time period of the string of zero bits. This results in that time period for the convergence is shrunk rather than that of the prior art shown in FIG. 4. 
     Second Embodiment 
     Turning to FIG. 11 of the drawings, a calculator 41 for a variable optimum value is illustrated. Although the other circuit components are similar to those of the first embodiment, no further description is incorporated hereinbelow for the sake of simplicity. The calculator 41 comprises a eighteen stage shift register 41a for storing integrals, an average calculator 41b coupled in parallel with the ninth to eighteenth stages, a sign detector 41c associated with the average calculator 41b, an AND gate 41d enabled with the detecting signal DET for transferring a clock signal CLK, and a bi-directional counter 41e for producing the third output signal S33 indicative of a virtual integral. 
     The calculator 41 carries out optimization 400, and jobs are assigned to the components of the calculator 41 as shown in FIG. 12. Upon arrival of a new integral represented by the second output signal S32, the shift register 41a shifts the previously stored integrals to the next stages as by step 401, and the new integral is written into the first stage as by step 402. The calculator 41 monitors the detecting signal DET to see whether or not the detecting signal DET is changed from &#34;0&#34; level to &#34;1&#34; level as by step 403. If the answer is given affirmative, the average calculator 41b averages the integrals stored in the ninth to eighteenth stages as by step 404, and produces an average signal S41 indicative of the average. The average signal S41 is supplied in parallel to the sign detector 41c and the bi-directional counter 41e. The sign detector checks the average whether or not the positive sign is associated with the average as by step 406. If the answer is affirmative, the sign detector 41c produces an output signal S41c of &#34;0&#34; level as by step 407. However, if the answer is given negative, the sign detector 41c produces the output signal of &#34;1&#34; as by step 408. The AND gate 41d is enabled with the detecting signal DET, and, for this reason, monitors the detecting signal DET to see whether or not the detecting signal DET is in the active &#34;1&#34; level as by step 409. If the answer is affirmative, the bi-directional counter 41e produces the third output signal S33 indicative of a virtual integral from the average loaded from the average calculator 41b as by step 410. The bi-directional counter 41e decides whether or not the output signal S41c is zero as by step 411. If the answer is affirmative, the bi-directional counter 41e is switched to a count-up mode as by step 412, and varies the virtual integral in response to the clock signal CLK supplied through the AND gate 41d. On the other hand, if the answer is negative, the bi-directional counter 41e selects a count-down mode as by step 413, and varies the virtual integral. 
     Thus, the calculator 41 also varies the virtual integral, and a selector corresponding to the selector 24 transfers either second or third output signal to a loop filter depending upon the detecting signal. For this reason, time interval to convergence is shrunk as similar to the first embodiment. 
     Although particular embodiments of the present invention have been shown and described, it will be obvious to those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the present invention.