Digital phase locked loop

Abstract: A digital phase looked loop for correcting the phase of an input signal has a phase comparator (1) for comparing the phases of the input signal and a feedback signal from a variable frequency oscillator (19). The output signal of the phase comparator (1) representing the phase different is integrated in a low pass filter (18). The output of the low pass filter (18) is applied to a switch (7) which alternately selects between the output of the low pass filter (18) and a zero level signal from a zero generator (13). The output of switch (7) is applied to the variable frequency oscillator (19). The output signal of the variable frequency oscillator is returned to the phase comparator (1), so that the phase of the output signal from the variable frequency oscillator (19) is synchronized with the phase of the input signal.

Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital phase locked loop which can effect phase synchronization of desired signal. 2. Description of the Prior Art Conventionally, a digital phase locked loop including a phase comparator, a low pass filter (hereinafter referred to as LPF), and a voltage controlled oscillator (hereinafter VCO) has been used for phase synchronization of a desired digital signal. The operation of this type of digital phase locked loop is described below. The phase of the input signal to the phase comparator and the phase of the output signal of the VCO are compared, and the phase difference between the input signal and the VCO output signal is output from the phase comparator. This phase difference is integrated by the LPF, and a signal which oscillates at a frequency corresponding to this phase difference is obtained from the VCO and returned to the phase comparator. If the phase of the input signal has not changed, the output of the phase comparator is converged to a predetermined value after a certain period of time determined by the response characteristics, and a signal the phase of which is synchronized to the input signal is obtained as the output of the VCO. Of course, if the phase of the input signal changes, the phase of the output tracks the phase change. Such a digital phase locked loop is disclosed, for example, in Japanese Patent Laid-Open Publication No. 63 237678. A further digital phase locked loop circuitry is known from EP-A-0 239 412 defining the closest prior art from which the invention proceeds. This known circuitry comprises a variable frequency oscillating means, a phase comparator for comparing the phase of the input signal with the phase of an output signal from said variable frequency oscillating means after every predetermined period, an integrator for integrating the output of said phase comparator, a first coefficient circuit for amplifying the output of the integrator, a second coefficient circuit for amplifying the output of the phase comparator, a first adder for adding the output of the first coefficient circuit and the output of the second coefficient circuit, and a predetermined level generator. However, when the operation of the known circuitries is actually executed by a hardware embodiment of the digital phase locked loop, the signal is delayed by the phase comparator, LPF, and VCO, a phase error which is the sum of the delay in each circuit of the loop (in-loop delay) occurs, and the response of the digital phase locked loop deteriorates, specifically the time required to synchronize the phase of the input and output signals of the digital phase locked loop increases. SUMMARY OF THE INVENTION The present invention has been developed with a view to substantially solving the above described disadvantages and has for its essential object to provide an improved digital phase locked loop which eliminates the phase error caused by in-loop delays and thus offers good response characteristics. In accomplishing these and other objects, a digital phase locked loop, according to one aspect of the present invention, comprises a variable frequency oscillating means, a phase comparator for comparing the phase of said input signal with the phase of an output signal from said variable frequency oscillating means after every predetermined period, an integrator for integrating the output of said phase comparator, a first coefficient circuit for amplifying the output of said integrator, a second coefficient circuit for amplifying the output of said phase comparator, an adder for adding the output of the first coefficient circuit and the output of the second coefficient circuit, and a predetermined level generator, and is characterized by a switch for selecting between the output of said first adder and the output of said predetermined level generator and for applying the selected one to said variable frequency oscillating means, whereby said variable frequency oscillating means oscillates at a frequency proportional to the output of said switch, and a pulse generator producing control pulses for controlling the operation of both said phase comparator and said switch so that said switch is switched at a frequency being essentially the same as the frequency for controlling said phase comparator. According to a further aspect of the present invention, the digital phase locked loop comprises a variable frequency oscillating means, a phase comparator for comparing the phase of said input signal with the phase of an output signal from said variable frequency oscillating means after every predetermined period, an integrator for integrating the output of said phase comparator, a first coefficient circuit for amplifying the output of said integrator, a second coefficient circuit for amplifying the output of said phase comparator, and a predetermined level generator, and is characterized by a switch for selecting between the output of said second coefficient circuit and the output of said predetermined level generator, a first adder for adding the output of said switch and the output of said first coefficient circuit, whereby said variable frequency oscillating means oscillates at a frequency proportional to the output of said first adder, and a pulse generator producing control pulses for controlling the operation of both said phase comparator and said switch so that said switch is switched at a frequency being essentially the same as the frequency for controlling said phase comparator. Further advantages and embodiments are defined in the sub-claims. According to the digital phase locked loop of the present invention, phase errors are eliminated and response characteristics are improved by switching between the output of the adder and a specified value, zero (0) in an advantageous embodiment, i.e. the value which is equal to the input to the variable frequency oscillator when the variable frequency oscillator oscillates at a center frequency, and by setting the coefficient of the first and second coefficient circuits at an appropriate value to compensate for the in-loop delay. BRIEF DESCRIPTION OF THE DRAWINGS These and other objects and features of the present invention will become apparent from the following description taken in conjunction with preferred embodiments thereof with reference to the accompanying drawings, throughout which like parts are designated by like reference numerals, and in which: Fig. 1 is a block diagram of a digital phase locked loop according to a first embodiment of the present invention; Fig. 2 is a block diagram of a digital phase locked loop circuit according to a second embodiment of the present invention; Fig. 3(a) is a graph showing the relationship between time and the frequency of the LPF output signal in an ideal digital phase locked loop having no in-loop delay; Fig. 3(b) is a graph showing the relationship between time and the phase of the VCO output signal; Fig. 4(a) is a graph showing the relationship between time and frequency at point A in Fig. 1; Fig. 4(b) is a characteristics curve showing the relationship between time and phase at point B in Fig. 1; Figs. 5(a), 5(c), and 5(e) are graphs showing the relationship between time and frequency at points A, B, and C, respectively, in Fig. 2; Fig. 5(f) is a graph showing the relationship between time and phase at point D in Fig. 2; Figs. 5(b) and 5(d) are curves showing the relationship between time and phase at point D in Fig. 2 when only the signal at point A and B, respectively, in Fig. 2 is integrated by the VCO; Fig. 6 is a block diagram of the phase comparator employed in the digital phase locked loop shown in Fig. 1; Fig. 7 shows waveforms (E)-(H) illustrating the relationship between time and gain of the respective signals E - H shown in Fig. 6; Fig. 8 is a waveform showing the relationship between time and the step of signal B shown in Fig. 1; Fig. 9 is a block diagram of the frequency divider employed in the digital phase locked loop shown in Fig. 1; Fig. 10 shows waveforms (I) - (M) illustrating the relationship between time and the step of the respective signals I - M shown in Fig. 9 and also a waveform (N) illustrating the relationship between time and the gain of signal N shown in Fig. 9; Fig. 11(a) shows a block diagram of the phase comparator which is a modification of the phase comparator shown in Fig. 6; Fig. 11(b) shows waveforms (O), (P) and (Q) illustrating the relationship between time and the step of the data input, clock input, and data output, respectively, in the phase comparator of Fig. 11(a); and Fig. 12 shows waveforms (A)-(D) in which waveform (A) is a characteristics diagram showing the relationship between the time and frequency of the LPF output signal in an ideal digital phase locked loop with no in-loop delay, waveform (B) is a characteristics diagram showing the relationship between the time and frequency of the LPF output signal in a digital phase locked loop with in-loop delay, waveform (C) is a characteristics diagram showing the relationship between the time and frequency at point A in Fig. 1, and waveform (D) is a characteristics diagram showing the relationship between the time and phase of the VCO output signal. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A first embodiment of a digital phase locked loop is described herein below with reference to the accompanying drawings. Fig. 1 shows a diagrammatic view of a digital phase locked loop according to a first embodiment of the present invention. In Fig. 1, reference number 1 is a phase comparator which is operated by a pulse generated from a pulse generator 14 and compares the phase of the input signal to the input terminal 12 of the phase comparator with the phase of the output signal from a VCO (a variable frequency oscillator) 19; 2 is an adder which adds the output of the phase comparator 1 with the output of a D flip-flop (DFF) 3; 17 is an integrator comprised of the adder 2 and the DFF 3; 4 is a first coefficient circuit which amplifies the output of integrator 17; 5 is a second coefficient circuit which amplifies the output of phase comparator 1; 6 is an adder 6 which adds the outputs of first coefficient circuit 4 and second coefficient circuit 5; 18 is an LPF comprised of integrator 17, first coefficient circuit 4, and second coefficient circuit 5; 7 is a switch which is operated by a pulse applied from pulse generator 14 and switched between the output of adder 6 and an output of a predetermined level generator 13 for providing a predetermined level, such as "0" in the preferred embodiment; 8 is an adder which adds the output of switch 7 and a predetermined reference value applied from a reference input terminal 15; 9 is an adder which adds the output of adder 8 and the output of DFF 10; 19 is a VCO comprised of adder 8, adder 9, and DFF 10; 16 is an output terminal of VCO 19; and 11 is a frequency divider which frequency divides the output of VCO 19. The operation of the digital phase locked loop of Fig. 1 is described herein below with reference to the accompanying Figures 1, 3, 5, 6, 7, 8, 9, 10, and 11. First described is the operation when a sine wave as a phase reference signal (input signal) is input to terminal 12. It is to be noted that the phase comparator 1 is comprised, for example, of a multiplier 24 and LPF 25 as shown in Fig. 6. The waveforms of the two inputs are compared in phase by the phase comparator 1. The two input signals E and F input to the multiplier 24, are shown in Fig. 7, waveforms (E) and (F). The signal G, which is the result of multiplication of signals E and F multiplied by the multiplier 24, is shown in Fig. 7 waveform (G). The waveform of signal H which is the integrated result of signal G by LPF 25 is shown in Fig. 7, waveform (H). The signal H is the phase compared signal of signals E and F. This signal H (the output of the phase comparator 1) and the output of the DFF 3, are added by adder 2, and the added result is input to the first coefficient circuit 4. The circuit comprised of the adder 2 and the DFF 3 is the integrator 17, and the circuit comprised of this integrator 17 and the first coefficient circuit 4 determines the characteristics of the integration factor of the transfer function of LPF 18. In addition, the output of the phase comparator 1 is also input to the second coefficient circuit 5, and the second coefficient circuit 5 determines the proportion component of the transfer function of the LPF 18. The first coefficient circuit 4 and the second coefficient circuit 5 include, for example, a multiplier or alternatively a ROM (read-only memory) device. When a ROM is employed, the ROM table may be written so that the address signal may be input and a amplified signal should be outputted from the ROM. The output of the first coefficient circuit 4 and the second coefficient circuit 5 is added by adder 6 and the added result is input to one of the terminals of the switch 7. The other terminal to switch 7 is applied with a predetermined value, such as a zero value, from a zero value generator 13. This 0 (zero) value is the same value as the input value to the VCO 19 when the VCO 19 oscillates at the center frequency determined by the reference value input to the reference input terminal 15. For example, when the output signal of the switch 7 is an 8-bit digital signal expressing a -128 to 127 step offset binary, the 0 value from zero value generator 13 represents 0 step. Operation of switch 7 is controlled by control pulses produced from pulse generator 14, so that switch 7 is switched between adder 6 and zero value generator 13 at a frequency which is the same as the frequency for controlling phase comparator 1. The operation of the switch 7 according to this pulse is described in detail below. The output of the switch 7 and the reference value provided from reference generator 15 are added by the adder 8, and the output from the adder 8 is further added with the output of the DFF 10 by adder 9. At this point, the follow conditions are considered such that: the output from the switch 7 is at step 0 (for example, by the switching operation to zero generator 13); the reference value applied from reference generator 15 is 2⁴ (=step 16); one cycle period of pulses input to the DFF 10 is Tck; and the number of bits added by the adder 9 is 8 bits. Then the output of the adder 9, i.e., the signal at point B, is a sawtooth wave as shown in Fig. 8. The signal at point B is increased by 2⁴ (16 steps) at each cycle period Tck. If the initial value at point B is 0, VCO 19 overflows after time Tck x 2⁸/2⁴ = 16 Tck, so that point B becomes 0 again. In other words, the oscillation frequency of the VCO 19 is 1/16 Tck. Thus, the center frequency of the sawtooth wave which is the output of the adder 9 is determined by the reference value input from the reference generator 15, and the oscillation frequency is determined by the output of the LPF 18. The output B of the VCO 19 is input to the frequency divider 11. As shown, for example, in Fig. 9, the frequency divider 11 is comprised of n-bit counter 26 and ROM 27. If the number of bits counted by the n-bit counter 26 (n is a natural number) is 1 bit (n=1), signals I, J, K, L, M and N shown in Fig. 9 will have waveforms (I), (J), (K), (L), (M) and (N), respectively, shown in Fig. 10. Signal I in Fig. 9 has a sawtooth waveform as shown in Fig. 10 (I), and is identical to the sawtooth waveform shown in Fig. 8. Only the most significant bit (MSB) of the signal I is input to the n-bit counter 26 and counted as shown by waveform (K) in Fig. 10. Since the number of bits counted by counter 26 is one, signal L will have a waveform (L) as shown in Fig. 10. To maintain the precision of the input signal even in the output signal, a combined 9-bit signal M is formed such that signal L is used as the MSB and signal J shown by waveform (J) in Fig. 10 is used as the lower 8-bit component of the 9-bit signal M, resulting in the sawtooth waveform (M) shown in Fig. 10. Signal M is thus the 1/2 frequency divided product of signal I. The number of frequency divisions depends, of course, on the bit number of the n-bit counter 26, and it is therefore possible to set the frequency division ratio as desired by setting the bit number at any value other than the one bit used in the above exemplification. The ROM table of the ROM 27 is written so that when this signal M is input to the address of ROM 27, the data is output as a sine wave as shown in Fig. 10, waveform (N). The output of this ROM 27, i.e., the output of the frequency divider 11, is returned to the phase comparator 1, and compared as described above with the phase reference signal. Next, the operation when a horizontal sync signal in a standard television signal is applied to the input 12 as the phase reference signal (input signal) is described below. In this example, the phase comparator 1 may be simply comprised of a D flip-flop 28, as shown in Fig. 11(a). At this time, ROM 27 in frequency divider 11 can be deleted. Thus, the output of the frequency divider 11 is the sawtooth wave signal M and not the signal N. The sawtooth wave signal M from frequency divider 11 is applied to a data input of the DFF 28 in phase comparator 1. Furthermore, the DFF in phase comparator 1 has a clock input to which the horizontal sync signal is applied. Thus, the data (sawtooth wave signal M) is latched at the rise edge of the input (horizontal sync signal). The data input, clock input, and data output have waveforms (O), (P) and (Q) as shown in Fig. 11(b). As understood from Figs. 11(a) and 11(b), the phase difference between the horizontal sync signal applied to clock input of the DFF 28 in phase comparator 1 and the output of the frequency divider 11 applied to data input can be obtained by latching the output of the frequency divider 11 at the pulse edge of the horizontal sync signal (phase reference signal). Thus, depending on the type of the phase reference signal, various circuit arrangements may be used for the phase comparator 1 and frequency divider 11. It is to be noted that according to the embodiment shown in Fig. 11(a), the pulse generator 14 is a horizontal sync pulse generator so that the same horizontal sync pulse is applied to switch 7 as control pulse for effecting the switching operation and, at the same time, to input 12 as phase reference signal. In other words, one cycle period T of the horizontal sync pulse for effecting the phase comparison by the phase comparator 1 should be the same as time period of cyclic operation to synchronize the phase of the phase reference signal (input signal) input to input terminal 12 with the phase of the output signal from output terminal 16. As has been described above, when the phase reference signal applied to input 12 is a sine wave (for example, the color subcarrier signal in a standard television signal, or more specifically the color burst signal), the control pulse input to switch 7 is derived from the horizontal sync signal in the standard television signal. If the phase reference signal is the horizontal sync signal as previously described, the control pulse input to switch 7 is generated from the horizontal sync signal. Thus, in both cases, pulse generator 14 generates horizontal sync signal. Thus, the control pulse input to switch 7 can be generated by various means. Furthermore, because the phase of the phase reference signal applied to input 12 and the phase of the output signal as produced from output 16 are finally synchronized, the synchronized pulse can be generated not only from output 16, but also from the output of the frequency divider 11. Next, the operation for correcting the in-loop delay is described. If the pulse generator 14 produces control pulses having a frequency 1/T and pulse duration σ, switch 7 is operated such that output A thereof is connected to zero generator 13 during a pulse interval T-σ, and thereafter, the same is connected to adder 6 during the pulse duration σ. Thus, the output A of switch 7 produces a value β during the pulse duration σ, and value zero during the remaining period, as shown in Fig. 4(a). Thus, the signal at output B in Fig. 1 is such that the pulse is integrated during the pulse duration σ by VCO 19, as shown in Fig. 4(b). Accordingly, the phase of the output B becomes ₂=βσ. If the output signal of the LPF in an ideal digital phase locked loop in which there is no in-loop delay has a value α for the period T as shown in Fig. 3(a), the value α is integrated by the VCO for the period T. In this case, the phase of the output signal after the period T becomes =αT, as shown in Fig. 3(b). Thus, in order to match the phases  and ₂, the following equation: β = αT/σ should be satisfied. To this end, coefficients of the first coefficient circuit 4 and the second coefficient circuit 5 are selected have a value β given by the above equation. It is understood that the in-loop delay has been corrected when =₂ is satisfied. Referring to Fig. 12, the operation of the first embodiment according to the present invention during a period 0 - 3T is described under two different conditions: with no in-loop delay as in an ideal digital phase locked loop; and with in-loop delay. First, in an ideal digital phase locked loop in which there is no in-loop delay, the frequency of the output signal from LPF 18 varies as shown in Fig. 12, waveform (A). On the contrary, when there is in-loop delay, the frequency varying points are shifted by τ (referred to as in-loop delay) as shown in Fig. 12, waveform (B). Furthermore, in the case of the first embodiment, switch 7 is operated such that output A is connected to adder 6 during periods T-σ≤t≤T, 2T-σ≤t≤2T and 3T-σ≤t≤3T, and to zero generator 13 during other periods, as shown in Fig. 12, waveform (C). Accordingly, the phase of the output of the VCO 19 would be as shown by the waveform (D) in Fig. 12, in which: the single dot-dash line corresponds to the phase difference in the case of frequency variation, indicated by waveform (A), by the ideal digital phase locked loop with no in-loop delay; the double dot-dash line corresponds to the phase difference in the case of frequency variation, indicated by waveform (B), by the conventional digital phase locked loop with in-loop delay; and the solid line corresponds to the phase difference in the case of frequency variation, indicated by waveform (C), by the digital phase locked loop according to the first embodiment of the present invention. As apparent from waveform (D) in Fig. 12, there is always a phase difference between the double dot-dash line (the line representing in-loop delay) and the single dot-dash line (the ideal state in which there is no in-loop delay). However, the solid line representing the first embodiment according to the present invention shows that the phase matches that of the ideal state of the single dot-dash line at each time point t=T, 2T, and 3T. The description will be given in detail for the opeation during a period T≤t≤2T+τ. In the case where there is no switch 7 as in a conventional digital phase locked loop, i.e, the digital phase locked loop that results in double dot-dash line phase difference, one may attempt to correct the phase difference by changing the inclination of the double dot-dash line by appropriately changing the coefficient of the coefficient circuits in the LPF in a digital phase locked loop exhibiting in-loop delay so that the phase coincides with that of the single dot-dash line at t=2T and thus corrects the in-loop delay at that time point. However, because the VCO 19 continues to integrate even during T≤t≤2T+τ, the result is such that the signal phase is out of alignment at t=3T even if the phases are temporarily matched at t=2T. In other words, it is necessary to use a switch 7 to change the output of the LPF 18 to 0 so that VCO 19 integration does not occur during the period T≤t≤2T+τ. This problem can therefore be resolved, according to the present invention, by providing a switch 7 as described in the first embodiment to change the input to the VCO 19 to 0 (Fig. 12, waveform (c)) during the period T≤t≤2T+τ so that the output of the VCO 19 varies as illustrated by the solid line in Fig. 12, waveform (d). It is also possible to select the time σ (during which switch 7 is so switched to connect output A with zero generator 13) arbitrarily within τ≤σ≤T. However, when the digital phase locked loop is operated as an automatic phase control (APC) with the use of color subcarrier signal in the standard television signal as the phase reference signal, and if the point at which the input to the VCO 19 changes is in the video signal period of the standard television signal, the color signal will appear as vertical lines when seen on the monitor. It is therefore appropriate to select the σ to such an amount to set the varying point near the front porch immediately preceding the horizontal sync pulse. As thus described, it is therefore possible to completely correct the in-loop delay in the digital phase locked loop circuit by providing: a phase comparator 1 which compares the phase of the input signal (phase reference signal) with the phase of the frequency divider 11 output at a constant period; a LPF 18 which filters and integrates the output from the phase comparator 1; a switch 7 which switches between the output of the LPF 18 and a constant value ("0"); a VCO 19 which oscillates at a frequency proportional to the output of the switch 7; and a frequency divider 11 which frequency divides the output of the VCO 19. The LPF 18 is comprised of: an integrator 17 for integrating input signal; a first coefficient circuit 4 which amplifies the output of the integrator 17; a second coefficient circuit 5 which amplifies the input signal; and an adder 6 (the output of which becomes the output of the LPF 18) which adds the output of the first coefficient circuit 4 with the output of the second coefficient circuit 5). An alternative embodiment according to the present invention is described herein below with reference to the accompanying drawings. Referring to Fig. 2, a digital phase locked loop according to a second embodiment of the present invention is shown. In Figs. 1 and 2, like parts are identified by like numbers; those parts which differ are the coefficient circuits 20 and 21, the switch 22, and the LPF 23. Differences in connections are that the output of the coefficient circuit 21 is connected to one input of the switch 22, and the output of the switch 22 and the output of the coefficient circuit 20 are added by the adder 6. The operation of a digital phase locked loop circuit thus comprised is described below with reference to Fig. 2 and Figs. 5(a) to 5(f). Figs. 5(a), 5(c), and 5(e) show the relationship between time and frequency at points A, B, and C, respectively, in Fig. 2. Fig. 5(f) shows the relationship between time and phase at point D in Fig. 2. Note that Fig. 5(b) show the relationship between time and phase at point D in Fig. 2 when only the signal at point A is integrated by VCO 19, and similarly, Fig. 5(d) show the relationship between time and phase at point D in Fig. 2 when only the signal at point B is integrated by VCO 19. As can be understood from Figs. 5(a) and 5(b), the frequency signal at point A in Fig. 2 is the constant value γ delayed by τ (the in-loop delay). If only this signal is integrated by the VCO 19, the phase ₃ after period T will be ₃=γ(T-τ). Similarly, as can be seen from Figs. 5(c) and 5(d), the frequency signal at point B is changed by the switch 22, during a period σ, to the output of the coefficient circuit 21. Thus, the amplitude during the period σ is δ, and 0 during the remaining period. If this signal only is integrated by the VCO 19, the phase ₄ after period T will be ₄=δσ. Therefore, the final phase of the VCO 19 output is:  5 =  3 +  4 = γ(T-τ) + δσ (Fig. 5(f)). To resolve the phase delay problem, it is therefore sufficient to set the coefficient circuits 20 and 21 such that ₅ coincides with the ideal phase  (the phase in an ideal digital phase locked loop in which there is no in-loop delay). Thus, by the employment of switch 22 (switch 7 in the first embodiment) the output of the coefficient circuit 21, determining the characteristics of the proportion component in the LPF 23 transfer function, is added intermittently to adder 6, whereas the output of the coefficient circuit 20, determining the characteristics of the integration component, is added always to adder 6. Therefore, when compared with the first embodiment, the VCO 19 according to the second embodiment can respond to the frequency signal (the output of the phase comparator 1) even if the output of the phase comparator 1 varies greater than 2π (rad) within the period T. In the second embodiment, because the frequency signal at point A cannot correct the in-loop delay τ as shown in Fig. 5(b), it is not possible to correct completely the in-loop delay of the digital phase locked loop as was possible in the first embodiment. However, because the response of the digital phase locked loop is highly dependent upon the proportion component (which is determined by the output of the coefficient circuit 21), there is virtually no deterioration of the response characteristics if this proportion component is corrected. Therefore, according to the present invention, it is possible to obtain a phase-corrected output from a digital phase locked loop by providing: a phase comparator 1 which compares the phase of the input signal (phase reference signal) with the phase of the frequency divider 11 after every predetermined period; an LPF 23 which filters and integrates the output from the phase comparator 1; a VCO 19 which oscillates at a frequency proportional to the output of the LPF 23; and a frequency divider 11 which frequency divides the output of the VCO 19. The LPF 23 according to the second embodiment is comprised of: an integrator 17 which integrates the input signal; a first coefficient circuit 20 which amplifies the output of the integrator 17, a second coefficient circuit 21 which amplifies the input signal; a switch 22 which changes the connection between the output of the second coefficient circuit 21 and a predetermined value, such as zero; and an adder 6 (the output of which becomes the output of the LPF 23) which adds the output of the switch 22 with the output of the first coefficient circuit 20.

Claims: A digital phase locked loop for correcting a phase of an input signal comprising: a variable frequency oscillating means (19, 11); a phase comparator (1) for comparing the phase of said input signal with the phase of an output signal from said variable frequency oscillating means (19, 11) after every predetermined period; an integrator (17) for integrating the output of said phase comparator (1); a first coefficient circuit (4) for amplifying the output of said integrator (17); a second coefficient circuit (5) for amplifying the output of said phase comparator (1); a first adder (6) for adding the output of the first coefficient circuit (4) and the output of the second coefficient circuit (5); and a predetermined level generator (13); characterized by a switch (7) for selecting between the output of said first adder (6) and the output of said predetermined level generator (13) and for applying the selected one to said variable frequency oscillating means (19, 11), whereby said variable frequency oscillating means (19, 11) oscillates at a frequency proportional to the output of said switch (7); and a pulse generator (14) producing control pulses for controlling the operation of both said phase comparator (1) and said switch (7) so that said switch (7) is switched at a frequency being essentially the same as the frequency for controlling said phase comparator (1). A digital phase locked loop for correcting a phase of an input signal comprising: a variable frequency oscillating means (19, 11); a phase comparator (1) for comparing the phase of said input signal with the phase of an output signal from said variable frequency oscillating means (19, 11) after every predetermined period; an integrator (17) for integrating the output of said phase comparator (1); a first coefficient circuit (20) for amplifying the output of said integrator (17); a second coefficient circuit (21) for amplifying the output of said phase comparator (1); and a predetermined level generator (13); characterized by a switch (7) for selecting between the output of said second coefficient circuit (21) and the output of said predetermined level generator (13); a first adder (6) for adding the output of said switch (7) and the output of said first coefficient circuit (20), whereby said variable frequency oscillating means (19, 11) oscillates at a frequency proportional to the output of said first adder (6); and a pulse generator (14) producing control pulses for controlling the operation of both said phase comparator (1) and said switch (7) so that said switch (7) is switched at a frequency being essentially the same as the frequency for controlling said phase comparator (1). The digital phase locked loop according to Claim 1 or 2, wherein said variable frequency oscillating means (19, 11) comprises a variable frequency oscillator (19). The digital phase locked loop according to anyone of Claims 1-3, wherein said variable frequency oscillating means (19, 11) comprises a variable frequency oscillator (19) and a frequency divider (11) for frequency dividing the output of said variable frequency oscillator (19), whereby the phase of said input signal is compared with the phase of the output of said frequency divider (11) by said phase comparator (1). The digital phase locked loop according to Claim 4, wherein said variable frequency oscillator (19) comprises; a reference signal generator (15) for generating a reference signal; a second adder (8) for adding the output from said switch (7) and said reference signal; a first memory (10) for temporarily storing an output of a third adder (9); and said third adder (9) for adding the output of said second adder (8) and the output of said first memory (10). The digital phase locked loop according to anyone of Claims 1-5, wherein said integrator (17) comprises: a second memory (3) for temporarily storing an output of a fourth adder (2); and said fourth adder (2) for adding the said input signal and and the output of said second memory (3). The digital phase locked loop according to anyone of Claims 1-6, wherein said phase comparator (1) comprises: a multiplier (24) for multiplying said input signal with the output signal of said variable frequency oscillating means (19, 11); and a low pass filter (25) for integrating the output of said multiplier (24). The digital phase locked loop according to anyone of Claims 1-7, wherein said phase comparator (1) comprises a flip-flop (28) for latching and outputting the output signal of said variable frequency oscillating means (19, 11) latched in response to a specified edge of said input signal. The digital phase locked loop according to Claim 4, wherein said frequency divider (11) comprises: an n-bit counter (26), wherein is a natural number, for counting only the most significant bit of the output from said variable frequency oscillator (19) when the number of bits in said input is m-bits, where m is a natural number; and a combining means for combining the output of said n-bit counter (26) with said output from said variable frequency oscillator (19), whereby said frequency divider (11) produces (n+m) bit signal, where the signal of n-bits output from the n-bit counter is allocated as n-bits from the most significant bit of the output of the frequency divider (11), and the m-bit of the input is allocated as m-bits from the least significant bit of the output of the frequency divider (11). The digital phase locked loop according to Claim 9, wherein said frequency divider (11) further comprises: a read-only memory (ROM) which receives said (n+m) signal and outputs a data stored at an address specified by the (n+m) bit signal. The digital phase locked loop according to anyone of Claims 1 - 10, wherein said first and second coefficient circuits (4, 5) carry first and second predetermined coefficients. A digital phase locked loop for correcting a phase of an input signal comprising: a variable frequency oscillating means (19, 11); a phase comparator (1) for comparing the phase of said input signal with the phase of an output signal from said variable frequency oscillating means (19, 11) after every predetermined period; a low pass filter (18) for integrating an output of said phase comparator (1); and a predetermined level generator (13); characterized by a switch (7) for alternately selecting between the output of said low pass filter (18) and the output of said predetermined level generator (13) and for applying the selected one to said variable frequency oscillating means (19, 11), whereby said variable frequency oscillating means (19, 11) oscillates at a frequency proportional to the output of said switch (7); and a pulse generator (14) producing control pulses for controlling the operation of both said phase comparator (1) and said switch (7) so that said switch (7) is switched at a frequency being essentially the same as the frequency for controlling said phase comparator (1).

Inventors: KOGA FUMIAKI, MATSUMOTO TOKIKAZU, KOGA, FUMIAKI, MATSUMOTO, TOKIKAZU
Applicants: MATSUSHITA ELECTRIC IND CO LTD, MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD.
Application year: 1990
Main classification: H03L7
IPC codes: H03L7