GB2347287A - Digital phase control circuit for controlling phase error - Google Patents

Digital phase control circuit for controlling phase error Download PDF

Info

Publication number
GB2347287A
GB2347287A GB0012830A GB0012830A GB2347287A GB 2347287 A GB2347287 A GB 2347287A GB 0012830 A GB0012830 A GB 0012830A GB 0012830 A GB0012830 A GB 0012830A GB 2347287 A GB2347287 A GB 2347287A
Authority
GB
United Kingdom
Prior art keywords
circuit
phase
signal
counter
frequency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
GB0012830A
Other versions
GB0012830D0 (en
GB2347287B (en
Inventor
Toru Takaishi
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP24032095A external-priority patent/JP3331104B2/en
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Publication of GB0012830D0 publication Critical patent/GB0012830D0/en
Publication of GB2347287A publication Critical patent/GB2347287A/en
Application granted granted Critical
Publication of GB2347287B publication Critical patent/GB2347287B/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/08Details of the phase-locked loop
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K3/00Circuits for generating electric pulses; Monostable, bistable or multistable circuits
    • H03K3/02Generators characterised by the type of circuit or by the means used for producing pulses
    • H03K3/027Generators characterised by the type of circuit or by the means used for producing pulses by the use of logic circuits, with internal or external positive feedback
    • H03K3/03Astable circuits
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/08Details of the phase-locked loop
    • H03L7/085Details of the phase-locked loop concerning mainly the frequency- or phase-detection arrangement including the filtering or amplification of its output signal
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/08Details of the phase-locked loop
    • H03L7/10Details of the phase-locked loop for assuring initial synchronisation or for broadening the capture range
    • H03L7/113Details of the phase-locked loop for assuring initial synchronisation or for broadening the capture range using frequency discriminator

Landscapes

  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)

Abstract

A digital phase control circuit 20 for controlling a phase error between a phase of an output signal of an oscillating circuit and a phase of a reference signal. A pulse cycle of the output signal is changed in response to a control input value S. The digital phase control circuit comprises a phase comparator 21 for judging an advance/delay of a phase of the output signal, and a counter circuit 22 for counting up or down according to a judgement of the phase comparator circuit 21 and for changing a count, when that judgement has been reversed, to approximately a mean value of the counts made during the successive same judgements, this count being used as the control input value S.

Description

DIGITAL PHASE CONTROL CIRCUIT AND PLL CIRCUIT This application is a divisional of GB 2 305 558 (9607525.4).
The present invention relates to a digital phase control circuit, a digital phase-locked loop (PLL) circuit having the digital phase control circuit, and a semiconductor integrated circuit having the digital phase control circuit.
In an analog PLL circuit, if noise is added to the input of a voltage-controlled oscillator (VCO), thefrequency and the phase of its output change. Since a low source voltage is used in PLL circuits that operate at high frequency, the noise margin becomes very narrow. These factors make it difficult to increase the accuracy of the output signals in an analog PLL circuit, with the upper limit being approximately 100 MHz.
On the other hand, in a digital PLL circuit,there are a digital logic circuit type and a digital signal processing type.
In the digital logic circuit type, one method uses two frequency-fixed oscillators and switches between them. In another method, one frequency-fixed oscillator is used, and pulses are added or removed relative to its output. However, in either method, the frequency and the phase both change suddenly, necessitating the addition of a frequency divider circuit at the output to average the changes and this makes it difficult to perform phase control to a high degree of accuracy in the high frequency range.
In a digital signal processing type, analog input signals are binary coded with an A/D converter so that they can be processed as digital signals. In this processing, which is performed in real time, the range of possible digital calculation and processing is limited. In other words, since all the processing must be performed during the period of one sampling, the upper limit of the sampling frequency is restricted.
It is desirable to provide a digital PLL circuit that can be employed in higher frequency ranges and a digital phase control circuit that is used in this digital PLL circuit.
It is also desirable to provide a digital PLL circuit which can perform control at a higher degree of accuracy, and a digital phase control circuit. that is used in the digital PLL circuit.
A first aspect of the present invention, as shown in FIG. 1 (A) for example, provides a digital phase control circuit (20) for controlling a phase error between a phase of an output signal of an oscillating circuit (30) and a phase of a reference signal, a pulse cycle of the output signal being changed in response to a control input value S, the digital phase control circuit comprising: a phase comparator circuit (21) for judging an advance/delay of a phase of the output signal as a feedback signal relative to a phase of the reference signal; and a counter circuit (22) for counting up or down according to a judgement of the phase comparator circuit and for changing a count, when the judgement has reversed, to approximately a mean value of the counts which correspond to all of successive same judgements (i. e. of the counts madewhile the judgement was in the previous state), the count being used as the control input value S.
In this digital phase control circuit, when the result of judgement of the advance/delay of the phase is reversed from the previous result, the count in the counter circuit is changed to a value that is approximately a mean value of the counts which correspond to all of successive same judgements. Thus, the frequency error Af between the frequency of the feedback signal 0o and the frequency of the reference signal 0r, when the result of the judgement on the advance/delay of the phase is the reverse of that in the previous result, is reduced. In addition, since the frequency of the signal output from the oscillating circuit changes continuously relative to changes in S, the accuracy with which the phase control is performed is improved.
In an embodiment of the present invention the comparator circuit may judge an advance/delay of the phase of the feedback signal relative to the phase of the reference signal, with a timing of an edge of a pulse of either the reference signal or the feedback signal, by detecting a logical level of the other pulse of the reference signal and the feedback signal.
In such an embodiment of the present invention, as shown in FIGS. 6 and 7 for example, the phasecomparator circuit (21) may output a first pulse (IDCK) when the judgement is performed, output a status signal (ID) holding a result of the judgement and output a second pulse (*IDCHG) when the status signal has changed.
The second pulse (*IDCHG) can be used as a timing pulse for changing the count described above.
In another such embodiment of the present invention, as shown in FIG. 6 for example, the counter circuit (22) may include: a 1/2 frequency divider circuit (223) having an input for receiving the first pulse and having an output for providing a third pulse; a first up/down counter (221) having an up/down mode input for receiving the status signal, having a clock input for receiving the third pulse and having a load control input for receiving the second pulse; and a second up/down counter (222) having an up/down mode input for receiving the status signal, having a clock input for receiving the first pulse, having a load control input for receiving the second pulse, having a parallel data input for receiving a count of the first up/down counter and having a parallel data output for providing the count of the counter circuit as the control input value S.
Since it is not necessary to perform a calculation to determine approximately a mean value of the counts which correspond to all of successive same judgements, faster processing becomes possible.
A second aspect of the present invention, as shown in FIG. 1 for example, provides a digital PLL circuit comprising: an oscillating circuit (30) for providing an output signal, a pulse cycle T of the output signal being changed in response to a control input value S ; a phase comparator circuit (21) for judging an advance/delay of a phase of the output signal as a feedback signal relative to a phase of a reference signal; and a counter circuit (22) for counting up or down according to a judgement of the phase comparator circuit and for changing a count, when the judgement has reversed, to a value that is approximately a mean value of the counts which correspond to all of successive same judgements, the count being used as the control input value S In an embodiment of the second aspect of the present invention, the pulse cycle T of the output signal may be approximately a linear function of the control input value S, namely T = kS + m.
In another such embodiment there is further provided; a first counter for counting pulses of the reference signal; a second counter for counting pulses of the feedback signal; a register for holding the control input value S; a convergence judging circuit for judging whether or not a frequency of the feedback signal relative to a frequency of the reference signal has converged; and a calculation & control circuit for, at every time the first counter has counted a number Nr of pulses, making the register hold S = No-m/k, where No is a count number of the second counter and equalizing the number Nr for a next value to No, for selecting an output of the register as the control input value S before a convergence judgement of the frequency is made and for selecting an output of the counter circuit as the control input value S after the convergence judgement of the frequency is made.
A third aspect of the present invention provides a digital PLL circuit comprising: an oscillating circuit for providing an output signal, a frequency of the output signal being changed in response to a control input value S ; a digital frequency control circuit, providing a first control signal in response to the frequency of the output signal, for controlling in such a way that the frequency of the output signal approaches a frequency of a reference signal; a frequency convergence judgement circuit for judging a convergence of the first control signal; a phase comparator circuit for judging advance/delay of a phase of the output signal relative to a phase of a reference signal; and a counter circuit counting up or down acount according to a judgement of the phase comparator circuit, the counter circuit providing the first control signal as the control input value S while the frequency convergence judgement circuit has not judged the convergence of the first control signal, and the counter providing the count as the control input value S after the frequency convergence judgement circuit has judged the convergence of the first control signal.
A fourth aspect of the present invention provider a semiconductor device comprising: a phase comparator circuit for judging an advance/delay of a phase of a feedback signal relative to a phase of a reference signal; and a counter circuit for counting up or down according to a judgement of the phase comparator circuit and for changing a count, when the judgement has reversed, to a value that is approximately a mean value of the counts which correspond to all of successive same judgements.
Explanation will now be given, by way of background explanation, of a digital frequency control circuit which is the subject of GB 2 305 558. As shown in FIG. 1A for example, a digital frequency control circuit (10), operating in such a way that a frequency of an output signal of an oscillating circuit (30) approaches a frequency of a reference signal, a pulse cycle T of the output signal being approximately alinear function of a control input value S, namely = kS + m, can comprise: a first counter (11) for counting pulses of the reference signal; a second counter (12) for counting pulses of the output signal as a feedback signal; a register for holding the control input value S; and a calculation & control circuit (13,15 and 17) for, at every time the first counter has counted a number Nr of pulses, calculating S = No-m/k, where No is a count of the second counter, making the register hold S and for equalizing the number Nr for a next value to No.
In such a circuit, a first counter may be used as a timer and each time the first counter counts a number Nr of pulses, S = No-m/k is held in the register and a next number Nr is made to equal No and since it is not necessary to perform processing for each pulse of the reference signal or an output signal from the oscillating circuit, it can be used in a high frequency range.
In addition, as will become obvious in the explanation to follow, S, in principle, becomes completely converged when S is set twice in the register and since the output signal frequency of the oscillating circuit changes continuously relative'to changes in S, the frequency control can be performed at a higher degree of accuracy. As shown in FIG. 1A for example, the calculation & control circuit may include: a first calculating circuit (13) for calculating S = No m/k; a second calculating circuit (15) for calculating Nr = S + m/k; and a control circuit (17) for, at every time the first counter has counted the number Nr of pulses, making the register hold an output of the first calculating circuit, equalizing the number Nr for the next value to an output of the second calculating circuit and clearing the second counter to 0. m/k corresponds to Tc/k-Sc in FIG. l (B).
Since the initial value of Nr may be determined by setting the initial value of S in the register (14) and a second counter only has to be cleared to 0, the initial setting can be performed easily.
The calculation & control circuit may, as shown in FIG. 12 for example, include a calculating circuit (13) for calculating Nr = No-m/k; and a control circuit (17A) for, at every time the first counter has counted the number Nr of pulses, making the register hold-an output of the calculating circuit, equalizing the number Nr for a next value to the count No and clearing the second counter to 0.
Since the second calculating circuit is not required, the structure is simplified.
The calculation & control circuit may, as shown-in FIG. 13 for example, include: a calculating circuit (15) for calculating Nr = S + m/k; and a control circuit (17B) for, at every time the first counter has counted the number Nr of pulses, making-the register hold a count of the second counter, equalizing the number Nr for a next value to an output of the calculating circuit and loading-m/k to the second. counter.
Since the first calculating circuit is not required, the structure. is simplified.
The first calculating circuit may, as shown in FIG. 4 for example, include a buffer register (131) for holding No; and the control circuit (17) causes the first calculating circuit to execute calculation by making the buffer register hold No at every time the first counter (11) has counted a number Nr of pulses.
Even when the frequency of pulses counted at the second counter is high, at, for instance, 200 MHz, the calculation can be executed because of holding No in the buffer register. In addition, the calculation is executed only when No is held in the register 131, reducing the power consumption in the calculating circuit.
The second calculating circuit may include a buffer register for holding Nr; and the control circuit may cause the second calculating circuit to executecalculation by making the buffer register hold Nr at every time the first counter has counted a number Nr of pulses.
As shown in FIG. 1 (A) for example,. there may be further provided a convergence judging circuit (16) for judging whether or not the frequency of the feedback signal relative to a frequency of the reference signal has converged based upon an absolute value of a difference between an input value and an output value of the register at every time the first counter has counted the number Nr of pulses.
With this circuit, the judgement on convergence is facilitated since it can be performed according to the absolute value of the difference between the input value and the output value in the register (14). The fact that the judgement on convergence is enabled will be made clear in the explanation below.
The calculation & control circuit may, at every time the first counter outputs a carry-out signal, calculate MAX-Nr, where MAX is a maximum count value of the first counter, and load the first counter with MAX-Nr; in this case, the first counter is an up-counter.
In such an arrangement, a carry-out signal from the first counter makes it relatively easy to discern that the first counter has counted pulses up to thenumber Nr.
In another arrangement, the first counter is a down-counter; and the calculation & control circuit loads the first counter with No at every time a count of the first counter has reached 0.
In such an arrangement it is not necessary to calculate MAX-Nr.
Reference will now be made, by way of example, to the accompanying drawings, in which Figures 2 to 5 are provided as background information and in which: FIG. 1 (A) is a block diagram of a digital PLL circuit used in a first embodiment of the present invention and FIG. 1 (B) is a characteristics diagram of input and output of the oscillating circuit; FIG. 2 shows a structural example of the oscillating circuit in FIG. 1 (A); FIG. 3 is a flow chart illustrating the operation of the digital frequency control circuit in FIG. 1 (A); FIG. 4 is a block diagram showing a structural example of the digital frequency control circuit in FIG. 1 (A); FIG. 5 is a timing chart of the input/output signals of the control circuit in FIG. 4 ; FIG. 6 is a block diagram of a structural example of the digital phase control circuit in FIG. 1 (A) ; FIG. 7 is a timing chart of the input/output signals of the phase comparator circuit in FIG. 6; FIG. 8 is a schematic chart of the operation performed by the circuit shown in FIG. 6, showing changes in the phase error A6 and the frequency error Lf = fo-fr of the feedback signal 0o relative to the reference signal Or and changes in the count CN1 and CN2.
FIGS. 9 (A) and 9 (B) show the results of a simulation performed with the reference signal frequency fr = 200 MHz (cycle Tr = 5 nsec), FIG. 9 (A) is a diagram of the change in the phase error DA of the feedback signal 0o relative to the reference signal or and FIG. 9 (B) is a diagram showing a change in the cycle To of the feedback signal o.
FIGS. 10 (A) to 10 (D) show the results of a simulation performed under conditions identical to those in FIG. 9 and show waveform diagrams of the reference signal 0r, the feedback signal 0o and the signals INC and DEC during the phase control.
FIG. 11 shows the results of a simulation performed under conditions identical to those in FIG. 9 and is a waveform diagram based upon the measurements of the phase error A6 and the cycle error T of the feedback signal 0o relative to the reference signal Or during the initial stage of the phase control. FIG. 12 is a block diagram of a digital PLL circuit used in a second embodiment of the present invention, and FIG. 13 is a block diagram of the. digital PLL, circuit used in a third embodiment of the present invention.
Referring now to the drawings, wherein like reference characters designate like or corresponding parts throughout several views, preferred embodiments of the present invention are described below. Signals which become active at low level will be indicated with an *.
The main subject of this invention is the digital phase control circuit shown in Figure 6; however, this circuit may be employed in a digital PLL circuit which will now be described.
FIG. 1 (A) shows the digital PLL circuit used in a first embodiment of the present invention.
This circuit is provided with a digital frequency control circuit 10, a digital phase control circuit 20 and an oscillating circuit 30.
The first feature of this digital PLL circuit is that an oscillating circuit 30, which outputs a signal whose cycle T may be expressed as a linear function of the control input value S, is employed, as shown in-.
FIG. l (B). For instance, the cycle T is expressed as T = k (S-Sc) + Tc, (1) where k, Sc and Tc are constants.
The oscillating frequency fo of the oscillating circuit 30 is expressed as fo = 1/T. (2) The oscillating circuit 30 may be structured such that an input of a inverter is connected with an output of the invertor via a delay circuit so as to adjust the delay time of this delay circuit in correspondence to the control input value S. An example of this is shown in FIG. 2.
The output of an AND gate 31 is connected to one of the inputs of the AND gate 31 via a non-invertor 32 and an invertor 33, with an enable signal ACT provided to the other input of the AND gate 31. An invertor 34, which functions as a buffer, is connected to an output of the invertor 33.
Between the signal line, which is located between the output of the non-invertor 32 and the input of the invertor 33, and the ground line, a configuration in which a transfer gate 35i and a capacitor 36i are connected in series, is connected in parallel for each i that is 1 to n. The capacity of the capacitor 36i is Zl-l C0, where CO is a constant. The transfer gate 35i is constituted by connecting a pMOS transistor and an nMOS transistor in parallel with the gate of the pMOS transistor provided with a bit Si through an invertor 37i and also the gate of the nMOS transistor provided with the bit Si directly. Bits S1 to Sn constitute a control input value S, where S = S1 + 2-S2 + 2n-1-SSn.
In the structure described above, oscillation is started when the enable signal ACT is set to high and a signalO output from the invertor 34 becomes a pulse train whose cycle is T determined through the Equation (1) above.
The oscillating circuit 30 may take a structure in which a frequency divider circuit for dividing the output frequency is provided at its output stage, since only the constants k and Tc in the Equation (1) change while still satisfying the relationship in Equation (1).
The second feature of the digital PLL circuit shown in FIG. 1 (A) is a new processing type which is employed at the digital frequency control circuit 10 and which uses thenature of the Equation (1) above.
The digital frequency control circuit 10, for adjusting in such a manner that the frequency of the feedback signalo from the oscillating circuit 3Q approaches the frequency of the reference signaler. comprises a counter 11, a counter 12, a calculating circuit 13, a register 14, a calculating circuit 15, a convergence judging circuit 16 and a control circuit 17.
The counter 11 counts the pulses of the reference signaler and notifies notifies control circuit circuit when when number Nr of pulses have been counted, and thereby functions as a timer. The counter 12 is used to detect the number of pulses of the feedback signale within the period of time set by this timer. The calculating circuit 13 calculates the sum Sb of the count No on the counter 12 and the constant C =-Tc/k + Sc when the counter 11 has counted the number of pulses that has been set, i. e., Nr, Sb is expressed as Sb = No-Tc/k + Sc. (3) The register 14 holds Sb as Sa and supplies this to the control input of the oscillating circuit 30 as a control input value S. The calculating circuit 15 calculates the sum Nr of Sa and the constant-C = Tc/k-Sc, Nr is expressed as Nr = Sa + Tc/k-Sc. (4)- The convergence judging circuit 16 determines that the control input value S has converged when the absolute value of the difference between Sa and Sb, immediately before the register 14 holds Sb, falls under a set value. It then sets the frequency control complete signal *EQ to an active state to provide it to the digital phase control circuit 20.
The digital phase control circuit 20 comprises a. phase comparator circuit 21 and a counter circuit 22. The counter circuit 22 is in a through state during the period of frequency control, i. e., while the frequency control complete signal *EQ is inactive, and Sa is provided to the control input of the oscillating circuit 30 from the register 14 via the counter circuit 22.
The operation of the digital frequency control circuit 10 is explained now, in reference to the flow chart shown in FIG. 3. The number in parentheses below are the step. ID numbers used in FIG. 3.
(40) First, an initial value Sa is set in the register 14 by the control circuit 17. This Sa may be for instance, S2 in FIG. 1 (B). Then, from the Equations (1) and (2), the frequency fo = fo0 of the feedback signalÓ is foO = 1/ {k (Sa-Sc) + Tc}. (5) (41) The counter 11 is initialized so that it provides a time-up signal when the counter 11 has counted the set number of pulses, Nr. For instance, MAX-Nr is loaded-into the counter 11, where MAX (all bits are"1") is the maximum value of the count on the counter 11, and the carry output signal, when the count on the counter 11 has reached the maximum value MAX, is provided to the control circuit 17 as a time-up signal. At this time, the count No on the counter 12 is cleared to 0.
(42) The control circuit 17 waits for the time-up. signal from the counter 11.
(43) The calculating circuit 13 executes calculation Sb = No-Tc/k + Sc.
(44) The convergence judging circuit 16 performs convergence judgement for the control input value S.
(45) If the frequency control complete signal *EQ is inactive, the control circuit 17 makes the register 14 hold Sb as Sa. At this time, based upon the Equations (1). (2) and (3) above, the frequency fo = fol of the feedback signal oo is expressed as fol = 1/{k (Sb-Sc) + Tc} = lek (No-Tc/k + Sc-Sc) + Tc} = 1/ (k-No). (6) Generally, No/fo = Nr/fr. (7) From the Equations (4), (5) and (7), No = Nr-fo0/fr = (Sa + Tc/k-Sc)/ [ { (k (Sa-Sc) + Tc} fr]- = l/ (k. fr). (8) Therefore, from the Equations (6) and (8), fol = k-fr/k = fr. (9) This means that in principle, the frequency fo of the feedback signalÓ matches the frequency fr of the reference signaler on the first first try. actuality, actuality, since, due deviation of the constant C =-Tc/k + Sc from the true value, the frequencies do not match on the first try, the operation returns to step 41 above and the processing in steps 41 to 45 is repeated.
(46) When a judgement is made by the convergence judging circuit 16 that Sb has converged to Sa, the frequency control complete signal *EQ is set to the active state and Sa is loaded to the counter circuit 22 as the initial value for the phase control.
If the requirement, for deciding that the frequency of the feedback signal4O has converged to the frequency of the reference signaler, is set as To-Tr < T. (10) this requirement is expressed as I No-Nr < T-No-fr (11) by using the Equations (2) and (7). Also, since Nr-No = (12) from the Equations (3) and (4), I Sb-Sal < T-No-fr. (13) Thus, when the control input value S or the count No converge, the frequency fo2 converges to the frequency fr.
A structural example of the digital frequency control circuit 10 is shown in FIG. 4.
The calculating circuit 13 comprises a register 131 that holds the count No of the counter 12, a adder circuit 132 which adds the contents No in the register 131 and, the constant-Tc/k, and an adder circuit 133 which adds the output from the adder circuit 132 and the constant Sc.
Since the frequency fo is high at, for instance, 200 MHz. it is necessary that the calculation be executed by holding the count No in the register 131. Although the adder circuit 132 and the adder circuit 133 perform calculation in real time, calculation is, in actuality, executed only when the control circuit 17 makes the register 131 hold the count No of the counter 12, and thus, power consumption in the calculating circuit 13 is reduced.
The calculating circuit 15 comprises a register 151, which holds the output from the adder circuit 132, an adder circuit 152, which adds the constant Tc/k to the contents in the register 151 and a subtractor circuit 153, which subtracts the output from the adder circuit 152 from the maximum value MAX of the counter 11.
The convergence judging circuit 16 comprises a register 161, which holds the previous value of the register 151, a comparator circuit 162, which compares the output of the register 151 to the output of the register 161 and outputs a rough match signal when the absolute value of their difference is under, for instance. 7. and a D flip-flop, which holds this signal as the frequency control complete signal *EQ.
The control signal 17 is provided with a counter, 171 for generation of timing signals and the counter 171 is cleared to 0 when the count of the counter 11 reaches the maximum value MAX and the carry-out signal CO from the counter 11 is set to an active state. As shown in FIG. 5, the counter 171 counts the signal obtained by putting the reference signaler through the 1/2 divider circuit and when this count is at 0, 4, 6 and 8, the control circuit 17 provides the respective control signals *CSO, *CS4, *CS6 and *CS 8 as negative pulses with a width of Tr. Also the control circuit 17 provides the control signal *CS 89* as negative pulses with a width of 3Tr when the count is at 8.
When its count becomes a hexadecimal value"F", the counter 171 stops counting. The load signal *LD in FIG. 4 is generated with providing the control signal *CS8 and the frequency control complete signal *EQ to an OR gate 18.
Next. the operation of the digital frequency control circuit 10 in FIG. 4 is explained.
When the count on the counter 11 reaches the maximum value MAX and the carry-out signal CO is set to active, the contents of the register 151 are held in the register 161 as the previous value and the counter 171 is cleared to 0.
Next, the count No on the counter 12 is held in the register 131 with the timing of the fall of the control signal *CSO.
No-Tc/k is calculated by the adder circuit 132 and (No Tc/k) + Sc is calculated by the adder circuit 133. Then Sb is held in the register 14 and No-Tc/k is held in the register 151 with the timing of the fall of the control signal *CS4. A decision is made as to whether or not the absolute value of the difference between the current value and the previous value of (No-Tc/k) (equal to the absolute value of the difference between the current value and the previous value of the control input value S or the count No) is equal to or less than 7, for instance, by comparator circuit 162 and if the value is equal to or less than-7, the output from the comparator circuit 162 is set to low and otherwise it is set to high. (No-Tc/k) + Tc/k = No is calculated by the adder circuit 152 and MAX-No is calculated by the subtractor circuit 153. Next, the output of the comparator circuit 162 is held in the D flip-flop 163 with the timing of the fall of the control signal *CS6 and is output as the frequency control complete signal *EQ.
Next the control signal *CS8 is provided to the OR gate 18 and only when the frequency control complete signal *EQ-is at low, the control signal *CS8 is output from the OR gate 18 as a load signal *LD. While the control signal *CS89 is at low, (MAX-No) is loaded into the counter 11 and the counter 12 is cleared to 0.
In FIG. 1, the digital phase control circuit 20 performs control so that the phase of the feedback signal O approaches the phase of the reference signaler and is provided with a phase comparator circuit 21 and the counter circuit 22. The phase comparator circuit 21 judges as to the advance/delay of the phase of the feedback signalo relative to the reference signaler with the timing of the rise of the reference signaler. The counter circuit 22 loads Sa as an initial value when the frequency control complete signal *EQ has become active, counts the pulses from the phase comparator circuit 21 and supplies the count to the control input of the oscillating circuit 30 as the control input value S.
A structural example of the digital phase control circuit 20 is shown in FIG. 6.
The phase comparator circuit 21 comprises a phase comparator circuit 211 and a clock generator circuit 212.
The phase comparator circuit 211 generates signals DEC, INC and ID based upon the reference signaler and the feedback signal fO. As shown in FIG. 7, the signal DEC is a pulse that is generated with the timing of the rise of ~ reference signaler when the feedback signale is at low. the signal INC is a pulse generated with the timing of the rise of the reference signal r when feedback feedback signalfO is at high and the signal ID is a signal that is reset by the signal DEC and set by the signal INC.
In FIG. 6, the clock generator circuit 212 generates signals *IDCHG and IDCK based upon the signals DEC, INC. and ID. As shown in FIG. 7, the signal *IDCHG is a negative pulse generated when the edge of the signal ID is detected and the signal IDCK is a signal created by removing a positive pulse that corresponds to the negative pulse of the signal *IDCHG from the pulse train of the OR of the signal INC and the signal DEC.
In FIG. 6, the counter circuit 22 is provided with a U (up)/D (down) counter 221 to the data input D of which Sa is provided, a U/D counter 222, the data input D of which. is connected to the data output Q of the U/D counter 221, a 1/2 frequency divider circuit 223, which divides the frequency of the signal IDCK and an AND gate 224. The data output Q of the U/D counter 222 is connected to the control input of the oscillating circuit 30.
The frequency control complete signal *EQ is provided to the enable signal inputs EN of the U/D counters 221 and 222, and while the frequency control complete signal *EQ is inactive, i. e., during the frequency control, counting on the U/D counters 221 and 222 is stopped.
The load signal *LD is provided to a load control input L of the U/D counter 221 and when the load signal *LD is at low, Sa is loaded to the U/D counter 221 and is taken out from the data output Q. When the load signal *LD is at low, the load control input L of the U/D counter 222 is also set to low, the output data from the U/D counter 221 are loaded to the U/D counter 222 and are taken out from the data output Q. Consequently when the load signal, *LD is at low, the U/D counters 221 and 222 are in a through state and Sa travels through the U/D counters 221 and 222 to be provided to the control input of the oscillating circuit 30.
The signal ID is provided to the up/down mode inputs U/D of the U/D counters 221 and 222 and, in order to shift the rising edge of the feedback signal ou toward the rising edge of the reference signal., the U/D counters 221 and 222 are set in the down mode when the signal ID is at low, i. e., when the phase of the feedback signalÓ relative to the reference signaler is delayed and in the reverse situation they are set in the up mode.
The signal IDCK is counted by the U/D counter 222 and the output from the 1/2 frequency divider circuit 223 is counted by the U/D counter 221. The signal *IDCHG and the load signal *LD are provided to the AND gate 224, the output from the AND gate 224 is provided to the load control input L of the U/D counter 222 and when either the load signal *LD or the signal *IDCHG is at low, the count CN1 on the U/D counter 221 is loaded to the U/D counter 222.
FIG. 8 shows a outline of the operation of the circuit shown in FIG. 6.
When the phase error a e of the feedback signalo relative to the reference signaler is positive positive ID is at low), the frequency errora f = fo-fr goes up (To decreases) and the counts CN1 and CN2 are reduced. A 8 = 0, the frequency fo has increased too much. When the change rate ofa 6 is at 0, frequency error A f = 0. The count CN2 corresponding to the frequency fo at this time is approximately equal to the average value of the count CN21 at the time point t = tl and the count CN22 at the time point t = t2 and the average value (CN 21 + CN22)/2 is equal to the count CN1 at the time point t = t2. Since the count CN1 on the U/D counter 221 is loaded to the U/D counter 222 to equalize CN2 = CN1 at the time point t = t2, the accuracy of the phase control is improved. This is the third feature of the digital PLL circuit shown in FIG. 1 (A).
When the phase control is in a steady state, the phase error A 8 and the frequency error f oscillate, offset from each other by approximately Tc/2.
FIGS. 9 (A). 9 (B) and 10 show the results of a simulation performed when the circuits shown in FIG. 4 and FIG. 6 are used in the digital PLL circuit in FIG. 1 (A) with fr at 200 MHz (Tr = 5 nsec) and the source voltage at 3.0 V.
FIG. 9 (A) shows the change in the phase error e of the feedback signalfO relative to the reference signaler and FIG. 9 (B) shows the change in the cycle To of the feedback signalt o.
As FIG. 9 (A) clearly shows, the phase error A 6 oscillates during frequency control within the range of toux, i. e., within the range of-2.5 nsec to 2.5, nsec and its oscillating cycle becomes lengthened as the frequency fo approaches the frequency fr. The frequency control is completed within a short period of time, approximately 30 jn sec. In addition, the phase control, too, enters a steady state very quickly and oscillation of a 9 at short cycles is in the range of approximately 200 psec during the phase control.
As FIG. 9 (B) clearly shows, the cycle To approaches the target value of 5 nsec during the frequency control in steps of time width 10Xsec or shorter and oscillates near the target value during the phase control.
FIGS. 10 (A) to 10 (C) shows changes in the reference signaler, the feedback signal o and the signals INC and DEC during the phase control.
FIG. 11 shows changes in the phase error A 6 and the cycle error T of the feedback signal4O relative to thereference signal r during the initial period of the phase control and it is clear that the phase control enters the steady state within an extremely short period of time.
Furthermore, the accuracy of the phase control is high at 200 psec/5 nsec = 0.04 or lower.
FIG. 12 shows a digital PLL circuit used in a second embodiment of the present invention.
Since the output Nr, except for its initial value, from the calculating circuit 15 in FIG. 1 (A) is equal to the count No, in the digital frequency control circuit 10A in FIG. 12, the calculating circuit 15 register 14 is omitted.
The initial value is loaded to a down counter 11A from a control circuit 17A. When the count on the down counter 11A has reached 0, the control circuit 17A makes the down counter 11A load with the count No on the counter 12.
The second embodiment is identical to the first embodiment in all other respects.
FIG. 13 shows the digital PLL circuit used in a third embodiment of the present invention.
In a digital frequency control circuit 10B, by loading -Tc/k + Sc to the counter 12 instead of clearing the counter 12 to 0, the calculating circuit 13 in FIG. 1 (A) is omitted.
The third embodiment is identical to the first embodiment in all other respects.
Although preferred embodiments of the present invention has been described, it is to be understood that the invention is not limited thereto and that various changes and modifications may be made without departing from the spirit and scope of the invention.
For instance, the phase comparator circuit 21 may judge the advance/delay of the phase of the feedback signal O relative to the reference signaler either either with timing of the fall of the reference signaler or the feedback signal$O or with the timing of the rise of the feedback signalÓ.
Also, the convergence judging circuit 16 may take a structure in which judgement on the convergence of the control input value S is performed based upon the absolute value of the difference between the current value and the previous value on the counter 12. In FIG. 4, a structure in which the output from the register 131 is held in the register 151, omitting the adder circuit 152 is also acceptable.
In relation between the digital phase control circuit 20 and the oscillating circuit 30, the circuit 30 may outputs a signal whose frequency f is a linear function of the control input value S. In this case, inverted signal of ID is used for U/D mode inputs of counters 221 and 222 in FIG. 6.

Claims (12)

1. A digital phase control circuit for controlling a phase error between a phase of an output signal of an oscillating circuit and a phase of a reference signal, a pulse cycle of said output signal being changed in response to a control input value S, said digital phase control circuit comprising: a phase comparator circuit for judging an advance/delay of a phase of said output signal as a feedback signal relative to a phase of said reference signal; and a counter circuit for counting up or down according to a judgement of said phase comparator circuit and for changing a count, when said judgement has reversed, to approximately a mean value of said, counts which correspond to all of successive same judgements, said count being used as said control input value S.
2. A digital phase control circuit according to claim 1 wherein said comparator circuit judges an advance/delay of said phase of said feedback signal relative to said phase of said reference signal, with a timing of an edge of a pulse of either said reference signal or said feedback signal, by detecting a logical level of the other pulse of said reference signal and said feedback signal.
3. A digital phase control circuit according to claim 1 or 2 wherein said phase comparator circuit outputs a first pulse when said judgement is performed, outputs a status signal holding a result of said judgement and outputs a second pulse when said status signal has changed.
4. A digital phase control circuit according to claim 1,2, or 3, wherein said counter circuit includes: a 1/2 frequency divider circuit having an input for receiving said first pulse and having an output for providing a third pulse @ a first up/down counter having an up/down mode input for receiving said status signal, having a clo. ck input for receiving said third pulse and having a load control input for receiving said second pulse ;, and a second up/down counter having an up/down mode input for receiving said status signal, having a clock input for receiving said first pulse, having a load control input for receiving said second pulse, having a parallel data input for receiving a count of said first. up/down counter and having a parallel data output for providing said count of counter circuit as said control input value S.
5. A digital PLL circuit comprising: an oscillating circuit for providing an output signal, a pulse cycle T of said output signal being changed in response to a control input value S; a phase comparator circuit for judging an advance/delay of a phase of said output signal as a feedback signal relative to a phase of a reference signal; and a counter circuit for counting up or down according to a judgement of said phase comparator circuit and for changing a count, when said judgement has reversed, to a value that is approximately a mean value of said counts which correspond to all of successive same judgements, said count being used as said control input value S.
6. A digital PLL circuit according to claim 5 wherein said pulse cycle T of said output signal is approximately a linear function of said control input value S, namely T = kS + m.
7. A digital PLL circuit according to claim 5 or 6, further comprising: a first counter for counting pulses of said reference signal; a second counter for counting pulses of said feedback signal; a register for holding said control input value S; a convergence judging circuit for judging whether or not a frequency of said feedback signal relative to a frequency of said reference signal has converged; and a calculation & control circuit for, at every time said first counter has counted a number Nr of pulses, making said register hold S = No-m/k, where No is a count number of said second counter and equalizing said number Nr for a next value to No, for selecting an output of said register as said control input value S before a convergence judgement of said frequency is made and for selecting an output of said counter circuit as said control input value S after said convergence judgement of said frequency is made.
8. A digital PLL circuit comprising: an oscillating circuit for providing output signal, a frequency of said output signal being changed in response to a control input value S; a digital frequency control circuit, providing a first control signal in response to said frequency of said output signal, for controlling in such a way that said frequency of said output signal approaches a frequency of a reference signal; a frequency convergence judgement circuit for judging a convergence of said first control signal; a phase comparator circuit for judging advance/delay of a phase of said output signal relative to a phase of a reference signal; and a counter circuit counting up or down a count according to a judgement of said phase comparator circuit, said counter circuit providing said first control signal as said control input value S while said frequency convergence judgement circuit has not judged said convergence of said first control signal, said counter providing said count as said control input value S after said frequency convergence judgement circuit has judged said convergence of said first control signal.
9. A semiconductor device comprising: a phase comparator circuit for judging an advance/delay of a phase of a feedback signal relative to a phase of a reference signal: and a counter circuit for counting up or down according to a judgement of said phase comparator circuit and for changing a count, when said judgement has reversed, to a value that is approximately a mean value of said counts which correspond to all of successive same judgements.
10. A digital phase control circuit substantially as hereinbefore described with reference to Figs. 6 to 11 of the accompanying drawings.
11. A digital PLL circuit substantially as hereinbefore described with reference to any of Fig. s 1,12 and 13 in combination with Fig. s 6 to 11 of the accompanying drawings.
12. A semiconductor device substantially as hereinbefore described with reference to any of Fig. s 1,12 and 13 in combination with Fig. s. 6 to 11 of the accompanying drawings.
GB0012830A 1995-09-19 1996-04-11 Digital phase control circuit and pll circuit Expired - Fee Related GB2347287B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP24032095A JP3331104B2 (en) 1995-09-19 1995-09-19 Digital PLL circuit, digital frequency adjustment circuit and digital phase adjustment circuit used for the same, and semiconductor device
GB9607525A GB2305558B (en) 1995-09-19 1996-04-11 Digital frequency control circuit phase control circuit and PLL circuit

Publications (3)

Publication Number Publication Date
GB0012830D0 GB0012830D0 (en) 2000-07-19
GB2347287A true GB2347287A (en) 2000-08-30
GB2347287B GB2347287B (en) 2000-10-25

Family

ID=26309102

Family Applications (1)

Application Number Title Priority Date Filing Date
GB0012830A Expired - Fee Related GB2347287B (en) 1995-09-19 1996-04-11 Digital phase control circuit and pll circuit

Country Status (1)

Country Link
GB (1) GB2347287B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003044644A1 (en) * 2001-11-20 2003-05-30 Nokia Corporation Method and device for synchronising integrated circuits

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0091200A2 (en) * 1982-04-05 1983-10-12 Laser Magnetic Storage International Company Clock recovery apparatus
JPH05227017A (en) * 1992-02-10 1993-09-03 Nec Corp Convergent mode switching type digital pll device
US5343169A (en) * 1992-03-31 1994-08-30 Sgs-Thomson Microelectronics S.A. Frequency locked loop

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0091200A2 (en) * 1982-04-05 1983-10-12 Laser Magnetic Storage International Company Clock recovery apparatus
JPH05227017A (en) * 1992-02-10 1993-09-03 Nec Corp Convergent mode switching type digital pll device
US5343169A (en) * 1992-03-31 1994-08-30 Sgs-Thomson Microelectronics S.A. Frequency locked loop

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003044644A1 (en) * 2001-11-20 2003-05-30 Nokia Corporation Method and device for synchronising integrated circuits
US7127632B2 (en) 2001-11-20 2006-10-24 Nokia Corporation Method and device for synchronizing integrated circuits

Also Published As

Publication number Publication date
GB0012830D0 (en) 2000-07-19
GB2347287B (en) 2000-10-25

Similar Documents

Publication Publication Date Title
JP2630343B2 (en) Variable frequency clock generator
KR940001724B1 (en) Phase locked loop
KR940005934B1 (en) Phase difference detecting circuit
US7116145B2 (en) Phase-locked loop circuit having phase lock detection function and method for detecting phase lock thereof
KR100232271B1 (en) Auto-lock circuit for pll frequency synthesizers
US5276716A (en) Bi-phase decoder phase-lock loop in CMOS
KR100421411B1 (en) Clock signal reproduction device
CN110224697B (en) Phase-locked loop locking method, phase-locked loop circuit and communication transceiving system
US6066988A (en) Phase locked loop circuit with high stability having a reset signal generating circuit
US4354124A (en) Digital phase comparator circuit
US6674824B1 (en) Method and circuitry for controlling a phase-locked loop by analog and digital signals
US5777499A (en) Digital frequency control circuit phase control circuit and PLL circuit
Cheng et al. A difference detector PFD for low jitter PLL
US5900784A (en) Very low-gain voltage controlled oscillator
KR100296207B1 (en) Phase-synchronous loop with stable phase discriminator
US6442703B1 (en) Clock regenerator
JPH0681129B2 (en) Data detector
US6188285B1 (en) Phase-locked loop circuit and voltage-controlled oscillator capable of producing oscillations in a plurality of frequency ranges
US5438300A (en) Digital frequency multiplier utilizing digital controlled oscillator
KR100346838B1 (en) Phase locked loop lock detector circuit and method of lock detection
GB2347287A (en) Digital phase control circuit for controlling phase error
KR20050007821A (en) Phase locked loop circuit having adaptive variable bandwidth
KR100209739B1 (en) Frequency generator
US20030214330A1 (en) Phase-locked loop circuit
EP0480597B1 (en) Phase lock loop

Legal Events

Date Code Title Description
732E Amendments to the register in respect of changes of name or changes affecting rights (sect. 32/1977)
PCNP Patent ceased through non-payment of renewal fee

Effective date: 20100411