Method for Correcting TDC Step Size in ADPLL Based on Random Jitter
By using the correction method based on random jitter in ADPLL, the TDC step size is corrected in real time, which solves the quantization error and loop locking problem under the influence of environmental factors, improves the stability and accuracy of ADPLL, especially in high-speed data communication to reduce bit error rate and clock jitter.
Patent Information
- Application Number
- CN202411160999.6
- 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 ADPLL, the TDC step size is affected by environmental factors, leading to quantization errors and loop locking problems. Especially in high-speed data communications, the bit error rate and clock jitter need to be strictly controlled.
Using a correction method based on random jitter, through the DTC and TDC core circuits, random integer jitter values and conversion coefficients are used to perform real-time correction of the TDC step size to ensure the stability and accuracy of the ADPLL loop.
It achieves high-precision tracking and correction of TDC step size changes, avoids the adverse effects of loop locking, and maintains the stability of the phase noise spectrum when the environment changes drastically.
Smart Images

Figure CN118677452B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of clock chips, and in particular to a method for correcting a TDC step length in an ADPLL based on random jitter. Background Art
[0002] In order to reduce the bit error rate in high-speed data communications, system jitter and clock jitter need to be maintained at the lowest possible level. 5G networks have higher requirements for the capacity and latency of fronthaul and backhaul solutions, so a large number of high-performance clock chips are required, including clock generators, clock buffers, clock de-jitter chips, network synchronizers and oscillators, etc., to achieve the functions of clock generation and distribution. As the development direction and core technology of future 6G communication networks, communication perception integration and space-time synchronization technology have put forward more stringent requirements on the resolution, accuracy, stability and time synchronization technology of clock chips.
[0003] All Digital Phase Locked Loop (ADPLL) is a commonly used high-performance clock chip. It is widely used in modern integrated circuit design, especially in the field of high-speed data communication.
[0004] Figure 1 This is a schematic diagram of an ADPLL in the prior art. ADPLL implements functions such as phase comparison, loop filtering and frequency control through digital circuits, including TDC, loop filter and digital controlled oscillator (DCO). TDC is responsible for measuring the phase difference between the reference clock and the DCO output clock, the loop filter filters the output of TDC, and the DCO adjusts its output frequency according to the output of the loop filter, thereby achieving phase locking.
[0005] In the ADPLL technical solution, a time to digital converter (TDC) is often used to measure the phase error. However, the TDC step size is affected by environmental factors and fluctuates within a certain range, so it needs to be corrected, otherwise quantization errors will occur and even affect the ADPLL loop lock. 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:
[0007] A method for correcting the TDC step size in an ADPLL based on random jitter comprises the following steps: the ADPLL comprises a DTC, a TDC and a DCO, the DCO generating a DCO output clock; the DTC receiving a reference clock, a target delayed phase, a DTC conversion coefficient and a jitter value generated by a jitter generation module, outputting a delayed reference clock and a phase compensation value to the TDC, and outputting a TDC code value to a TDC coefficient correction module; the TDC coefficient correction module receiving a phase error and a TDC code value, and outputting a TDC conversion coefficient to the TDC; the TDC receiving the DCO output clock, the TDC conversion coefficient, the delayed reference clock and the phase compensation value, and outputting a fractional part of the phase error; the TDC coefficient correction module receiving a TDC code value, multiplying the TDC code value and the phase error, then multiplying by negative one, and then multiplying by a first gain coefficient to obtain a first result; adding the first result and a previous value of the second result to obtain a second result; multiplying the second result by the second gain coefficient, and then adding the third result to obtain a TDC conversion coefficient; The result of multiplying the previous value of the TDC conversion coefficient and the second gain coefficient is added to the previous value of the TDC conversion coefficient to obtain the third result.
[0008] Furthermore, the jitter value is a random integer with equal probability and an expected value of 0.
[0009] Further, the DTC includes a DTC core circuit; and after receiving the DTC conversion coefficient, the DTC conversion coefficient is multiplied by negative one and then by the jitter value to obtain a phase compensation value; then, the inverse of the DTC conversion coefficient is taken and then multiplied by the target delay phase, and then a DTC code value is obtained by performing a rounding process; after adding the DCT code value and the jitter value, a DTC code value after adding jitter is obtained, and the DTC code value after adding jitter is used as an input of the DTC core circuit; in addition, the DTC core circuit also receives a reference clock as an input, and outputs a delayed reference clock.
[0010] Furthermore, the DTC core circuit is a circuit that performs digital-to-time conversion.
[0011] Furthermore, the TDC includes a TDC core circuit; and the TDC core circuit receives a delayed reference clock and a DCO output clock; the TDC obtains a TDC code value based on the delayed reference clock and the DCO output clock; the result of multiplying the TDC code value and the TDC conversion coefficient is added to the phase compensation value to obtain the decimal part of the phase error.
[0012] Furthermore, the TDC core circuit is a circuit that performs time-to-digital conversion.
[0013] Furthermore, the fractional part of the phase error is used to synthesize the phase error in the ADPLL.
[0014] Furthermore, the target delay phase is obtained by multiplying the decimal part in the frequency control word by negative one and then adding one to the result; the decimal part in the frequency control word comes from an integrator in the ADPLL.
[0015] The technical solution of the present invention has one or more of the following beneficial technical effects:
[0016] (1) The impact of environmental changes on TDC step size changes can be tracked in real time in the background and corrected with high precision to avoid adverse effects on ADPLL loop locking.
[0017] (2) When the environment changes dramatically, the TDC conversion coefficient will not change suddenly and the phase noise spectrum will be stable.
[0018] In addition, other beneficial effects of the present invention will be mentioned in the specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 It is a schematic diagram of an ADPLL in the prior art;
[0020] Figure 2 It is a schematic diagram of TDC step size in ADPLL based on random jitter correction;
[0021] Figure 3 It is a schematic diagram of DTC of the present invention;
[0022] Figure 4 is a schematic diagram of TDC of the present invention;
[0023] Figure 5 This is a schematic diagram of the DTC coefficient correction module;
[0024] Figure 6 is a schematic diagram for obtaining the target delay phase. DETAILED DESCRIPTION
[0025] 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.
[0026] 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.
[0027] Figure 2 The figure is a schematic diagram of the TDC step size in the ADPLL based on random jitter correction. The ADPLL includes TDC, Digital to Time Converter (DTC) and DCO.
[0028] DTC receives the reference clock, target delay phase, DTC conversion coefficient and jitter value generated by the jitter generation module, and outputs the delayed reference clock, phase compensation value and TDC code value. Figure 6 Described in.
[0029] The delayed reference clock and phase compensation value are sent to the TDC, and the TDC code value is sent to the TDC coefficient correction module.
[0030] The TDC coefficient correction module receives the phase error and outputs the TDC conversion coefficient to the TDC. The TDC also receives the DCO output clock and outputs the fractional part of the phase error.
[0031] Figure 3 It is a schematic diagram of DTC of the present invention. After receiving the DTC conversion coefficient, the DTC conversion coefficient is multiplied by negative one and then by the jitter value to obtain a phase compensation value. In addition, through the inverse module, the inverse of the DTC conversion coefficient is taken and then multiplied by the target delay phase, and then the integer module performs the integer processing to obtain the DTC code value.
[0032] After the DCT code value and the jitter value are added, the jittered DTC code value is obtained, and the jittered DTC code value is used as one of the inputs of the DTC core circuit. The DTC core circuit also receives a reference clock as input and outputs a delayed reference clock.
[0033] The jitter value is a random integer with equal probability and expected value of 0. For example, the range of the jitter value is ±1, ±2, ±3, ±4, ±5, ±6 and ±7, where the probability of each integer appearing is the same.
[0034] In the present invention, the DTC core circuit and the TDC core circuit are respectively a circuit for performing digital-to-time conversion and a circuit for performing time-to-digital conversion, which is common technical knowledge in the field and will not be described in detail here.
[0035] Figure 4 The core circuit of the TDC receives the delayed reference clock and the DCO output clock, wherein the DCO output clock comes from the DCO in the ADPLL.
[0036] The TDC obtains the TDC code value based on the delayed reference clock and the DCO output clock. The result of multiplying the TDC code value and the TDC conversion coefficient is then added to the phase compensation value to obtain the fractional part of the phase error.
[0037] Figure 5 The TDC coefficient correction module receives the TDC code value, multiplies it by the phase error, multiplies it by negative one, and then multiplies it by the first gain coefficient u0 to obtain a first result.
[0038] The first result is added to the previous value of the second result to obtain the second result. The second result is multiplied by the second gain factor 2 u1 After that, it is added to the third result to obtain the TDC conversion coefficient. Among them, u1 is the second gain coefficient 2 that can be obtained after transformation u1 A parameter of . Figure 5 Z -1 Represents a unit delay, and the value after the unit delay is the previous value.
[0039] The previous value of the TDC conversion coefficient and the second gain coefficient 2 u1 The multiplied result is then added to the previous value of the TDC conversion coefficient to obtain the third result.
[0040] In the present invention, the TDC conversion coefficient is equal to the TDC step length multiplied by the DCO output clock frequency, and is also equal to the TDC step length multiplied by the reference clock frequency multiplied by the frequency control word. The frequency control word is the input of the integrator in the ADPLL.
[0041] 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.
[0042] Furthermore, both the DTC conversion coefficient and the TDC conversion coefficient can be adaptively converged, and can also be set and measured.
[0043] In the present invention, the fractional part of the phase error is used as a synthetic phase error in the ADPLL.
[0044] Figure 6 Schematic diagram of obtaining the target delay phase. The target delay phase can be obtained by multiplying the decimal part of the frequency control word by negative one and adding one to the result. The decimal part of the frequency control word comes from the integrator in the ADPLL.
[0045] 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.
[0046] 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 TDC step size in ADPLL based on random jitter, characterized in that: The steps include: The ADPLL includes a DTC, a TDC and a DCO, and the DCO generates a DCO output clock; The DTC receives the reference clock, the target delay phase, the DTC conversion coefficient, and the jitter value generated by the jitter generation module, outputs the delayed reference clock and the phase compensation value to the TDC, and outputs the TDC code value to the TDC coefficient correction module; The TDC coefficient correction module receives the phase error and the TDC code value, and outputs the TDC conversion coefficient to the TDC; The TDC receives the DCO output clock, the TDC conversion coefficient, the delayed reference clock and the phase compensation value, and outputs the fractional part of the phase error; The TDC coefficient correction module receives a TDC code value, multiplies the TDC code value and the phase error, multiplies by negative one, and then multiplies by a first gain coefficient to obtain a first result; and adds the first result and a previous value of the second result to obtain a second result; The second result is multiplied by the second gain coefficient and then added to the third result to obtain a TDC conversion coefficient; the result of multiplying a previous value of the TDC conversion coefficient by the second gain coefficient and then adding to the previous value of the TDC conversion coefficient to obtain the third result; The jitter value is a random integer with equal probability and expected value of 0; The DTC includes a DTC core circuit; and, After receiving the DTC conversion coefficient, the DTC multiplies the DTC conversion coefficient by negative one and then by the jitter value to obtain the phase compensation value; then, The DTC conversion coefficient is taken inversely and then multiplied by the target delay phase, and then the DTC code value is obtained by performing rounding processing; After the DCT code value and the jitter value are added, the DTC code value after jitter is obtained, and the DTC code value after jitter is used as the input of the DTC core circuit; also, The DTC core circuit also receives a reference clock as input and outputs a delayed reference clock; The TDC includes a TDC core circuit; and, The TDC core circuit receives the delayed reference clock and the DCO output clock; The TDC obtains the TDC code value according to the delayed reference clock and the DCO output clock; The result of multiplying the TDC code value and the TDC conversion coefficient is added to the phase compensation value to obtain the fractional part of the phase error.
2. The method for correcting TDC step size in ADPLL based on random jitter according to claim 1, characterized in that: The DTC core circuit is a circuit that performs digital to time conversion.
3. The method for correcting TDC step size in ADPLL based on random jitter according to claim 2, characterized in that: The TDC core circuit is a circuit that performs time-to-digital conversion.
4. The method for correcting TDC step size in ADPLL based on random jitter according to claim 3, characterized in that: The fractional part of the phase error is used to synthesize the phase error in the ADPLL.
5. The method for correcting TDC step size in ADPLL based on random jitter according to claim 4, characterized in that: The target delay phase is obtained by multiplying the decimal part in the frequency control word by negative one and then adding one to the result; The fractional part of the frequency control word comes from the integrator in the ADPLL.
Citation Information
Patent Citations
Method, system and equipment for updating conversion coefficient of time-to-digital converter
CN115967398A
Apparatus for and method of noise suppression and dithering to improve resolution quality in a digital RF processor
US20050186920A1
