This invention concerns a type of PLL (phase-locked loop) circuit or other frequency adjusting circuit used in the communications field, etc.
Background of the Invention
FIG. 4 is a block diagram illustrating a conventional PLL frequency synthesizer. In FIG. 4, the frequency synthesizer comprises a voltage-controlled oscillator 1 (referred to as VCO hereinafter) with an oscillation frequency of f.sub.1 ; a frequency divider 2 with a frequency dividing ratio of N1; a reference oscillator 3 with a frequency of f.sub.2 ; a frequency divider 4 with a frequency dividing ratio of N2; a phase comparator 5; and a low-pass filter 6 (referred to as LPF hereinafter).
In this configuration, signal S.sub.1 at a frequency of f.sub.1 output from VCO 1 is subject to processing of frequency dividing (1/N1) by frequency divider 2, and signal S.sub.2 formed is input to phase comparator 5.
On the other hand, signal S.sub.3 at a frequency of f.sub.2 output from reference oscillator 3 is subject to processing of frequency dividing (1/N2) by frequency divider 4, and signal S.sub.4 formed is input to phase comparator 5.
At phase comparator 5, phase comparison with signal S.sub.2 with reference to input signal S.sub.4 is performed. The output of phase comparator 5 is made of an AC component and a DC component (the error output current), and it is output to LPF 6.
For the DC component in phase comparator 5, the polarity (positive/negative) and the magnitude vary depending on whether the phase of signal S.sub.2 leads or lags signal S.sub.4.
In LPF 6, the AC component is removed from the output of phase comparator 5, and only the DC component is extracted and fed back to VCO 1.
In this way, the center frequency of output signal S.sub.1 of VCO 1 always follows the phase of output signal S.sub.3 of reference oscillator 3, and, with the following relationship, VCO 1 oscillates at frequency f.sub.2 in the so-called locked state.
Also, the value of f.sub.2 can be changed at will in steps of (f.sub.2 /N2) by changing frequency dividing ratio N1 of frequency divider 2.
However, in the aforementioned circuit, immediately after the power source is turned on and the circuit is established, and when frequency dividing ratio N1 of frequency divider 2 is changed, the system exits from the locked state (enters the unlocked state), and only the DC component from LPF 6 is fed back to VCO 1. After a little while, VCO 1 reenters the locked state.
The time needed for transition from the unlocked state to the locked state (the lockup time) depends on capacitor C.sub.1 (such as 500 pF), capacitor C.sub.2 (such as 0.2 .mu.F), and resistor R.sub.1 (such as 10 .OMEGA.) that form LPF 6. For the aforementioned circuit, it is difficult to shorten the lockup time because of the need for maintaining a stable locked state.
In particular, the time needed for charging capacitor C.sub.2, which has a large capacitance, is also a factor.
It is an object of this invention to provide a frequency adjusting circuit in which the lockup time of the voltage-controlled oscillator component can be shortened.
Summary of the Invention
In accordance with the invention, a frequency adjusting circuit is provided in which the frequency is adjusted as the oscillation frequency of a voltage-controlled oscillator is made to follow the frequency of a reference signal. The frequency adjusting circuit comprises: a phase comparator which detects the phase difference between the output signal of the voltage-controlled oscillator and the reference signal; a filter which contains a first capacitor connected between the output of the phase comparator and the reference potential, a resistor element having one terminal connected to the output of the phase comparator, and a second capacitor connected between the other terminal of the resistor element and the reference potential, and which feeds back a DC component to the voltage-controlled oscillator corresponding to the output signal of the phase comparator; and a booster circuit which derives the integration value of the voltage waveform on the two terminals of the resistor element, and stores in the second capacitor a charge proportional to the integration value.
According to the invention, for example, right after the circuit is turned on, in the phase comparator, phase comparison is performed for the output signal of the voltage-controlled oscillator with reference to the reference signal; the signal containing the error output current as the DC component is output to the filter.
In the phase comparator, the value of the DC component has its polarity (positive/negative) and magnitude depending on whether the phase of the voltage-controlled oscillator leads or lags the reference signal.
In the filter, from the output of the phase comparator, only the DC component is extracted and it is fed back to the voltage-controlled oscillator.
In this case, the input error output current is stored in the first capacitor. The charge is then transferred to the second capacitor with a time constant depending on the capacitance of the first capacitor and the resistance of the resistor element.
In this case, the prescribed voltage waveform is displayed on the two terminals of the resistor element.
The voltage waveform displayed on the two terminals of the resistor element of the filter is input to the booster circuit, and its integration value is derived. Corresponding to this integration value, the charge is stored in the second capacitor.
In this way, the second capacitor can be charged rapidly. Consequently, for the voltage-controlled oscillator, transition from the unlocked state to the locked state occurs rapidly.
Brief Description of the Drawings
FIG. 1 is a block diagram illustrating an embodiment of a PLL frequency synthesizer as a frequency adjusting circuit in accordance with the invention.
FIG. 2 is a circuit diagram illustrating a circuit for simulation which is equivalent to the frequency adjusting circuit of FIG. 1.
FIG. 3 is a graph illustrating simulation results using the circuit shown in FIG. 2.
FIG. 4 is a block diagram illustrating a conventional PLL frequency synthesizer as a conventional frequency adjusting circuit.
Reference numerals as shown in the drawings:
1, VCO
2,4, frequency divider
3, reference oscillator
5, phase comparator
6, LPF
R.sub.1, resistor element
C.sub.1, C.sub.2, capacitor
7, booster circuit
VIC, voltage/current converter
CMP1, CMP2, comparator
DB, diode bridge
SW1, SW2, switching element
C.sub.3, capacitor
I.sub.e1 -I.sub.e4, constant-current source
V.sub.1 -V.sub.3, constant-voltage source
Description of Preferred Embodiment
FIG. 1 is a block diagram illustrating an embodiment of a PLL frequency synthesizer used as a frequency adjusting circuit in accordance with the invention. FIG. 1 employs the same reference numerals as those shown in FIG. 4 to designate the same parts.
Thus, the PLL frequency synthesizer of FIG. 1 comprises a VCO 1; a frequency divider 2 with a frequency dividing ratio of N1; a reference oscillator 3 with an oscillation frequency of f.sub.2 ; a frequency divider 4 with a frequency dividing ratio of N.sub.2 ; a phase comparator 5; an LPF 6; and a booster circuit 7.
Booster circuit 7 comprises voltage/current converter VIC, comparators CMP1 and CMP2, diode bridge DB, switching elements SW1 and SW2, capacitor C.sub.3, constant-current sources I.sub.e1 -I.sub.e4, and constant-voltage sources V.sub.1 -V.sub.3.
One input (+) of voltage/current converter VIC is connected to the connection point between one terminal of resistor element R.sub.1 of LPF 6 and the input terminal of VCO 1. Its other input (-) is connected to the connection point between the other terminal of the resistor element R.sub.1 of LPF 6 and capacitor C.sub.2.
The output of voltage/current converter VIC is connected to the connection middle point between the cathode of diode D.sub.1 of diode bridge DB and the anode of diode D.sub.2 of said bridge, and it is connected to the noninverting input of comparator CMP1 and the inverting input of comparator CMP2. Also, capacitor C.sub.3 is connected between the output of voltage/current converter VIC and ground.
The connection point between the anode of diode D.sub.1 of diode bridge DB and the anode of diode D.sub.3 of the diode bridge is connected to one terminal of constant-current source I.sub.e2 ; and the other terminal of constant-current source I.sub.e2 is connected to power source voltage V.sub.cc.
The connection point between the cathode of diode D.sub.2 of diode bridge DB and the cathode of diode D.sub.4 of the diode bridge is connected to one terminal of constant-current source I.sub.e1 ; and the other terminal of constant-current source I.sub.e1 is connected to ground.
The connection point between the cathode of diode D.sub.3 of diode bridge DB and the anode of diode D.sub.4 of the diode bridge is connected through constant-voltage source V.sub.2 to the inverting input of comparator CMP1, and it is connected to the noninverting input of comparator CMP2 through constant-voltage source V.sub.3. The connection point between the cathode of diode D.sub.3 and the anode of diode D.sub.4 is connected to constant-voltage source V1.
The output of comparator CMP1 is connected to the control terminal of switching element SW2, and the output of comparator CMP2 is connected to the control terminal of switching element SW1.
The output contacts of switching elements SW1 and SW2 are connected to each other. Their connection point is connected to the connection middle point between the other terminal of resistor element R.sub.1 of LPF 6 and capacitor C.sub.2.
The pole of switching element SW1 is connected to one terminal of constant-current source I.sub.e3 ; and the other terminal of constant-current source I.sub.e4 is connected to ground.
The pole of switching element SW2 is connected to one terminal of constant-current source I.sub.e4 ; and the other terminal of constant-current source I.sub.e4 is connected to power source voltage V.sub.cc.
Also, a current of, say, 60 .mu.A, is fed to constant-current sources I.sub.e3 and I.sub.e4.
In the following, the operation of the aforementioned configuration will be explained.
For example, immediately after the circuit is established, signal S.sub.1 with frequency f.sub.1 output from VCO 1 has its frequency divided to (1/N1) by frequency divider 2, and signal S.sub.2 provided at the output of frequency divider 2 is input to phase comparator 5.
On the other hand, signal S.sub.3 with frequency f.sub.2 output from reference oscillator 3 has its frequency divided to (1/N2) by frequency divider 4, and signal S.sub.4 provided at the output of frequency divider 4 is input to phase comparator 5.
In phase comparator 5, phase comparison is performed with signal S.sub.2 with reference to input signal S.sub.4, and the error output current as the DC component is output to LPF 6.
The polarity (positive/negative) and the magnitude of the value of the DC component in phase comparator 5 vary depending on whether the phase of signal S.sub.2 leads or lags signal S.sub.4.
In LPF 6, the AC component is removed from the output of phase comparator 5, and only the DC component is extracted and fed back to VCO 1.
In this way, the central frequency of output signal S.sub.1 of VCO 1 always follows the phase of output signal S.sub.3 of reference oscillator 3 due to the function of booster circuit 7 to be presented later, and VCO 1 rapidly enters the locked state.
That is, in LPF 6, the input error output current is stored in capacitor C.sub.1. With a time constant of (R.sub.1v .multidot.C.sub.1v), the charge is transferred to capacitor C.sub.2.
Here, R.sub.1v represents the resistance of resistor element R.sub.1, and C.sub.1v represents the capacitance of capacitor C.sub.1.
In this case, the voltage waveform represented by a in FIG. 1 is displayed on the two terminals of resistor element R.sub.1.
By means of voltage/current converter VIC of booster circuit 7, this voltage signal a is converted from a voltage to a current, which is then stored in capacitor C.sub.3.
The voltage generated at capacitor C.sub.3 is applied to the noninverting input of comparator CMP1 and the inverting input of comparator CMP2. Also, the voltage causes current to flow through diode bridge DB, and it is fed through constant-voltage sources V.sub.1 -V.sub.2 to the inverting input of comparator CMP1 and the noninverting input of comparator CMP2.
As the potential of capacitor C.sub.3 makes current flow through the diode bridge DB, it soon returns to the original potential with the waveform represented by c shown in FIG. 1.
During the period of time from voltage generation of capacitor C.sub.3 to resetting to the original level, either the output of comparator CMP1 or CMP2 goes high, and the signal is output to the control terminal of switching element SW2 or SW1.
More specifically, when the output pulse (charge) of phase comparator 5 is higher on the positive side than that in the conventional locked state, the output of comparator CMP1 goes high, and switching element SW2 closes.
On the other hand, when the output pulse (charge) of phase comparator (5) becomes larger on the negative side than that in the conventional locked state, the output of comparator CMP2 goes high, and switching element SW1 closes.
That is, when the voltage generated at capacitor C.sub.3 goes higher than a prescribed level, either switching element SW1 or SW2 closes the current from constant-current sources I.sub.e4 and I.sub.e3 flows through switching elements SW1 or SW2 to capacitor C.sub.2 of LPF 6, in the same direction as the direction of flow through resistor element R.sub.1, and the circuit rapidly enters the locked state.
Also, as either switching element SW1 or SW2 is maintained on during the period of resetting of the potential of capacitor C.sub.3 to the original potential, the amount of the charge flowing through switch SW1 or SW2 is proportional to the amount of the charge through resistor element R.sub.1.
In the practical case, simulation was performed by means of the equivalent circuit shown in FIG. 2.
In the circuit shown in FIG. 2, the frequency of VCO 1 corresponds to the output current of voltage/current converter VIC.sub.1 ; frequency divider 2 integrates the output current of voltage/current converter VIC.sub.1 through capacitor C.sub.4, and phase comparator 5 outputs the error as charge from switching element SW3 and resistor element R.sub.2.
Except for VCO 1, frequency divider 2 and phase comparator 5, the entire circuit is designed using practical transistors. For example, the circuit equivalent to the diode bridge is composed of pnp bipolar transistors P1, P2, and npn bipolar transistors N1 and N2.
FIG. 3 is a graph illustrating the results of simulation for the circuit shown in FIG. 2. The abscissa represents time (msec), and the ordinate represents the level.
In this figure, curve A represents the waveform at the node between capacitor C.sub.1 and resistor element R.sub.1 in the circuit shown in FIG. 2; curve B represents the waveform at the node between resistor element R.sub.1 and capacitor C.sub.2 ; curve C represents the waveform at the middle point of connection between output of voltage/current converter VIC and capacitor C.sub.3 ; D represents the output waveform of comparator CMP1; and E represents the output waveform of comparator CMP2.
The levels of the various waveforms are different. FIG. 3 summarizes the relative levels for ease of understanding.
As can be seen from FIG. 3, for the circuit of this invention, when the phase comparison reference frequency is 10 kHz, at the time about 1 msec after rise, the waveform at point A rapidly nears the converging point, and it rapidly undergoes transition to the locked state.
In addition, the configuration ensures that constant-current sources I.sub.e3 and I.sub.e4 change due to the signal at point C, so that it is able to have point A approach the converging point in a stable manner.
As explained above, in this embodiment, the voltage waveform appearing on the two terminals of resistor element R.sub.1 of LPF 6 is subject to voltage/current conversion by voltage/current converter VIC; the charge is stored in capacitor C.sub.3. The voltage generated in capacitor C.sub.3 is input to comparator CMP1 or CMP2. When the voltage generated is higher than a prescribed level, switching elements SW1 and SW2 become on. Then, in the same direction as the current flows through resistor element R.sub.1 to capacitor C.sub.2, charge proportional to the amount of the charge passing through R.sub.1 flows to capacitor C.sub.2 and is stored there. Consequently, only in the unlocked state of the VCO 1 when the pulse (charge) output from phase comparator 5 is high, the booster circuit 7 is operated, and it is possible to undergo transition to the locked state of the VCO 1 rapidly.
Consequently, the lockup time of the VCO 1 can be shortened, and communication equipment with good response can be realized. This is an advantage.
As explained above, according to this invention, it is possible to shorten the lockup time of the VCO 1 for transition from the unlocked state right after rise of the circuit to the locked state.