Method for Correcting DTC Step Size in ADPLL
By introducing a jitter mechanism, adjusting the average value of the DTC step size and monitoring changes in real time, the problem of unfixed DTC step size and convergence failure in decimal multiplication scenarios is solved, improving the convergence speed and accuracy of ADPLL and ensuring stable clock performance. Applicable to all decimal frequency doubling scenarios.
Patent Information
- Application Number
- CN202411160947.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-22
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-08-22
AI Technical Summary
In the existing technology, the DTC step size is affected by factors such as process, voltage, temperature, etc., resulting in instability. When the mean value of the decimal multiplication input is not 0, the minimum mean square adaptive filter method is inaccurate and cannot be effectively applied. All decimal point scenarios lead to convergence failure.
Introducing a jitter mechanism, receiving the decimal part and jitter value of the frequency control word through DTC, adjusting the average value of the input signal to zero, ensuring effective application under all decimal point conditions, and monitoring and adapting to changes in the step size of the time-to-digital converter in real time, filtering Except for clock rising edge jitter caused by external environmental factors.
It improves the convergence speed and accuracy of the system, ensures stable output clock performance, is suitable for all decimal frequency multiplication scenarios, and does not interfere with the normal operation of the digital phase-locked loop. It reduces the burrs and amplitude of the phase noise spectrum and maintains the phase noise spectrum. Stablize.
Smart Images

Figure CN118677451B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of clock chips, and in particular to a method for correcting a DTC step length in an ADPLL. Background Art
[0002] A Digital to Time Converter (DTC) is a device that converts digital signals into time delays for precise control of time delays.
[0003] In high-speed data centers and high-speed servers, high-performance, low-jitter phase-locked loop output clocks are required. All Digital Phase Locked Loop (ADPLL) is a commonly used high-performance clock chip, usually including a Digital Controlled Oscillator (DCO). In an all-digital phase-locked loop, a DTC is used to delay a specific phase with respect to a reference clock to facilitate the time to digital converter (TDC) to measure the phase.
[0004] However, DTC is affected by process, voltage, and temperature, resulting in that the DTC step size is not fixed but fluctuates within a certain range.
[0005] The existing technology generally uses the least mean square adaptive filter. However, since the least mean square adaptive filter requires the input mean to be 0, but the input mean of some fractional multiples is not 0, the method will be inaccurate and converge to an inappropriate value or even converge to 0, causing the method to fail. Therefore, the algorithm cannot be used in some fractional multiple use cases.
[0006] The present invention can adjust the average value of the input signal to zero or approximately zero by introducing a jitter mechanism, thereby ensuring that it can be effectively applied in all decimal point situations. This method not only helps to improve the convergence speed and accuracy of the system, but also does not cause any interference to the normal operation of the digital phase-locked loop. In addition, it can also monitor and adapt to changes in the step size of the time-to-digital converter caused by factors such as temperature and voltage in real time, effectively filter out the clock rising edge jitter caused by external environmental factors, and ensure the stable performance of the output clock. Summary of the invention
[0007] In order to alleviate or partially alleviate the above technical problems, the solution of the present invention is as follows:
[0008] A method for correcting a DTC step length in an ADPLL comprises the following steps: a DTC receives a fractional part of a frequency control word, a reference clock, a DTC conversion coefficient output by a DTC coefficient correction module, and a jitter value output by a jitter generation module, the DTC outputs a target delayed phase to the DTC coefficient correction module, and the DTC outputs a delayed reference clock and a phase compensation value to a TDC; the TDC receives a delayed reference clock, a DCO output clock, a TDC conversion coefficient, and a phase compensation value, and outputs a fractional part of a phase error; in addition, the ADPLL comprises the D TC, the TDC and the DCO, the DCO generates the DCO output clock; the DTC coefficient correction module receives the phase error and the target delay phase, and obtains the DTC conversion coefficient through the following steps: the target delay phase and the phase error are multiplied by the first gain coefficient, and then the second result is added to obtain the second result; the second result is multiplied by the second gain coefficient and then the third result is added to obtain the DTC conversion coefficient; the previous value of the DTC conversion coefficient is multiplied by the second gain coefficient, and then the previous value of the DTC conversion coefficient is added to obtain the third result.
[0009] Furthermore, the fractional part of the frequency control word comes from an integrator in the ADPLL.
[0010] Furthermore, the phase error is input information of a loop filter in the ADPLL.
[0011] Further, the DTC includes a DTC core circuit, and the following steps are performed in the DTC: the decimal part of the frequency control word is multiplied by negative one and then added to 1 to obtain a target delayed phase; the jitter value output by the jitter generation module is multiplied by the jitter gain amplitude and then multiplied by negative one to obtain a phase compensation value; the jitter value output by the jitter generation module is multiplied by the jitter gain amplitude and then added to the decimal part of the frequency control word to obtain a first result; the DTC conversion coefficient is reciprocated, multiplied with the first result, and rounded to obtain a DTC code value; the DTC code value and the reference clock are used as inputs of the DTC core circuit, and the DTC core circuit outputs a delayed reference clock; wherein the DTC core circuit is a circuit that performs digital-to-time conversion.
[0012] Furthermore, the jitter value is a random integer with equal probability and expected to be zero.
[0013] Furthermore, the TDC includes a TDC core circuit, and the following steps are performed in the TDC: the TDC core circuit receives a delayed reference clock and a DCO output clock to generate a TDC code value; the TDC code value is multiplied by a TDC conversion coefficient, and then a phase compensation value is added to obtain a decimal part of a phase error; wherein the TDC core circuit is a circuit that performs time-to-digital conversion.
[0014] Furthermore, the jitter value ranges from ±1, ±2, ±3, ±4, ±5, ±6 and ±7.
[0015] Furthermore, the jitter gain amplitude ranges from 0 to 0.1.
[0016] The technical solution of the present invention has one or more of the following beneficial technical effects:
[0017] (1) High accuracy, few glitches on the phase noise spectrum and low amplitude, and no additional jitter is generated in the spread spectrum mode.
[0018] (2) When the voltage and temperature change, it can follow the actual TDC step size. When the voltage and temperature change dramatically, no abrupt changes will occur, and the phase noise spectrum remains stable.
[0019] (3) It has a wide range of usage scenarios and can be used in all decimal frequency scenarios.
[0020] (4) Compared with the solution without adding jitter, the ADPLL converges faster after adding jitter in the present invention.
[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 It is a common ADPLL schematic diagram in the prior art;
[0023] Figure 2 It is a schematic diagram of the DTC step length system in the ADPLL correction of the present invention;
[0024] Figure 3 It is a schematic diagram of DTC of the present invention;
[0025] Figure 4 is a schematic diagram of TDC of the present invention;
[0026] Figure 5 It is a schematic diagram of the DTC coefficient correction module of the present invention. DETAILED DESCRIPTION
[0027] 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.
[0028] 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.
[0029] Figure 1 This is a common ADPLL schematic diagram in the prior art. ADPLL includes an integrator, a DTC, a TDC, a loop filter, a counter and a DCO.
[0030] In ADPLL, DTC receives reference clock and outputs the result to TDC. TDC receives DCO output clock output by DCO and generates fractional part of phase error. The ADPLL is common technical knowledge in the art and will not be described in detail in the present invention.
[0031] Figure 2 The present invention is a schematic diagram of the DTC step length correction system in the ADPLL. The present invention mainly involves improving the two components of DTC and TDC, so the DTC includes a DTC core circuit, and the TDC includes a TDC core circuit. The DTC core circuit is a circuit for performing digital-to-time conversion, and the TDC core circuit is a circuit for performing time-to-digital conversion, which are all disclosed in the prior art and will not be repeated in the present invention.
[0032] The ADPLL of the present invention at least includes a DTC, a TDC, a jitter generation module and a DTC coefficient correction module, and may further include an integrator, a loop filter, a DCO and a counter as in the prior art. The present invention is not limited to this.
[0033] The DTC receives a fractional portion of a frequency control word and a reference clock, wherein the fractional portion of the frequency control word may come from an integrator.
[0034] The DTC also receives the DTC conversion coefficient output by the DTC coefficient correction module and the jitter value output by the jitter generation module.
[0035] The DTC outputs the target delayed phase to the DTC coefficient correction module, and the DTC also outputs the delayed reference clock to the TDC.
[0036] The DTC coefficient correction module also receives a phase error, which is generated by the ADPLL. For example, the phase error is used as input information and is also sent to the loop filter.
[0037] The TDC also receives a TDC conversion coefficient and a phase compensation value, wherein the TDC conversion coefficient is equal to the TDC step length multiplied by the DCO output clock frequency, which is also equal to the TDC step length multiplied by the reference clock frequency multiplied by the frequency control word.
[0038] In the present invention, the DTC conversion coefficient is equal to the DTC step length multiplied by the DCO output clock frequency, and is also equal to the DTC step length multiplied by the reference clock frequency multiplied by the frequency control word.
[0039] Furthermore, both the DTC conversion coefficient and the TDC conversion coefficient can be adaptively converged, and can also be set and measured.
[0040] In the present invention, the TDC outputs the fractional part of the phase error. For example, the fractional part of the phase error, the integer part of the phase error generated in the ADPLL and the integer part of the frequency control word are added together to obtain the phase error.
[0041] Further, the TDC also receives a DCO output clock, wherein the DCO generates a DCO output clock.
[0042] Figure 3 In DTC, the decimal part of the frequency control word is multiplied by negative one and then added with 1 to obtain the target delay phase.
[0043] The jitter value output by the jitter generation module is multiplied by the jitter gain amplitude and then multiplied by negative one to obtain a phase compensation value.
[0044] Furthermore, the jitter value output by the jitter generation module is multiplied by the jitter gain amplitude and then added with the fractional part of the frequency control word to obtain the first result. The DTC conversion coefficient is reciprocated, for example, by the reciprocal module, multiplied with the first result, and rounded, for example, by the rounding module to obtain the DTC code value.
[0045] The DTC code value and the reference clock are used as inputs of the DTC core circuit, and the DTC core circuit outputs a delayed reference clock.
[0046] For example, in the present invention, the jitter value is a random integer with equal probability and expected to be 0. For example, the jitter value range is a random integer in seven modes, such as ±1, ±2, ±3, ±4, ±5, ±6 and ±7, and the jitter gain amplitude can be set to any decimal value between 0 and 0.1, which is used to adjust the phase of the added jitter.
[0047] Figure 4 The TDC of the present invention comprises a TDC core circuit, which receives a delayed reference clock and a DCO output clock to generate a TDC code value.
[0048] The TDC code value is multiplied by the TDC conversion coefficient and then added with the phase compensation value to obtain the fractional part of the phase error.
[0049] Figure 5The target delay phase and the phase error are multiplied and then multiplied by the first gain coefficient u0, and then added to the previous value of the second result to obtain the second result. -1 It means unit delay, and the value after unit delay is the previous value.
[0050] The second result and the second gain factor 2 u1 After multiplication, add the third result to obtain the DTC conversion coefficient. Among them, u1 is used to obtain the second gain coefficient 2 u1 A parameter of .
[0051] The previous value of the DTC conversion factor and the second gain factor 2 u1 Multiplying and then adding the previous value of the DTC conversion coefficient obtains the third result.
[0052] After obtaining the DTC conversion coefficient, the DTC coefficient correction module outputs the DTC conversion coefficient.
[0053] After the ADPLL is powered on and initialized, it is first determined whether the DTC is used. If so, it is determined whether the phase-locked loop is initially locked. Only when the phase-locked loop is initially locked, the calibration process is started.
[0054] In the calibration process, when the clock jitter is higher than the threshold value, a larger first gain parameter u0 and a larger second gain parameter 2 are used. u1 Correction is performed, otherwise a smaller first gain parameter u0 and a smaller second gain parameter 2 are used u1 Perform calibration.
[0055] 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.
[0056] 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 method for correcting the DTC step size in an ADPLL, characterized in that: The steps include: The DTC receives the fractional part of the frequency control word, the reference clock, the DTC conversion coefficient output by the DTC coefficient correction module and the jitter value output by the jitter generation module, the DTC outputs the target delayed phase to the DTC coefficient correction module, and the DTC outputs the delayed reference clock and phase compensation value to the TDC; The TDC receives the delayed reference clock, the DCO output clock, the TDC conversion coefficient and the phase compensation value, and outputs the fractional part of the phase error; also, The ADPLL includes the DTC, the TDC and the DCO, and the DCO generates the DCO output clock; The DTC coefficient correction module receives the phase error and the target delay phase, and obtains the DTC conversion coefficient by the following steps: multiplying the target delay phase and the phase error by the first gain coefficient, and then adding the first gain coefficient to the previous value of the second result to obtain the second result; multiplying the second result by the second gain coefficient and then adding the third result to obtain the DTC conversion coefficient; multiplying the previous value of the DTC conversion coefficient by the second gain coefficient, and then adding the previous value of the DTC conversion coefficient to obtain the third result; The DTC includes a DTC core circuit, and the following steps are performed in the DTC: The decimal part of the frequency control word is multiplied by negative one and then added with 1 to obtain the target delay phase; The jitter value output by the jitter generation module is multiplied by the jitter gain amplitude and then multiplied by negative one to obtain a phase compensation value; The jitter value output by the jitter generation module is multiplied by the jitter gain amplitude and then added with the fractional part of the frequency control word to obtain a first result; The DTC conversion coefficient is reciprocated, multiplied by the first result, and rounded to obtain the DTC code value; The DTC code value and the reference clock are used as the input of the DTC core circuit, and the DTC core circuit outputs the delayed reference clock; The DTC core circuit is a circuit that performs digital to time conversion.
2. The method for correcting the DTC step length in the ADPLL according to claim 1, characterized in that: The fractional part of the frequency control word comes from the integrator in the ADPLL.
3. The method for correcting the DTC step length in the ADPLL according to claim 2, characterized in that: The phase error is input information to the loop filter in the ADPLL.
4. The method for calibrating the DTC step length in the ADPLL according to claim 3, characterized in that: The jitter value is a random integer with equal probability and expected to be zero.
5. The method for calibrating the DTC step length in the ADPLL according to claim 4, characterized in that: The TDC includes a TDC core circuit, and the following steps are performed in the TDC: The TDC core circuit receives the delayed reference clock and the DCO output clock and generates a TDC code value; After multiplying the TDC code value and the TDC conversion coefficient, add the phase compensation value to obtain the fractional part of the phase error; where, The TDC core circuit is a circuit that performs time-to-digital conversion.
6. The method for calibrating the DTC step length in the ADPLL according to claim 5, characterized in that: The jitter value ranges from ±1, ±2, ±3, ±4, ±5, ±6 and ±7.
7. The method for calibrating the DTC step length in the ADPLL according to claim 6, characterized in that: The range of the dither gain amplitude is between 0 and 0.1.
Citation Information
Patent Citations
Digital FNPLL (Fractional-N Phase-Locked Loop) control method and PLL (Phase-Locked Loop)
CN104506190A
All-digital phase locked loop (adpll) and control method thereof
CN107046421A
Digital time converter calibration method and device, digital phase-locked loop and electronic equipment
CN112803944A
Method and device for obtaining DTC delay stepping based on reference clock period
CN116015286A
DTC nonlinearity correction
US11923857B1
