All-digital phase-locked loop tracking external input clock

By designing a fully digital phase-locked loop structure, using CNC oscillators and other modules, synchronization with external input clocks is achieved, and synchronization problem of traditional phase-locked loops under the synchronization requirements of multi-systems is solved, and high-precision and low-jitter are generated. Synchronize the clock.

CN119093933AActive Publication Date: 2024-12-06成都星拓微电子科技股份有限公司
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411560494.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-04
Publication Date
2024-12-06
Estimated Expiration
2044-11-04

AI Technical Summary

Technical Problem

Traditional fully digital phase-locked loops are difficult to support the synchronous operation of multiple systems or multiple modules under the requirements of multi-system synchronization. The original clock is difficult to synchronize with the reference clock without phase-locked loops, which cannot meet the needs of high-precision time synchronization.

Method used

A fully digital phase-locked loop structure is designed, by receiving the reference clock and the corrected frequency control word, using CNC oscillator, frequency divider, correction value calculation module, frequency control word correction module, integrator, and digital time converter , time-digital converter, counter and loop filter generate signals synchronized with external input clocks to achieve frequency and phase synchronization.

Benefits of technology

It can generate a synchronous clock that is in the same frequency and phase as the clock to be tracked. The clock jitter is small and it remains synchronized when the clock frequency is changed to meet the needs of high-precision time synchronization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119093933A_ABST
    Figure CN119093933A_ABST
Patent Text Reader

Abstract

The invention discloses an all-digital phase-locked loop for tracking an external input clock, and belongs to the field of integrated circuits. In order to meet the requirement of a system for precise time synchronization, the all-digital phase-locked loop for tracking the external input clock comprises an all-digital phase-locked loop for receiving a reference clock and a corrected frequency control word as input and obtaining an output clock of a numerically-controlled oscillator through the numerically-controlled oscillator; the frequency divider is used for receiving an output clock of the numerical control oscillator and outputting a synchronous clock to the correction value calculation module; the correction value calculation module is used for receiving a clock to be tracked and a synchronous clock and outputting a frequency control word correction value, and the clock to be tracked is an external input clock; and the frequency control word correction module is used for receiving the frequency control word and the frequency control word correction value and outputting the corrected frequency control word. According to the invention, the synchronous clock with the same frequency and phase as the to-be-tracked clock can be generated, and the jitter is small.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of integrated circuits, and in particular to a full digital phase-locked loop for tracking an external input clock. Background Art

[0002] As a market segment of analog mixed-signal chips, clock chips are generally not well known to the public due to their highly professional characteristics and specific application scenarios. However, driven by the advancement of high-speed data communication technology, the widespread deployment of 5G networks, and the wave of domestic chip replacement, clock chips are gradually becoming the focus of industry attention. As a key component in high-performance communication systems, the performance and reliability of clock chips are directly related to the stable operation of the entire system and its core performance indicators.

[0003] In high-speed data communication systems, the key to reducing bit error rates is to maintain low system jitter and clock jitter levels. The construction of 5G networks not only requires wider bandwidth and lower latency, but also means an increased demand for high-performance clock chips, including clock generators, clock buffers, de-jitter clock chips, network synchronizers and oscillators, to ensure accurate clock generation and distribution functions. For the future 6G communication network, communication perception integration and space-time synchronization technology will be two important development directions and technical cornerstones, which also puts higher requirements on the accuracy, stability and time synchronization capabilities of clock chips.

[0004] Under the requirement of multi-system synchronization, although the traditional all-digital phase locked loop (ADPLL) can generate high-quality clock signals, its phase may not be synchronized with the reference clock. Therefore, in the absence of a phase locked loop, the original clock is difficult to support the synchronization of multiple systems or multiple modules.

[0005] To this end, the present invention proposes an innovative all-digital phase-locked loop structure that can track an external input clock and generate a signal whose frequency and phase are synchronized with the target clock, thereby meeting the system's demand for precise time synchronization. Summary of the invention

[0006] In order to alleviate or partially alleviate the above technical problems, the solution of the present invention is as follows: A fully digital phase-locked loop for tracking an external input clock comprises: a fully digital phase-locked loop, receiving a reference clock and a corrected frequency control word as inputs, and obtaining an output clock of the digitally controlled oscillator through a digitally controlled oscillator; a frequency divider, receiving the output clock of the digitally controlled oscillator, and outputting a synchronous clock to a correction value calculation module; a correction value calculation module, receiving a clock to be tracked and a synchronous clock, and outputting a frequency control word correction value, wherein the clock to be tracked is an external input clock; a frequency control word correction module, receiving a frequency control word and a frequency control word correction value, and outputting a corrected frequency control word; wherein, in the correction value calculation module, a phase tracking error and an integral coefficient are multiplied, and then added to a previous value of a first result to obtain a first result; a phase tracking error and a proportional coefficient are multiplied, and then added to the first result to obtain a frequency control word correction value; and, if the rising edge of the synchronous clock is ahead of the rising edge of the clock to be tracked, the phase tracking error is -1; if the rising edge of the synchronous clock lags behind the rising edge of the clock to be tracked, the phase tracking error is 1.

[0007] Furthermore, the frequency divider divides the output clock of the digitally controlled oscillator by an integer into a clock that is closest to the frequency of the clock to be tracked.

[0008] Further, in the frequency control word correction module, the frequency control word correction value is added to the frequency control word to obtain a corrected frequency control word.

[0009] Furthermore, the all-digital phase-locked loop includes: an integrator and the digitally controlled oscillator; the corrected frequency control word is output by the frequency control word correction module and then applied to the integrator.

[0010] Furthermore, the integrator receives the corrected frequency control word and outputs an integer part of the frequency control word and a decimal part of the frequency control word.

[0011] Furthermore, the all-digital phase-locked loop also includes: a digital-to-time converter and a time-to-digital converter; the decimal part of the frequency control word and the reference clock serve as inputs of the digital-to-time converter, the output signal of the digital-to-time converter and the output clock of the numerically controlled oscillator serve as inputs of the time-to-digital converter, and the time-to-digital converter outputs the decimal part of the phase error.

[0012] Furthermore, the all-digital phase-locked loop also includes: a counter and a loop filter; the output clock of the digitally controlled oscillator is also used as an input of the counter, and the counter outputs the integer part of the phase error.

[0013] Furthermore, the fractional part of the phase error is added to the integer part of the frequency control word and the fractional part of the phase error to obtain the phase error, which is transmitted to the loop filter; the output signal of the loop filter is used as the input of the digital controlled oscillator.

[0014] The technical solution of the present invention has one or more of the following beneficial technical effects: (1) A synchronous clock with the same frequency and phase as the clock to be tracked can be generated, and the clock jitter is small.

[0015] (2) When the frequency of the clock to be tracked changes, the synchronization clock also changes accordingly.

[0016] In addition, other beneficial effects of the present invention will be mentioned in the specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 It is an architecture diagram of ADPLL in the prior art; Figure 2 is the architecture diagram of the ADPLL of the present invention; Figure 3 It is a schematic diagram of a flow chart of obtaining a frequency control word correction value through a correction value calculation module of the present invention; Figure 4 It is a flow chart of the frequency control word correction module obtaining the corrected frequency control word. DETAILED DESCRIPTION

[0018] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are 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.

[0019] In order to clearly describe the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, words such as "first" and "second" are used to distinguish the same or similar items with substantially the same functions and effects. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order.

[0020] Figure 1 The figure is an architecture diagram of the ADPLL in the prior art. The ADPLL includes an integrator, a digital-to-time converter, a time-to-digital converter, a counter, a digitally controlled oscillator, and a loop filter. The loop filter generates a frequency control word to control the capacitor switch of the digitally controlled oscillator and tune the frequency.

[0021] The frequency of the output clock of the digital controlled oscillator is equal to the frequency of the reference clock multiplied by the frequency control word. If the clock to be tracked replaces the reference clock, the phase of the output clock of the digital controlled oscillator cannot be aligned with the phase of the reference clock.

[0022] In the present invention, Figure 1The ADPLL shown constitutes a fully digital phase-locked loop of the ADPLL of the present invention. In other words, the fully digital phase-locked loop of the present invention at least includes: an integrator, a digital-to-time converter, a time-to-digital converter, a counter, a digitally controlled oscillator and a loop filter.

[0023] Figure 2 The present invention is a schematic diagram of the ADPLL structure, including a fully digital phase-locked loop. The fully digital phase-locked loop receives a reference clock and a corrected frequency control word as inputs, and obtains an output clock of the digitally controlled oscillator through a digitally controlled oscillator.

[0024] In the all-digital phase-locked loop, the integrator receives the corrected frequency control word and outputs the integer part of the frequency control word and the decimal part of the frequency control word.

[0025] The decimal part of the frequency control word and the reference clock are used as inputs of the digital time converter, the output signal of the digital time converter and the output clock of the numerically controlled oscillator are used as inputs of the time digital converter, and the time digital converter outputs the decimal part of the phase error.

[0026] In addition, the output clock of the numerically controlled oscillator is also used as the input of the counter, and the counter outputs the integer part of the phase error.

[0027] The phase error is obtained by adding the fractional part of the phase error, the integer part of the frequency control word and the fractional part of the phase error output by the counter, and then transmitted to the loop filter. The output signal of the loop filter is used as the input of the digital controlled oscillator.

[0028] Furthermore, the output clock of the digital controlled oscillator in the present invention is also transmitted to a frequency divider, and the frequency divider outputs a synchronous clock.

[0029] The frequency divider divides the output clock of the digital controlled oscillator into an integer to obtain a clock whose frequency is closest to the clock to be tracked.

[0030] If the synchronous clock has completed tracking the clock to be tracked, the synchronous clock and the clock to be tracked are clocks with completely the same frequency and phase.

[0031] In the present invention, the clock to be tracked is an external input clock.

[0032] Figure 3 It is a schematic diagram of a flow chart of obtaining a frequency control word correction value through a correction value calculation module of the present invention. Figure 3 Z -1 Indicates unit delay.

[0033] The phase tracking error is the error relationship between the synchronization clock and the clock to be tracked. If the rising edge of the synchronization clock is ahead of the rising edge of the clock to be tracked, the phase tracking error is -1. Conversely, if the rising edge of the synchronization clock lags behind the rising edge of the clock to be tracked, the phase tracking error is 1.

[0034] The phase tracking error is multiplied by the integral coefficient and then added to the previous value of the first result to obtain the first result. The phase tracking error is multiplied by the proportional coefficient and then added to the first result to obtain the frequency control word correction value.

[0035] In the present invention, the integral coefficient and the proportional coefficient are two adjustable control parameters.

[0036] Figure 4 It is a flow chart of the frequency control word correction module obtaining the corrected frequency control word.

[0037] After the frequency control word correction value is added to the frequency control word, a corrected frequency control word is obtained.

[0038] The corrected frequency control word is output by the frequency control word correction module and then applied to the integrator.

[0039] In order to better illustrate the present invention, numerous specific details are provided in the above specific embodiments. It should be understood by those skilled in the art that the present invention can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present invention.

[0040] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A fully digital phase-locked loop that tracks an external input clock, It is characterized in that include: A fully digital phase-locked loop receives a reference clock and a corrected frequency control word as inputs, and obtains an output clock of the digitally controlled oscillator through the digitally controlled oscillator; A frequency divider receives the output clock of the digital controlled oscillator and outputs a synchronous clock to the correction value calculation module; A correction value calculation module receives a clock to be tracked and a synchronization clock, and outputs a frequency control word correction value, wherein the clock to be tracked is an external input clock; The frequency control word correction module receives the frequency control word and the frequency control word correction value, and outputs the corrected frequency control word; wherein, In the correction value calculation module, the phase tracking error and the integral coefficient are multiplied and then added to the previous value of the first result to obtain the first result; The phase tracking error is multiplied by the proportional coefficient and then added to the first result to obtain a frequency control word correction value; and, If the rising edge of the synchronization clock precedes the rising edge of the clock to be tracked, the phase tracking error is -1; if the rising edge of the synchronization clock lags behind the rising edge of the clock to be tracked, the phase tracking error is 1.

2. The all-digital phase-locked loop for tracking an external input clock according to claim 1, Features: The frequency divider divides the output clock of the digital controlled oscillator by an integer into a clock whose frequency is closest to the clock to be tracked.

3. The all-digital phase-locked loop for tracking an external input clock according to claim 2, Features: In the frequency control word correction module, the frequency control word correction value is added to the frequency control word to obtain a corrected frequency control word.

4. The all-digital phase-locked loop for tracking an external input clock according to claim 3, Features: The all-digital phase-locked loop includes: an integrator and the digitally controlled oscillator; The corrected frequency control word is output by the frequency control word correction module and then applied to the integrator.

5. The all-digital phase-locked loop for tracking an external input clock according to claim 4, Features: The integrator receives the corrected frequency control word and outputs an integer part of the frequency control word and a decimal part of the frequency control word.

6. The all-digital phase-locked loop for tracking an external input clock according to claim 5, Features: The all-digital phase-locked loop also includes: a digital-to-time converter and a time-to-digital converter; The fractional part of the frequency control word and the reference clock are used as inputs of the digital-to-time converter, the output signal of the digital-to-time converter and the output clock of the numerically controlled oscillator are used as inputs of the time-to-digital converter, and the time-to-digital converter outputs the fractional part of the phase error.

7. The all-digital phase-locked loop for tracking an external input clock according to claim 6, Features: The all-digital phase-locked loop also includes: a counter and a loop filter; The output clock of the numerically controlled oscillator also serves as the input of the counter, and the counter outputs the integer part of the phase error.

8. The all-digital phase-locked loop for tracking an external input clock according to claim 7, Features: The decimal part of the phase error is added to the integer part of the frequency control word and the decimal part of the phase error to obtain the phase error, and the phase error is transmitted to the loop filter; The output signal of the loop filter serves as the input of the digital controlled oscillator.

Citation Information

Patent Citations

  • Error compensation method, digital phase error cancellation module, and adpll thereof

    CN101414823A

  • Time-to-digital converter for measuring decimal phase error of all-digital phase-locked loop

    CN113179100A

  • Digital circuit system of linear frequency modulation continuous wave phase-locked loop and phase-locked loop

    CN114024547A

  • Method for correcting TDC step length in ADPLL based on random jitter

    CN118677452A

  • Synthesizer

    JP2005150868A