CN108259036B - VCO, frequency calibration method thereof, electronic device, and computer storage medium - Google Patents

VCO, frequency calibration method thereof, electronic device, and computer storage medium Download PDF

Info

Publication number
CN108259036B
CN108259036B CN201810019718.3A CN201810019718A CN108259036B CN 108259036 B CN108259036 B CN 108259036B CN 201810019718 A CN201810019718 A CN 201810019718A CN 108259036 B CN108259036 B CN 108259036B
Authority
CN
China
Prior art keywords
varactor
center frequency
vco
frequency
initial center
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.)
Active
Application number
CN201810019718.3A
Other languages
Chinese (zh)
Other versions
CN108259036A (en
Inventor
郑方
孙文
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.)
Shanghai Shunjiu Electronic Technology Co ltd
Original Assignee
Shanghai Shunjiu Electronic Technology Co 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
Application filed by Shanghai Shunjiu Electronic Technology Co ltd filed Critical Shanghai Shunjiu Electronic Technology Co ltd
Priority to CN201810019718.3A priority Critical patent/CN108259036B/en
Publication of CN108259036A publication Critical patent/CN108259036A/en
Application granted granted Critical
Publication of CN108259036B publication Critical patent/CN108259036B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • H03L7/099Details of the phase-locked loop concerning mainly the controlled oscillator of the loop

Abstract

The embodiment of the invention discloses a VCO (voltage controlled oscillator) and a frequency calibration method thereof, electronic equipment and a computer storage medium, wherein the method comprises the following steps: measuring an actual center frequency of a first varactor, wherein the initial center frequency of the first varactor is a target operating frequency of the VCO; if the actual center frequency of the first varactor is deviated from the initial center frequency, calibrating the initial center frequency of a second varactor according to the deviation, wherein varactors in the VCO are sequentially arranged in parallel according to the sequence of gradual increase or decrease of the initial center frequency, and the second varactors are a preset number of varactors arranged near the first varactor in the VCO; and selecting a second varactor corresponding to the target working frequency as a target varactor based on the frequency calibration results, so as to realize the rapid calibration of the VCO.

Description

VCO, frequency calibration method thereof, electronic device, and computer storage medium
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a VCO (voltage controlled oscillator), a frequency calibration method thereof, electronic equipment and a computer storage medium.
Background
In radio technology, in order to improve the performance of electronic devices, feedback control circuits, such as Phase Locked Loops (PLLs), are widely provided in electronic devices. The PLL is a phase error control system, which compares the phases of a reference signal and an output signal to generate a phase error voltage to adjust the phase of the output signal, so as to achieve the purpose of the output signal having the same frequency as the reference signal. The core device in the PLL is a Voltage Controlled Oscillator (VCO), and the VCO is used to bring the oscillation frequency close to the frequency of the reference signal until the two frequencies are the same, so that the phase of the VCO output signal and the phase of the reference signal keep a certain specific relationship, thereby achieving the purpose of phase locking.
It follows that the VCO plays a critical role in the PLL, and the accuracy of the VCO directly affects the accuracy of the PLL. However, the center frequency of each varactor in the VCO varies with the operating environment (e.g., ambient temperature). Therefore, the VCO needs to be calibrated first before each use of the VCO. The current method of VCO frequency calibration is to re-measure each varactor in the VCO and determine the center frequency of each varactor at the current time.
However, the VCO includes many varactors, and it takes a lot of time to perform a new measurement for each varactor.
Disclosure of Invention
The embodiment of the invention provides a VCO (voltage controlled oscillator), a frequency calibration method thereof, electronic equipment and a computer storage medium, and aims to solve the problem of long time consumption of the conventional VCO frequency calibration method.
In a first aspect, an embodiment of the present invention provides a method for calibrating a frequency of a VCO, including:
measuring an actual center frequency of a first varactor, wherein the initial center frequency of the first varactor is a target operating frequency of the VCO;
if the actual center frequency of the first varactor is deviated from the initial center frequency, calibrating the initial center frequency of a second varactor according to the deviation, wherein varactors in the VCO are sequentially arranged in parallel according to the sequence of gradual increase or decrease of the initial center frequency, and the second varactors are a preset number of varactors arranged near the first varactor in the VCO;
and selecting a second varactor corresponding to the target working frequency as a target varactor based on the frequency calibration results.
In a second aspect, an embodiment of the present invention provides a VCO, including:
the plurality of variable capacitance tubes are sequentially connected in parallel according to the sequence that the initial center frequency gradually increases or decreases;
a memory for storing a computer program;
a processor for executing the computer program to implement the method for frequency calibration of a VCO according to the first aspect.
In a third aspect, an embodiment of the present invention provides an electronic device, including: the VCO of the second aspect.
In a fourth aspect, an embodiment of the present invention provides a computer storage medium, where a computer program is stored, and the computer program, when executed, implements the frequency calibration method for a VCO according to the first aspect.
The embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, the actual center frequency of the first varactor is measured, wherein the initial center frequency of the first varactor is the target working frequency of the VCO; if the actual center frequency of the first varactor is deviated from the initial center frequency, calibrating the initial center frequency of the second varactor according to the deviation; and selecting a second varactor corresponding to the target working frequency as a target varactor based on the frequency calibration results. That is, the method of this embodiment measures the actual center frequency of the first varactor only once, and calibrates the initial center frequency of each second varactor in the VCO near the first varactor based on the deviation between the measured actual center frequency of the first varactor and the initial center frequency thereof, thereby greatly reducing the number of measurements, increasing the calibration speed of the VCO, and further improving the operating efficiency of the PLL.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic diagram of a PLL;
FIG. 2 is a diagram of a VCO in accordance with an embodiment of the present invention;
fig. 3 is a flowchart of a method for calibrating a frequency of a VCO according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a first position of a second varactor in a VCO in an embodiment of the present invention;
fig. 5 is a schematic diagram of a second position of the second varactor in the VCO according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a third position of the second varactor in the VCO according to the embodiment of the present invention;
fig. 7 is a diagram illustrating a fourth position of the second varactor in the VCO according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a fifth position of the second varactor in the VCO in an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a VCO according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic structural diagram of a PLL, and as shown in fig. 1, the PLL includes a phase detector, a loop filter, and a voltage controlled oscillator VCO. Wherein the phase detector is a phase comparison means for comparing the phase of the reference signal ui (t) with the output signal uo (t) of the VCO, the output voltage ud (t) of which is a function of the phase difference corresponding to ui (t) and uo (t). The loop filter filters out the high frequency components and noise in ud (t) to ensure the required performance of the loop. The VCO is controlled by the output voltage uc (t) of the loop filter to make the oscillation frequency close to the frequency of the reference information ui (t) until the two frequencies are the same, so that the phase of the VCO output signal and the phase of the reference signal keep a certain specific relationship, and the purpose of phase locking is achieved.
The PLL operates on the principle that the reference signal ui (t) is compared with the VCO output signal uo (t) in a phase detector, which outputs a voltage ud (t) proportional to the phase difference between the two (i.e., uo (t) and ui (t)), which is referred to as the error voltage. Next, the loop filter filters out the high frequency components in ud (t), and then inputs the filtered ud (t) into the VCO. The output signal frequency of the VCO varies with the variation of the reference signal. When the frequency of the output signal of the VCO is inconsistent with the frequency of the reference signal, the output of the phase detector generates a low-frequency change component, and the frequency of the output signal of the VCO is changed through the loop filter. The above process is cycled until the frequency of the output signal of the VCO is identical to the frequency of the reference signal ui (t), the frequency of the VCO stops changing, and the loop is in a locked state.
As shown in fig. 2, the VCO is composed of a plurality of varactors, each varactor corresponding to a frequency range, and the middle value of each frequency range is taken as the center frequency of the frequency range. However, the center frequency of each varactor in the VCO varies with the operating environment (e.g., ambient temperature). That is, when the environment changes, the actual center frequency of each varactor in the VCO is different from the initial center frequency at the factory, and if the PLL control is still performed according to the initial center frequency of the VCO, the PLL cannot normally operate. Therefore, the VCO needs to be calibrated first before each use of the VCO.
The prior art is to calibrate the VCO by re-measuring the center frequency of each varactor in the VCO. However, the VCO includes many varactors, and it takes a long time to perform a new measurement for each varactor.
In order to solve the above technical problem, a frequency calibration method for a VCO according to an embodiment of the present invention measures an actual center frequency of a first varactor, calibrates an initial center frequency of each varactor near the first varactor in the VCO based on a deviation between the actual center frequency of the first varactor and an initial center frequency of the first varactor, and selects a target varactor corresponding to a target operating frequency based on a result of the calibration of each frequency. That is, the method of this embodiment only needs to measure the center frequency of the first varactor once, and performs calibration based on the measurement result, so that the measurement times are few, the calibration speed of the VCO is greatly increased, and the working efficiency of the PLL is further improved.
The technical solution of the present invention will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 3 is a flowchart of a method for calibrating a frequency of a VCO according to an embodiment of the present invention. As shown in fig. 3, the method of this embodiment may include:
and S101, measuring the actual center frequency of the first varactor, wherein the initial center frequency of the first varactor is the target working frequency of the VCO.
The implementation subject of this embodiment is a VCO (specifically, a processor in the VCO), and the VCO may be set alone or in an electronic device. The electronic device may be a television, a bluetooth device, a telemetry device or receiver, etc.
The method of this embodiment may be implemented before the PLL is controlled or when the PLL is in an open loop state.
As shown in fig. 2, the VCO includes a plurality of varactors, each of which is connected in series with a switch, by which the on and off of the varactor is controlled.
Each varactor corresponds to a frequency range, and the middle value of the frequency range is recorded as the center frequency of the varactor. For example, varactor a corresponds to a frequency range of [100GHz, 200GHz ], and then the center frequency of varactor a is 150 GHz.
When the VCO is shipped, the initial center frequency of each varactor in the VCO is measured, specifically, as shown in fig. 2, the switch K1 is closed to open other switches, a test voltage (e.g., a test voltage of 1.5V) is applied across the first varactor, and the initial frequency range of the first varactor is measured. The middle value of this initial frequency range is then taken as the initial center frequency of the first varactor. Referring to the above method, the initial frequency range of each varactor is measured in turn to obtain the initial center frequency corresponding to each varactor.
Each electronic device corresponds to a plurality of different operating frequencies, for example 40 operating frequencies for bluetooth devices. Therefore, the varactors corresponding to the preset working frequencies can be obtained from the initial center frequency corresponding to each varactor.
For example, taking a bluetooth device as an example, assuming that a VCO in the bluetooth device includes 128 varactors, each varactor corresponds to an initial center frequency, and then a one-to-one correspondence between the 128 varactors and the 128 initial center frequencies is obtained, forming table 1:
TABLE 1
Varactor name Initial center frequency (GHz)
Varactor 1 100
Varactor 2 102
…… ……
Varactor 128 354
And then, acquiring the varactors corresponding to the preset working frequencies from the initial center frequency corresponding to each varactor.
Continuing with the above example, assuming that the bluetooth device corresponds to 40 operating frequencies, at this time, initial center frequencies that are one-to-one matched with the 40 operating frequencies can be searched from the 128 initial center frequencies shown in table 1, and the varactors corresponding to the initial center frequencies are denoted as varactors corresponding to the operating frequencies. Thus, a one-to-one correspondence between 40 operating frequencies and 40 varactors can be obtained, forming table 2:
TABLE 2
Working frequency (GHz) Varactor name
100 Varactor 1
120 Varactor 11
…… ……
140 Varactor 21
As can be seen from the above description, table 2 is a part of table 1, where tables 1 and 2 may be set at the time of factory shipment and stored in the electronic device, and the calibration apparatus may obtain the initial center frequency corresponding to each varactor in the VCO and the varactor corresponding to each operating frequency from the electronic device.
In actual use, the electronic device operates at any one of the operating frequencies, for example, in actual use, the bluetooth device operates at any one of the 40 operating frequencies, and the operating frequency is recorded as the target operating frequency of the VCO. That is, the purpose of PLL control in an electronic device is to desirably lock the frequency of the electronic device to the target operating frequency so that the electronic device stably operates at the target operating frequency.
For example, since the target operating frequency of the VCO is 120GHz, as can be seen from table 1 or 2, varactor 11 corresponding to 120GHz is referred to as the first varactor 11 in the VCO.
Due to the change of the environment, the center frequency of the first varactor changes. For example, the environment where the bluetooth device is in during production is different from the environment where the bluetooth device is in at the present time, so that the initial center frequency of the first varactor in the bluetooth device is different from the actual center frequency of the first varactor at the present time, and it is necessary to measure the actual center frequency of the first varactor.
The actual center frequency of the first varactor is measured in the same manner as the initial center frequency of each varactor in the VCO. Specifically, a test voltage (e.g., a test voltage of 1.5V) is applied across the first varactor to obtain a frequency range of the first varactor, and a center frequency of the frequency range is defined as an actual center frequency of the first varactor.
This embodiment only measures the actual center frequency of first varactor promptly, calibrates the VCO based on this measuring result, compares and measures each varactor in prior art and compare, greatly reduced measured data volume, and then improved the calibration efficiency of VCO.
And S102, if a deviation exists between the actual center frequency and the initial center frequency of the first varactor, calibrating the initial center frequency of a second varactor according to the deviation, wherein varactors in the VCO are sequentially arranged in parallel according to the sequence of gradual increase or decrease of the initial center frequency, and the second varactor is a preset number of varactors arranged near the first varactor in the VCO.
And S103, selecting a second varactor corresponding to the target working frequency as a target varactor based on the frequency calibration results.
In particular, the actual center frequency of the first varactor is obtained according to the above steps, and the initial center frequency of the first varactor can be obtained from table 1. Then, the actual center frequency is compared with the initial center frequency to determine whether there is a deviation between the actual center frequency and the initial center frequency of the first varactor.
The actual center frequency of the varactor may vary around the initial center frequency of the varactor as the environment changes, and varactors in a VCO are arranged in parallel in order of increasing or decreasing initial center frequency. Thus, when there is a deviation between the actual center frequency of the first varactor and the initial center frequency, it can be determined that the target operating frequency is the same as the center frequency of one of the varactors in the vicinity of the first varactor.
In this way, a predetermined number of varactors arranged in the vicinity of the first varactor can be obtained as second varactors from the respective varactors of the VCO. For example, the first 10 varactors of the first varactor are obtained, and these 10 varactors are taken as the second varactor; or the last 10 varactors of the first varactor are obtained, and the 10 varactors are used as the second varactor; alternatively, the first 5 varactors and the last 5 varactors of the first varactor are obtained, and these 10 varactors are taken as the second varactor. The number of the obtained second varactors is not limited in this embodiment, and is specifically determined according to actual needs.
After the second varactors are determined, the initial center frequency of each second varactor is calibrated according to the deviation of the actual center frequency of the first varactor from the initial center frequency. For example, the sum of the initial center frequency of each second varactor and the above deviation is taken as the frequency calibration result of each second varactor; alternatively, the sum of the initial center frequency and the offset of each second varactor is multiplied by a predetermined coefficient as a result of frequency calibration of each second varactor. Alternatively, other methods may be used to calibrate the initial center frequency of each second varactor using the offset to obtain the frequency calibration result for each second varactor.
In one example, assuming that the initial center frequency and the target operating frequency of the first varactor are both 120GHz, the actual center frequency of the first varactor at the current moment of measurement is 124GHz, and at this time, the deviation of the actual center frequency of the first varactor from the initial center frequency thereof is 4 GHz. The first 3 varactors of the first varactor are obtained from the varactors of the VCO and are sequentially noted as a second varactor 1, a second varactor 2, and a second varactor 3. As can be seen from table 1, the first varactor corresponding to the initial center frequency of 120GHz is varactor 11, and therefore, the first 3 varactors of varactor 11 are varactor 10, varactor 9, and varactor 8, respectively. I.e. the second varactor 1 is varactor 10, which corresponds to an initial center frequency of 118 GHz; the second varactor 2 is varactor 9, whose corresponding initial center frequency is 116 GHz; the second varactor 3 is varactor 8, which corresponds to an initial center frequency of 114 GHz.
Then, on the basis of the initial center frequency of the second varactor 1, the second varactor 2, and the second varactor 3, a deviation of 4GHz is added, and the obtained frequency calibration results of the second varactor 1, the second varactor 2, and the second varactor 3 are respectively: 122GHz, 120GHz and 118 GHz. At this time, from the frequency calibration result of each second varactor, it is determined that the varactor corresponding to the target operating frequency of 120GHz is the second varactor 2, and the second varactor 2 is the varactor 9 in table 1, so that the varactor 9 is the target varactor corresponding to the target operating frequency at the current time. That is, the target varactor corresponding to the target operating frequency 120GHz is changed from the previous varactor 11 to the varactor 9 after calibration in this embodiment, and accurate calibration of the VCO is achieved.
As can be seen from the above, the method of this embodiment calibrates only the second varactors near the first varactor in the VCO, thereby reducing the data amount of calibration and further improving the calibration speed of the VCO.
In a possible implementation manner of this embodiment, in step S103, the target operating frequency and the frequency calibration result of each second varactor are compared one by one, so as to determine the second varactor corresponding to the target operating frequency, and the second varactor is used as the target varactor.
In another possible implementation manner of this embodiment, in step S103, specifically, based on a dichotomy, a second varactor corresponding to the target operating frequency is determined from the frequency calibration result of the second varactor, and the second varactor is taken as the target varactor.
For example, the frequency calibration results of the second varactors are sorted from small to large (or from large to small), the middle value of the largest frequency calibration result and the smallest frequency calibration result is obtained, and the middle value is compared with the target operating frequency. And when the target working frequency is positioned between the intermediate value and the maximum frequency calibration result, acquiring the intermediate value of the intermediate value and the maximum frequency calibration result, and comparing the new intermediate value with the target working frequency. This gradually narrows the interval until the intermediate value is equal to the target operating frequency. The method can quickly obtain the target varactor corresponding to the target working frequency, and further improve the calibration speed of the VCO.
According to the frequency calibration method of the VCO, the actual center frequency of the first varactor is measured, wherein the initial center frequency of the first varactor is the target working frequency of the VCO; if the actual center frequency of the first varactor is deviated from the initial center frequency, calibrating the initial center frequency of the second varactor according to the deviation; and selecting a second varactor corresponding to the target working frequency as a target varactor based on the frequency calibration results. That is, the method of this embodiment measures the actual center frequency of the first varactor only once, and calibrates the initial center frequency of each second varactor in the VCO near the first varactor based on the deviation between the measured actual center frequency of the first varactor and the initial center frequency thereof, thereby greatly reducing the number of measurements, increasing the calibration speed of the VCO, and further improving the operating efficiency of the PLL.
In this embodiment, the difference of the initial center frequencies between two adjacent varactors in the VCO is the same, and the predetermined number is the ratio of the deviation to the difference.
Specifically, as shown in fig. 2, the difference between the initial center frequencies of two adjacent varactors in the VCO is the same, where the preset number (denoted as M) of the second varactors is the ratio of the deviation (i.e., the difference between the actual center frequency of the first varactor and the initial center frequency) to the difference (i.e., the difference between the initial center frequencies of two adjacent varactors in the VCO). For example, as shown in table 1, the difference between the initial center frequencies of two adjacent varactors in the VCO is 2GHz, and if the deviation between the actual center frequency of the first varactor and the initial center frequency is 10GHz, the preset number M is 10GHz/2GHz, which is 5, and at this time, when the varactors in the VCO sequentially increase the parallel devices from small to large according to the initial center frequency, the first 5 varactors of the first varactor can be selected as the second varactor.
It should be noted that M is a positive integer, and when the ratio of the deviation between the actual center frequency of the first varactor and the initial center frequency and the difference between the initial center frequencies of two adjacent varactors in the VCO is a decimal number, the integer number of the decimal number is added with 1 to obtain the value of M, for example, when the above ratio is 2.3, M is taken to be 3.
Optionally, the preset number M may be greater than a ratio of the deviation to a difference between initial center frequencies of two adjacent varactors in the VCO. For example, if the ratio of the deviation to the difference between the initial center frequencies of two adjacent varactors in the VCO is 5, then M may be a positive integer greater than 5.
In a possible implementation of this embodiment, if the deviation is greater than 0, the initial center frequency of each of the second varactors is smaller than the initial center frequency of the first varactor.
The above steps may include the following two cases according to different setting modes of varactors in the VCO:
in the first case, it is assumed that the varactors in the VCO of this embodiment are sequentially arranged in parallel from small to large according to the initial center frequency, and at this time, if the deviation (i.e., the difference) between the actual center frequency of the first varactor and the initial center frequency is greater than 0, the initial center frequency of each second varactor of this embodiment is smaller than the initial center frequency of the first varactor.
Specifically, fig. 4 is a schematic diagram of a first position of a second varactor in a VCO according to an embodiment of the present invention, and as shown in fig. 4, the varactors in the VCO are sequentially arranged in parallel from small to large according to an initial center frequency, and when it is determined that an actual center frequency of a first varactor is greater than the initial center frequency, that is, a deviation between the actual center frequency of the first varactor and the initial center frequency is greater than 0, it is described that a center frequency of each varactor in the VCO at the current time is increased from the respective initial center frequency. At this time, the target operating frequency falls on the center frequencies of the first M varactors of the first varactor, and therefore, the first M varactors of the first varactor (i.e., the varactors in the dashed box of fig. 4) are obtained and are referred to as second varactors, and the initial center frequencies of these second varactors are all lower than the initial center frequency of the first varactor.
For example, referring to table 1, assuming that the initial center frequency and the target operating frequency of the first varactor are both 120GHz, and the actual center frequency of the first varactor at the current time is 124GHz, at this time, the deviation between the actual center frequency of the first varactor and the initial center frequency thereof is 4GHz > 0. Because each varactor in the VCO increases progressively the parallel arrangement from small to large according to initial center frequency in proper order, can confirm that target operating frequency 120GHz can fall on the center frequency of a certain varactor in the preceding M varactors of first varactor this moment, and then obtain the preceding M varactors of first varactor in each varactor of follow VCO, mark this preceding M varactors as the second varactor, the initial center frequency of these second varactors all is less than the initial center frequency of first varactor.
In the second case, it is assumed that the varactors in the VCO of this embodiment are sequentially arranged in parallel from the initial center frequency to the initial center frequency, and at this time, if the deviation (i.e., the difference) between the actual center frequency of the first varactor and the initial center frequency is greater than 0, the initial center frequency of each second varactor of this embodiment is smaller than the initial center frequency of the first varactor.
Specifically, fig. 5 is a schematic diagram of a second position of the second varactor in the VCO according to the embodiment of the present invention, as shown in fig. 5, the varactors in the VCO are sequentially arranged in parallel in a descending order according to the initial center frequency, and when it is determined that the actual center frequency of the first varactor is greater than the initial center frequency, that is, the deviation between the actual center frequency of the first varactor and the initial center frequency is greater than 0, it is described that the center frequency of each varactor in the VCO at the current time is increased from the respective initial center frequency. At this time, the target operating frequency falls on the center frequencies of the last M varactors of the first varactor, and therefore, the last M varactors of the first varactor (i.e., each varactor in the dashed box of fig. 5) are obtained, and these last M varactors are referred to as second varactors, and the initial center frequencies of these second varactors are all smaller than the initial center frequency of the first varactor.
For example, assuming that the initial center frequency and the target operating frequency of the first varactor are both 120GHz, and the actual center frequency of the first varactor at the present time is 124GHz, at this time, the deviation of the actual center frequency of the first varactor from the initial center frequency thereof is 4GHz > 0. Because each varactor in the VCO is arranged in parallel in a descending order from large to small according to the initial center frequency, the target working frequency of 120GHz can be determined to fall on the center frequency of one varactor in the last M varactors of the first varactor, and then the last M varactors of the first varactor are obtained from each varactor of the VCO, the last M varactors are marked as second varactors, and the initial center frequencies of the second varactors are all smaller than the initial center frequency of the first varactor.
In another possible implementation of this embodiment, if the deviation is smaller than 0, the initial center frequency of each of the second varactors is larger than the initial center frequency of the first varactor.
The above steps may include the following two cases according to different setting modes of varactors in the VCO:
in the first case, it is assumed that the varactors in the VCO of this embodiment are sequentially arranged in parallel from small to large according to the initial center frequency, and at this time, if the deviation (i.e., the difference) between the actual center frequency of the first varactor and the initial center frequency is smaller than 0, the initial center frequency of each second varactor of this embodiment is greater than the initial center frequency of the first varactor.
Specifically, fig. 6 is a schematic diagram of a third position of the second varactor in the VCO according to the embodiment of the present invention, as shown in fig. 6, the varactors in the VCO are sequentially arranged in parallel from small to large according to the initial center frequency, and when it is determined that the actual center frequency of the first varactor is smaller than the initial center frequency, that is, the deviation between the actual center frequency of the first varactor and the initial center frequency is smaller than 0, it is described that the center frequency of each varactor in the VCO at the current time is smaller than the respective initial center frequency. At this time, the target operating frequency may fall on the center frequency of the last M varactors of the first varactor. Thus, the last M varactors of the first varactor (i.e., each varactor in the dashed box of fig. 6) are obtained, and these last M varactors are denoted as second varactors, and the initial center frequencies of these second varactors are all greater than the initial center frequency of the first varactor.
For example, referring to table 1, assuming that the initial center frequency and the target operating frequency of the first varactor are both 120GHz, the actual center frequency of the first varactor at the present time is 118GHz, and at this time, the deviation between the actual center frequency of the first varactor and the initial center frequency thereof is-2 GHz < 0. Because each varactor in the VCO increases progressively the parallel arrangement from small to large according to initial center frequency in proper order, can confirm that target operating frequency 120GHz can fall on the center frequency of a certain varactor in the last M varactors of first varactor this moment, and then obtain the last M varactors of first varactor in each varactor of follow VCO, mark this back M varactors as the second varactor, the initial center frequency of these second varactors all is greater than the initial center frequency of first varactor.
In the second case, it is assumed that the varactors in the VCO of this embodiment are sequentially arranged in parallel from the initial center frequency to the initial center frequency, and at this time, if the deviation (i.e., the difference) between the actual center frequency of the first varactor and the initial center frequency is smaller than 0, the initial center frequency of each second varactor of this embodiment is greater than the initial center frequency of the first varactor.
Specifically, fig. 7 is a fourth position schematic diagram of the second varactor in the VCO according to the embodiment of the present invention, and as shown in fig. 7, the varactors in the VCO are sequentially arranged in parallel in a descending order according to the initial center frequency, and when it is determined that the actual center frequency of the first varactor is smaller than the initial center frequency, that is, the deviation between the actual center frequency of the first varactor and the initial center frequency is smaller than 0, it is indicated that the center frequency of each varactor in the VCO at the current time is smaller than the respective initial center frequency. At this time, the target operating frequency falls on the center frequencies of the first M varactors of the first varactor, and therefore, the first M varactors of the first varactor (i.e., the varactors in the dashed box of fig. 7) are obtained and are referred to as second varactors, and the initial center frequencies of these second varactors are all greater than the initial center frequency of the first varactor.
For example, assuming that the initial center frequency and the target operating frequency of the first varactor are both 120GHz, and the actual center frequency of the first varactor at the present time is 118GHz, the deviation between the actual center frequency of the first varactor and the initial center frequency thereof is-2 GHz < 0. Because each varactor in the VCO is arranged in parallel in a descending order from large to small according to the initial center frequency, it can be determined that the target working frequency 120GHz can fall on the center frequency of one varactor in the first M varactors of the first varactor, then the first M varactors of the first varactor are obtained from each varactor of the VCO, the first M varactors are marked as second varactors, and the initial center frequencies of the second varactors are all greater than the initial center frequency of the first varactor.
In this embodiment, the step S103 of calibrating the initial center frequency of the second varactor according to the deviation may specifically include:
and respectively taking the sum of the initial center frequency of each second varactor and the deviation as the frequency calibration result of each second varactor.
Specifically, the initial center frequency of each second varactor is obtained from table 1, and then the above-mentioned offset is added to the initial center frequency of each second varactor, so as to obtain the sum of the initial center frequency of each second varactor and the offset, and the sum is used as the frequency calibration result of each second varactor.
For example, the deviation of the actual center frequency of the first varactor from the initial center frequency is c, and M second varactors obtained according to the above method are respectively recorded as: second varactor a1A second varactor2… … second varactor aMFrom table 1, the initial center frequency of each second varactor is obtained, which is in turn noted as: [ f ] of1、f2……fM]. And then adding a deviation c to the initial center frequency of each second varactor to obtain frequency calibration results of the M second varactors, which sequentially comprise: [ c + f ]1、c+f2……c+fM]。
It should be noted that if there is no deviation between the actual center frequency and the initial center frequency of the first varactor, that is, when the actual center frequency of the first varactor is equal to the initial center frequency, it indicates that the center frequency of the first varactor is not changed, the first varactor may be selected as the target varactor.
According to the VCO frequency calibration method provided by the embodiment of the present invention, if the deviation is greater than 0, it is determined that the initial center frequency of each second varactor is smaller than the initial center frequency of the first varactor, and if the deviation is smaller than 0, it is determined that the initial center frequency of each second varactor is greater than the initial center frequency of the first varactor, thereby accurately determining the second varactor. Meanwhile, the sum of the initial center frequency and the deviation of each second varactor is used as the frequency calibration result of each second varactor, the calculation process is simple, and the frequency calibration speed of the VCO is further improved.
In yet another possible implementation manner of this embodiment, the difference of the initial center frequencies between two adjacent varactors in the VCO of this embodiment is the same, and the predetermined number is twice the ratio of the deviation to the difference, that is, the predetermined number of this embodiment is 2M.
At this time, the first M varactors and the last M varactors of the first varactor in the VCO may be used as the second varactor.
Because each varactor in the VCO sequentially increases progressively from small to large according to the initial center frequency and is arranged in parallel or sequentially decreases progressively from large to small and is arranged in parallel, when the actual center frequency of the first varactor is deviated from the initial center frequency, the target working frequency can be determined to fall on the center frequency corresponding to a certain varactor nearby the first varactor, and at the moment, a plurality of varactors nearby the first varactor can be used as the second varactor.
Specifically, fig. 8 is a schematic diagram of a fifth position of the second varactor in the VCO according to the embodiment of the present invention, and as shown in fig. 8, with the first varactor as a center, M varactors (i.e., varactors in a dashed box in fig. 8) are respectively taken from two sides of the first varactor, that is, the first M varactors of the first varactor are obtained from the VCO as the second varactors, and the last M varactors of the first varactor are obtained as the second varactors at the same time, so that 2M second varactors are obtained.
Compared with the above embodiments, the method of this embodiment does not determine the sequential arrangement of the varactors in the VCO and the deviation of the actual center frequency of the first varactor from the initial center frequency, and directly takes M varactors from both sides of the first varactor as the second varactors, so that the whole process is simpler.
And after 2M second varactors are obtained according to the steps, obtaining the initial center frequency of each second varactor. The above-mentioned offset is then added to the initial center frequency of each second varactor, the sum of the initial center frequency of each second varactor and the offset is obtained, and this sum is used as the frequency calibration result for the second varactor.
For example, the deviation of the actual center frequency of the first varactor from the initial center frequency of the first varactor is c, and the first M second varactors of the first varactor are respectively denoted as: second varactor a-1A second varactor-2… … second varactor a-MAnd the last M second varactors of the first varactor are respectively recorded as: second varactor a1A second varactor2… … second varactor aM. From table 1, the initial center frequency of each second varactor is obtained, which is in turn noted as: [ f ] of-M……f-2、f-1、f1、f2……fM]. Then, adding a deviation c to the initial center frequency of each second varactor, and obtaining the frequency calibration result of the second varactor as follows: [ c + f ]-M……c+f-2、c+f-1、c+f1+c、c+f2……c+fM]. Frequency based on second varactorAs a result of the calibration, a second varactor corresponding to the target operating frequency is selected as the target varactor, for example, the target operating frequency is c + fM,c+fMThe corresponding second varactor is the second varactor aMThe second varactor aMIs a target varactor corresponding to the target operating frequency.
Fig. 9 is a schematic structural diagram of a VCO according to an embodiment of the present invention, and as shown in fig. 9, a VCO100 according to this embodiment includes: the VCO frequency calibration method comprises a plurality of varactors 10, a memory 11 and a processor 12, wherein the varactors 10 are sequentially and parallelly arranged according to an order of gradually increasing or decreasing an initial center frequency, the memory 11 is used for storing a computer program, and the processor 12 is used for executing the computer program and executing the technical scheme of the VCO frequency calibration method.
Fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 10, the electronic device 200 according to the embodiment includes: such as the VCO100 shown in fig. 9.
When at least a part of the functions of the frequency calibration method for the VCO in the embodiment of the present invention are implemented by software, the embodiment of the present invention further provides a computer storage medium, which is used to store the computer software instructions for performing the frequency calibration for the VCO described above, and when the computer storage medium is run on a computer, the computer storage medium enables the computer to perform various possible frequency calibration methods for the VCO in the above method embodiments. The processes or functions described in accordance with the embodiments of the present invention may be generated in whole or in part when the computer-executable instructions are loaded and executed on a computer. The computer instructions may be stored on a computer storage medium or transmitted from one computer storage medium to another via wireless (e.g., cellular, infrared, short-range wireless, microwave, etc.) to another website site, computer, server, or data center. The computer storage media may be any available media that can be accessed by a computer or a data storage device, such as a server, data center, etc., that incorporates one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., SSD), among others.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (9)

1. A method of frequency calibration of a VCO, comprising:
measuring an actual center frequency of a first varactor, wherein the initial center frequency of the first varactor is a target operating frequency of the VCO;
if the actual center frequency of the first varactor is deviated from the initial center frequency, calibrating the initial center frequency of a second varactor according to the deviation, wherein varactors in the VCO are sequentially arranged in parallel according to the sequence of gradual increase or decrease of the initial center frequency, and the second varactors are a preset number of varactors arranged near the first varactor in the VCO;
and selecting a second varactor corresponding to the target working frequency as a target varactor based on the frequency calibration results.
2. The method of claim 1, wherein if the deviation is greater than 0, an initial center frequency of each of the second varactors is less than an initial center frequency of the first varactor.
3. The method according to claim 1, characterized in that if the deviation is smaller than 0, the initial center frequency of each of the second varactors is larger than the initial center frequency of the first varactor.
4. A method according to any of claims 1-3, characterized in that the difference in initial center frequency between two adjacent varactors in the VCO is the same, and the predetermined number is the ratio of the deviation to the difference.
5. The method according to claim 1, wherein the calibrating the initial center frequency of the second varactor based on the deviation comprises:
and respectively taking the sum of the initial center frequency of each second varactor and the deviation as the frequency calibration result of each second varactor.
6. The method of claim 1, further comprising: and if no deviation exists between the actual center frequency and the initial center frequency of the first varactor, selecting the first varactor as a target varactor.
7. A VCO, comprising:
the plurality of variable capacitance tubes are sequentially connected in parallel according to the sequence that the initial center frequency gradually increases or decreases;
a memory for storing a computer program;
a processor for executing the computer program to implement the method of frequency calibration of a VCO according to any of claims 1 to 6.
8. An electronic device comprising the VCO of claim 7.
9. A computer storage medium, characterized in that the storage medium has stored therein a computer program which, when executed, implements a method of frequency calibration of a VCO according to any one of claims 1 to 6.
CN201810019718.3A 2018-01-09 2018-01-09 VCO, frequency calibration method thereof, electronic device, and computer storage medium Active CN108259036B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810019718.3A CN108259036B (en) 2018-01-09 2018-01-09 VCO, frequency calibration method thereof, electronic device, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810019718.3A CN108259036B (en) 2018-01-09 2018-01-09 VCO, frequency calibration method thereof, electronic device, and computer storage medium

Publications (2)

Publication Number Publication Date
CN108259036A CN108259036A (en) 2018-07-06
CN108259036B true CN108259036B (en) 2021-09-28

Family

ID=62725753

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810019718.3A Active CN108259036B (en) 2018-01-09 2018-01-09 VCO, frequency calibration method thereof, electronic device, and computer storage medium

Country Status (1)

Country Link
CN (1) CN108259036B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1365190A (en) * 2001-01-09 2002-08-21 日本电气株式会社 PLL circuit with variable output frequency
CN101826872A (en) * 2009-12-31 2010-09-08 国民技术股份有限公司 Phaselocked loop integrate circuit comprising LC voltage-controlled oscillator
CN102130679A (en) * 2011-04-12 2011-07-20 广州润芯信息技术有限公司 Active RC (Resistance-Capacitance) filter bandwidth calibration method
CN102201801A (en) * 2010-03-23 2011-09-28 三星半导体(中国)研究开发有限公司 High-accuracy oscillator and self-calibration method thereof
CN102332893A (en) * 2011-10-01 2012-01-25 无锡中星微电子有限公司 Programmable filter circuit
CN103095295A (en) * 2012-12-28 2013-05-08 重庆西南集成电路设计有限责任公司 Phase-locking frequency synthesizer, self-adaptation frequency calibration circuit and calibration method
CN104135285A (en) * 2014-08-07 2014-11-05 上海交通大学 Frequency calibration circuit and method thereof
CN104135232A (en) * 2014-07-29 2014-11-05 深圳市锐能微科技有限公司 Crystal oscillator and frequency searching method
CN104849547A (en) * 2015-05-08 2015-08-19 中国电子科技集团公司第四十一研究所 Calibration method and calibration system for improving preset accuracy of YTO
CN106292839A (en) * 2016-08-11 2017-01-04 上海东软载波微电子有限公司 Real-time clock compensates circuit and calibration steps, device

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ATE309641T1 (en) * 2000-09-15 2005-11-15 Cit Alcatel VOLTAGE CONTROLLED OSCILLATOR WITH AUTOMATIC CENTER FREQUENCY ADJUSTMENT
US6930562B2 (en) * 2002-07-16 2005-08-16 Matsushita Electric Industrial Co., Ltd. Oscillation with multiple series circuits in parallel
US7042253B2 (en) * 2004-05-24 2006-05-09 Industrial Technology Research Institute (Itri) Self-calibrating, fast-locking frequency synthesizer
US7170358B2 (en) * 2004-06-15 2007-01-30 Matsushita Electric Industrial Co., Ltd. Voltage controlled oscillator, and PLL circuit and wireless communication apparatus using the same
CN101212198B (en) * 2006-12-30 2011-06-15 北京六合万通微电子技术股份有限公司 Voltage controlled oscillator
US7646257B2 (en) * 2007-01-10 2010-01-12 Motorola, Inc. Method and apparatus to facilitate the provision and use of a plurality of varactors with a plurality of switches
US8031011B2 (en) * 2008-06-27 2011-10-04 Altera Corporation Digitally controlled oscillators
US8519801B2 (en) * 2011-08-15 2013-08-27 Mediatek Singapore Pte. Ltd. Digitally controlled oscillator
CN103166634B (en) * 2011-12-09 2017-08-11 国民技术股份有限公司 The method of adjustment and device of inductance capacitance parallel resonance chamber resonant frequency
CN106788420B (en) * 2016-11-30 2020-09-22 上海顺久电子科技有限公司 Signal frequency detection method and device and signal frequency controller

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1365190A (en) * 2001-01-09 2002-08-21 日本电气株式会社 PLL circuit with variable output frequency
CN101826872A (en) * 2009-12-31 2010-09-08 国民技术股份有限公司 Phaselocked loop integrate circuit comprising LC voltage-controlled oscillator
CN102201801A (en) * 2010-03-23 2011-09-28 三星半导体(中国)研究开发有限公司 High-accuracy oscillator and self-calibration method thereof
CN102130679A (en) * 2011-04-12 2011-07-20 广州润芯信息技术有限公司 Active RC (Resistance-Capacitance) filter bandwidth calibration method
CN102332893A (en) * 2011-10-01 2012-01-25 无锡中星微电子有限公司 Programmable filter circuit
CN103095295A (en) * 2012-12-28 2013-05-08 重庆西南集成电路设计有限责任公司 Phase-locking frequency synthesizer, self-adaptation frequency calibration circuit and calibration method
CN104135232A (en) * 2014-07-29 2014-11-05 深圳市锐能微科技有限公司 Crystal oscillator and frequency searching method
CN104135285A (en) * 2014-08-07 2014-11-05 上海交通大学 Frequency calibration circuit and method thereof
CN104849547A (en) * 2015-05-08 2015-08-19 中国电子科技集团公司第四十一研究所 Calibration method and calibration system for improving preset accuracy of YTO
CN106292839A (en) * 2016-08-11 2017-01-04 上海东软载波微电子有限公司 Real-time clock compensates circuit and calibration steps, device

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
A 0.5 V LC-VCO with improved varactor tuning technique for WSN;Zhiqun Li 等;《Analog Integrated Circuits and Signal Processing》;20140301;第78卷(第3期);835-842 *
A multi-rate 9.953-12.5-GHz 0.2-μm SiGe BiCMOS LC oscillator using a resistor-tuned varactor and a supply pushing cancellation circuit;A. Maxim;《IEEE Journal of Solid-State Circuits》;20060327;第41卷(第4期);918-934 *
A self-calibrated LC quadrature VCO in a current-limited region;Sangjin Byun 等;《2008 IEEE Radio Frequency Integrated Circuits Symposium》;20080715;379-382 *
低增益变化宽线性范围低噪声压控振荡器设计;郑金汪 等;《微电子学与计算机》;20140615;第31卷(第6期);84-90 *

Also Published As

Publication number Publication date
CN108259036A (en) 2018-07-06

Similar Documents

Publication Publication Date Title
CN104052474B (en) A kind of phase-locked loop frequency bearing calibration and system
US9337850B2 (en) All-digital phase-locked loop (ADPLL) with reduced settling time
US9413369B2 (en) Digital phase-locked loop (DPLL), method of controlling DPLL, and ultra low power (ULP) transceiver using DPLL
EP2959587B1 (en) Single insertion trimming of highly accurate reference oscillators
JP5573484B2 (en) Phase synchronization circuit and wireless communication device
CN106656173B (en) Frequency calibration circuit of oscillator and frequency calibration method thereof
US7609122B2 (en) Method and system for calibration of a tank circuit in a phase lock loop
US10425039B2 (en) Apparatus and method for calibrating frequency of oscillator in response to external signal
US8019564B2 (en) Systems and methods for calibrating the loop bandwidth of a phase-locked loop (PLL)
US20090167389A1 (en) Voltage-Controlled Oscillator
US9654121B1 (en) Calibration method and apparatus for phase locked loop circuit
US20070182494A1 (en) Methods for auto-calibration and fast tuning of voltage controlled oscillators in phase-lock loops
US20220200527A1 (en) Oscillator with frequency variation compensation
US9602110B1 (en) Oscillator amplifier biasing technique to reduce frequency pulling
KR102375949B1 (en) Apparatus and method for controlling output of frequency synthesizer
CN108023589B (en) Frequency calibration method and circuit
KR20060030056A (en) Calibrating a loop-filter of a phase locked loop
US8674780B2 (en) Oscillator with frequency adjustment
TW201914215A (en) Method of controlling digitally controlled oscillator
CN108259036B (en) VCO, frequency calibration method thereof, electronic device, and computer storage medium
CN108233923B (en) VCO, frequency calibration method thereof, electronic device, and computer storage medium
US7312664B2 (en) Methods and apparatuses for testing a voltage-controlled oscillator (VCO) to verify operation across supply voltage and/or temperature
CN102185607B (en) Phase difference detection method, device and circuit in phase-locked loop circuit
US9784770B2 (en) Devices and methods of measuring gain of a voltage-controlled oscillator
US8143958B2 (en) Systems and methods for self testing a voltage controlled oscillator in an open loop configuration

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant