Frequency calibration method for a voltage-controlled oscillator
09621174 ยท 2017-04-11
Assignee
Inventors
Cpc classification
H03L7/24
ELECTRICITY
H03L7/099
ELECTRICITY
H03B2201/011
ELECTRICITY
International classification
Abstract
A frequency calibration method for calibrating an output frequency of a voltage-controlled oscillator is provided. The voltage-controlled oscillator includes a first capacitor bank, a second capacitor bank, and a third capacitor bank. The first capacitor bank and the third capacitor bank are initially disabled and the second capacitor bank is initially enabled. The method includes, when the initial output frequency is lower than a reference frequency, adjusting the capacitance of the second capacitor bank until the calibrated output frequency is greater than the reference frequency, and when the initial output frequency is greater than the reference frequency, enabling the first capacitor bank and gradually increasing the capacitance of the first capacitor bank until the calibrated output frequency is lower than the reference frequency.
Claims
1. A frequency calibration method for calibrating an output frequency of a voltage-controlled oscillator, wherein the voltage-controlled oscillator comprises a first capacitor bank, a second capacitor bank, and a third capacitor bank, wherein a capacitance of one capacitor unit in the second capacitor bank is lower than a capacitance of one capacitor unit in the first capacitor bank and the capacitance of one capacitor unit in the second capacitor bank is greater than a capacitance of one capacitor unit in the third capacitor bank, the method comprising: turning off the first capacitor bank and the third capacitor bank; turning on the second capacitor bank; adjusting the output frequency of the voltage-controlled oscillator by controlling a number of enabled unit capacitors in the second capacitor bank; determining whether an output frequency is greater than a reference frequency; when the output frequency is lower than the reference frequency, disabling one capacitor unit in the second capacitor bank and adjusting the output frequency by controlling the number of enabled unit capacitors in the second capacitor bank; and when the output frequency is greater than the reference frequency, gradually enabling at least one capacitor unit to increase capacitance in the first capacitor bank until the output frequency is lower than the reference frequency; stopping adjustment of a number of enabled unit capacitors in the first capacitor bank when the output frequency is lower than the reference frequency; and adjusting the output frequency by controlling the number of enabled unit capacitors in the second capacitor bank until the output frequency is greater than the reference frequency.
2. The method as claimed in claim 1, further comprising: stopping adjustment of the number of enabled unit capacitors in the second capacitor bank when the output frequency is greater than the reference frequency; and adjusting the output frequency by controlling a number of enabled unit capacitors in the third capacitor bank until the output frequency is lower than the reference frequency.
3. A frequency calibration method for calibrating an output frequency of a voltage-controlled oscillator, wherein the voltage-controlled oscillator comprises a first capacitor bank, a second capacitor bank, and a third capacitor bank, wherein a capacitance of one capacitor unit in the second capacitor bank is lower than a capacitance of one capacitor unit in the first capacitor bank and the capacitance of one capacitor unit in the second capacitor bank is greater than a capacitance of one capacitor unit in the third capacitor bank, the method comprising: setting a capacitance of the first capacitor bank to be a minimum capacitance of the first capacitor bank; setting a capacitance of the third capacitor bank to be a minimum capacitance of the third capacitor bank; setting a capacitance of the second capacitor bank to be a maximum capacitance of the second capacitor bank; determining whether the output frequency is greater than a reference frequency; when the output frequency is lower than the reference frequency, disabling one capacitor unit in the second capacitor bank and adjusting the output frequency by gradually decreasing the capacitance of the second capacitor bank; and when the output frequency is greater than the reference frequency, gradually increasing the capacitance of the first capacitor bank until the output frequency is lower than the reference frequency; stopping increasing the capacitance of the first capacitor bank when the output frequency is lower than the reference frequency; and adjusting the output frequency by gradually decreasing the capacitance of the second capacitor bank until the output frequency is greater than the reference frequency.
4. The method as claimed in claim 3, further comprising: stopping adjustment of the capacitance of the second capacitor bank when the output frequency is greater than the reference frequency; and adjusting the output frequency by increasing a capacitance of the third capacitor bank until the output frequency is lower than the reference frequency.
5. A frequency calibration method for calibrating an output frequency of a voltage-controlled oscillator, wherein the voltage-controlled oscillator comprises a first capacitor bank, a second capacitor bank, and a third capacitor bank, wherein a capacitance of one capacitor unit in the second capacitor bank is lower than a capacitance of one capacitor unit in the first capacitor bank and the capacitance of one capacitor unit in the second capacitor bank is greater than a capacitance of one capacitor unit in the third capacitor bank, the method comprising: disabling the first capacitor bank and the third capacitor bank; enabling the second capacitor bank; determining whether an initial output frequency is greater than a reference frequency; when the initial output frequency is lower than the reference frequency, adjusting a capacitance of the second capacitor bank until a calibrated output frequency is greater than the reference frequency; and when the initial output frequency is greater than the reference frequency, enabling the first capacitor bank and gradually increasing a capacitance of the first capacitor bank until the calibrated output frequency is lower than the reference frequency; stopping increasing and fixing capacitance of the first capacitor bank when the output frequency is lower than the reference frequency; and adjusting the output frequency by gradually decreasing the capacitance of the second capacitor bank until the calibrated output frequency is greater than the reference frequency.
6. The method as claimed in claim 5, further comprising: to stop decreasing and fixing the capacitance of the second capacitor bank when the output frequency is greater than the reference frequency; and adjusting the output frequency by increasing a capacitance of the third capacitor bank until the calibrated output frequency is lower than the reference frequency.
7. A voltage-controlled oscillator, comprising: an inductor; a first capacitor bank; a second capacitor bank; a third capacitor bank, wherein the inductor, the first capacitor bank, second capacitor bank and the third capacitor bank are parallel connected; a VCO core to generate an output frequency according to an inductance of the inductor and an equivalent capacitance of the first capacitor bank, the second capacitor bank and the third capacitor bank; and a calibration circuit to compare the output frequency and a reference frequency to generate a control signal to control the equivalent capacitance, wherein the calibration circuit executes a frequency calibration method comprising: turning off the first capacitor bank and the third capacitor bank; turning on the second capacitor bank; adjusting the output frequency of the voltage-controlled oscillator by controlling a number of enabled unit capacitors in the second capacitor bank; determining whether an output frequency is greater than a reference frequency; when the output frequency is lower than the reference frequency, disabling one capacitor unit in the second capacitor bank and adjusting the output frequency by controlling the number of enabled unit capacitors in the second capacitor bank; and when the output frequency is greater than the reference frequency, gradually enabling at least one capacitor unit to increase capacitance in the first capacitor bank until the output frequency is lower than the reference frequency; stopping adjustment of a number of enabled unit capacitors in the first capacitor bank when the output frequency is lower than the reference frequency; and adjusting the output frequency by controlling the number of enabled unit capacitors in the second capacitor bank until the output frequency is greater than the reference frequency.
8. The voltage-controlled oscillator as claimed in claim 7, wherein the method further comprises: stopping adjustment of the number of enabled unit capacitors in the second capacitor bank when the output frequency is greater than the reference frequency; and adjusting the output frequency by controlling a number of enabled unit capacitors in the third capacitor bank until the output frequency is lower than the reference frequency.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The present invention can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:
(2)
(3)
(4)
(5)
DETAILED DESCRIPTION OF THE INVENTION
(6) The following description is of the best-contemplated mode of carrying out the invention. This description is made for the purpose of illustrating the general principles of the invention and should not be taken in a limiting sense. The scope of the invention is best determined by reference to the appended claims.
(7)
C.sub.u1>C.sub.u2>C.sub.u3
(8) The calibration circuit 16 receives and compares the output frequency f.sub.out and a reference frequency f.sub.ref to generate a control signal S.sub.c to control the first capacitor bank 12, the second capacitor bank 13 and the third capacitor bank 14. In one embodiment, the control signal S.sub.c comprises a first control signal to adjust the capacitance of the first capacitor bank 12, a second control signal to adjust the capacitance of the second capacitor bank 13, and a third control signal to adjust the capacitance of the third capacitor bank 14. If the voltage-controlled oscillator is a full digital voltage-controlled oscillator, the control signal S.sub.c is replaced by a binary tuning word to control the capacitances of the first capacitor bank 12, the second capacitor bank 13 and the third capacitor bank 14.
(9)
(10) In another embodiment, the binary tuning word can be expressed by a decimal form. For example, the decimal tuning word 0 means that no switch is turned on, the decimal tuning word 1 means that switch SW1 is turned on, and the decimal tuning word 3 means that switches SW1 and SW2 are turned on. When a switch is turned on, its corresponding capacitor works to change the equivalent capacitance of the capacitor bank.
(11)
(12) In step S32, the calibration circuit 16 determines whether the output frequency is greater than the reference frequency. If the frequency is greater than the reference frequency, step S33 is executed. In step S33, the calibration circuit enables one unit capacitor in the first capacitor bank 12. If the frequency is not greater than the reference frequency, step S35 is executed.
(13) In the default setting, all the unit capacitors in the first capacitor bank 12 are disabled. This means that the equivalent capacitance of the first capacitor bank 12 is zero. Assuming that the capacitance of the unit capacitor in the first capacitor bank 12 is C1, step S33 means that the equivalent capacitance of the first capacitor bank 12 becomes C1. In step S34. The calibration circuit 16 determines whether the output frequency is lower than the reference frequency. If the frequency is not lower than the reference frequency, a first tuning word Cap1 is increased by 1 to enable one more unit capacitor in the first capacitor bank 12. In other words, the current equivalent capacitance of the first capacitor bank 12 is 2*C1.
(14) If the frequency is lower than the reference frequency in step S34, step S35 is executed. In step S35, the calibration circuit 16 disables one unit capacitor in the second capacitor bank 13, i.e. the second tuning word Cap2 for the second capacitor bank 13 is decreased by 1. Then, in step S36, the calibration circuit 16 determines whether the output frequency is greater than the reference frequency. If the output frequency is not greater than the reference frequency, the calibration circuit 16 disables one more unit capacitor in the second capacitor bank 13.
(15) If the output frequency is greater than the reference frequency, step S37 is executed. The calibration circuit 16 enables one unit capacitor in the third capacitor bank 14, i.e. the third tuning word Cap3 for the third capacitor bank 14 is increased by 1. Then, in step S38, the calibration circuit 16 determines whether the output frequency is lower than the reference frequency. If yes, the frequency calibration procedure is done. If not, the calibration circuit 16 enables one unit capacitor in the third capacitor bank 14, i.e. the third tuning word Cap3 for the third capacitor bank 14 is increased by 1.
(16)
(17) In step S42, the calibration circuit 16 determines whether the output frequency is greater than the reference frequency. If the frequency is greater than the reference frequency, step S43 is executed. In step S43, the calibration circuit enables one unit capacitor in the first capacitor bank 12. If the frequency is not greater than the reference frequency, step S45 is executed.
(18) In step S44, the calibration circuit 16 determines whether the output frequency is lower than the reference frequency. If the frequency is not lower than the reference frequency, a first tuning word Cap1 is increased by 1 to enable one more unit capacitor in the first capacitor bank 12.
(19) If the frequency is lower than the reference frequency in step S44, step S45 is executed. In step S45, the calibration circuit 16 disables one unit capacitor in the second capacitor bank 13, i.e. the second tuning word Cap2 for the second capacitor bank 13 is decreased by 1. Then, in step S46, the calibration circuit 16 determines whether the output frequency is greater than the reference frequency. If the output frequency is not greater than the reference frequency, the calibration circuit 16 disables one more unit capacitor in the second capacitor bank 13.
(20) If the output frequency is greater than the reference frequency, step S47 is executed. The calibration circuit 16 enables one unit capacitor in the third capacitor bank 14, i.e. the third tuning word Cap3 for the third capacitor bank 14 is increased by 1. Then, in step S48, the calibration circuit 16 determines whether the output frequency is lower than the reference frequency. If yes, the frequency calibration procedure is done. If not, the calibration circuit 16 enables one unit capacitor in the third capacitor bank 14, i.e. the third tuning word Cap3 for the third capacitor bank 14 is increased by 1.
(21) According to above paragraphs, the proposed frequency calibration method starts by adjusting the capacitance of a first capacitor bank, wherein the first capacitor bank is not the largest or the smallest capacitor bank. When the capacitance of the selected capacitor bank is determined, the proposed frequency calibration method starts adjusting the capacitance of a second capacitor bank, wherein the unit capacitance in the second capacitor bank is greater than the unit capacitance in the first capacitor bank. When the capacitance of the second capacitor bank is determined, the proposed frequency calibration method starts adjusting a third capacitor bank, wherein the unit capacitance in the second capacitor bank is lower than the unit capacitance in the first capacitor bank. When the capacitance of the third capacitor bank is determined, the proposed frequency calibration method starts adjusting the capacitance of a fourth capacitor bank, wherein the unit capacitance in the fourth capacitor bank is greater than the unit capacitance in the second capacitor bank. According to the described calibration mechanism, the frequency calibration method stops when the capacitance of each capacitor bank is determined.
(22) While the invention has been described by way of example and in terms of the preferred embodiments, it should be understood that the invention is not limited to the disclosed embodiments. On the contrary, it is intended to cover various modifications and similar arrangements (as would be apparent to those skilled in the art). Therefore, the scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements.