Fully digital phase-locked loop circuit

By introducing an exclusive-OR frequency multiplier and duty cycle correction module in a fully digital phase-locked loop circuit, adjusting the rising edge delay of the clock and generating a double frequency clock, it solves the problem that the area and power consumption need to be increased in the prior art to improve the output clock performance in the previous technology The problem of this is that low jitter and high-performance clock output is achieved without being affected by the environment.

CN118677447BActive Publication Date: 2024-11-01成都星拓微电子科技股份有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411160666.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-22
Publication Date
2024-11-01
Estimated Expiration
2044-08-22

AI Technical Summary

Technical Problem

When the existing fully digital phase-locked loop circuit improves the output clock performance, it needs to increase the chip area and power consumption, and is greatly affected by the process, voltage and temperature, making it difficult to improve performance without basically increasing the area and power consumption.

Method used

Using the XOR frequency multiplier, duty cycle correction module and duty cycle parameter calculation module, adjust the rising edge delay of the clock through time division multiplexing method, generate a double frequency clock, and use the DTC code value and template sequence for duty cycle Correction improves the accuracy of phase error signals, thereby improving output clock performance.

Benefits of technology

With the premise of basically not increasing chip area and power consumption, the ADPLL output clock performance is improved, the phase noise jitter is reduced to 70%, and it is not affected by voltage, temperature and process changes, and the normal operation of the phase lock loop is not affected.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118677447B_ABST
    Figure CN118677447B_ABST
Patent Text Reader

Abstract

The present invention discloses a fully digital phase-locked loop circuit. In order to improve the output clock performance of ADPLL, the fully digital phase-locked loop circuit of the present invention includes a TDC, a counter and a phase calculation module, and an XOR frequency multiplier, which receives a reference clock and inputs the reference clock into a delay unit to obtain a first clock, inputs the first clock and the reference clock into an XOR gate to perform an XOR logic operation, and outputs a second clock; a duty cycle correction module, which receives the second clock and adjusts the delay between the rising edges in the second clock through a DTC, and outputs a doubled frequency clock to the TDC and the counter, wherein the duty cycle correction module includes the DTC; a duty cycle parameter calculation module, which receives a phase error signal output by a phase calculation module, and outputs a DTC code value to the duty cycle correction module, wherein the DTC code value is used by the DTC to adjust the delay between the rising edges in the second clock. The present invention not only improves the output clock performance, but also has low chip area cost and low power consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of clock chips, and in particular to a full digital phase-locked loop circuit. Background Art

[0002] Clock chips are generally implemented through phase-locked loops. Phase-locked loops are roughly divided into two types: analog phase-locked loops and digital phase-locked loops. Since analog phase-locked loops are all implemented using analog devices, they require a lot of analog circuit experience, are difficult to design, and are greatly affected by process, voltage, and temperature. Digital phase-locked loops are implemented through digital devices, so they are simple to implement, less difficult to design than analog phase-locked loops, and are less affected by process, voltage, and temperature. They have stronger anti-interference capabilities and are highly integrated.

[0003] Figure 1 This is the traditional architecture diagram of the All-Digital Phase Locked Loop (ADPLL). The counter is used to calculate the multiple information between the output clock and the reference clock, and the Time to Digital Converter (TDC) calculates the difference between the rising edge of the reference clock and the rising edge of the output clock. The aforementioned multiple information and difference are sent to the phase calculation module, and the phase error signal between the reference clock and the output clock is calculated, which is then filtered by the loop filter module and sent to the digital control oscillator to control the frequency of the output clock generated by the digital control oscillator.

[0004] The output clock performance of ADPLL depends on three aspects: the bottom noise of the reference clock, the bottom noise of the digitally controlled oscillator and the quantization noise of the time-to-digital converter. If the performance of ADPLL is to be improved, these three noises must be reduced.

[0005] When the chip is produced, the numerical control oscillator and time-to-digital converter have been determined, and the noise floor of the numerical control oscillator and the quantization noise of the time-to-digital converter cannot be changed. When the crystal and crystal oscillator that generate the reference clock are selected, the noise floor of the reference clock is also determined and cannot be changed.

[0006] In application, if the frequency of the reference clock is doubled, the noise floor of the reference clock will be reduced to the original value. Therefore, when the three types of noise are determined, the output clock performance can only be improved by multiplying the reference clock frequency. If a frequency multiplier is needed, it will occupy additional chip area and consume more power, which is equivalent to using a larger chip area and higher power consumption in exchange for better performance.

[0007] How to improve the output clock performance of ADPLL without substantially increasing chip area and power consumption has become a technical problem that needs to be solved urgently in this field. Summary of the invention

[0008] In order to alleviate or partially alleviate the above technical problems, the solution of the present invention is as follows:

[0009] A fully digital phase-locked loop circuit comprises a TDC, a counter and a phase calculation module, wherein the fully digital phase-locked loop circuit further comprises: an XOR frequency multiplier, which receives a reference clock and inputs the reference clock into a delay unit to obtain a first clock, inputs the first clock and the reference clock into an XOR gate to perform an XOR logic operation, and outputs a second clock; a duty cycle correction module, which receives the second clock and adjusts the delay between rising edges in the second clock through a DTC, and outputs a doubled frequency clock to the TDC and the counter, wherein the duty cycle correction module comprises the DTC; and a duty cycle parameter calculation module, which receives a phase error signal output by a phase calculation module and outputs a DTC code value to the duty cycle correction module, wherein the DTC code value is used by the DTC to adjust the delay between rising edges in the second clock.

[0010] Furthermore, the duty cycle correction module also receives a template sequence; after the DTC code value and the template sequence are multiplied, the product obtained is used as the first input of the DTC; the second clock is used as the second input of the DTC; the DTC outputs the doubled frequency clock; the rising edge in the second clock is divided into a first group of rising edges and a second group of rising edges, and the rising edges in the first group of rising edges and the rising edges in the second group of rising edges appear alternately in sequence; the template sequence is a numerical sequence obtained by identifying the first group of rising edges and the second group of rising edges in the second clock.

[0011] Furthermore, the duty cycle parameter calculation module receives the phase error signal output by the phase calculation module, the template sequence and the first gain coefficient; after multiplying the template sequence and the phase error signal, the multiplication result is multiplied by the first gain coefficient to obtain a first result; the first result is added to a previous value of the DTC code value to obtain the DTC code value.

[0012] Furthermore, the all-digital phase-locked loop circuit also includes a loop filter module and a digitally controlled oscillator; the phase calculation module outputs a phase error signal to the loop filter module, and the loop filter module outputs a digital control signal to adjust the frequency of the output clock of the digitally controlled oscillator.

[0013] Furthermore, the counter calculates multiple information between the output clock of the digital controlled oscillator and the double frequency clock, and transmits the multiple information to the phase calculation module.

[0014] Furthermore, the phase calculation module receives the output signal of the TDC and the multiple information of the counter output, and calculates the phase error signal.

[0015] Furthermore, the all-digital phase-locked loop circuit first locks the rising edge of the first group through time division multiplexing, and then adjusts the position of the rising edge of the second group.

[0016] The technical solution of the present invention has one or more of the following beneficial technical effects:

[0017] (1) The performance of the ADPLL output clock is improved without substantially increasing the chip area and power consumption. In a practical embodiment, this can be achieved by increasing the chip area by less than 1%.

[0018] (2) The output clock has good performance and low jitter. Compared with the solution that does not use a double-frequency clock, the output clock phase noise jitter of the present invention is reduced to 70% of the original.

[0019] (3) Not affected by voltage, temperature and process changes.

[0020] (4) It does not affect the normal operation of the phase-locked loop and does not take up additional calibration time and calibration process.

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

[0022] Figure 1 This is the traditional architecture diagram of the all-digital phase-locked loop circuit;

[0023] Figure 2 It is a structural diagram of the all-digital phase-locked loop of the present invention;

[0024] Figure 3 It is the structural diagram of XOR frequency multiplier;

[0025] Figure 4 is a timing diagram of several signals of the present invention;

[0026] Figure 5 is a schematic diagram of the duty cycle correction module;

[0027] Figure 6 It is a schematic diagram of the duty cycle parameter calculation module. DETAILED DESCRIPTION

[0028] 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.

[0029] 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.

[0030] Figure 2 The full digital phase locked loop of the present invention comprises an XOR frequency multiplier, a duty cycle correction module, a duty cycle parameter calculation module, and a TDC, a phase calculation module, a loop filter module, a digitally controlled oscillator and a counter that are common to conventional full digital phase locked loops.

[0031] After the reference clock is input into the XOR frequency multiplier, the second clock is obtained. After the second clock is input into the duty cycle correction module, a double frequency clock is obtained. The double frequency clock is used as the input of the TDC and also as the input of the counter. The duty cycle correction module receives the output of the duty cycle parameter calculation module as input. The duty cycle parameter calculation module receives the phase error signal output by the phase calculation module as input.

[0032] The counter is used to calculate the multiple information between the output clock and the double frequency clock, and the TDC calculates the difference between the rising edge of the double frequency clock and the rising edge of the output clock to obtain the output signal of the TDC. The aforementioned multiple information and the output signal of the TDC are sent to the phase calculation module, and the phase error signal between the double frequency clock and the output clock is calculated. The phase calculation module outputs the phase error signal to the loop filter module for filtering, and the loop filter module outputs a digital control signal to adjust the frequency of the output clock of the digital control oscillator.

[0033] Figure 3 The block diagram of the XOR frequency multiplier is shown. The duty cycle of the reference clock is usually not 50%. The reference clock passes through the delay unit to obtain the first clock. The first clock and the reference clock are input into the XOR gate to perform an XOR logic operation to obtain the second clock. The second clock is a preliminary information processing result to generate the doubled frequency clock.

[0034] Compared with the ideal double frequency clock, the time intervals between two adjacent rising edges in the second clock are not equal, such as the time interval from the first rising edge to the second rising edge, and the time interval from the second rising edge to the third rising edge. The duty cycle of the second clock needs to be adjusted.

[0035] Therefore, it is necessary to adjust the duty cycle of the second clock to obtain an ideal double-frequency clock. The clock frequency of the double-frequency clock is twice that of the reference clock, the first rising edge of the second clock remains unchanged, and the second rising edge of the second clock should be delayed.

[0036] Further, in the present invention, the template sequence is a numerical sequence obtained by identifying the first group rising edge and the second group rising edge in the second clock. Since the time intervals between two adjacent rising edges of the second clock are inconsistent, one group of rising edges can be defined as the first group rising edge, and the other group can be defined as the second group rising edge. The rising edges in the first group rising edge and the rising edges in the second group rising edge appear alternately in sequence.

[0037] Figure 4 The timing diagram of several signals of the present invention is shown. Figure 4 In the second clock shown, the first rising edge and the third rising edge can be defined as the first group rising edge, and the second rising edge and the fourth rising edge can be defined as the second group rising edge. When the first group rising edge appears, the value in the template sequence can be defined as -1; when the second group rising edge appears, the value in the template sequence can be defined as 1. The essence of the template sequence is a way of marking two different groups of rising edges in the second clock. There can also be other reasonable ways to define the values ​​in the template sequence, and the present invention is not limited to this and is not limited to this.

[0038] Figure 5 The schematic diagram of the duty cycle correction module is shown. The template sequence is multiplied by the DTC code value output by the duty cycle parameter calculation module, and the product is used as the first input of the DTC, and the second clock is used as the second input of the DTC. The DTC controls the delay between the two groups of rising edges in the second clock according to the first input of the DTC, and the final output of the DTC is a double frequency clock. For example, the DTC is used to adjust the delay between the first rising edge and the second rising edge.

[0039] Figure 6 Schematic diagram of a duty cycle parameter calculation module. The duty cycle parameter calculation module is used to calculate the duty cycle parameter, obtain the DTC code value, and adjust the delay of the rising edge in the second clock of the input DTC in the duty cycle correction module. For example, it is specifically used to control the DTC in the duty cycle correction module to adjust the delay between the rising edge in the first group of rising edges and the rising edge in the second group of rising edges.

[0040] The template sequence and the phase error signal are multiplied, and then the multiplication result is multiplied by the first gain coefficient to obtain the first result. The first result is added to the previous value of the DTC code value to obtain the DTC code value. The DTC code value output by the duty cycle parameter calculation module is a parameter for adjusting the delay of the rising edge of the second clock. The unit delay here is a clock cycle of the double frequency clock, and the value after the unit delay is the previous value.

[0041] Preferably, through time division multiplexing, the rising edge of the first group is first locked, and then the position of the rising edge of the second group is adjusted, and finally the rising edge of the second group is adjusted to a suitable position, so that both the rising edge of the first group and the rising edge of the second group can calculate accurate phase error signals, thereby improving the performance of the phase-locked loop system.

[0042] Specifically, first determine whether the current rising edge is the first group rising edge or the second group rising edge. If it is the first group rising edge, calculate the phase error signal, then perform loop filtering, and finally adjust the frequency of the output clock of the digital control oscillator.

[0043] If it is the rising edge of the second group, first determine whether the phase-locked loop is locked. If it is not locked, wait for the phase-locked loop to lock, and then determine whether the duty cycle parameter calculation module has been adjusted. If the duty cycle parameter calculation module has not been adjusted, adjust the duty cycle correction module, and use the rising edge of the first group as a reference to calculate the difference in phase error between the rising edge of the first group and the rising edge of the second group. Calculate the delay that needs to be adjusted for the rising edge of the second group through the difference, and adjust the rising edge of the second group; when the duty cycle parameter calculation module completes the adjustment, the phase error of the rising edge of the second group is accurate, and the phase errors of the rising edge of the second group and the rising edge of the first group can be used to calculate the loop filter to adjust the frequency of the output clock of the digital control oscillator.

[0044] 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.

[0045] 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 circuit, comprising a TDC, a counter and a phase calculation module, characterized in that: The all-digital phase-locked loop circuit also includes: An XOR frequency multiplier receives a reference clock and inputs the reference clock into a delay unit to obtain a first clock, inputs the first clock and the reference clock into an XOR gate to perform an XOR logic operation, and outputs a second clock; A duty cycle correction module receives the second clock and adjusts the delay between rising edges in the second clock through the DTC, and outputs a double frequency clock to the TDC and the counter, wherein the duty cycle correction module includes the DTC; A duty cycle parameter calculation module receives the phase error signal output by the phase calculation module, and outputs a DTC code value to the duty cycle correction module, wherein the DTC code value is used for DTC to adjust the delay between rising edges in the second clock; The duty cycle correction module further receives a template sequence; After the DTC code value is multiplied by the template sequence, the product obtained is used as the first input of the DTC; The second clock is used as a second input of the DTC; The DTC outputs the double frequency clock; The rising edges in the second clock are divided into a first group of rising edges and a second group of rising edges, and the rising edges in the first group of rising edges and the rising edges in the second group of rising edges appear alternately in sequence; The template sequence is a sequence of numerical values ​​obtained by identifying a first group rising edge and a second group rising edge in a second clock.

2. The all-digital phase-locked loop circuit according to claim 1, characterized in that: The duty cycle parameter calculation module receives the phase error signal output by the phase calculation module, the template sequence and the first gain coefficient; After multiplying the template sequence and the phase error signal, multiplying the multiplication result and the first gain coefficient to obtain a first result; The first result is added to a previous value of the DTC code value to obtain the DTC code value.

3. The all-digital phase-locked loop circuit according to claim 2, characterized in that: The all-digital phase-locked loop circuit also includes a loop filter module and a digitally controlled oscillator; The phase calculation module outputs a phase error signal to the loop filter module, and the loop filter module outputs a digital control signal to adjust the frequency of the output clock of the digital control oscillator.

4. The all-digital phase-locked loop circuit according to claim 3, characterized in that: The counter calculates the multiple information between the output clock of the digital controlled oscillator and the double frequency clock, and transmits the multiple information to the phase calculation module.

5. The all-digital phase-locked loop circuit according to claim 4, characterized in that: The phase calculation module receives the output signal of the TDC and the multiple information output by the counter, and calculates a phase error signal.

6. The all-digital phase-locked loop circuit according to claim 5, characterized in that: The all-digital phase-locked loop circuit first locks the rising edge of the first group through time division multiplexing, and then adjusts the position of the rising edge of the second group.