Segment-based DTC correction method and ADPLL

By segmenting the delay unit of the digital time converter and setting up a correction circuit, fine correction of DTC is achieved, solving the problem of nonlinear correction of the digital time converter, improving the stability and performance of the clock signal, and adapting to various processes, voltage and temperature conditions.

CN118677449BActive Publication Date: 2024-10-25成都星拓微电子科技股份有限公司
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411160834.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-22
Publication Date
2024-10-25
Estimated Expiration
2044-08-22

AI Technical Summary

Technical Problem

Nonlinear correction of digital time converters has limited range, low accuracy, and negative impact on system operation in clock signal delays, resulting in degraded clock signal performance.

Method used

The segment-based DTC correction method is used to divide the delay unit in DTC into multiple segments. Each segment is equipped with a correction circuit. By receiving the DTC code value, the phase to be delayed and the phase error signal, the segment parameters are calculated and applied. To achieve fine correction to ensure the stability and accuracy of the clock signal.

Benefits of technology

It significantly improves the phase accuracy and overall performance of the clock signal, enhances the stability and compatibility of the system, can adaptively adjust the correction strategy, track temperature and voltage changes in real time, and maintain stable delay characteristics.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118677449B_ABST
    Figure CN118677449B_ABST
Patent Text Reader

Abstract

The present invention discloses a segment-based DTC correction method and ADPLL. In order to correct the nonlinearity of DTC, the present invention divides the delay unit in DTC into M segments, each segment has N delay units, and for the delay unit of the i-th segment, the i-th correction circuit is set, the i-th correction circuit receives the DTC code value, the phase to be delayed and the phase error signal, and obtains the i-th segment parameter; the phase to be delayed and the j-th segment parameter are received through the DTC calibration circuit to obtain the DTC code value; the DTC code value is applied in the DTC, wherein M, N, i and j are all positive integers. The present invention can correct the DTC step value with high precision in the background, and can adapt to environmental changes.
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 segment-based DTC correction method and ADPLL. Background Art

[0002] In all digital phase locked loop (ADPLL) and fractional divider circuits, digital to time converter (DTC) is often used to delay the clock signal to obtain the desired phase. However, the performance of the digital to time converter is easily affected by the process, voltage and temperature, resulting in nonlinearity in its delay value. If this nonlinearity is not corrected, the delay of the clock signal may be unexpectedly advanced or delayed, resulting in bumps or spikes on the phase noise spectrum, significantly reducing the performance of the clock.

[0003] Nonlinearity correction of digital-to-time converters is critical to maintaining high accuracy and stability of clock signals. In applications such as phase-locked loops and fractional frequency dividers, any deviation in the clock signal can negatively impact the performance of the entire system.

[0004] In the prior art, most of the calibration methods for digital-to-time converters have the problems of limited calibration range, low accuracy and significant impact on system operation.

[0005] In order to deal with this problem, the present invention proposes a new digital circuit implementation method, which effectively corrects the nonlinearity of the DTC by segmenting the digital time converter and improves the performance of the output clock. Traditional correction technology is difficult to fully correct the nonlinearity of the digital time converter and is often accompanied by large quantization errors. The present invention significantly improves the accuracy through a more sophisticated segmented correction method.

[0006] The segmented correction method proposed in the present invention effectively overcomes these shortcomings through the implementation of digital circuits. Specifically, the present invention runs in the background, does not interrupt or affect the normal operation of the system, and can adaptively adjust the correction strategy according to actual conditions. This flexibility enables the digital time converter to maintain stable delay characteristics under various process, voltage and temperature conditions, thereby significantly improving the phase accuracy and overall performance of the clock signal.

[0007] Therefore, the segmented correction method proposed in the present invention not only effectively solves the nonlinear problem, but also provides an efficient and accurate solution that does not affect the normal operation of the system. 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 segmentation-based DTC correction method is applied to ADPLL, wherein the DTC includes M×N delay units, and the delay units in the DTC are divided into M segments, each of which has N delay units; wherein M and N are both positive integers, N is a segment value, and the segment number i is any positive integer not exceeding M; for the delay unit of the i-th segment, an i-th correction circuit is set, the i-th correction circuit receives a DTC code value, a phase to be delayed, and a phase error signal, and obtains the i-th segment parameter: the step value slope of the i-th segment DTC k1[i], the average step value k2[i] of the i-th segment and the total delay of the delay units in the 1st segment to the i-1th segment relative to the phase k3[i] of the ADPLL output clock; wherein k3[1] is equal to 0, and the phase error signal is a signal representing the phase error output by the phase detector in the ADPLL; the phase to be delayed and the j-th segment parameter are received by the DTC calibration circuit to obtain the DTC code value; wherein j is the selected segment number, which is a positive integer not exceeding M; and the DTC code value is applied in the DTC.

[0010] Further, the segment number j is selected by the following method: if the phase to be delayed is less than k3[ j+1], and the phase to be delayed is greater than or equal to k3[ j], then j is the selected segment number, and the jth segment parameter is used as one of the inputs of the DTC calibration circuit; wherein, k3[ j+1] is the phase of the total delay of the delay unit in the 1st segment to the jth segment relative to the ADPLL output clock, and k3[ j] is the phase of the total delay of the delay unit in the 1st segment to the j-1th segment relative to the ADPLL output clock.

[0011] Furthermore, in the first subcircuit in the i-th correction circuit, k1[i] is obtained by the following steps: k3[i] is multiplied by -1 and added to the phase to be delayed to obtain a first result; in the modulo module, the DTC code value is modulo the segmented value and then multiplied by the first result to obtain a second result; the second result is multiplied by the phase error signal and then multiplied by the first gain coefficient to obtain a third result; the third result is added to the previous value of k1[i] to obtain k1[i].

[0012] Furthermore, in the second subcircuit in the i-th correction circuit, k2[i] is obtained by the following steps: multiply k3[i] by -1 and add it to the phase to be delayed to obtain a fourth result; multiply the fourth result by the phase error signal and then multiply it by the second gain coefficient to obtain a fifth result; add the fifth result to the previous value of k2[i] to obtain k2[i].

[0013] Furthermore, in the third subcircuit in the i-th correction circuit, k3[i] is obtained by the following steps: multiplying the phase error signal and the third gain coefficient to obtain a sixth result; and adding the sixth result and a previous value of k3[i] to obtain k3[i].

[0014] Further, the j-th segment parameter includes: the step value slope k1[j] of the j-th segment DTC, the average step value k2[j] of the j-th segment, and the phase k3[j] of the total delay of the delay unit in the 1st segment to the j-1th segment relative to the ADPLL output clock; the DTC calibration circuit obtains the DTC code value through the following steps: multiplying k3[j] and -1 and adding the result to the phase to be delayed to obtain a seventh result; multiplying the seventh result and k2[j] to obtain an eighth result; after the eighth result is rounded off by the floor module, the remainder of the segment value is taken in the remainder module, and the remainder result is multiplied by the seventh result to obtain a ninth result; the ninth result is multiplied by k1[j] and added to the eighth result to obtain a tenth result; after the segment number j is reduced by one, it is multiplied by the segment value, and then the tenth result is added to the result after the floor module performs floor rounding, to obtain the DTC code value.

[0015] An ADPLL includes a DTC, and the DTC is corrected according to the segment-based DTC correction method as described in any of the preceding items.

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

[0017] (1) Compared with the prior art, the method of the present invention has higher correction accuracy and better system compatibility, providing strong support for the performance improvement of digital time converters in various applications. The present invention will significantly enhance the stability and accuracy of the clock signal and provide a new technical path for the performance optimization of related electronic circuits.

[0018] (2) The performance of the digital time converter was successfully improved by using a digital circuit segmented correction method. This method runs adaptively in the background and can track and correct changes caused by factors such as temperature and voltage in real time, ensuring the high accuracy and stability of the output clock signal.

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

[0020] Figure 1 This is a typical schematic diagram of the step value of a digital time converter;

[0021] Figure 2 It is a comparison chart of the average step value and the original step value;

[0022] Figure 3It is a schematic diagram of the relationship between multiple delay units and multiple correction circuits of DTC;

[0023] Figure 4 is a schematic diagram of a first correction circuit;

[0024] FIG5( a ) is a schematic diagram of the first sub-circuit;

[0025] FIG5( b ) is a schematic diagram of the second sub-circuit;

[0026] Figure 5(c) is a schematic diagram of the third sub-circuit;

[0027] Figure 6 This is the schematic diagram of the DTC calibration circuit;

[0028] Figure 7 is a flow chart for determining the correction parameters used by the DTC calibration circuit;

[0029] Figure 8 is a comparison diagram between the original step length value and the corrected step length value of the present invention;

[0030] Fig. 9 This is a comparison diagram of the errors between the present invention and the traditional correction scheme. DETAILED DESCRIPTION

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

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

[0033] The digital time converter is implemented in analog circuits through a resistor-capacitor network. Since the high-precision all-digital phase-locked loop requires the DTC unit delay to reach picosecond accuracy, and this delay needs to cover the entire output clock cycle, the digital time converter in the high-precision all-digital phase-locked loop needs to connect hundreds of delay units in series. This long delay chain is achieved by grouping and paralleling capacitors.

[0034] Figure 1A typical schematic diagram of the step value of the digital time converter is shown. The horizontal axis is the DTC delay unit number, the vertical axis is the original step value, and the unit of the vertical axis is seconds. The solid line is the original step value of the DTC delay unit corresponding to the DTC delay unit number. Figure 1 In the embodiment, the multiple delay units are divided into 8 segments in total, and each segment has 16 delay units.

[0035] Figure 2 The comparison chart of average step value and original step value is shown. The horizontal axis is the DTC delay unit number, and the vertical axis is the step value. The unit of the vertical axis is seconds. When in use, if the DTC is not processed, the correction step value is equal to the average step value of the actual original step value. Due to the large error fluctuation between the average step value and the original step value, the quantization noise is still large when the average step value is used.

[0036] For example, Figure 3 The DTC shown has a total of 128 delay cells: D1, D2, ... D16, D17, ... D32, ... D113, ... D128. These delay cells are scored into 8 segments: S1, S2, ... S8.

[0037] Corresponding to the 8 segments are the first correction circuit, the second correction circuit, ... the eighth correction circuit in sequence, and each correction circuit includes three types of sub-circuits: the first sub-circuit (C1, C4, ... C22), the second sub-circuit (C2, C5, ... C23) and the third sub-circuit (C3, C6, ... C24).

[0038] The first subcircuit outputs k1[i], where i is any positive integer from 1 to 8, representing the step value slope of the i-th segment DTC, such as k1[1], k1[2], and k1[8].

[0039] The second subcircuit outputs k2[i], where i is any positive integer from 1 to 8 and represents the average step value of the i-th segment, such as k2[1], k2[2] and k2[8].

[0040] The third subcircuit outputs k3[i], where i is any positive integer from 1 to 8, representing the phase of the total delay of the delay units in the 1st segment to the i-1th segment relative to the ADPLL output clock, such as k3[1], k3[2] and k3[8], where k3[1]=0, k3[2] represents the phase of the total delay of the first 16 delay units D1~D16 relative to the ADPLL output clock, and k3[8] represents the phase of the total delay of the first 112 delay units D1~D112 relative to the ADPLL output clock.

[0041] Figure 3This is just an example for the convenience of explaining the present invention. In the present invention, the division of the delay unit and the segmentation is not limited to this and is not limited to this. The following text will continue to use this example to introduce other technical means of the present invention.

[0042] Figure 4 Schematic diagram of the first correction circuit. Figure 4 Taking the first sub-circuit C1, the second sub-circuit C2 and the third sub-circuit C3 included in the first correction circuit as an example, the input and output of each sub-circuit are shown.

[0043] The first sub-circuit C1 in the first correction circuit receives the DTC code value, the phase to be delayed, the phase error signal and k3[1], and outputs k1[1].

[0044] The second sub-circuit C2 in the first correction circuit receives the phase to be delayed, the phase error signal and k3[1], and outputs k2[1].

[0045] The third sub-circuit C3 in the first correction circuit receives the phase error signal and outputs k3[1].

[0046] FIG5(a), FIG5(b) and FIG5(c) are schematic diagrams of three different types of sub-circuits, which are schematic diagrams of the first sub-circuit, the second type of sub-circuit and the third sub-circuit for the i-th segment, respectively, where i is any positive integer from 1 to 8.

[0047] In the present invention, the first subcircuit receives the phase to be delayed, and in the first subcircuit, k3[i] is multiplied by -1 and added to the phase to be delayed to obtain a first result; in the modulo module, the DTC code value modulo the segment value and multiplies it with the first result to obtain a second result. The second result is multiplied by the phase error signal and then multiplied by the first gain coefficient u1 to obtain a third result. The third result is added to the previous value of k1[i] to obtain k1[i].

[0048] Furthermore, the phase error signal is a signal representing the phase error output by the phase detector in the ADPLL, and the phase error signal itself is common knowledge in the art. The segment value is a fixed value, and in the example of the present invention, the segment value is equal to 16, representing the number of delay units included in each segment. The previous value of k1[i] refers to k1[i] delayed by one clock cycle, usually refers to the previous value of k1[i].

[0049] In the present invention, the second subcircuit receives the phase to be delayed, and in the second subcircuit, k3[i] is multiplied by -1 and added to the phase to be delayed to obtain a fourth result; the fourth result is multiplied by the phase error signal and then multiplied by the second gain coefficient u2 to obtain a fifth result. The previous value of the fifth result k2[i] is added to obtain k2[i]. The previous value of k2[i] refers to k2[i] delayed by one clock cycle, usually refers to the previous value of k2[i].

[0050] In the present invention, the third subcircuit receives the phase to be delayed, and in the third subcircuit, the phase error signal is multiplied by the third gain coefficient u3 to obtain a sixth result. The sixth result is added to the previous value of k3[i] to obtain k3[i].

[0051] In the present invention, the symbol Z -1 Refers to the unit delay, and the value after the unit delay is the previous value.

[0052] Figure 6 The invention discloses a scheme for generating DTC code values ​​by a DTC calibration circuit. The segment number j and the jth segment parameter are selected segment numbers and segment parameters. The jth segment parameter includes: the step value slope k1[j] of the jth segment DTC, the average step value k2[j] of the jth segment, and the phase k3[j] of the total delay of the delay unit in the 1st segment to the j-1th segment relative to the ADPLL output clock.

[0053] Specifically, k3[j] is multiplied by -1 and then added to the phase to be delayed to obtain the seventh result.

[0054] The seventh result is multiplied by k2[j] to obtain the eighth result. After the eighth result is rounded down by the floor rounding module, the remainder of the segment value is taken in the remainder module, and the obtained remainder result is multiplied by the seventh result to obtain the ninth result. The ninth result is multiplied by k1[j] and then added to the eighth result to obtain the tenth result.

[0055] The segment number j is reduced by one, multiplied by the segment value (a fixed value of 16 in the example of the present invention), and then added to the tenth result after being rounded down by the rounding down module to obtain the DTC code value.

[0056] Furthermore, the segment number j is a variable. Following the previous example, the segment number j takes a value between 1 and 8. How to determine the segment number j and the associated j-th segment parameters: k1[j], k2[j], k3[j], will be described in Figure 7 Introduced in.

[0057] Figure 7The flow chart for determining the correction parameters used in the DTC calibration circuit is shown. When determining the correction parameters, first compare the magnitude relationship between the phase to be delayed and k3[2]. If the phase to be delayed is less than k3[2], then Figure 6 The DTC calibration circuit shown uses the first segment parameter, j=1. The first segment parameter specifically includes k1[1], k2[1] and k3[1].

[0058] Otherwise, compare the size relationship between the phase to be delayed and k3[3]. If the phase to be delayed is smaller than k3[3], then Figure 6 The DTC calibration circuit shown uses the second segmentation parameter, j=2. The second segmentation parameter specifically includes k1[2], k2[2] and k3[2].

[0059] Otherwise, compare the size relationship between the phase to be delayed and k3[4]. If the phase to be delayed is smaller than k3[4], then Figure 6 The DTC calibration circuit shown uses the third segment parameter, j=3. The third segment parameter specifically includes k1[3], k2[3] and k3[3].

[0060] And so on, until the magnitude relationship between the phase to be delayed and k3[8] is compared. If the phase to be delayed is less than k3[8], then Figure 6 The DTC calibration circuit shown uses the seventh segment parameter, j=7. The seventh segment parameter specifically includes k1[7], k2[7] and k3[7].

[0061] otherwise, Figure 6 The DTC calibration circuit shown uses the eighth segment parameter, j=8, wherein the eighth segment parameter specifically includes k1[8], k2[8] and k3[8].

[0062] Will Figure 6 The DTC code value obtained by the DTC calibration circuit is applied to the DTC to achieve nonlinear correction of the DTC.

[0063] Figure 8 The comparison chart between the original step value and the corrected step value of the present invention is shown. The horizontal axis is the DTC delay unit number, and the vertical axis is the step value in seconds. It can be seen that the corrected step value of the present invention is closer to the ideal linear characteristic.

[0064] Fig. 9 The error comparison diagram of the present invention and the traditional correction scheme is shown. The horizontal axis is the DTC delay unit number, and the vertical axis is the error value in seconds. The average step value error is obtained by using the traditional correction scheme, that is, the average step value is used as the error value generated by the correction step value. It can be seen that the error fluctuation of the present invention is more concentrated near 0, and the amplitude is lower.

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

[0066] 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 segmented DTC correction method, applied to ADPLL, wherein the DTC includes M×N delay units, characterized in that: Divide the delay unit in the DTC into M segments, each segment has N delay units; wherein M and N are both positive integers, N is the segment value, and the segment number i is any positive integer not exceeding M; For the delay unit of the i-th segment, an i-th correction circuit is set, the i-th correction circuit receives the DTC code value, the phase to be delayed and the phase error signal, and obtains the i-th segment parameters: the step value slope k1[i] of the i-th segment DTC, the average step value k2[i] of the i-th segment and the phase k3[i] of the total delay of the delay unit in the 1st segment to the i-1th segment relative to the ADPLL output clock; wherein k3[1] is equal to 0, and the phase error signal is a signal indicating the phase error output by the phase detector in the ADPLL; Receiving the phase to be delayed and the j-th segment parameter through the DTC calibration circuit to obtain the DTC code value; wherein j is the selected segment number, which is a positive integer not exceeding M; and, Applying the DTC code value in the DTC; Wherein, in the first subcircuit in the i-th correction circuit, k1[i] is obtained by the following steps: Multiply k3[i] by -1 and add it to the phase to be delayed to obtain a first result; In the modulo module, the DTC code value modulo the segment value is multiplied with the first result to obtain a second result; The second result is multiplied by the phase error signal and then multiplied by the first gain coefficient to obtain a third result; The third result is added to the previous value of k1[i] to obtain k1[i].

2. The segmented DTC correction method according to claim 1, characterized in that: Select segment number j by the following method: If the phase to be delayed is less than k3[ j+1] and the phase to be delayed is greater than or equal to k3[ j], then j is the selected segment number, and the jth segment parameter is used as one of the inputs of the DTC calibration circuit; wherein, k3[ j+1] is the phase of the total delay of the delay units in the 1st segment to the jth segment relative to the ADPLL output clock, and k3[ j] is the phase of the total delay of the delay units in the 1st segment to the j-1th segment relative to the ADPLL output clock.

3. The segmented DTC correction method according to claim 2, characterized in that: In the second subcircuit in the i-th correction circuit, k2[i] is obtained by the following steps: Multiply k3[i] by -1 and add the result to the phase to be delayed to obtain a fourth result; The fourth result is multiplied by the phase error signal and then multiplied by the second gain coefficient to obtain a fifth result; The fifth result is added to the previous value of k2[i] to obtain k2[i].

4. The segmented DTC correction method according to claim 3, characterized in that: In the third subcircuit in the i-th correction circuit, k3[i] is obtained by the following steps: multiplying the phase error signal and the third gain coefficient to obtain a sixth result; The sixth result is added to the previous value of k3[i] to obtain k3[i].

5. The segmented DTC correction method according to claim 4, characterized in that: The j-th segment parameters include: the step value slope k1[j] of the j-th segment DTC, the average step value k2[j] of the j-th segment, and the phase k3[j] of the total delay of the delay unit in the 1st segment to the j-1th segment relative to the ADPLL output clock; The DTC calibration circuit obtains the DTC code value through the following steps: Multiply k3[j] by -1 and add the result to the phase to be delayed to obtain a seventh result; The seventh result is multiplied by k2[j] to obtain the eighth result; After the eighth result is rounded down by the rounding down module, the remainder of the segmented value is taken in the remainder module, and the obtained remainder result is multiplied by the seventh result to obtain a ninth result; The ninth result is multiplied by k1[j] and then added to the eighth result to obtain the tenth result; The segment number j is reduced by one, multiplied by the segment value, and then added to the tenth result. The result is rounded down by the rounding down module to obtain the DTC code value.

6. An ADPLL, comprising a DTC, characterized in that: According to the segmented DTC correction method according to any one of claims 1 to 5, the DTC is corrected.

Citation Information

Patent Citations

  • Method and apparatus of calibrating mismatch of TDC

    CN103219994A

  • Digital time converter calibration method and device, digital phase-locked loop and electronic equipment

    CN112803944A

  • Digital phase locked loop

    US20110156783A1

  • System and method for fast-converging digital-to-time converter (DTC) gain calibration for DTC-based analog fractional-n phase lock loop (PLL)

    US20190212703A1

  • Digitally adjustable picosecond delay circuit

    US5506534A