A phase-locked loop calibration circuit, calibration method and voltage-controlled oscillator

By using the bias conversion module and calibration module to control the conduction state in the phase-locked loop calibration circuit, the problem of excessive power consumption of the phase-locked loop calibration circuit is solved, and the low-power phase-locked loop calibration is achieved.

CN114614815BActive Publication Date: 2024-12-06HUNAN GOKE MICROELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210277975.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-21
Publication Date
2024-12-06
Estimated Expiration
2042-03-21

AI Technical Summary

Technical Problem

The existing phase-locked loop calibration circuit is always in the conduction state, resulting in excessive power consumption and cannot meet the low power consumption requirements.

Method used

A phase-locked loop calibration circuit is designed to generate target monitoring signals through the bias conversion module and the calibration module, compare target output signals and monitoring signals, control the conduction state of the phase-locked loop, and keep the output signal within the preset range. Avoid continuous conduction.

Benefits of technology

It significantly reduces the power consumption of the phase-locked loop calibration circuit and meets the low power consumption requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114614815B_ABST
    Figure CN114614815B_ABST
Patent Text Reader

Abstract

The present application discloses a phase-locked loop calibration circuit, including: a phase-locked loop; a bias conversion module, which is used to generate a target monitoring signal according to the target output signal of the charge pump in the phase-locked loop and the output signal of the calibration module; a calibration module, which is used to compare the target output signal and the target monitoring signal to obtain a target comparison signal, and use the target comparison signal to control the conduction state of the phase-locked loop so that the target output signal remains within a preset range. Compared with the prior art, since the circuit can control the conduction state of the phase-locked loop according to the target output signal of the charge pump in the phase-locked loop, it is possible to avoid the phase-locked loop being in the conduction state all the time, thereby significantly reducing the power consumption required by the phase-locked loop calibration circuit. Correspondingly, a voltage-controlled oscillator and a phase-locked loop calibration method provided by the present application also have the above-mentioned beneficial effects.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power electronics, and in particular to a phase-locked loop calibration circuit, a voltage-controlled oscillator and a phase-locked loop calibration method. Background Art

[0002] Phase-locked loop calibration circuits are widely used in clock calibration scenarios of various devices. In the prior art, the traditional phase-locked loop calibration circuit will always be in the on state and continuously calibrate the output voltage of the phase-locked loop. Obviously, such a setting will greatly increase the power consumption required by the phase-locked loop calibration circuit. However, with the continuous development of integrated circuits, the low power consumption requirements for various devices are getting higher and higher. Therefore, how to reduce the power consumption of the phase-locked loop calibration circuit is a technical problem that needs to be solved urgently by those skilled in the art. Summary of the invention

[0003] In view of this, an object of the present invention is to provide a phase-locked loop calibration circuit, a voltage-controlled oscillator and a phase-locked loop calibration method to reduce the power consumption required by the phase-locked loop calibration circuit.

[0004] The specific plan is as follows:

[0005] A phase-locked loop calibration circuit, comprising:

[0006] Phase-locked loop;

[0007] A bias conversion module, used for generating a target monitoring signal according to a target output signal of a charge pump in the phase-locked loop and an output signal of a calibration module;

[0008] The calibration module is used to compare the target output signal with the target monitoring signal to obtain a target comparison signal, and use the target comparison signal to control the conduction state of the phase-locked loop to keep the target output signal within a preset range.

[0009] Preferably, the calibration module comprises:

[0010] A dynamic comparison latch, used for comparing the target output signal with the target monitoring signal to obtain a comparison output signal;

[0011] A signal trigger module, used to generate a target clock signal, and to work together with the comparison output signal output by the dynamic comparison latch to generate an enable signal for turning off or on the phase-locked loop;

[0012] The SAR ADC is used to sample the comparison output signal output by the dynamic comparison latch according to the target clock signal to obtain a digital control signal for controlling the bias conversion module.

[0013] Preferably, the dynamic comparison latch comprises:

[0014] A dynamic comparator, used for comparing the target output signal with the target monitoring signal to obtain the comparison output signal;

[0015] A latch is used to latch the comparison output signal.

[0016] Preferably, the dynamic comparator comprises: a first NMOS tube, a second NMOS tube, a third NMOS tube, a first PMOS tube, a second PMOS tube and a third PMOS tube;

[0017] Wherein, the source of the first PMOS tube is connected to the source of the second PMOS tube, the drain of the first PMOS tube is respectively connected to the drain of the third PMOS tube and the drain of the first NMOS tube, the drain of the second PMOS tube is respectively connected to the source of the third PMOS tube and the drain of the second NMOS tube, the source of the first NMOS tube and the source of the second NMOS tube are both connected to the drain of the third NMOS tube, and the source of the third NMOS tube is grounded;

[0018] Correspondingly, the gate of the first PMOS tube, the gate of the second PMOS tube, the gate of the third PMOS tube and the gate of the third NMOS tube are all used to receive the target clock signal; the gate of the first NMOS tube is used to receive the target monitoring signal, and the gate of the second NMOS tube is used to receive the target output signal.

[0019] Preferably, the latch comprises: a first inverter, a second inverter, a fourth PMOS tube, a fifth PMOS tube, a sixth PMOS tube, a seventh PMOS tube, a fourth NMOS tube, a fifth NMOS tube, a sixth NMOS tube, a seventh NMOS tube, an eighth NMOS tube and a ninth NMOS tube;

[0020] Wherein, the source of the fifth PMOS tube and the source of the seventh PMOS tube are both connected to the drain of the fourth PMOS tube, the gate of the fifth PMOS tube is connected to the drain of the sixth PMOS tube, the gate of the seventh PMOS tube is connected to the source of the sixth PMOS tube, the drain of the fifth PMOS tube is respectively connected to the input end of the first inverter, the drain of the fourth NMOS tube, the drain of the fifth NMOS tube and the drain of the sixth NMOS tube, the drain of the seventh PMOS tube is respectively connected to the input end of the second inverter, the drain of the seventh NMOS tube, the drain of the eighth NMOS tube The connecting line between the drain of the fifth PMOS tube and the drain of the sixth NMOS tube is connected to the gate of the seventh PMOS tube and the gate of the seventh NMOS tube, and the connecting line between the drain of the seventh PMOS tube and the drain of the seventh NMOS tube is connected to the gate of the fifth PMOS tube and the gate of the sixth NMOS tube, respectively; the connecting line between the drain of the seventh PMOS tube and the drain of the seventh NMOS tube is connected to the gate of the fifth PMOS tube and the gate of the sixth NMOS tube, respectively;

[0021] Correspondingly, the gate of the fourth PMOS tube, the gate of the sixth PMOS tube, the gate of the fourth NMOS tube and the gate of the ninth NMOS tube are all used to receive the inverted clock signal of the target clock signal; the output ends of the first inverter and the second inverter are both used to output the target comparison signal.

[0022] Preferably, the SAR ADC comprises: n first D flip-flops, n second D flip-flops, n+1 inverters, a NAND gate and a third D flip-flop;

[0023] Wherein, the output end of the i-th first D flip-flop is respectively connected to the input end of the i-th inverter and the clock trigger end of the i-th second D flip-flop, the output end of the i-th inverter is connected to the D input end of the i+1-th first D flip-flop, the output end of the n-th first D flip-flop is connected to the input end of the n-th inverter, the output end of the n-th inverter is connected to an input end of the NAND gate, the output end of the NAND gate is connected to the D input end of the third D flip-flop, the input end of the n+1-th inverter is used to receive the target trigger signal, and the output end of the n+1-th inverter is respectively connected to the clock trigger end of each first D flip-flop; the D trigger ends of the i-th second flip-flops are all used to receive the comparison output signal, and the output ends of the i-th second D flip-flops are all used to output the output signal of the calibration module; n>1, 1≤i≤n-1;

[0024] Correspondingly, the SAR ADC also has a pre_select port, a force_cal port, a spare port, and a register port for receiving an external register trigger signal.

[0025] Correspondingly, the present invention also discloses a voltage-controlled oscillator, including a phase-locked loop calibration circuit as disclosed above.

[0026] Correspondingly, the present invention also discloses a phase-locked loop calibration method, which is applied to a phase-locked loop calibration module and includes:

[0027] Obtaining a target output signal of a charge pump in the phase-locked loop, and obtaining a target monitoring signal output by a bias conversion module; wherein the bias conversion module can generate the target monitoring signal according to the output signal of the calibration module and the target output signal;

[0028] The target output signal and the target monitoring signal are compared to obtain a target comparison signal, and the target comparison signal is used to control the conduction state of the phase-locked loop so that the target output signal is kept within a preset range.

[0029] It can be seen that in the phase-locked loop calibration circuit provided by the present invention, a phase-locked loop, a bias conversion module and a calibration module are provided. The circuit can generate a target monitoring signal according to the target output signal of the charge pump in the phase-locked loop and the output signal of the calibration module, and then compare the target output signal and the target monitoring signal through the calibration module to obtain a target comparison signal, and use the target comparison signal to control the conduction state of the phase-locked loop, so that the target output signal of the charge pump in the phase-locked loop can be kept within a preset range. Compared with the prior art, since the circuit can control the conduction state of the phase-locked loop according to the target output signal of the charge pump in the phase-locked loop, it can avoid the phase-locked loop from being in the conduction state all the time, thereby significantly reducing the power consumption required by the phase-locked loop calibration circuit. Correspondingly, a voltage-controlled oscillator and a phase-locked loop calibration method provided by the present invention also have the above-mentioned beneficial effects. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0031] Figure 1 A structural diagram of a phase-locked loop calibration circuit provided by an embodiment of the present invention;

[0032] Figure 2 A structural diagram of a calibration module provided by an embodiment of the present invention;

[0033] Figure 3 A structural diagram of a dynamic comparator provided by an embodiment of the present invention;

[0034] Figure 4 A structural diagram of a latch provided by an embodiment of the present invention;

[0035] Figure 5 A structural diagram of a SAR ADC provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0036] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0037] See also Figure 1 , Figure 1 A structural diagram of a phase-locked loop calibration circuit provided by an embodiment of the present invention, the phase-locked loop calibration circuit comprising:

[0038] Phase-locked loop;

[0039] A bias conversion module, used for generating a target monitoring signal according to a target output signal of a charge pump in a phase-locked loop and an output signal of a calibration module;

[0040] The calibration module is used to compare the target output signal with the target monitoring signal to obtain a target comparison signal, and use the target comparison signal to control the conduction state of the phase-locked loop to keep the target output signal within a preset range.

[0041] In this embodiment, a phase-locked loop calibration circuit is provided. The output signal of the phase-locked loop is calibrated by the circuit, so that the power consumption required by the calibration circuit can be reduced. The phase-locked loop calibration circuit is provided with a phase-locked loop, a bias conversion module and a calibration module. Since the phase-locked loop and the bias conversion module are relatively common functional modules in the prior art, the phase-locked loop and the bias conversion module are not introduced in detail here.

[0042] When the phase-locked loop sends the target output signal Vim of the charge pump to the bias conversion module, the bias conversion module also receives the digital control signal Cal_out output by the calibration module. <n:1>In this case, the bias conversion module will use its internal current mirror to make the target output signal Vim of the charge pump consistent with the output signal of the calibration module. Under this setting mechanism, the bias conversion module will adjust the output signal according to the target output signal Vim of the charge pump in the phase-locked loop and the digital control signal Cal_out output by the calibration module. <n:1>A target monitoring signal Vip is generated, wherein the target monitoring signal Vip is used to make the target output signal of the charge pump consistent with the output signal of the calibration module.

[0043] Since the calibration module monitors the target output signal Vim of the charge pump in the phase-locked loop in real time, when the bias conversion module sends the target monitoring signal Vip to the calibration module, the calibration module compares the target output signal Vim of the charge pump with the target monitoring signal Vip output by the bias conversion module to obtain a corresponding target comparison signal.

[0044] It is understandable that, because the target output signal Vim of the charge pump and the target monitoring signal Vip generated by the bias conversion module are both dynamically changing signals, the target comparison signal will also correspond to multiple comparison results. Specifically, if the target output signal Vim is less than the target monitoring signal Vip, the calibration module will output the enable signal En_pll to shut down the phase-locked loop; if the target output signal Vim is greater than or equal to the target monitoring signal Vip, the calibration module will output the digital control signal Cal_out <n:1>The phase-locked loop is calibrated so that the target output signal of the charge pump in the phase-locked loop can be maintained within a preset range.

[0045] It should be noted that, because the function of the charge pump in the phase-locked loop is to provide a stable driving voltage to the voltage-controlled oscillator, the preset range of the charge pump output signal should be set based on the charge pump's ability to provide a stable driving voltage for the voltage-controlled oscillator. Since this operation is well known to those skilled in the art, it will not be described in detail here.

[0046] Compared with the prior art, since this circuit can control the conduction state of the phase-locked loop according to the target output signal of the charge pump in the phase-locked loop, it can avoid the phase-locked loop being in the conduction state all the time, thereby significantly reducing the power consumption required by the phase-locked loop calibration circuit.

[0047] It can be seen that in the phase-locked loop calibration circuit provided in this embodiment, a phase-locked loop, a bias conversion module and a calibration module are provided. The circuit can generate a target monitoring signal according to the target output signal of the charge pump in the phase-locked loop and the output signal of the calibration module, and then compare the target output signal and the target monitoring signal through the calibration module to obtain a target comparison signal, and use the target comparison signal to control the conduction state of the phase-locked loop, so that the target output signal of the charge pump in the phase-locked loop can be kept within a preset range. Compared with the prior art, since the circuit can control the conduction state of the phase-locked loop according to the target output signal of the charge pump in the phase-locked loop, it can avoid the phase-locked loop from being in the conduction state all the time, thereby significantly reducing the power consumption required by the phase-locked loop calibration circuit.

[0048] Based on the above embodiments, this embodiment further explains and optimizes the technical solution. Figure 2 , Figure 2 This is a structural diagram of a calibration module provided by an embodiment of the present invention. As a preferred implementation, the calibration module includes:

[0049] A dynamic comparison latch, used for comparing the target output signal with the target monitoring signal to obtain a comparison output signal;

[0050] A signal trigger module, used to generate a target clock signal, and to work together with the comparison output signal output by the dynamic comparison latch to generate an enable signal for turning off or on the phase-locked loop;

[0051] The SAR ADC is used to sample the comparison output signal output by the dynamic comparison latch according to the target clock signal to obtain a digital control signal for controlling the bias conversion module.

[0052] In the calibration module provided in this embodiment, a dynamic comparison latch can be used to dynamically compare the target output signal Vim of the charge pump in the phase-locked loop with the target monitoring signal Vip output by the bias conversion module to obtain a comparison output signal. When the dynamic comparison latch outputs the comparison output signal, the dynamic comparison latch will work together with the target clock signal clk generated by the signal trigger module to generate an enable signal En_pll for turning off or on the phase-locked loop.

[0053] Among them, the comparison output signal output by the dynamic comparison latch includes analog signals Vop and Vom. When the target output signal Vim is greater than the target monitoring signal Vip, Vom will always be in a high level state, and at this time Vop will output a signal consistent with the target clock signal clk. In this case, the enable signal En_pll will output a high level to control the conduction of the phase-locked loop; when the target output signal Vim is less than the target monitoring signal Vip, Vop will always be in a high level state, and at this time Vom will output a signal consistent with the target clock signal clk. In this case, the enable signal En_pll will output a low level to turn off the phase-locked loop.

[0054] When the target output signal Vim is greater than the target monitoring signal Vip, the SAR ADC (successive approximation register analog-to-digital converter) samples the comparison output signal output by the dynamic comparison latch according to the target clock signal clk generated by the signal trigger module, and thereby obtains the digital control signal Cal_out for controlling the bias conversion module. <n:1>Among them, the digital control signal Cal_out <n:1>It will work together with the target output signal Vim of the charge pump, so that the bias conversion module generates a target monitoring signal Vip.

[0055] Specifically, in order to realize the function of the dynamic comparison latch, a dynamic comparator and a latch can be set in the dynamic comparison latch, wherein the dynamic comparator is used to compare the target output signal Vim and the target monitoring signal Vip to obtain a comparison output signal; and the latch is used to latch the comparison output signal.

[0056] See also Figure 3 , Figure 3 A structural diagram of a dynamic comparator provided by an embodiment of the present invention, as a preferred implementation, the dynamic comparator includes: a first NMOS tube N1, a second NMOS tube N2, a third NMOS tube N3, a first PMOS tube P1, a second PMOS tube P2 and a third PMOS tube P3;

[0057] Among them, the source of the first PMOS tube P1 is connected to the source of the second PMOS tube P2, the drain of the first PMOS tube P1 is respectively connected to the drain of the third PMOS tube P3 and the drain of the first NMOS tube N1, the drain of the second PMOS tube P2 is respectively connected to the source of the third PMOS tube P3 and the drain of the second NMOS tube N2, the source of the first NMOS tube N1 and the source of the second NMOS tube N2 are both connected to the drain of the third NMOS tube N3, and the source of the third NMOS tube N3 is grounded;

[0058] Correspondingly, the gate of the first PMOS tube P1, the gate of the second PMOS tube P2, the gate of the third PMOS tube P3 and the gate of the third NMOS tube N3 are all used to receive the target clock signal clk; the gate of the first NMOS tube N1 is used to receive the target monitoring signal Vip, and the gate of the second NMOS tube N2 is used to receive the target output signal Vim.

[0059] In this embodiment, a specific structural diagram of a dynamic comparator is provided, by which a target output signal Vim of a charge pump in a phase-locked loop and a target monitoring signal Vip output by a bias conversion module can be dynamically compared.

[0060] Accordingly, this embodiment also provides a latch for latching the comparison output signal output by the dynamic comparator. Figure 4 , Figure 4 A structural diagram of a latch provided in an embodiment of the present invention, as a preferred implementation, the latch includes: a first inverter I1, a second inverter I2, a fourth PMOS tube P4, a fifth PMOS tube P5, a sixth PMOS tube P6, a seventh PMOS tube P7, a fourth NMOS tube N4, a fifth NMOS tube N5, a sixth NMOS tube N6, a seventh NMOS tube N7, an eighth NMOS tube N8 and a ninth NMOS tube N9;

[0061] Among them, the source of the fifth PMOS tube P5 and the source of the seventh PMOS tube P7 are both connected to the drain of the fourth PMOS tube P4, the gate of the fifth PMOS tube P5 is connected to the drain of the sixth PMOS tube P6, the gate of the seventh PMOS tube P7 is connected to the source of the sixth PMOS tube P6, the drain of the fifth PMOS tube P5 is respectively connected to the input end of the first inverter I1, the drain of the fourth NMOS tube N4, the drain of the fifth NMOS tube N5 and the drain of the sixth NMOS tube N6, the drain of the seventh PMOS tube P7 is respectively connected to the input end of the second inverter I2, the drain of the seventh NMOS tube N7, the drain of the eighth NMOS tube N8 The drain of the fifth PMOS tube P5 and the drain of the sixth NMOS tube N6 are connected to the gate of the seventh PMOS tube P7 and the gate of the seventh NMOS tube N7, and the drain of the seventh PMOS tube P7 and the drain of the seventh NMOS tube N7 are connected to the gate of the fifth PMOS tube P5 and the gate of the sixth NMOS tube N6, respectively. The drain of the seventh PMOS tube P7 and the drain of the seventh NMOS tube N7 are connected to the gate of the fifth PMOS tube P5 and the gate of the sixth NMOS tube N6, respectively.

[0062] Correspondingly, the gate of the fourth PMOS tube P4, the gate of the sixth PMOS tube P6, the gate of the fourth NMOS tube N4 and the gate of the ninth NMOS tube N9 are all used to receive the inverted clock signal clk_n of the target clock signal clk; the output ends of the first inverter I1 and the second inverter I2 are both used to output the target comparison signal.

[0063] See also Figure 5 , Figure 5 A structural diagram of a SAR ADC provided by an embodiment of the present invention. As a preferred implementation, the SAR ADC includes: n first D flip-flops DFF1, n second D flip-flops DFF2, n+1 inverters, a NAND gate, and a third D flip-flop DFF3;

[0064] Wherein, the output end of the i-th first D flip-flop DFF1 is respectively connected to the input end of the i-th inverter and the clock trigger end of the i-th second D flip-flop DFF2, the output end of the i-th inverter is connected to the D input end of the i+1-th first D flip-flop DFF1, the output end of the n-th first D flip-flop DFF1 is connected to the input end of the n-th inverter, the output end of the n-th inverter is connected to an input end of the NAND gate, the output end of the NAND gate is connected to the D input end of the third D flip-flop DFF3, the input end of the n+1-th inverter is used to receive the target trigger signal, and the output end of the n+1-th inverter is respectively connected to the clock trigger end of each first D flip-flop DFF1; the D trigger ends of the i-th second flip-flops are all used to receive the comparison output signal, and the output ends of the i-th second D flip-flops DFF2 are all used to output the output signal of the calibration module; n>1, 1≤i≤n-1;

[0065] Correspondingly, the SAR ADC also has a pre_select port, a force_cal port, a spare port, and a register port for receiving an external register trigger signal.

[0066] In this embodiment, a specific setting structure of a SAR ADC is provided, in which a pre_select port, a force_cal port, a spare port, and a register port Register for receiving an external register trigger signal are also provided. <n:1>Among them, the pre_select port is used to receive the pre-selection signal pre_select, the force_cal port is used to receive the forced execution signal force_cal, the spare port is used to receive the switching signal spare, and the register port is used to receive the register signal Register provided by the external register. <n:1>.

[0067] Combination Figures 1 to 5 This embodiment describes the working principle of the phase-locked loop calibration circuit in detail. When pre_select = 1 and force_cal = 0, the SAR ADC receives the digital control signal Cal_out output by the calibration module. <n:1>; When pre_select = 1 and force_cal = 1, or pre_select = 0 and force_cal = 1, or pre_select = 0 and force_cal = 0, the SAR ADC will receive the external register Register <n:1>When pre_select = 1 and force_cal = 0, the calibration process of the calibration module is as follows:

[0068] According to the pre-set rules, when spare is at the rising edge (or falling edge), Figure 3 The dynamic comparator shown in FIG. 1 dynamically compares the target output signal Vim of the charge pump in the phase-locked loop with the target monitoring signal Vip output by the bias conversion module, and outputs comparison results VM1 and VP1. When the dynamic comparator inputs VM1 and VP1 to the Figure 4 When the latch shown is used, the latch will collect or hold the signal output by the dynamic comparator according to the output result of the dynamic comparator and the target clock signal clk.

[0069] It is understandable that, because the target output signal Vim and the target monitoring signal Vip are both dynamically changing signals, the target output signal Vim and the target monitoring signal Vip will have two comparison results under the triggering of the target clock signal clk. That is, the comparison output signal output by the dynamic comparison latch includes analog signals Vop and Vom.

[0070] Specifically, when the target output signal Vim is greater than the target monitoring signal Vip, Vom will always be in a high level state, and at this time Vop will output a signal consistent with the target clock signal clk; when the target output signal Vim is less than the target monitoring signal Vip, Vop will always be in a high level state, and at this time Vom will output a signal consistent with the target clock signal clk. In addition, when the target clock signal clk is at a high level, the latch will enter the data acquisition state; when the target clock signal clk is at a low level, the latch will enter the holding state.

[0071] When Figure 5 When the SAR ADC shown enters the sampling phase, the RST signal sets the output of the first D flip-flop DFF1_1 to 1, and sets the outputs of the remaining first D flip-flops DFF1_2 to DFF1_n to 0. In this case, the outputs of the second D flip-flops DFF2_1 to DFF2_n will be set to 0. When the RST clock is flipped, the outputs of the first D flip-flops DFF1_2 to DFF1_n will successively become high levels, and at this time, the second D flip-flops DFF2_2 to DFF2_n will be set to 1 in turn. At the same time, because the outputs of the first D flip-flops DFF1_1 to DFF1_n will successively serve as the clock trigger signals of the first D flip-flops of the next stage and the second D flip-flops DFF2_1 to DFF2_n of the next row, when the second D flip-flops DFF2_1 to DFF2_n are respectively set, the output result of the dynamic comparator will be triggered again at the next clock edge, thereby obtaining a successive approximation logic signal, that is, the digital control signal Cal_out <n:1>The corresponding working steps are: the second D flip-flops DFF2_1 to DFF2_n are reset first, then guess 1, then the output of the dynamic comparator is retrieved, then the guess 1 is moved, and finally the synchronous latch completes the output.

[0072] When the SAR ADC completes data sampling and latching, the calibration module will turn off the phase-locked loop through the enable signal En_pll, so that the entire phase-locked loop stops working. In this case, the target output signal of the charge pump will become smaller, and the latch will stop sampling the output of the dynamic comparator. In addition, in actual applications, the setting number of the first D flip-flop and the second D flip-flop can also be adjusted to adjust the output accuracy of the SAR ADC.

[0073] Correspondingly, the present invention also discloses a voltage-controlled oscillator, comprising any one of the phase-locked loop calibration circuits disclosed above.

[0074] A voltage-controlled oscillator provided by an embodiment of the present invention has the beneficial effects of the aforementioned disclosed phase-locked loop calibration circuit.

[0075] Correspondingly, an embodiment of the present invention further discloses a phase-locked loop calibration method, which is applied to a phase-locked loop calibration module and includes:

[0076] Obtaining a target output signal of a charge pump in a phase-locked loop, and obtaining a target monitoring signal output by a bias conversion module; wherein the bias conversion module can generate a target monitoring signal according to an output signal of the calibration module and the target output signal;

[0077] The target output signal and the target monitoring signal are compared to obtain a target comparison signal, and the target comparison signal is used to control the conduction state of the phase-locked loop so that the target output signal is kept within a preset range.

[0078] In this embodiment, a calibration method for a phase-locked loop is provided. The execution subject of the method is a calibration module in the phase-locked loop. The method is used to calibrate the output signal of the phase-locked loop, which can reduce the power consumption required by the calibration circuit. Since the method corresponds to the calibration module in the phase-locked loop calibration circuit disclosed in the above embodiment, the relevant parts can refer to the contents disclosed in the above embodiment, and no detailed description is given here.

[0079] A phase-locked loop calibration method provided by an embodiment of the present invention has the beneficial effects of the above-disclosed phase-locked loop calibration circuit.

[0080] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other. Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish an entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the term "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements not only includes those elements, but also includes other elements that are not clearly listed, or also includes elements inherent to such process, method, article or equipment. In the absence of more restrictions, the elements limited by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or equipment including the elements.

[0081] The above is a detailed introduction to a phase-locked loop calibration circuit, a voltage-controlled oscillator and a phase-locked loop calibration method provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for a general technician in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A phase-locked loop calibration circuit, characterized in that: include: Phase-locked loop; A bias conversion module, used for generating a target monitoring signal according to a target output signal of a charge pump in the phase-locked loop and an output signal of a calibration module; The calibration module is used to compare the target output signal with the target monitoring signal to obtain a target comparison signal, and use the target comparison signal to control the conduction state of the phase-locked loop so that the target output signal remains within a preset range; The calibration module comprises: A dynamic comparison latch, used for comparing the target output signal with the target monitoring signal to obtain a comparison output signal; A signal trigger module, used to generate a target clock signal, and to work together with the comparison output signal output by the dynamic comparison latch to generate an enable signal for turning off or on the phase-locked loop; The SAR ADC is used to sample the comparison output signal output by the dynamic comparison latch according to the target clock signal to obtain a digital control signal for controlling the bias conversion module.

2. The phase-locked loop calibration circuit according to claim 1, characterized in that: The dynamic comparison latch comprises: A dynamic comparator, used for comparing the target output signal with the target monitoring signal to obtain the comparison output signal; A latch is used to latch the comparison output signal.

3. The phase-locked loop calibration circuit according to claim 2, characterized in that: The dynamic comparator comprises: a first NMOS tube, a second NMOS tube, a third NMOS tube, a first PMOS tube, a second PMOS tube and a third PMOS tube; Wherein, the source of the first PMOS tube is connected to the source of the second PMOS tube, the drain of the first PMOS tube is respectively connected to the drain of the third PMOS tube and the drain of the first NMOS tube, the drain of the second PMOS tube is respectively connected to the source of the third PMOS tube and the drain of the second NMOS tube, the source of the first NMOS tube and the source of the second NMOS tube are both connected to the drain of the third NMOS tube, and the source of the third NMOS tube is grounded; Correspondingly, the gate of the first PMOS tube, the gate of the second PMOS tube, the gate of the third PMOS tube and the gate of the third NMOS tube are all used to receive the target clock signal; the gate of the first NMOS tube is used to receive the target monitoring signal, and the gate of the second NMOS tube is used to receive the target output signal.

4. The phase-locked loop calibration circuit according to claim 3, characterized in that: The latch comprises: a first inverter, a second inverter, a fourth PMOS tube, a fifth PMOS tube, a sixth PMOS tube, a seventh PMOS tube, a fourth NMOS tube, a fifth NMOS tube, a sixth NMOS tube, a seventh NMOS tube, an eighth NMOS tube and a ninth NMOS tube; Wherein, the source of the fifth PMOS tube and the source of the seventh PMOS tube are both connected to the drain of the fourth PMOS tube, the gate of the fifth PMOS tube is connected to the drain of the sixth PMOS tube, the gate of the seventh PMOS tube is connected to the source of the sixth PMOS tube, the drain of the fifth PMOS tube is respectively connected to the input end of the first inverter, the drain of the fourth NMOS tube, the drain of the fifth NMOS tube and the drain of the sixth NMOS tube, the drain of the seventh PMOS tube is respectively connected to the input end of the second inverter, the drain of the seventh NMOS tube, the drain of the eighth NMOS tube The connecting line between the drain of the fifth PMOS tube and the drain of the sixth NMOS tube is connected to the gate of the seventh PMOS tube and the gate of the seventh NMOS tube, and the connecting line between the drain of the seventh PMOS tube and the drain of the seventh NMOS tube is connected to the gate of the fifth PMOS tube and the gate of the sixth NMOS tube, respectively; the connecting line between the drain of the seventh PMOS tube and the drain of the seventh NMOS tube is connected to the gate of the fifth PMOS tube and the gate of the sixth NMOS tube, respectively; Correspondingly, the gate of the fourth PMOS tube, the gate of the sixth PMOS tube, the gate of the fourth NMOS tube and the gate of the ninth NMOS tube are all used to receive the inverted clock signal of the target clock signal; the output ends of the first inverter and the second inverter are both used to output the target comparison signal.

5. The phase-locked loop calibration circuit according to claim 4, characterized in that: The SAR ADC comprises: The first D flip-flop, A second D flip-flop, An inverter, a NAND gate and a third D flip-flop; Among them, The output terminals of the first D flip-flops are connected to the The input of the first inverter and the The clock trigger terminal of the second D flip-flop is connected to the The output of the first inverter and the The D input terminal of the first D flip-flop is connected to the The output terminal of the first D flip-flop is connected to the The input terminals of the first inverter are connected to The output end of the inverter is connected to an input end of the NAND gate, the output end of the NAND gate is connected to the D input end of the third D flip-flop, The input end of the inverter is used to receive the target trigger signal. The output ends of the inverters are respectively connected to the clock triggering ends of the first D flip-flops; The D trigger terminals of the second triggers are all used to receive the comparison output signal, The output ends of the second D flip-flops are all used to output the output signal of the calibration module; , ; Correspondingly, the SAR ADC also has a pre_select port, a force_cal port, a spare port, and a register port for receiving an external register trigger signal.

6. A voltage-controlled oscillator, characterized in that: It comprises a phase-locked loop calibration circuit as claimed in any one of claims 1 to 5.

7. A phase-locked loop calibration method, characterized in that: A calibration module applied to a phase-locked loop calibration circuit according to claim 1, comprising: Obtaining a target output signal of a charge pump in the phase-locked loop, and obtaining a target monitoring signal output by a bias conversion module; wherein the bias conversion module can generate the target monitoring signal according to the output signal of the calibration module and the target output signal; The target output signal and the target monitoring signal are compared to obtain a target comparison signal, and the target comparison signal is used to control the conduction state of the phase-locked loop so that the target output signal is kept within a preset range.