Voltage-controlled oscillator, resonant frequency adjustment method, storage medium and electronic equipment
By using a parallel variable capacitor to adjust the resonant frequency and current mirror symmetric circuit in the voltage-controlled oscillator to suppress noise, the problem of unstable frequency of the output signal of the voltage-controlled oscillator is solved, and higher frequency accuracy and stability are achieved.
Patent Information
- Application Number
- CN202411124682.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-15
- Publication Date
- 2024-11-12
AI Technical Summary
In the prior art, the resonant frequency of the output signal of the voltage-controlled oscillator is unstable and is greatly affected by multi-bit control code switching, temperature, process and noise, and cannot be effectively solved.
The control circuit is adopted, through N variable capacitors connected in parallel, the resonant frequency is adjusted in turn to reach the preset frequency, suppress noise, and suppress power supply and ground noise through the current mirror symmetry circuit.
The resonant frequency stability of the output signal of the voltage-controlled oscillator is achieved, which reduces the influence of noise, improves the accuracy of the clock frequency and the stability of the output signal.
Smart Images

Figure CN118944602A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of clock chip design, and more specifically, to a voltage-controlled oscillator, a method for adjusting a resonant frequency, a storage medium, and an electronic device. Background Art
[0002] In the related art, voltage-controlled oscillators often use switched capacitor arrays to broaden their operating frequency range. Switched capacitor arrays require multi-bit control codes to ensure the accuracy of the oscillation frequency. However, the parasitic effects caused by multi-bit control code switching and the varactor capacitor array have a relatively large impact on the resonant frequency of the output signal of the voltage-controlled oscillator. In addition, the resonant frequency of the output signal of the voltage-controlled oscillator is also affected by temperature, process, and noise between the power supply / ground of the voltage-controlled oscillator. Therefore, in the related art, there is a problem that the resonant frequency of the output signal of the voltage-controlled oscillator is unstable.
[0003] In the prior art, the problem of unstable resonant frequency of the output signal of the voltage-controlled oscillator has not yet been effectively solved. Summary of the invention
[0004] The embodiments of the present application provide a voltage-controlled oscillator, a method for adjusting a resonant frequency, a storage medium, and an electronic device to at least solve the problem of unstable resonant frequency of an output signal of a voltage-controlled oscillator in the prior art.
[0005] According to one embodiment of the present application, a voltage-controlled oscillator is provided, comprising: a control circuit connected in series between a first output port and a second output port of the voltage-controlled oscillator; the control circuit comprises: N variable capacitors connected in parallel; wherein the control circuit is used to sequentially adjust the N variable capacitors to adjust the resonant frequency to the preset frequency when the resonant frequency of the output signal of the voltage-controlled oscillator is not equal to the preset frequency, wherein N is an integer greater than 1, and the capacitance values of the N variable capacitors are different; wherein the preset frequency is the allowed output frequency of the output signal of the voltage-controlled oscillator when the voltage-controlled oscillator is not affected by the influencing factors.
[0006] In an exemplary embodiment, the N variable capacitors connected in parallel include: a first variable capacitor and a second variable capacitor connected in parallel with the first variable capacitor; the first variable capacitor is used to be controlled by a coarse-grained regulation voltage to perform coarse-grained regulation of the resonant frequency; the second variable capacitor is used to be controlled by a fine-grained regulation voltage to perform fine-grained regulation of the resonant frequency; the first variable capacitor is controlled before the second variable capacitor.
[0007] In an exemplary embodiment, the first variable capacitor includes: M third variable capacitors connected in series, wherein M is a positive integer; wherein the injection node of the coarse-grained control voltage is set between any two third variable capacitors among the M third variable capacitors.
[0008] In an exemplary embodiment, the second variable capacitor includes: a first capacitor array; a fourth variable capacitor connected in series between the second variable capacitor and the first output port, and a fifth variable capacitor connected in series between the second variable capacitor and the second output port, wherein the capacitance values of the fourth variable capacitor and the fifth variable capacitor are equal; wherein the first capacitor array includes: a plurality of N MOS tubes connected back to back.
[0009] In an exemplary embodiment, a first target circuit is connected in parallel with a second target circuit, wherein the first target circuit includes: the second variable capacitor, the fourth variable capacitor and the fifth variable capacitor connected in series; wherein the second target circuit includes: a first resistor and a second resistor connected in series, and the resistance values of the first resistor and the second resistor are different.
[0010] In an exemplary embodiment, the injection node of the fine-grained control voltage is arranged between the first resistor and the second resistor.
[0011] In an exemplary embodiment, a first fixed capacitor is connected in series between the fourth variable capacitor and the first output port; and a second fixed capacitor is connected in series between the fifth variable capacitor and the second output port.
[0012] In an exemplary embodiment, the control circuit further includes: a first inductor connected in parallel with the N variable capacitors, the first inductor and the second variable capacitor forming a resonant network, and the resonant network is used to suppress noise of the output signal.
[0013] In an exemplary embodiment, the control circuit further includes: a second capacitor array connected in parallel with the N variable capacitors; the second capacitor array is used to perform broadband regulation on the output signal; wherein the second capacitor array includes: a plurality of NMOS tubes connected back to back.
[0014] In an exemplary embodiment, the control circuit further includes: a first cross-coupled complementary pair and a second cross-coupled complementary pair; the first cross-coupled complementary pair and the second cross-coupled complementary pair are both connected in parallel with the N variable capacitors.
[0015] In an exemplary embodiment, the first cross-coupled complementary pair includes: a first PMOS transistor and a second PMOS transistor that are cross-connected; and the second cross-coupled complementary pair includes: a first NMOS transistor and a second NMOS transistor that are cross-connected.
[0016] In an exemplary embodiment, the voltage-controlled oscillator further includes: a current mirror symmetry circuit connected to the control circuit, wherein the current mirror symmetry circuit is used to suppress power supply noise and ground noise of the voltage-controlled oscillator.
[0017] In an exemplary embodiment, the current mirror symmetric circuit includes: a first mirror current path, a second mirror current path; a third resistor is connected in series between the first port of the first mirror current path and the second port of the second mirror current path; and the control circuit is connected in series between the third port of the first mirror current path and the fourth port of the second mirror current path.
[0018] In an exemplary embodiment, the first mirror current path includes: a third PMOS tube and a fourth PMOS tube; a first low-pass filter is connected in series between the gate of the third PMOS tube and the gate of the fourth PMOS tube; the source of the third PMOS tube is connected to the source of the fourth PMOS tube, and an injection node of the power supply of the voltage-controlled oscillator is provided between the source of the third PMOS tube and the source of the fourth PMOS tube; the drain of the third PMOS tube is connected to the first port, and the drain of the fourth PMOS tube is connected to the third port.
[0019] In an exemplary embodiment, the first mirror current path further includes: a third fixed capacitor; a fifth port of the third fixed capacitor is connected to the source of the fourth PMOS tube, and a sixth port of the third fixed capacitor is connected to the third port; the third fixed capacitor is used to form a second low-pass filter with the source-drain parasitic resistance of the fourth PMOS tube to suppress the power supply noise.
[0020] In an exemplary embodiment, the second mirror current path includes: a third NMOS tube and a fourth NMOS tube; a third low-pass filter is connected in series between the gate of the third NMOS tube and the gate of the fourth NMOS tube; the source of the third NMOS tube is connected to the source of the fourth NMOS tube, and an access node of the ground line of the voltage-controlled oscillator is provided between the source of the third NMOS tube and the source of the fourth NMOS tube; the drain of the third NMOS tube is connected to the second port, and the drain of the fourth NMOS tube is connected to the fourth port.
[0021] In an exemplary embodiment, the second mirror current path further includes: a fourth fixed capacitor; a seventh port of the fourth fixed capacitor is connected to the source of the fourth N MOS tube, and an eighth port of the fourth fixed capacitor is connected to the fourth port; the fourth fixed capacitor is used to form a fourth low-pass filter with the source-drain parasitic resistance of the fourth N MOS tube to suppress the ground noise.
[0022] According to another embodiment of the present application, a method for adjusting a resonant frequency is provided, which is applied to the voltage-controlled oscillator described in any one of the above items, comprising: when the resonant frequency of the output signal of the voltage-controlled oscillator is not equal to a preset frequency, sequentially adjusting N variable capacitors included in a control circuit of the voltage-controlled oscillator to adjust the resonant frequency to the preset frequency, wherein N is an integer greater than 1, and the capacitance values of the N variable capacitors are different, wherein the preset frequency is the allowed output frequency of the output signal of the voltage-controlled oscillator when the voltage-controlled oscillator is not affected by an influencing factor; wherein the control circuit is connected in series between a first output port and a second output port of the voltage-controlled oscillator; and the N variable capacitors are connected in parallel.
[0023] In an exemplary embodiment, before sequentially adjusting the N variable capacitors included in the control circuit of the voltage-controlled oscillator to adjust the resonant frequency to the preset frequency, the method further includes: determining the difference between the resonant frequency and the preset frequency; and executing an alarm event when the difference is higher than a preset threshold, wherein the alarm event is used to indicate that the voltage-controlled oscillator needs maintenance.
[0024] According to another embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when run.
[0025] According to another embodiment of the present application, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0026] According to another embodiment of the present application, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.
[0027] Through the present application, a control circuit is connected in series between the first output port and the second output port of the voltage-controlled oscillator; the control circuit includes: N variable capacitors connected in parallel; wherein the control circuit is used to sequentially adjust the N variable capacitors to adjust the resonant frequency to the preset frequency when the resonant frequency of the output signal of the voltage-controlled oscillator is not equal to the preset frequency, wherein N is an integer greater than 1, and the capacitance values of the N variable capacitors are different; wherein the preset frequency is the allowable output frequency of the output signal of the voltage-controlled oscillator when the voltage-controlled oscillator is not affected by the influencing factor. Therefore, the problem of unstable resonant frequency of the output signal of the voltage-controlled oscillator in the prior art can be solved. Thus, by sequentially adjusting the N variable capacitors, the output signal of the voltage-controlled oscillator is adjusted to be output at a preset frequency, thereby achieving the technical effect of stabilizing the resonant frequency of the output signal. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 It is a schematic diagram of the structure of a phase-locked loop in the related art;
[0029] Figure 2 It is a schematic diagram of the structure of a voltage-controlled oscillator in the related art;
[0030] Figure 3 A schematic diagram of the structure of a voltage-controlled oscillator provided according to an embodiment of the present application;
[0031] Figure 4 Another structural schematic diagram of a voltage-controlled oscillator provided according to an embodiment of the present application;
[0032] Figure 5 A schematic diagram of the structure of a first capacitor array provided according to an embodiment of the present application;
[0033] Figure 6 A schematic diagram of the bias DC voltage before and after filtering provided by an embodiment of the present application;
[0034] Figure 7 Schematic diagram of coarse and fine granularity control curve provided in the embodiment of the present application;
[0035] Figure 8 A schematic diagram of a voltage-controlled tuning curve provided according to an embodiment of the present application;
[0036] Fig. 9 is a flow chart of a method for adjusting the resonant frequency according to an embodiment of the present application. DETAILED DESCRIPTION
[0037] The embodiments of the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0038] It should be noted that the terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0039] Unless otherwise defined, all technical and scientific terms used in this application have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.
[0040] In the related art, the structure of a phase-locked loop (PLL) is as follows: Figure 1 As shown, it is composed of a phase frequency detector (PFD), a charge pump (CP), a second-order low-pass filter (LPF), a voltage-controlled oscillator (VCO) and a frequency divider. Among them, PFD is used to realize the phase comparison of the reference clock signal clkref and the feedback clock signal clkfed, and the generated phase pulse signal is converted into a current signal through CP; LPF is used to filter out the high-frequency components (high-frequency noise) of the CP signal; VCO is also a voltage-frequency converter, which is used to provide a high-frequency signal; N-level frequency dividers are generally composed of several binary frequency dividers. In the phase-locked loop, the voltage-controlled oscillator is an important component, which is used to provide the highest resonant frequency. In the phase-locked loop structure, the jitter of the clock signal (the output signal of the voltage-controlled oscillator) mainly comes from the noise of the voltage-controlled oscillator. Large clock jitter (i.e., resonant frequency) will not only reduce the system's setup time and hold time, greatly limiting the transmission rate, but also offset the center sampling, resulting in erroneous sampling and increasing the data error rate. At the same time, voltage-controlled oscillators often use switched capacitor arrays to broaden their operating frequency range, but switched capacitor arrays require multi-bit control codes to ensure the accuracy of the oscillation frequency (i.e., resonant frequency); and the noise, parasitic effects, and area caused by switched capacitors are relatively large, which will increase the clock jitter of the voltage-controlled oscillator. Therefore, high-performance voltage-controlled oscillators have become the research focus of related technologies.
[0041] In the related art, an optional voltage-controlled oscillator such as Figure 2 As shown, it is composed of a cross-coupled transistor and an inductor-capacitor resonant network. MOS transistors M1, M2, M3, and M4 form a PMOS / NMOS cross-coupled pair, providing an active negative resistance RN = -2 / (g mp +g mn ), where g mp and g mnare the small signal transconductance of the PMOS pair and the NMOS pair, respectively. The LC network forms a resonant circuit, and its parallel equivalent resistance R P It is generally ωL / Q, where ω represents the oscillation frequency, L represents the inductance value, and Q represents the quality factor. The entire resonant network consists of a cross-coupled differential pair and an LC resonant circuit. In order to make the VCO easy to oscillate, the resonant network should satisfy the following relationship:
[0042] Rp>--R N
[0043] like Figure 2 As shown, the voltage-controlled oscillator in the related art uses a varactor capacitor array to expand the working range, but the parasitic effect caused by the multi-bit control code switching and the varactor capacitor array has a relatively large impact on the output signal, and the resonant frequency of the output signal is also affected by the noise between the power supply / ground of the voltage-controlled oscillator. In addition, the resonant frequency of the output signal is also easily affected by temperature, process, etc. and shifts. Therefore, there is a problem in the prior art that the resonant frequency of the output signal of the voltage-controlled oscillator is unstable.
[0044] In order to solve the above problems, the present application provides a voltage-controlled oscillator. Figure 3 According to the structural diagram of the voltage-controlled oscillator provided in an embodiment of the present application, the voltage-controlled oscillator includes:
[0045] A control circuit 31 is connected in series between the first output port 32 and the second output port 33 of the voltage controlled oscillator;
[0046] The control circuit 31 includes: N variable capacitors (such as Figure 3 wherein the control circuit 31 is used to adjust the N variable capacitors in sequence when the resonant frequency of the output signal of the voltage-controlled oscillator is not equal to the preset frequency, so as to adjust the resonant frequency to the preset frequency, wherein N is an integer greater than 1, and the capacitance values of the N variable capacitors are different; wherein the preset frequency is the allowable output frequency of the output signal of the voltage-controlled oscillator when the voltage-controlled oscillator is not affected by the influencing factors.
[0047] Optionally, the influencing factors include at least one of the following: power supply noise and ground noise corresponding to the voltage-controlled oscillator, the temperature of the environment in which the voltage-controlled oscillator is located, and the manufacturing process of the voltage-controlled oscillator.
[0048] Through the present application, a control circuit is connected in series between the first output port and the second output port of the voltage-controlled oscillator; the control circuit includes: N variable capacitors connected in parallel; wherein the control circuit is used to sequentially adjust the N variable capacitors to adjust the resonant frequency to the preset frequency when the resonant frequency of the output signal of the voltage-controlled oscillator is not equal to the preset frequency, wherein N is an integer greater than 1, and the capacitance values of the N variable capacitors are different; wherein the preset frequency is the allowable output frequency of the output signal of the voltage-controlled oscillator when the voltage-controlled oscillator is not affected by the influencing factor. Therefore, the problem of unstable resonant frequency of the output signal of the voltage-controlled oscillator in the prior art can be solved. Thus, by sequentially adjusting the N variable capacitors, the output signal of the voltage-controlled oscillator is adjusted to be output at a preset frequency, thereby achieving the technical effect of stabilizing the resonant frequency of the output signal.
[0049] In an exemplary embodiment, the N variable capacitors connected in parallel include: a first variable capacitor and a second variable capacitor connected in parallel with the first variable capacitor; the first variable capacitor is used to be controlled by a coarse-grained regulation voltage to perform coarse-grained regulation of the resonant frequency; the second variable capacitor is used to be controlled by a fine-grained regulation voltage to perform fine-grained regulation of the resonant frequency; the first variable capacitor is controlled before the second variable capacitor.
[0050] It can be understood that, taking N=2 as an example, in the case where the N variable capacitors specifically include a first variable capacitor and a second variable capacitor connected in parallel, the first variable capacitor is controlled by a coarse-grained control voltage, and the second variable capacitor is controlled by a fine-grained control voltage. Similarly, in the case of N variable capacitors, the N variable capacitors are respectively controlled by control voltages of different granularities to perform more precise control on the resonant frequency.
[0051] Optionally, in the case of N=2, taking the case where the resonant frequency is larger than the preset frequency as an example, the specific control process of the first variable capacitor and the second variable capacitor includes: firstly controlling the first variable capacitor by coarse-grained voltage control to increase the first variable capacitor and reduce the resonant frequency; when the capacitance value of the first variable capacitor increases to a certain value, the first variable capacitor cannot further reduce the resonant frequency. If the resonant frequency is still greater than the preset frequency, the second variable capacitor is controlled by fine-grained voltage control to further reduce the resonant frequency.
[0052] It should be noted that the coarse-grained voltage control controls the first variable capacitor, and the granularity of the control of the resonant frequency is larger; the fine-grained voltage control controls the second variable capacitor, and the granularity of the control of the resonant frequency is smaller. Optionally, the coarse-grained voltage control can also be used to control the first variable capacitor to control the resonant frequency that is larger or smaller than the preset frequency to near the preset frequency, and then the fine-grained voltage control controls the second variable capacitor to adjust the resonant frequency near the preset frequency to be equal to the preset frequency. It should also be noted that the control process for N variable capacitors is similar to the control process for the first variable capacitor and the second variable capacitor, and the embodiments of the present application will not be repeated here.
[0053] Therefore, the embodiment of the present application can adjust the resonant frequency of the output signal by connecting N variable capacitors in parallel, so that the resonant frequency is stable, so that the output signal is always output at a preset frequency.
[0054] In an exemplary embodiment, the first variable capacitor includes: M third variable capacitors connected in series, wherein M is a positive integer; wherein the injection node of the coarse-grained control voltage is set between any two third variable capacitors among the M third variable capacitors.
[0055] Optionally, the structure of the voltage-controlled oscillator in the embodiment of the present application may be further complicated, such as Figure 4 As shown, in order to achieve better adjustment of the resonant frequency of the output signal. Figure 4 In the example, the port where the signal Vop is located is the first output port, and the signal V on The port is the second output port.
[0056] based on Figure 4 In an optional embodiment, M=2, that is, the first variable capacitor may include two third variable capacitors, and the third variable capacitor is equivalent to Figure 4 The coarse-grained voltage regulation is equivalent to Figure 4 Vcoarse in. Based on Figure 4 It can be seen that the injection node of the coarse-grained control voltage is set between two third variable capacitors connected in series.
[0057] In an exemplary embodiment, the second variable capacitor includes: a first capacitor array; a fourth variable capacitor connected in series between the second variable capacitor and the first output port, and a fifth variable capacitor connected in series between the second variable capacitor and the second output port, wherein the capacitance values of the fourth variable capacitor and the fifth variable capacitor are equal; wherein the first capacitor array includes: a plurality of N MOS tubes connected back to back.
[0058] It can be understood that the first capacitor array is equivalent to Figure 4Cs in the fourth variable capacitor and the fifth variable capacitor are equivalent to Figure 4 , the capacitors Cv on the left and right sides of the first capacitor array.
[0059] Optionally, the first capacitor array includes a plurality of N MOS transistors connected back to back, and the specific structure is as follows: Figure 5 shown.
[0060] In an exemplary embodiment, a first target circuit is connected in parallel with a second target circuit, wherein the first target circuit includes: the second variable capacitor, the fourth variable capacitor and the fifth variable capacitor connected in series; wherein the second target circuit includes: a first resistor and a second resistor connected in series, and the resistance values of the first resistor and the second resistor are different.
[0061] In an exemplary embodiment, the injection node of the fine-grained control voltage is set between the first resistor and the second resistor. It can be understood that the first resistor is equivalent to Figure 4 R 1 , and the second resistor is equivalent to Figure 4 R 2 Fine-grained voltage control is equivalent to Figure 4 Based on Vctrl in . Figure 4 It can be seen that the injection node of the fine-grained control voltage is between the first resistor and the second resistor.
[0062] In an exemplary embodiment, a first fixed capacitor is connected in series between the fourth variable capacitor and the first output port; and a second fixed capacitor is connected in series between the fifth variable capacitor and the second output port.
[0063] In an exemplary embodiment, the control circuit further includes: a first inductor connected in parallel with the N variable capacitors, the first inductor and the second variable capacitor forming a resonant network, and the resonant network is used to suppress noise of the output signal.
[0064] The first inductance is equivalent to Figure 4 Specifically, the resonant network formed by the first inductor and the second variable capacitor includes a path formed by the first inductor, the second variable capacitor, the fourth variable capacitor, the fifth variable capacitor, the first fixed capacitor, and the second fixed capacitor.
[0065] In an exemplary embodiment, the control circuit further includes: a second capacitor array connected in parallel with the N variable capacitors; the second capacitor array is used to perform broadband adjustment on the output signal; wherein the second capacitor array includes: a plurality of N MOS transistors connected back to back. It should be noted that the structure of the second capacitor array is as follows Figure 5 As shown, the second capacitor array is identical in structure to the first capacitor array.
[0066] In an exemplary embodiment, the control circuit further includes: a first cross-coupled complementary pair and a second cross-coupled complementary pair; the first cross-coupled complementary pair and the second cross-coupled complementary pair are both connected in parallel with the N variable capacitors.
[0067] The cross-coupled complementary pair may be composed of MOS transistors. In an optional embodiment, the first cross-coupled complementary pair includes: a first PMOS transistor and a second PMOS transistor that are cross-connected; the second cross-coupled complementary pair includes: a first NMOS transistor and a second NMOS transistor that are cross-connected.
[0068] It should be noted that the source of the first PMOS tube is connected to the source of the second PMOS tube, the gate of the first PMOS tube is connected to the drain of the second PMOS tube, and the drain of the first PMOS tube is connected to the gate of the second PMOS tube. Thus, a cross interconnection of the first PMOS tube and the second PMOS tube is formed. The connection node of the gate of the first PMOS tube and the drain of the second PMOS tube is connected to the first output port; the connection node of the drain of the first PMOS tube and the gate of the second PMOS tube is connected to the second output port.
[0069] It should also be noted that the source of the first NMOS tube is connected to the source of the second NMOS tube, the gate of the first NMOS tube is connected to the drain of the second NMOS tube, and the drain of the first NMOS tube is connected to the gate of the second NMOS tube. Thus, a cross interconnection of the first NMOS tube and the second NMOS tube is formed. The connection node of the gate of the first NMOS tube and the drain of the second NMOS tube is connected to the first output port, and the connection node of the drain of the first NMOS tube and the gate of the second NMOS tube is connected to the second output port.
[0070] Optionally, the first PMOS tube and the second PMOS tube are respectively equivalent to Figure 4 MOS tube M in 1 and M 2 ; The first NMOS tube and the second NMOS tube are equivalent to Figure 4 MOS tube M in 3 and M 4 .
[0071] Therefore, the embodiment of the present application achieves the technical effect of providing active negative resistance for the voltage-controlled oscillator through the first cross-coupled complementary pair and the second cross-coupled complementary pair.
[0072] In an exemplary embodiment, the voltage-controlled oscillator further includes: a current mirror symmetry circuit connected to the control circuit, wherein the current mirror symmetry circuit is used to suppress power supply noise and ground noise of the voltage-controlled oscillator.
[0073] Furthermore, the current mirror symmetric circuit includes: a first mirror current path, a second mirror current path; a third resistor is connected in series between the first port of the first mirror current path and the second port of the second mirror current path; and the control circuit is connected in series between the third port of the first mirror current path and the fourth port of the second mirror current path.
[0074] Specifically, in an embodiment of the present application, a first mirror circuit is connected between the power supply and the control circuit of a voltage-controlled oscillator, thereby achieving the technical effect of suppressing the power supply noise of the voltage-controlled oscillator; and a second mirror circuit is connected between the ground line and the control circuit of the voltage-controlled oscillator, thereby achieving the technical effect of suppressing the ground noise of the voltage-controlled oscillator.
[0075] The third port of the first mirror current path is connected to the first cross-coupled complementary pair of the control circuit, and is specifically connected to the connection node between the source of the first PMOS tube and the source of the second PMOS tube in the first cross-coupled complementary pair;
[0076] The fourth port of the second mirror current path is connected to the second cross-coupled complementary pair of the control circuit, specifically connected to the connection node between the source of the first N MOS transistor and the source of the second N MOS transistor in the second cross-coupled complementary pair.
[0077] Optionally, the third resistor can be equivalent to Figure 4 The resistance R in.
[0078] In an exemplary embodiment, the first mirror current path includes: a third PMOS tube and a fourth PMOS tube; a first low-pass filter is connected in series between the gate of the third PMOS tube and the gate of the fourth PMOS tube; the source of the third PMOS tube is connected to the source of the fourth PMOS tube, and an injection node of the power supply of the voltage-controlled oscillator is provided between the source of the third PMOS tube and the source of the fourth PMOS tube; the drain of the third PMOS tube is connected to the first port, and the drain of the fourth PMOS tube is connected to the third port.
[0079] Optionally, a first low-pass filter such as Figure 4 The resistance R 3 and fixed capacitor C 3 The circuit structure is shown in FIG. Specifically, the resistor R 3 Connected in series between the gate of the third PMOS tube and the gate of the fourth PMOS tube; fixed capacitor C 3 One port is grounded and the other port is connected to the resistor R 3 and between the gate of the fourth PMOS tube.
[0080] In an exemplary embodiment, the first mirror current path further includes: a third fixed capacitor; a fifth port of the third fixed capacitor is connected to the source of the fourth PMOS tube, and a sixth port of the third fixed capacitor is connected to the third port; the third fixed capacitor is used to form a second low-pass filter with the source-drain parasitic resistance of the fourth PMOS tube to suppress the power supply noise.
[0081] Optionally, a third fixed capacitor such as Figure 4 The fixed capacitor C 4 shown.
[0082] Therefore, in the embodiment of the present application, by setting a first low-pass filter in the first mirror current path and setting a second low-pass filter, effective filtering of power supply noise is achieved, which is conducive to making the resonant frequency of the output signal of the voltage-controlled oscillator more stable.
[0083] In an exemplary embodiment, the second mirror current path includes: a third NMOS tube and a fourth NMOS tube; a third low-pass filter is connected in series between the gate of the third NMOS tube and the gate of the fourth NMOS tube; the source of the third NMOS tube is connected to the source of the fourth NMOS tube, and an access node of the ground line of the voltage-controlled oscillator is provided between the source of the third NMOS tube and the source of the fourth NMOS tube; the drain of the third NMOS tube is connected to the second port, and the drain of the fourth NMOS tube is connected to the fourth port.
[0084] It should be noted that the structure of the second mirror current path is similar to that of the first mirror current path, the difference being that a PMOS transistor is used in the first mirror current path, and an NMOS transistor is used in the second mirror current path.
[0085] In an exemplary embodiment, the second mirror current path further includes: a fourth fixed capacitor; a seventh port of the fourth fixed capacitor is connected to the source of the fourth NMOS tube, and an eighth port of the fourth fixed capacitor is connected to the fourth port; the fourth fixed capacitor is used to form a fourth low-pass filter with the source-drain parasitic resistance of the fourth NMOS tube to suppress the ground noise.
[0086] Therefore, the embodiment of the present application deploys a second mirror circuit path between the control circuit and the ground line of the voltage-controlled oscillator, so that the ground noise of the voltage-controlled oscillator can be filtered, thereby reducing the influence of the ground noise on the resonant frequency of the output signal of the voltage-controlled oscillator.
[0087] In an optional embodiment, the values of the resistor and the fixed capacitor respectively included in the first low-pass filter and the third low-pass filter may be the same or different, and the embodiment of the present application is not limited to this; the values of the third fixed capacitor and the fourth fixed capacitor are selected according to the actual needs of filtering noise, and may be the same or different.
[0088] Optionally, the voltage-controlled oscillator further comprises: a detection module, the detection module being connected to the first output port and the second output port respectively, and being used to perform periodic frequency detection on output signals outputted through the first output port and the second output port. The time interval between two adjacent detection cycles is preset by the target object.
[0089] In each detection cycle, if it is detected that the output resonant frequency of the output signal is still inconsistent with the preset frequency, the difference between the output resonant frequency and the preset frequency is determined. If the difference is greater than the detection threshold, an alarm event is generated, which is used to indicate that the voltage-controlled oscillator needs to be readjusted and / or repaired. If the difference is less than the detection threshold, the detection of the next cycle is continued. If the differences detected in Y consecutive cycles become larger in turn, the alarm event is also generated; wherein Y is a positive integer. Optionally, the detection threshold is a smaller value.
[0090] The inspection module may also be provided with a communication unit for sending the alarm event and receiving feedback information of the target object on the alarm event; and when the feedback information indicates that the maintenance is completed, resetting at least Y differences accumulated in the monitoring module.
[0091] Thus, by setting the inspection module, the output signal of the voltage-controlled oscillator can be detected after being adjusted, and the resonant frequency should be equal to the preset frequency in theory. Then, when the output resonant frequency of the output signal is no longer constrained (i.e., the difference is greater than the detection threshold), the target object is informed to re-regulate and / or repair the voltage-controlled oscillator, thereby ensuring the stable operation of the voltage-controlled oscillator.
[0092] In order to better understand the above-mentioned voltage-controlled oscillator, the above-mentioned voltage-controlled oscillator is described below in combination with an optional embodiment, but it is not used to limit the technical solution of the embodiment of the present application.
[0093] In the related technology, the phase-locked loop structure lacks power supply / ground noise suppression technology, the voltage-controlled oscillator in the phase-locked loop requires multi-bit control code switching, and the parasitic effect of the varactor capacitor array of the voltage-controlled oscillator is large. These factors seriously affect the oscillation frequency of the output signal of the voltage-controlled oscillator. The unstable oscillation frequency of the output signal of the voltage-controlled oscillator will limit the timing threshold of the phase-locked loop data sampling, thereby increasing the error rate of data sampling, and thus cannot be well applied to high-speed interconnection application scenarios.
[0094] The optional embodiment of the present application adopts a coarse-grained compensation circuit (equivalent to the control circuit in the above embodiment), a MOS capacitor array (equivalent to the second capacitor array), and a current mirror symmetric circuit to complete the low-jitter wideband phase-locked loop design (these circuits are arranged in the voltage-controlled oscillator in the phase-locked loop). The coarse-grained compensation circuit controls the variable capacitor and the variable resistor respectively through the coarse-grained control voltage and the fine-grained control voltage to adjust the resonant frequency of the output signal and improve the accuracy of the clock frequency. The MOS capacitor array can not only replace the varactor capacitor to expand the operating frequency range, but also reduce the influence of parasitic effects and switch switching on the output clock frequency, and reduce the influence on the clock frequency of the output signal. In addition, the current mirror symmetric circuit realizes the isolation of the power supply / ground from the main circuit, and removes the voltage ripple through the filtering network to increase the stability of the output signal. It can be applied to a variety of interconnection scenarios such as chip-to-chip (C2C for short), chip-to-module (C2M for short), etc.
[0095] The overall architecture of the voltage-controlled oscillator in the optional embodiments of the present application includes: a current mirror symmetry circuit, a cross-coupled complementary pair (including the first cross-coupled complementary pair and the second cross-coupled complementary pair in the above embodiments), a resonant network, a coarse and fine granularity control circuit, a capacitor array circuit (equivalent to the second capacitor array), etc.
[0096] Specifically, the current mirror symmetric circuit mainly consists of upper and lower mirror current paths (the upper mirror current path is equivalent to the first mirror current path in the above embodiment, and the lower mirror current path is equivalent to the second mirror current path in the above embodiment), the current values on the upper and lower mirror current paths are the same, and each path uses a PMOS tube and an NMOS tube to implement the upper current mirror circuit and the lower current mirror circuit. Optionally, in order to suppress the ripple of the gate voltage and the power supply noise in the upper and lower mirror current paths, the upper and lower mirror current paths both use a low-pass filter circuit composed of a resistor and a fixed capacitor (such as the first low-pass filter and the third low-pass filter in the above embodiment, etc.).
[0097] The cross-coupled complementary pair is a pair of N MOS / PMOS cross-interconnected to provide active negative resistance.
[0098] The resonant network consists of an inductor (e.g. Figure 4 The inductor L in the embodiment and the adjustable capacitor (equivalent to the second variable capacitor in the above embodiment) are composed, wherein the adjustable capacitor adopts a "back-to-back" accumulation-type MOS tube, which not only suppresses the deterioration of the amplitude noise to the phase noise performance, but also achieves good linearity, a larger tuning range and lower power consumption.
[0099] like Figure 4As shown, the coarse-grained and fine-grained control circuit (equivalent to the control circuit in the above embodiment) is divided into a coarse-grained voltage control circuit and a fine-grained voltage control circuit, wherein the variable capacitor in the coarse-grained control circuit can also be replaced by a capacitor array using a "back-to-back" accumulation-type MOS tube, and the fine-grained control circuit is composed of resistors and capacitors.
[0100] As for the capacitor array, the capacitor array is composed of three MOS tubes, and a variable capacitor is formed through the gate and the source / drain, which replaces the switch tube and the varactor capacitor in the switch capacitor structure of the voltage-controlled oscillator in the related art. It should be noted that the varactor has the characteristics of high capacitance density, small area, and small parasitic inductance.
[0101] Furthermore, the frequency f of the voltage-controlled oscillator in the embodiment of the present application is osc The calculation formula is as follows:
[0102]
[0103] The voltage-controlled gain K of the voltage-controlled oscillator in the embodiment of the present application vco The calculation formula is:
[0104]
[0105] in, L and C v are the inductor and variable capacitor of the resonant network, C s is the capacitance value of the series capacitor (i.e., the first capacitor array) of the fine-grained control circuit, C c is the parallel capacitance of the coarse-grained control circuit, C p is the capacitance of the parallel capacitor array (i.e., the second capacitor array), C t It is C c and C p sum.
[0106] In the related art, the oscillation frequency of the voltage-controlled oscillator is:
[0107]
[0108] The total capacitance can be approximately calculated from the capacitance Cv and Figure 2 The parallel connection of the total capacitance Ca represented by the parallel cap bank in FIG. 1 is a parallel connection of the total capacitance Ca represented by the parallel cap bank. It should be noted that the Ca of the voltage-controlled oscillator in the related art can be regarded as the capacitance C of the capacitor array in the optional embodiment of the present application in terms of position. p .
[0109] In the related art, the voltage-controlled gain of the voltage-controlled oscillator is:
[0110]
[0111] Furthermore, the voltage-controlled oscillator circuit has noise suppression function, wide-band adjustment and compensation function, etc.
[0112] The noise suppression function is realized by a current mirror symmetry circuit, which is divided into two paths (i.e., the first mirror current path and the second mirror current path in the above embodiment) to suppress power supply noise and ground noise respectively, and also suppress the ripple of the mirror voltage. The current in the upper and lower paths is the same and is obtained by resistors. When the PMOS tube and the NMOS tube are in saturation, the current I is:
[0113]
[0114] |V gs_P |=|V ds_P |+|V th_P |
[0115] Among them, V gs_N =V ds_N +V th_N , V gs_P and V gs_N are the gate-source voltages of the PMOS and NMOS tubes respectively; V ds_P and V ds_N are the drain-source voltages of the PMOS and NMOS tubes, respectively, and depend on the swing of the output signal of the resonant network; V th_P and V th_N They are the turn-on voltages of the PMOS and NMOS tubes respectively.
[0116] In the current mirror symmetric circuit, the gate is connected to the resistor R 3 and capacitor C 3 The low-pass filter is composed of a drain connected to the source-drain parasitic resistor R4 ( Figure 4 Not marked) and capacitor C 4 Form a low-pass filter. 3 -C 3 The low-pass filter can filter out the ripple of the bias voltage in the current mirror symmetry circuit (such as Figure 6 As shown in the figure), to reduce the noise impact caused by ripple. At the same time, R 4 --C 4 The low-pass filter can discharge the noise brought by the power supply or ground to prevent it from entering the resonant network. The two filters play a role in noise optimization for the entire resonant network.
[0117] The coarse-grained voltage regulation is achieved by controlling the size of the variable capacitor, changing the capacitance of the entire resonant network, and ultimately changing the resonant frequency, see f oscFormula, where Cs is controlled by fine-grained voltage and Cc is controlled by coarse-grained voltage.
[0118] When not affected by temperature, voltage or process, the voltage-controlled oscillator outputs an oscillation frequency of f under the action of the voltage-controlled voltage Vo. o (equivalent to the preset frequency in the above embodiment). Figure 7 As shown in the middle point 1. When affected by temperature, voltage or process, the output oscillation frequency of the voltage-controlled oscillator will increase or decrease under the action of the voltage-controlled voltage Vo, as shown in Figure 7 It is shown as the upper curve or the lower curve among the three curves.
[0119] Taking the output oscillation frequency as an example, the output oscillation frequency will increase. Figure 7 Middle point 2, higher than f o . Coarse-grained voltage control variable capacitor C c , increase it and reduce the output resonant frequency, specifically from Figure 7 The middle position point 2 is reduced to position point 3. When the capacitance value increases to a certain value, the resonant frequency reaches the minimum. The next step is to use the fine-grained adjustment circuit to control the variable capacitor C s , so that it decreases, and the resonant frequency further decreases, that is, from Figure 7 The output frequency changes from position 3 to position 4. o Under the combined effect of coarse-grained voltage regulation and fine-grained voltage adjustment, the output resonant frequency changes from Figure 7 The middle position point 2 becomes the position point 4.
[0120] Under the action of series capacitor array and parallel capacitor array, at a given Next, K vco This is due to the increase in capacitance. Compared with traditional VCOs, the smaller K vco It can also reduce the frequency fluctuation of the output clock signal, which is beneficial to improving the stability of the output signal.
[0121] Compared with the traditional structure, the parallel capacitor array (i.e., the second capacitor array) can not only achieve wideband adjustment (such as Figure 8 As shown in Figure 2, the influence of parasitic parameters is also reduced. At the same time, the area and cost are also reduced.
[0122] The capacitors of the parallel capacitor array are composed of oxide layer capacitors and semiconductor capacitors in series. In the parallel capacitor array, C ox is a fixed capacitance value, which is related to the thickness and area of the capacitor plate. b It is a variable capacitor and is related to the working state of the MOS tube.
[0123] Taking NMOS as an example, when V gsWhen the voltage is negative, the N-type channel between the source and drain has not yet formed, which will cause the holes in the P-type substrate to accumulate under the gate oxide. At this time, the capacitance is the capacitance of the dielectric, that is, the gate oxide capacitance. gs The voltage gradually changes from negative to positive (i.e. 0 to V th When the voltage increases, the width of the depletion layer increases, and the total capacitance continues to decrease. When V gs The voltage continues to increase (i.e. higher than V th When , an NMOS inversion layer is formed, the NMOS tube is turned on, and an N-type channel is formed. The source and drain ends are connected to the channel. At this time, the capacitor is a gate oxide capacitor.
[0124] exist Figure 8 When the voltage control voltage is V o When the capacitance value is certain, the output frequency is f o ; In series capacitor arrays and parallel capacitor arrays, the s and increase C p , to increase the output frequency, that is, f 1 On the contrary, the output frequency can be reduced, that is, f 2 .exist Figure 8 By adjusting the capacitance values of the series capacitor array and the parallel capacitor array, the highest frequency f can be achieved. max and the lowest frequency f min , that is, the frequency locking range is {f min , f max}.
[0125] In summary, the optional embodiment of the present application completes a low-jitter wideband voltage-controlled oscillator by adopting a coarse-grained compensation circuit, a MOS capacitor array, and a current mirror symmetry circuit, thereby also realizing a low-jitter wideband phase-locked loop design. The coarse-grained compensation circuit adjusts the coarse-grained voltage and the fine-grained voltage in two steps, changes the output frequency, and improves the accuracy of the clock frequency. Moreover, the MOS capacitor array can not only replace the varactor capacitor to expand the operating frequency range, but also reduce the influence of parasitic effects and switch switching on the output clock frequency. In addition, the current mirror symmetry circuit realizes the isolation of the power supply / ground from the main circuit, and removes the voltage ripple through the filtering network, increases the stability of the output signal, and can be applied to various interconnection scenarios such as consumer-to-consumer C2C and consumer-to-manufacturer C2M. That is, the optional embodiment of the present application provides a wideband voltage-controlled oscillator with a compensation function, which broadens the locking frequency range, improves the stability of the output clock signal, greatly improves the timing margin and system performance, and significantly expands the application scenario.
[0126] Furthermore, an embodiment of the present application provides a method for adjusting a resonant frequency, which is applied to the voltage-controlled oscillator in any of the above embodiments. Fig. 9 is a flow chart of a method for adjusting the resonant frequency according to an embodiment of the present application, such as Fig. 9 As shown, the process includes the following steps:
[0127] Step S902: When the resonant frequency of the output signal of the voltage-controlled oscillator is not equal to the preset frequency, sequentially adjust the N variable capacitors included in the control circuit of the voltage-controlled oscillator to adjust the resonant frequency to the preset frequency, wherein N is an integer greater than 1, and the capacitance values of the N variable capacitors are different, wherein the preset frequency is the allowable output frequency of the output signal of the voltage-controlled oscillator when the voltage-controlled oscillator is not affected by the influencing factors; wherein the control circuit is connected in series between the first output port and the second output port of the voltage-controlled oscillator; and the N variable capacitors are connected in parallel.
[0128] Optionally, the influencing factors include at least one of the following: power supply noise and ground noise corresponding to the voltage-controlled oscillator, the temperature of the environment in which the voltage-controlled oscillator is located, and the manufacturing process of the voltage-controlled oscillator.
[0129] Through the present application, when the resonant frequency of the output signal of the voltage-controlled oscillator is not equal to the preset frequency, the N variable capacitors included in the control circuit of the voltage-controlled oscillator are adjusted in sequence to adjust the resonant frequency to the preset frequency, wherein N is an integer greater than 1, and the capacitance values of the N variable capacitors are different, wherein the preset frequency is the allowable output frequency of the output signal of the voltage-controlled oscillator when the voltage-controlled oscillator is not affected by the influencing factor; wherein the control circuit is connected in series between the first output port and the second output port of the voltage-controlled oscillator; and the N variable capacitors are connected in parallel. Therefore, the problem of unstable resonant frequency of the output signal of the voltage-controlled oscillator in the prior art can be solved. Thus, by adjusting the N variable capacitors in sequence, the output signal of the voltage-controlled oscillator is adjusted to be output at a preset frequency, thereby achieving the technical effect of stabilizing the resonant frequency of the output signal.
[0130] In an exemplary embodiment, before sequentially adjusting the N variable capacitors included in the control circuit of the voltage-controlled oscillator to adjust the resonant frequency to the preset frequency, the method further includes: determining the difference between the resonant frequency and the preset frequency; and executing an alarm event when the difference is higher than a preset threshold, wherein the alarm event is used to indicate that the voltage-controlled oscillator needs maintenance.
[0131] It is understandable that if the difference between the resonant frequency and the preset frequency is significantly too high, it is possible that there is a fault in the components of the voltage-controlled oscillator, and an alarm event needs to be generated to instruct maintenance personnel to repair the voltage-controlled oscillator. If there is indeed a fault, the faulty components of the voltage-controlled oscillator are repaired and / or replaced to ensure the normal operation of the voltage-controlled oscillator.
[0132] In an optional embodiment, when the resonant frequency of the output signal of the voltage-controlled oscillator is not equal to the preset frequency, the N variable capacitors included in the control circuit of the voltage-controlled oscillator are adjusted in sequence to adjust the resonant frequency to the preset frequency, including: when the N variable capacitors connected in parallel include: a first variable capacitor and a second variable capacitor connected in parallel with the first variable capacitor, the first variable capacitor is controlled by a coarse-grained control voltage to perform coarse-grained adjustment of the resonant frequency; and the second variable capacitor is controlled by a fine-grained control voltage to perform fine-grained adjustment of the resonant frequency, wherein the first variable capacitor is controlled before the second variable capacitor.
[0133] In an optional embodiment, when the first variable capacitor includes: M third variable capacitors connected in series, the M third variable capacitors are controlled by a coarse-grained control voltage to perform coarse-grained adjustment on the resonant frequency, wherein M is a positive integer; and an injection node of the coarse-grained control voltage is set between any two third variable capacitors among the M third variable capacitors.
[0134] Optionally, the second variable capacitor includes: a first capacitor array; a fourth variable capacitor connected in series between the second variable capacitor and the first output port, and a fifth variable capacitor connected in series between the second variable capacitor and the second output port, wherein the capacitance value of the fourth variable capacitor is equal to that of the fifth variable capacitor; wherein the first capacitor array includes: a plurality of NMOS tubes connected back to back.
[0135] Optionally, the first target circuit is connected in parallel with the second target circuit, wherein the first target circuit includes: the second variable capacitor, the fourth variable capacitor and the fifth variable capacitor connected in series; wherein the second target circuit includes: a first resistor and a second resistor connected in series, and the resistance values of the first resistor and the second resistor are different.
[0136] It should be noted that the injection node of the fine-grained control voltage is set between the first resistor and the second resistor.
[0137] Optionally, a first fixed capacitor is connected in series between the fourth variable capacitor and the first output port; and a second fixed capacitor is connected in series between the fifth variable capacitor and the second output port.
[0138] Optionally, the control circuit further includes: a first inductor connected in parallel with the N variable capacitors, the first inductor and the second variable capacitor forming a resonant network, and the resonant network is used to suppress noise of the output signal.
[0139] Optionally, the control circuit further includes: a second capacitor array connected in parallel with the N variable capacitors; the second capacitor array is used to perform broadband regulation on the output signal; wherein the second capacitor array includes: a plurality of NMOS tubes connected back to back.
[0140] Optionally, the control circuit further includes: a first cross-coupled complementary pair and a second cross-coupled complementary pair; the first cross-coupled complementary pair and the second cross-coupled complementary pair are both connected in parallel with the N variable capacitors.
[0141] Optionally, the first cross-coupled complementary pair includes: a first PMOS transistor and a second PMOS transistor that are cross-interconnected; and the second cross-coupled complementary pair includes: a first NMOS transistor and a second NMOS transistor that are cross-interconnected.
[0142] Optionally, the voltage-controlled oscillator further includes: a current mirror symmetry circuit connected to the control circuit, wherein the current mirror symmetry circuit is used to suppress power supply noise and ground noise of the voltage-controlled oscillator.
[0143] Optionally, the current mirror symmetric circuit includes: a first mirror current path, a second mirror current path; a third resistor is connected in series between the first port of the first mirror current path and the second port of the second mirror current path; and the control circuit is connected in series between the third port of the first mirror current path and the fourth port of the second mirror current path.
[0144] Optionally, the first mirror current path includes: a third PMOS tube and a fourth PMOS tube; a first low-pass filter is connected in series between the gate of the third PMOS tube and the gate of the fourth PMOS tube; the source of the third PMOS tube is connected to the source of the fourth PMOS tube, and an injection node of the power supply of the voltage-controlled oscillator is arranged between the source of the third PMOS tube and the source of the fourth PMOS tube; the drain of the third PMOS tube is connected to the first port, and the drain of the fourth PMOS tube is connected to the third port.
[0145] Optionally, the first mirror current path also includes: a third fixed capacitor; the fifth port of the third fixed capacitor is connected to the source of the fourth PMOS tube, and the sixth port of the third fixed capacitor is connected to the third port; the third fixed capacitor is used to form a second low-pass filter with the source-drain parasitic resistance of the fourth PMOS tube to suppress the power supply noise.
[0146] Optionally, the second mirror current path includes: a third NMOS tube and a fourth NMOS tube; a third low-pass filter is connected in series between the gate of the third NMOS tube and the gate of the fourth NMOS tube; the source of the third NMOS tube is connected to the source of the fourth NMOS tube, and an access node of the ground line of the voltage-controlled oscillator is arranged between the source of the third NMOS tube and the source of the fourth NMOS tube; the drain of the third NMOS tube is connected to the second port, and the drain of the fourth NMOS tube is connected to the fourth port.
[0147] Optionally, the second mirror current path also includes: a fourth fixed capacitor; the seventh port of the fourth fixed capacitor is connected to the source of the fourth N MOS tube, and the eighth port of the fourth fixed capacitor is connected to the fourth port; the fourth fixed capacitor is used to form a fourth low-pass filter with the source-drain parasitic resistance of the fourth N MOS tube to suppress the ground noise.
[0148] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0149] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0150] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.
[0151] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0152] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0153] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps in any one of the above method embodiments are implemented.
[0154] An embodiment of the present application further provides another computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.
[0155] The embodiments of the present application also provide a computer program, which includes computer instructions stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps of any one of the above method embodiments.
[0156] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.
[0157] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.
[0158] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principles of the present application shall be included in the protection scope of the present application.
Claims
1. A voltage-controlled oscillator, characterized in that: include: A control circuit is connected in series between the first output port and the second output port of the voltage-controlled oscillator; The control circuit includes: N variable capacitors connected in parallel; wherein, the control circuit is used to adjust the N variable capacitors in sequence to adjust the resonant frequency to the preset frequency when the resonant frequency of the output signal of the voltage-controlled oscillator is not equal to the preset frequency, wherein N is an integer greater than 1, and the capacitance values of the N variable capacitors are different; wherein the preset frequency is the allowed output frequency of the output signal of the voltage-controlled oscillator when the voltage-controlled oscillator is not affected by the influencing factors.
2. The voltage controlled oscillator according to claim 1, characterized in that: The N variable capacitors connected in parallel include: a first variable capacitor, and a second variable capacitor connected in parallel with the first variable capacitor; The first variable capacitor is used to be controlled by a coarse-grained regulation voltage to perform coarse-grained regulation on the resonant frequency; The second variable capacitor is used to be controlled by a fine-grained regulation voltage to perform fine-grained regulation on the resonant frequency; The first variable capacitor is controlled prior to the second variable capacitor.
3. The voltage controlled oscillator according to claim 2, characterized in that: The first variable capacitor comprises: M third variable capacitors connected in series, where M is a positive integer; The injection node of the coarse-grained control voltage is arranged between any two third variable capacitors among the M third variable capacitors.
4. The voltage controlled oscillator according to claim 2, characterized in that: The second variable capacitor comprises: a first capacitor array; A fourth variable capacitor is connected in series between the second variable capacitor and the first output port, and a fifth variable capacitor is connected in series between the second variable capacitor and the second output port, wherein the capacitance values of the fourth variable capacitor and the fifth variable capacitor are equal; Wherein, the first capacitor array includes: a plurality of NMOS transistors connected back to back.
5. The voltage controlled oscillator according to claim 4, characterized in that: The first target circuit is connected in parallel with the second target circuit, wherein the first target circuit comprises: the second variable capacitor, the fourth variable capacitor and the fifth variable capacitor connected in series; The second target circuit includes: a first resistor and a second resistor connected in series, and the first resistor and the second resistor have different resistance values.
6. The voltage controlled oscillator according to claim 5, characterized in that: The injection node of the fine-grained control voltage is arranged between the first resistor and the second resistor.
7. The voltage controlled oscillator according to claim 4, characterized in that: A first fixed capacitor is connected in series between the fourth variable capacitor and the first output port; and a second fixed capacitor is connected in series between the fifth variable capacitor and the second output port.
8. The voltage controlled oscillator according to claim 2, characterized in that: The control circuit further includes: a first inductor connected in parallel with the N variable capacitors, the first inductor and the second variable capacitor forming a resonant network, and the resonant network is used to suppress noise of the output signal.
9. The voltage controlled oscillator according to claim 1, characterized in that: The control circuit further includes: a second capacitor array connected in parallel with the N variable capacitors; the second capacitor array is used to perform broadband regulation on the output signal; Wherein, the second capacitor array includes: a plurality of NMOS transistors connected back to back.
10. The voltage controlled oscillator according to claim 1, characterized in that: The control circuit further includes: a first cross-coupled complementary pair and a second cross-coupled complementary pair; The first cross-coupled complementary pair and the second cross-coupled complementary pair are both connected in parallel with the N variable capacitors.
11. The voltage controlled oscillator according to claim 10, characterized in that: The first cross-coupled complementary pair includes: a first PMOS transistor and a second PMOS transistor that are cross-interconnected; The second cross-coupled complementary pair includes a first N MOS transistor and a second N MOS transistor which are cross-connected.
12. The voltage controlled oscillator according to claim 1, characterized in that: The voltage-controlled oscillator further includes: a current mirror symmetry circuit connected to the control circuit, wherein the current mirror symmetry circuit is used to suppress power supply noise and ground noise of the voltage-controlled oscillator.
13. The voltage controlled oscillator according to claim 12, characterized in that: The current mirror symmetry circuit comprises: a first mirror current path and a second mirror current path; A third resistor is connected in series between the first port of the first mirror current path and the second port of the second mirror current path; The control circuit is connected in series between the third port of the first mirror current path and the fourth port of the second mirror current path.
14. The voltage controlled oscillator according to claim 13, characterized in that: The first mirror current path includes: a third PMOS tube and a fourth PMOS tube; A first low-pass filter is connected in series between the gate of the third PMOS tube and the gate of the fourth PMOS tube; The source of the third PMOS tube is connected to the source of the fourth PMOS tube, and an injection node of the power supply of the voltage-controlled oscillator is provided between the source of the third PMOS tube and the source of the fourth PMOS tube; The drain of the third PMOS tube is connected to the first port, and the drain of the fourth PMOS tube is connected to the third port.
15. The voltage controlled oscillator according to claim 14, characterized in that: The first mirror current path further includes: a third fixed capacitor; The fifth port of the third fixed capacitor is connected to the source of the fourth PMOS tube, and the sixth port of the third fixed capacitor is connected to the third port; The third fixed capacitor is used to form a second low-pass filter with the source-drain parasitic resistance of the fourth PMOS tube to suppress the power supply noise.
16. The voltage controlled oscillator according to claim 13, characterized in that: The second mirror current path includes: a third NMOS tube and a fourth NMOS tube; A third low-pass filter is connected in series between the gate of the third N MOS tube and the gate of the fourth N MOS tube; The source of the third N MOS tube is connected to the source of the fourth N MOS tube, and an access node of the ground line of the voltage-controlled oscillator is provided between the source of the third N MOS tube and the source of the fourth N MOS tube; The drain of the third N MOS transistor is connected to the second port, and the drain of the fourth N MOS transistor is connected to the fourth port.
17. The voltage controlled oscillator according to claim 16, characterized in that: The second mirror current path further includes: a fourth fixed capacitor; The seventh port of the fourth fixed capacitor is connected to the source of the fourth N MOS transistor, and the eighth port of the fourth fixed capacitor is connected to the fourth port; The fourth fixed capacitor is used to form a fourth low-pass filter with the source-drain parasitic resistance of the fourth N MOS tube to suppress the ground noise.
18. A method for adjusting a resonance frequency, characterized in that: The voltage controlled oscillator according to any one of claims 1 to 17, comprising: When the resonant frequency of the output signal of the voltage-controlled oscillator is not equal to the preset frequency, N variable capacitors included in the control circuit of the voltage-controlled oscillator are adjusted in sequence to adjust the resonant frequency to the preset frequency, wherein N is an integer greater than 1, and the capacitance values of the N variable capacitors are different, wherein the preset frequency is the allowed output frequency of the output signal of the voltage-controlled oscillator when the voltage-controlled oscillator is not affected by the influencing factors; wherein the control circuit is connected in series between the first output port and the second output port of the voltage-controlled oscillator; and the N variable capacitors are connected in parallel.
19. The method according to claim 18, characterized in that Before sequentially adjusting the N variable capacitors included in the control circuit of the voltage-controlled oscillator to adjust the resonant frequency to the preset frequency, the method further includes: Determining a difference between the resonant frequency and the preset frequency; When the difference is higher than a preset threshold, an alarm event is executed, wherein the alarm event is used to indicate that the voltage-controlled oscillator needs to be repaired.
20. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the method described in any one of claims 18 to 19 when executed by a processor.
21. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method described in any one of claims 18 to 19 are implemented.
22. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method described in any one of claims 18 to 19 are implemented.
