Phase-locked loop circuit capable of frequency keeping and reference frequency smooth switching
By using technologies such as comparators and time-to-digital converters in phase-locked loop circuits, the problem of frequency instability in traditional phase-locked loop circuits when the reference clock signal is lost and reconnected is solved, achieving frequency maintenance and smooth switching, and improving Improves loop stability and performance.
Patent Information
- Application Number
- PCT/CN2023/128426
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-26
- Filing Date
- 2023-10-31
- Publication Date
- 2024-10-31
Smart Images

Figure CN2023128426_31102024_PF_FP_ABST
Abstract
Description
A phase-locked loop circuit with frequency maintenance and reference frequency smooth switching Technical Field
[0001] The present invention relates to the field of semiconductor integrated circuits, and in particular to a phase-locked loop circuit with frequency retention and reference frequency smooth switching. Background Art
[0002] Phase-locked loop (PLL) circuits are widely used in various chips and are an integral part of RF circuits. The performance of their output clock signals determines the performance of the entire RF system. In practical applications, reference clock signal loss is unavoidable. When the reference clock signal is lost, the output frequency of traditional PLL circuits fluctuates significantly, affecting loop stability. The current solution is to use a digital-to-analog converter (DAC) to detect the control voltage Vcrtl of the voltage-controlled oscillator (VCO) when the reference clock signal is lost, and then use an ADC to adjust the VCO control voltage to maintain stability. However, due to the significant latency between DACs and ADCs, the control voltage Vcrtl value still fluctuates in practical engineering applications, affecting the PLL output frequency.
[0003] Furthermore, when the reference clock signal is reinserted, traditional phase-locked loop circuits take a significant amount of time to relock. During this process, the phase-locked loop's output frequency fluctuates continuously, significantly impacting circuit operation and potentially causing system performance degradation or even malfunction. Therefore, the challenge of properly designing the phase-locked loop to mitigate the frequency fluctuations caused by the loss and reinsertion of the reference clock signal has become a pressing issue.
[0004] Summary of the Invention
[0005] The present invention aims to address the shortcomings of the prior art by proposing a phase-locked loop (PLL) circuit with frequency maintenance and smooth reference frequency switching. The circuit utilizes the output of a comparator to regulate the capacitor array of a voltage-controlled oscillator (VCO), ensuring that the VCO's control voltage (Vcrtl) remains constant at the reference voltage (Vref) after the PLL is locked and remains stable despite changes in PVT conditions. After the reference clock signal is lost, the circuit directly uses Vref as the VCO's control voltage, effectively resolving the output frequency jumps caused by the loss of the reference clock signal. Furthermore, the circuit utilizes a time-to-digital converter (TDC) and a digital-to-time converter (DTDC). When the reference clock signal is reinstated, the TDC monitors the phase difference between the reference clock signal and the feedback clock signal and adjusts the output delay of the DTDC. This ensures that the new reference clock signal is aligned with the feedback clock signal within one to two cycles of the reference clock signal reinstated. When the TDC detects a minimal phase difference between the new reference clock signal and the feedback clock signal, it switches to a phase detector / charge pump loop. This circuit eliminates the need for relocking after the reference clock signal is reinstated, significantly reducing output frequency fluctuations and improving loop stability. The output frequency of the circuit remains stable whether the reference clock is lost or reinserted.
[0006] To achieve the above-mentioned objectives, the present invention provides the following technical solution: a phase-locked loop circuit with frequency maintenance and reference frequency smooth switching, characterized in that it includes: a clock signal processing module, and a phase-locked loop function module and a Vcrtl voltage control module respectively connected to the clock signal processing module; the phase-locked loop function module is connected to the Vcrtl voltage control module.
[0007] The clock signal processing module is used to receive and monitor the external reference clock signal CLKref in real time, and generate a feedback clock signal CLKfb at the same time; based on the phase difference between the reference clock signal CLKref and its feedback clock signal CLKfb, it controls the connected phase-locked loop function module and Vcrtl voltage control module by outputting a pulse signal, thereby providing a controlled reference clock signal for subsequent circuits connected to the phase-locked loop circuit.
[0008] Furthermore, the aforementioned clock signal processing module includes: a clock signal loss detection module (10), a digital-to-time converter (11), and a time-to-digital converter (12).
[0009] The input end (101) of the clock signal loss detection module (10) and the input end (111) of the digital time converter (11) serve as input ends of the clock signal processing module, respectively, for receiving the reference clock signal CLKref.
[0010] The output end (102) of the clock signal loss detection module (10) is connected to the control end (123) of the time-to-digital converter (12); and the output end (102) of the clock signal loss detection module (10) is connected to the Vcrtl voltage control module and the phase-locked loop function module as the first output end of the time signal processing module. The output end (124) of the time-to-digital converter (12) is connected to the control end (112) of the digital-to-time converter (11) for controlling the output delay of the digital-to-time converter (11). The output end (113) of the digital-to-time converter (11) is connected to the phase-locked loop function module as the second output end of the time signal processing module for outputting a new clock signal CLKNEW having the same frequency as the reference clock signal CLKref and a phase difference controlled by the output delay of the digital-to-time converter (11); and the output end (113) of the digital-to-time converter (11) is connected to the second input end (122) of the time-to-digital converter (12).
[0011] The first input terminal (121) of the time-to-digital converter (12) serves as a feedback signal receiving terminal of the clock signal processing module, and receives the feedback clock signal CLKfb output from the phase-locked loop function module.
[0012] Furthermore, the aforementioned phase-locked loop functional module includes: a phase detector (13), a charge pump (14), a loop filter (15), a voltage-controlled oscillator (16), and a frequency divider (17). The first output end (133) of the phase detector (13) is connected to the first input end (141) of the charge pump (14), and is used for the phase detector (13) to output a new clock signal CLKNEW to the charge pump (14). The second output end (134) of the phase detector (13) is connected to the second input end (142) of the charge pump (14), and is used for the phase detector (13) to output a feedback clock signal CLKfb to the charge pump (14), and at the same time, a control signal of the charge pump is generated according to the phase difference between CLKNEW and CLKfb. The output end (143) of the charge pump (14) is connected to the voltage control module as the first output end of the phase-locked loop functional module.
[0013] The phase detector (13) serves as the first input terminal of the phase-locked loop functional module and receives the signal output from the output terminal (113) of the digital time converter (11). The control terminal (144) of the charge pump (14) receives the output signal from the output terminal (102) of the clock signal loss detection module (10). The input terminal (151) of the loop filter (15) receives the output signal from the charge pump (14) through the voltage control module; the output terminal (152) of the loop filter (15) is connected to the input terminal (161) of the voltage-controlled oscillator (16);
[0014] The output end (162) of the voltage-controlled oscillator (16) is connected to the input end (171) of the frequency divider (17); the output end (172) of the frequency divider (17) is connected to the first input end (121) of the time-to-digital converter (12) as the second output end of the phase-locked loop functional module; the output end (162) of the voltage-controlled oscillator (16) is used as the output end of the phase-locked loop functional module to provide a controlled reference clock signal for subsequent circuits connected to the phase-locked loop circuit.
[0015] Furthermore, the aforementioned Vcrtl voltage control module includes: a comparator (18), a reference voltage generating module (19), and a switch (20). The output terminal (191) of the reference voltage generating module (19) is connected to the first input terminal (181) of the comparator (18) for outputting a reference voltage Vref to the comparator (18);
[0016] The output terminal (191) of the reference voltage generating module (19) is connected to the first input terminal (201) of the switch (20). The second input terminal (182) of the comparator (18) is connected to the third input terminal (203) of the switch (20). The switch (20) serves as the input terminal of the Vcrtl voltage control module and receives the output signal from the output terminal (102) of the time signal clock loss detection module (10); the third input terminal (203) of the switch (20) is connected to the input terminal (151) of the loop filter (15). The output terminal (183) of the comparator (18) serves as the output terminal of the Vcrtl voltage control module and is connected to the capacitor array control terminal (163) of the voltage controlled oscillator (16).
[0017] Furthermore, the aforementioned time-to-digital converter (12) is used for phase detection and adopts a 1-bit binary phase detector.
[0018] Furthermore, the aforementioned voltage-controlled oscillator (16) includes a plurality of parallel-connected adjustable capacitor arrays.
[0019] Compared with the prior art, the present invention has the following beneficial effects:
[0020] The problem of output frequency jump caused by the loss of reference clock signal in traditional phase-locked loop circuits and phase-locked loop circuits using AD / DA is solved.
[0021] There is no need to re-lock the reference clock signal after it is reconnected, which greatly reduces the fluctuation of the output frequency and improves the stability of the loop. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] FIG1 is a schematic diagram of a phase-locked loop circuit structure of the present invention.
[0023] FIG2 is a schematic diagram of the structure of a voltage-controlled oscillator according to the present invention.
[0024] FIG3 is a waveform diagram of the modulation voltage Vctrl of the voltage controlled oscillator during the working process of the present invention.
[0025] FIG4 is a waveform diagram of the reference clock and feedback clock when the reference clock signal is recovered according to the present invention.
[0026] FIG5 is a waveform diagram of the process of adjusting the reference clock and the feedback clock to a new reference clock signal according to the present invention.
[0027] Implementation Method
[0028] In order to better understand the technical content of the present invention, specific embodiments are given and described below with reference to the accompanying drawings.
[0029] Various aspects of the present invention are described herein with reference to the accompanying drawings, which show a number of illustrative embodiments. The embodiments of the present invention are not limited to those described in the accompanying drawings. It should be understood that the present invention can be implemented by any of the various concepts and embodiments described above, as well as the concepts and implementations described in detail below, because the concepts and embodiments disclosed herein are not limited to any particular implementation. In addition, some aspects disclosed herein may be used alone or in any appropriate combination with other aspects disclosed herein.
[0030] Figure 1 shows a schematic diagram of the phase-locked loop circuit structure of the present invention. A phase-locked loop circuit with frequency maintenance and smooth reference frequency switching includes a clock signal processing module, a phase-locked loop function module connected to the clock signal processing module, and a Vcrtl voltage control module; the phase-locked loop function module is connected to the Vcrtl voltage control module.
[0031] The clock signal processing module is used to receive and monitor the external reference clock signal CLKref in real time, and generate a feedback clock signal CLKfb at the same time; based on the phase difference between the external reference clock signal CLKref and its feedback clock signal CLKfb, it controls the connected phase-locked loop function module and Vcrtl voltage control module by outputting a pulse signal, thereby providing a controlled reference clock signal for subsequent circuits connected to the phase-locked loop circuit.
[0032] The clock signal processing module includes: a clock signal loss detection module Clock loss detect10, a digital time converter DTC11, and a time digital converter TDC12.
[0033] The input terminal 101 of the clock signal loss detection module Clock lose detect10 and the input terminal 111 of the digital time converter DTC11 are respectively used as input terminals of the clock signal processing module for receiving the reference clock signal CLKref.
[0034] The output terminal 102 of the clock signal loss detection module Clock lose detect10 is connected to the control terminal 123 of the time-to-digital converter TDC12; and the output terminal 102 of the clock signal loss detection module Clock lose detect10 is connected to the voltage control module and the phase-locked loop function module as the first output terminal of the time signal processing module.
[0035] The output terminal 124 of the time-to-digital converter TDC12 is connected to the control terminal 112 of the digital-to-time converter DTC11 for controlling the output delay of the digital-to-time converter DTC11 .
[0036] The output terminal 113 of the digital-to-time converter DTC11 is connected to the phase-locked loop function module as the second output terminal of the time signal processing module, and is used to output a new clock signal CLKNEW having the same frequency as the reference clock signal CLKref and a phase difference controlled by the output delay of the digital-to-time converter DTC11; and the output terminal 113 of the digital-to-time converter DTC11 is connected to the second input terminal 122 of the time-to-digital converter TDC12.
[0037] The first input terminal 121 of the time-to-digital converter TDC12 serves as a feedback signal receiving terminal of the clock signal processing module, and receives the feedback clock signal CLKfb output from the phase-locked loop function module.
[0038] The phase-locked loop functional module includes: a phase detector PFD13, a charge pump CP14, a loop filter LPF15, a voltage-controlled oscillator VCO16, and a frequency divider / N17. A first output terminal 133 of the phase detector PFD13 is connected to a first input terminal 141 of the charge pump CP14, so that the phase detector PFD13 outputs a new clock signal CLKNEW to the charge pump CP14. A second output terminal 134 of the phase detector PFD13 is connected to a second input terminal 142 of the charge pump CP14, so that the phase detector PFD13 outputs a feedback clock signal CLKfb to the charge pump CP14. A control signal for the charge pump is generated based on the phase difference between CLKNEW and CLKfb.
[0039] The output terminal 143 of the charge pump CP14 serves as the first output terminal of the phase-locked loop (PLL) functional module and is connected to the voltage control module. The phase detector PFD13 serves as the first input terminal of the PLL functional module and receives the signal output from the output terminal 113 of the digital-to-time converter DTC11. The control terminal 144 of the charge pump CP14 receives the output signal from the output terminal 102 of the clock loss detection module (Clock lose detect10). The input terminal 151 of the loop filter LPF15 receives the output signal from the charge pump CP14 via the voltage control module. The output terminal 152 of the loop filter LPF15 is connected to the input terminal 161 of the voltage-controlled oscillator (VCO16).
[0040] Figure 2 shows a schematic diagram of a voltage-controlled oscillator. The output terminal 162 of the voltage-controlled oscillator (VCO) 16 is connected to the input terminal 171 of the frequency divider / N 17. The output terminal 172 of the frequency divider / N 17 serves as the second output terminal of the phase-locked loop (PLL) functional module and is connected to the first input terminal 121 of the time-to-digital converter (TDC) 12. The output terminal 162 of the voltage-controlled oscillator (VCO) 16 serves as the output terminal of the PLL functional module and provides a controlled reference clock signal to subsequent circuits connected to the PLL circuit. The voltage-controlled oscillator (VCO) 16 includes multiple parallel-connected adjustable capacitor arrays.
[0041] The Vcrt1 voltage control module includes a comparator Compare18, a reference voltage generating module Vref Generator19, and a switch 20. The output terminal 191 of the reference voltage generating module Vref Generator19 is connected to the first input terminal 181 of the comparator Compare18, for outputting the reference voltage Vref to the comparator Compare18.
[0042] The output terminal 191 of the reference voltage generating module Vref Generator 19 is connected to the first input terminal 201 of the switch 20. The second input terminal 182 of the comparator Compare 18 is connected to the third input terminal 203 of the switch 20. The switch 20 serves as the input terminal of the Vcrtl voltage control module, receiving the output signal from the output terminal 102 of the clock signal loss detection module Clock lose detect 10. The third input terminal 203 of the switch 20 is connected to the input terminal 151 of the loop filter LPF 15. The output terminal 183 of the comparator Compare 18 serves as the output terminal of the Vcrtl voltage control module and is connected to the capacitor array control terminal 163 of the voltage-controlled oscillator VCO 16.
[0043] When the phase-locked loop circuit starts working, it specifically includes the following working process:
[0044] When the reference clock signal is present, switch 20 is positioned at the second input terminal, the phase-locked loop operates normally, the time-to-digital converter (TDC) 12 is inoperative, the output delay of the digital-to-time converter (DTC) 11 is zero, and the output CLKNEW of the digital-to-time converter (DTC) 11 is the reference clock signal CLKref. Phase detector PFD 13 generates a control signal for charge pump CP 14 based on the phase difference between the reference clock signal CLKref and the feedback clock signal CLKfb. Charge pump CP 14 generates a modulation voltage Vctrl, which passes through loop filter LPF 15 to control the output frequency of voltage-controlled oscillator (VCO) 16. Simultaneously, comparator Compare 18 compares the modulation voltage Vctrl with the reference voltage Vref and, based on the comparison result, controls the variable capacitor array connected to VCO 16, thereby varying the modulation voltage Vctrl so that it gradually approaches the reference voltage Vref. When the phase-locked loop is locked, the circuit satisfies that the output clock frequency of the voltage-controlled oscillator VCO16 is locked at N times the reference clock frequency, and the modulation voltage Vctrl of the voltage-controlled oscillator VCO16 is equal to Vref and does not change with changes in PVT conditions.
[0045] As shown in Figure 3, when the reference clock signal is lost, the clock signal loss detection module Clock lose detect 10 outputs a pulse signal, controlling switch 20 to the first input terminal, disconnecting the charge pump CP14 output terminal from the loop filter LPF15 input terminal. At this point, the modulation voltage Vctrl of the voltage-controlled oscillator (VCO) 16 is no longer affected by the charge pump output of CP14, but is instead controlled by the output of the reference voltage generator module (Vref Generator 19). The time-to-digital converter (TDC) 12 begins operation, and the charge pump CP14 outputs a high impedance. In this case, the modulation voltage does not jump due to the loss of the reference clock signal, so the output clock frequency of the voltage-controlled oscillator (VCO) 16 can remain stable.
[0046] Figure 4 shows the waveforms of the reference clock and feedback clock when the reference clock signal is restored. When the reference clock signal is re-integrated, the time-to-digital converter (TDC) 12 samples the rising edges of the reference clock signal CLKref and the feedback clock signal CLKfb during the first cycle of the reference clock input, detects the phase difference between the two, and adjusts the output delay of the digital-to-time converter to generate a new reference clock signal CLKNEW. The adjustment process is shown in Figure 5 and is as follows: In the first case, if the phase difference t1 is less than half a cycle of the reference clock signal CLKref, the output delay of the digital-to-time converter (DTC) 11 is directly set to t1. In the second case, if the phase difference t2 is greater than half a cycle of the reference clock signal CLKref, the digital-to-time converter (DTC) 11 first inverts the reference clock signal CLKref. The phase difference t3 between the inverted clock signal and the feedback clock signal CLKfb is then re-detected, and the output delay of the digital-to-time converter (DTC) 11 is adjusted to t3. Ultimately, the new clock signal CLKNEW output by the digital-to-time converter (DTC) 11 has the same frequency as the reference clock signal CLKref and the same phase as the feedback clock signal CLKfb. This process can be completed within one to two cycles of the reference clock signal CLKref being restored. When the time-to-digital converter TDC12 detects that the phase difference between the new reference clock signal CLKNEW and the feedback clock signal CLKfb is very small, it outputs another pulse signal, sets the switch 20 to the second output terminal, and the phase detector PFD13 / charge pump CP14 loop resumes normal operation.
[0047] The biggest advantage of the circuit proposed in this article is that the output frequency of the circuit remains stable whether the reference clock is lost or re-connected.
[0048] While the present invention has been described above with reference to preferred embodiments, this is not intended to limit the present invention. Persons skilled in the art will readily appreciate that various modifications and variations can be made without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be determined by the appended claims.
Claims
1. A phase-locked loop circuit with frequency retention and reference frequency smooth switching, characterized in that: include: A clock signal processing module, and a phase-locked loop function module and a Vcrtl voltage control module respectively connected to the clock signal processing module; The phase-locked loop function module is connected to the Vcrtl voltage control module; The clock signal processing module is used to receive and monitor the external reference clock signal CLKref in real time, and generate a feedback clock signal CLKfb; according to the phase difference between the external reference clock signal CLKref and the feedback clock signal CLKfb, the clock signal processing module controls the connected phase-locked loop function module and the Vcrtl voltage control module by outputting a pulse signal, so as to provide a controlled reference clock signal for the subsequent circuits connected to the phase-locked loop circuit.
2. A phase-locked loop circuit with frequency holding and reference frequency smooth switching according to claim 1, characterized in that: The clock signal processing module comprises: a clock signal loss detection module (10), a digital-to-time converter (11), and a time-to-digital converter (12); The input end (101) of the clock signal loss detection module (10) and the input end (111) of the digital time converter (11) are respectively used as input ends of the clock signal processing module, for receiving the reference clock signal CLKref. The output end (102) of the clock signal loss detection module (10) is connected to the control end (123) of the time digital converter (12); and the output end (102) of the clock signal loss detection module (10) is connected to the Vcrtl voltage control module and the phase-locked loop function module as the first output end of the time signal processing module; The output end (124) of the time-to-digital converter (12) is connected to the control end (112) of the digital-to-time converter (11) and is used to control the output delay of the digital-to-time converter (11); The output end (113) of the digital time converter (11) is connected to the phase-locked loop function module as the second output end of the time signal processing module, and is used to output a new clock signal CLKNEW having the same frequency as the reference clock signal CLKref and a phase difference controlled by the output delay of the digital time converter (11); and the output end (113) of the digital time converter (11) is connected to the second input end (122) of the time digital converter (12); The first input terminal (121) of the time-to-digital converter (12) serves as a feedback signal receiving terminal of the clock signal processing module, and receives the feedback clock signal CLKfb output from the phase-locked loop function module.
3. A phase-locked loop circuit with frequency holding and reference frequency smooth switching according to claim 2, characterized in that: The phase-locked loop functional module comprises: a phase detector (13), a charge pump (14), a loop filter (15), a voltage-controlled oscillator (16), and a connection frequency divider (17); The first output end (133) of the phase detector (13) is connected to the first input end (141) of the charge pump (14), so that the phase detector (13) outputs a new clock signal CLKNEW to the charge pump (14); the second output end (134) of the phase detector is connected to the second input end (142) of the charge pump (14), so that the phase detector (13) outputs a feedback clock signal CLKfb to the charge pump (14), and a control signal of the charge pump is generated according to a phase difference between CLKNEW and CLKfb; The output end (143) of the charge pump (14) is connected to the voltage control module as the first output end of the phase-locked loop function module; The phase detector (13) serves as a first input terminal of the phase-locked loop function module, and receives a signal output from an output terminal (113) of the digital-to-time converter (11); The control terminal (144) of the charge pump (14) receives an output signal from the output terminal (102) of the clock loss detection module (10); The input end (151) of the loop filter (15) receives an output signal from a charge pump (14) through a voltage control module; the output end (152) of the loop filter (15) is connected to the input end (161) of a voltage-controlled oscillator (16); The output end (162) of the voltage-controlled oscillator (16) is connected to the input end (171) of the frequency divider (17). The output end (172) of the frequency divider (17) is connected to the first input end (121) of the time-to-digital converter (12) as the second output end of the phase-locked loop functional module; the output end (162) of the voltage-controlled oscillator (16) is connected to the subsequent circuit connected to the phase-locked loop circuit as the output end of the phase-locked loop functional module to provide a controlled reference clock signal.
4. A phase-locked loop circuit with frequency holding and reference frequency smooth switching according to claim 3, characterized in that: The Vcrtl voltage control module comprises: a comparator (18), a reference voltage generation module (19), and a switch (20); The output terminal (191) of the reference voltage generating module (19) is connected to the first input terminal (181) of the comparator (18). Used to output a reference voltage Vref to a comparator (18); The output end (191) of the reference voltage generating module (19) is connected to the first input end (201) of the switch (20); The second input terminal (182) of the comparator (18) is connected to the third input terminal (203) of the switch (20); The switch (20) serves as an input end of the Vcrtl voltage control module, receiving an output signal from an output end (102) of the clock signal loss detection module (10); a third input end (203) of the switch (20) is connected to an input end (151) of a loop filter (15); The output end (183) of the comparator (18) is connected to the capacitor array control end (163) of the voltage-controlled oscillator (16) as the output end of the Vcrtl voltage control module.
5. A phase-locked loop circuit with frequency holding and reference frequency smooth switching according to claim 2, characterized in that: The time-to-digital converter (12) is used for phase detection and adopts a 1-bit binary phase detector.
6. A phase-locked loop circuit with frequency holding and reference frequency smooth switching according to claim 2, characterized in that: The voltage-controlled oscillator (16) comprises a plurality of adjustable capacitor arrays connected in parallel.
Citation Information
Patent Citations
Low-power consumption phase-locked loop circuit
CN101888244A
Reference clock compensation for fractional-N phase lock loops (PLLs)
CN103348596A
Low-stray phase-locked loop frequency synthesizer circuit
CN105024693A
Use of a virtual clock in a PLL to maintain a closed loop system
CN112134559A
Phase-locked loop circuit, clock generator and electronic equipment
CN114301456A
