DIGITAL PHASE-LOCKED LOOPS

Abstract: A digital phase-locked loop in which the lead or lag of the phase of the input is compared to the phase of the output of the loop and the occurrences of the advance or retardation are filtered in a random walk filter in order to phase control the output. According to the invention, the time trend of the advance or retardation is determined. If there is a significant run of either advance or retardation, the random walk filter is adjusted so as to more quickly provide correcting output.

Description: The present invention relates to a digital phase-locked loop circuit as set forth in the preamble of the claim. A circuit of this type is known from retiming and signal "IEEE Transactions on Communications", vol. COM-26, No. 1, pages 35-45, January 1978. In a conventional digital phase-locked loop shown page 35 of aforementioned document and in Fig. 1 of the drawing, an input digital signal to the system and the output signal of a scaler 25 are supplied to a binary phase detector 21. The selective output of the binary phase detector 21 is a lead output or a lag output and is selectively supplied to a random walk filter 22. An advance input or a retard input is sent from the random walk filter 22 to a phase controller 24, supplied by an oscillator 23, whose frequency is much higher than that of the input digital signal. The output of the phase controller 24 is frequency-divided by the scaler 25, the output of which is sent to the outside of the digital phase-locked loop as well as fed back to the binary phase detector 21. As shown in Fig. 2, according to the aforementioned periodical, Vol COM 20. No. 2 page 98 April 1972 the major part of the random walk filter 22 is an up-down counter 22a having 2N stages. The count of the counter 22a is increased by one every time the lead input is supplied thereto. The count of the counter 22a is decreased by one every time the lag input is supplied thereto. The carry output of the up-down counter 22a is used as the advance output. The borrow output of the counter 22a is used as the retard output. The output signal of an OR gate 22b, which receives both the outputs, is supplied to the resetting terminal of the up-down counter 22a to reset the count of the counter to N. When the lead input has been supplied a number of times which is N more than that of the supply of the lag input the advance output is sent out from the up-down counter 22a for the phase controller 24 to delay the phase of the output of the stable fixed oscillator 23. Thereafter, the scaler 25 frequency divides the phase delayed signal to send out a signal compensated for the phase deviation. When the lag input has been supplyed a number of times N more than that for which the lead input has been supplied, the retard output is sent out from the up-down counter 22a to advance the phase of the output of the stable fixed oscillator 23 by the phase controller 24. The phase advanced output is frequency divided by the scaler 25 to send out a signal compensated for the phase deviation. As understood from the above description, the control of the phase is not necessarily performed immediately after the supply of the lead input or the lag input but is performed only when the number of times of the supply of one of the lead input and the lag input has become N more than that of times of the supply of the other. As a result, the jitter of the input digital signal can be suppressed to stabilize the phase of the output signal. In the above-described conventional digital phase-locked loop, the effect of the jitter suppression can be enhanced by increasing the number of the stages of the up-down counter 22a. However, if the number of the stages of the up-down counter 22a is increased, the response time of the digital phase-locked loop is lengthened in proportion to the increased number of the stages so that the effect of the jitter suppression and the transient characteristic of the loop conflict with each other. In other words, the transient characteristic is degraded if the effect of the jitter suppression is enhanced and the effect of the jitter suppression is degraded if the transient characteristic is enhanced. From the aforementioned periodical, Vol. COM 26, No. 1, page 36, January 1978, a digital phase-locked loop circuit of the aforementioned kind comprises phase deviation trend detection means receiving said lead and lag input signal for detecting a trend of a deviation of the phase to thereby produce a phased trend indication signal by which the reference value supplied to the random walk filter is altered in order to comply with the aforementioned difficulties. However, the circuitry configurations are very complicated, as can be seen from the drawing in the aforementioned document showing the hardware of the digital phase-locked loop circuit. It is the object of the invention to provide a digital phase-locked loop circuit of the aforementioned kind whose jitter suppression effect and transient characteristic are both enhanced and which overcomes the drawbacks of the prior art. This object is attained by the characterising feature of the claim. ELECTRONICS & COMMUNICATIONS IN JAPAN, Vol. 63, N°5, May 1980, pages 29-37, 1982 Scripta Publishing Co., Silver Spring, Maryland US; T. KURITA e.a.; "A digital phase-lockep loop with AND Filter" discloses a digital phase-locked loop comprising a filter whose structure is similar to that of the phase deviation trend detection means defined at the end of Claim 1. The known filter, however, does not comprise a logic circuit for resetting a counter. The invention is now explained with reference to the accompanying drawings. Figures 1 and 2 show circuit diagrams of a conventional digital phase-locked loop. Fig. 3 shows a circuit diagram indication the electrical design of a digital phase-locked loop provided in accordance with the present invention. Fig. 4 shows a circuit diagram indicating the electrical design of the major part of the digital phase-locked loop. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS In the digital phase-locked loop provided in accordance with the present invention, the phase of an input signal is determined to supply either the lead input or the lag input The lead or lag input is supplied to the random walk filter which supplies phase advance control pulses or phase delay control pulses to a phase controller which outputs a signal compensated for the phase deviation. At that time, the trend of the phase deviation is determined by the phase deviation trend detection means in terms of the lead input or the lag input so that the reference value supplied to the random walk filter is altered depending on the trend of the phase deviation. The reference value control means alters the reference value in terms of the phase deviation trend indication pulses sent out from the phase deviation trend detection means. Since the phase deviation usually occurs in such a manner that the phase is only lead or only lag, a sufficient effect of jitter suppression can be produced even if the reference value for the random walk filter is altered in a unidirectional manner at the time of the detection of the phase deviation so as to control the phase by a reduced number of times of supply of the input indication pulses. An embodiment of the present invention is hereafter described in detail with reference to the drawings attached hereto. Fig. 3 shows a circuit diagram of a digital phase-locked loop which is an embodiment of the invention. The loop comprises a binary phase detector 1, a random walk filter 2, a fixed stable oscillator 3, a phase controller 4, a scaler 5, a phase deviation trend detector 6 and a reference value controller 7. The binary phase detector 1 receives an input digital signal to the system and a frequency-divided signal from the scaler 5 and judges whether the phase of the input digital signal is advanced or retarded. The detector 1 then sends out a lead input or a lag input. The random walk filter 2 is made of a up-down counter having 2N stages. The count of the counter is increased by one every time the lead input is supplied thereto. The count of the counter is decreased by one every time the lag input is supplied thereto. The filter 2 sends out a carry pulse as an advance output or a borrow pulse as a retard output. The fixed stable oscillator 3 sends out a signal whose frequency is much higher than that of the input digital signal (for instance, the frequency of the signal of the oscillator 3 is 1.6 MHz when that of the input digital signal is 100 kHz). The phase controller 4 regulates the frequency of the signal of the fixed oscillator 3 depending on the advance output or the retard output. The scaler 5 frequency-divides the output signal of the phase controller 4 to a frequency of a value 1/k of the input frequency (k denotes a preset integer; the greater the integer is made, the smaller the phase deviation in a stationary state is made). Fig. 4 shows a detailed circuit diagram of the random walk filter 2, the phase deviation trend detector 6 and the reference value controller 7. The lead input is supplied to the up-counting input terminal of the random walk filter 2, while the retarded input is supplied to the down-counting input terminal of the filter. When a load pulse of the referrence value controller 7 is supplied to the load terminal of the filter 2, a numerical value signal of the controller 7 is supplied to the presetting input terminals of the filter 2. The filter 2 sends out the carry pulses as the advance output or the borrow pulses as the retard output, similarly to the up-down counter 22a of Fig. 2. The major part of the phase deviation trend detector 6 is a shift register 8 having m stages. The output of an OR gate 9, which receives the lead input and the lag input is supplied as a lock signal to the shift register 8. The lead input is supplied as data pulses to the shift register 8. The parallel output of all the stages of the shift register 8 are supplied to a first AND gate 10 without being inverted. Additionally, the output signals of all the stages of the shift register 8 are inverted and then supplied to a second AND gate 11. The output of the first and the second AND gates 10 and 11 are supplied to AND gates 12 and 13, which are opened by the output of the OR gate 9 receiving the lead and retard inputs. The output of the AND gates 10 and 11 are inverted and then supplied to a NAND gate 14. The number m is determined depending on the number 2n of the stages or counting range of an up-down counter 15 described hereinafter. It is preferable to determine the number m to most enhance both the jitter suppression and the response of the digital phase-locked loop. The reference value controller 7 comprises the up-down counter 15 and an OR gate 16. The output signal of the AND gate 12 is supplied as an advance reference value control signal to the up-counting input terminal of the up-down counter 15. The output signal of the AND gate 13 is supplied as a retard reference value control signal to the down-counting input terminal of the up-down counter 15. The output of the NAND gate 14 is supplied to the resetting input terminal of the up-down counter 15. The output of the OR gate 16, which receives the advance output and the retard output, is supplied to the load terminal of the random walk filter 2. The numerical value output of the up-down counter 15 is supplied to the presetting input terminal of the random walk filter 2. Since the operation of the digital phase-locked loop of the above-described constitution is nearly the same as that of a conventional digital phase-locked loop, only the operation of the loop part shown in Fig. 4 is hereafter described. When the lead input is supplied (a high-level signal is output), the contents of the shift register 8 are sequentially shifted to the right and the content of the first stage thereof is set at a high level. When the lag input is supplied as a high level signal, the contents of the shift register 8 are sequentially shifted to the right and the content of the first stage thereof is set at a low level. When only the lead input is supplied m sequential and uninterrupted times, the contents of all the stages of the shift register 8 are set at a high level so that the first AND gate 10 sends out a high-level signal. The high-level signal is supplied to the up-counting input terminal of the up-down counter 15 through the AND gate 12 opened at the timing of the rising of the output signal of the OR gate 9, so that the count of the up-down counter 15 is increased by one. When only the lag input is supplied m sequential and uniterrupted times, the count of the up-down counter 15 is similarly decreased by one. When neither of the lead input and the retard input is individually supplied m sequential times, the output signals of the AND gates 10 and 11 both remain at a low level so that the NAND gate 14 sends out a high-level signal to reset the count of the up-down counter 51 to an intermediate value n. Since the lead input and the lag input are being continuously supplied to the random walk filter 2 during the above-described operation, it is filled with a content corresponding to the difference between the number of times of the supply of the lead input and number of times for the lag input When the difference has reached a prescribed number, the carry pulses or the borrow pulses is sent out. The phase controller 4 can be regulated depending on the carry pulses or the borrow pulses. When the carry pulses or the borrow pulses are sent out, the OR gate 16 supplies the load pulses to the random walk filter 2 so that an initial value is preset by the present count of the up-down counter 15. For these reasons, when the lead input is supplied m sequential times, for instance, the count of the up-down counter 15 becomes n+1 so that the carry output is sent out when the number of times of the supply of the lead input is less by one than in the conventional random walk filter. After that, the count of the up-down counter 15 is increased every time yet another lead input is supplied to the random walk filter 2. When the carry pulses are sent out from the random walk filter 2 the next time, the increased count of the up-down counter 15 is the value which is preset into the random walk filter 2. For that reason, the carry pulses can be sent out from the random walk filter after a reduced number of times of the supply of the lead input Since the count of the up-down counter 15 is decreased when the lag input is continuously supplied m or more times, the number of times of input of the lag input which is necessary to send out the borrow pulses, can be reduced. When the lag input is supplied to the random walk filter 2 during the continuous supply of the lead input thereto or vice versa, the output signals of the AND gates 10 and 11 are both immediately set at a low level so that the NAND gate 14 sends out a high-level signal to reset the count of the up-down counter 15 to the intermediate value. Since the AND gates 12 and 13 are opened at the timing of the rising of the output signal of the OR gate 9, the accuracy of the operation is enhanced. The above description is hereafter summarized. When the trend of the lead or lag of the phase is continuing, the count of the up-down counter 15 is increased or decreased and the present value of the random walk filter 2 is reset to the count of the up-down counter 15 at prescribed timing. For that reason, the number of times of the supply of the input indication signal, which is necessary to be performed until the carry signal or the borrow signal is sent out, is reduced to quicken the response of the filter 2. When the trend of the advance or delay of the phase has stopped continuing, the count of the up-down counter 15 is reset to the intermediate value. For that reason, the jitter suppression effect of the filter 2 is enhanced. The present invention is not confined to the above-described embodiment. For instance, the phase deviation trend detector may be made of a microcomputer if very rapid filtering does not need to be performed.

Claims: A digital phase-locked loop circuit comprising means (1) for determining a phase of an input signal relative to an output signal to selectively supply one of a lead input and a lag input, a random walk filter (2) receiving said lead and lag inputs to thereby supply one of a phase advance output and a phase retard output, phase control means (4) receiving said phase advance and retard outputs for providing a phase compensated signal being said output signal, phase deviation trend detection means (6) receiving said lead and lag inputs for detecting a trend of a deviation of said phase to thereby produce a phase trend indication signal, and a reference value control means (7) for altering a reference value supplied to said random walk filter (2) responsive to said phase trend indication signal, said reference value control means (7) consisting of an up-down counter (15), the count of which is increased and decreased by signals from said phase deviation trend detection means (6), and of logic means (16) responsive to said advance and retard outputs for presetting an initial value of said random walk filter (2) with an output of said up-down counter (15), CHARACTERIZED IN THAT said phase deviation trend detection means (6) consists of a clock synchronized with said lead and lag input, of a shift register (8) clocked by said clock and receiving one of said lead and lag inputs, of two linear logic circuits (10, 11) receiving a first combination and a second combination inverted from said first combination of parallel outputs of said shift register (8), of gating circuits (12, 13) controlled by said clock and connected between said two linear logic circuits (10, 11) and counting inputs of said up-down counter (15), and of a logic circuit (14) connected between said two linear logic circuits (10, 11) and a resetting input of said up-down counter (15).

Inventors: SHIGA, NOBUO C/O YOKOHAMA WORKS OF SUMITO
Applicants: SUMITOMO ELECTRIC INDUSTRIES LIMITED
Application year: 1987
Main classification: H03L7
IPC codes: H03L7