Method for Correcting DCO Step Size in ADPLL

By calculating the DCO step value and generating the frequency control word, the ADPLL step size is automatically corrected, which solves the clock jitter problem caused by the step size fluctuation in the ADPLL, improves the clock performance and loop stability, and achieves high accuracy and low jitter. clock output.

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

Patent Information

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

AI Technical Summary

Technical Problem

In high-speed data communications, fluctuations in the DCO step size in ADPLL lead to increased clock jitter, affecting clock performance. Existing technologies fail to effectively correct this, resulting in quantization errors and loop loss problems.

Method used

By obtaining the step value of the DCO, calculate the adjustment parameter K, and multiply it with the phase error in the ADPLL to generate a frequency control word, which is applied to the DCO to automatically correct the step size to ensure the high performance and low jitter characteristics of the output clock.

Benefits of technology

It achieves accurate correction of the ADPLL bandwidth, improves phase-locked loop performance, reduces burrs and jitter in the phase noise spectrum, and does not require complex implementation or additional resources. It is suitable for spread spectrum mode.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118677459B_ABST
    Figure CN118677459B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for correcting the DCO step length in an ADPLL. In order to overcome the defect of inaccurate DCO step length, the method for correcting the DCO step length in an ADPLL of the present invention comprises: obtaining a first adjustment parameter step and an output frequency control word step; wherein the first adjustment parameter step is obtained by measurement, and the frequency control word is obtained by the first adjustment parameter, phase error, proportional path parameter and integral path parameter, and applied to the DCO. The scheme can be run in the foreground, does not affect the ADPLL loop locking, and has the advantages of high correction accuracy and less resource occupation.
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 method for correcting a DCO step length in an ADPLL. Background Art

[0002] Clock chips are a product in a niche area of ​​the analog mixed-signal chip market. As the core component of a high-performance communication system, the performance and stability of clock chips are directly related to the key indicators of the communication system.

[0003] In high-speed data communications, in order to reduce the bit error rate, the system needs to maintain low system jitter and clock jitter. 5G networks require higher capacity and lower latency for fronthaul and backhaul solutions. Therefore, a large number of high-performance clock chips (such as clock generators, clock buffers, clock de-jitter chips, network synchronizers and oscillators, etc.) are indispensable. They are responsible for providing stable clock generation and distribution functions. In addition, as communication perception integration and space-time synchronization technology become important development directions and core technologies for future 6G communication networks, the resolution, accuracy, stability and time synchronization technology of clock chips are also facing increasingly stringent requirements.

[0004] All Digital Phase Locked Loop (ADPLL) is a commonly used high-performance clock chip architecture, which usually uses a digital controlled oscillator (DCO) to generate the output clock frequency. Compared with analog phase-locked loops, ADPLL has the advantages of more flexible scalability, better cross-process design portability, and smaller chip area. However, the unit frequency change value (i.e., step size) of the digital controlled oscillator is affected by factors such as process, voltage, and temperature, and may fluctuate within a range. If the step size is not corrected, the calculated bandwidth will produce quantization errors, which may cause increased clock jitter and thus reduce clock performance. When using spread spectrum mode, quantization errors may also affect the phase margin of the loop, causing the loop to lose lock or fail to track.

[0005] The prior art generally uses a fixed DCO step coefficient without correction processing. The present invention proposes a method for correcting the DCO step in an ADPLL, aiming to automatically correct the step of a digitally controlled oscillator to ensure that the output clock has high performance and low jitter characteristics. 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 DCO step length in an ADPLL comprises: obtaining a first adjustment parameter step and an output frequency control word step; wherein the first adjustment parameter obtaining step comprises the following sub-steps: setting the code value of the DCO to a first code value A, and recording the number of DCO output clock cycles as N1; setting the code value of the DCO to a second code value A+M, and recording the number of DCO output clock cycles as N2, where M is the number of DCO step lengths; obtaining the step length value kdco of the DCO, wherein kdco is equal to (N2-N1) / (M*f ref *N ref ), where N ref is the reference count length, f ref is the reference clock frequency; obtain the first adjustment parameter K, where K=kdco / kdco_set, kdco_set is a preset default for calculating the proportional path parameter k p and the integral path parameter k i The step size of the DCO; the output frequency control word step includes the following sub-steps: the first adjustment parameter K and the proportional path parameter k p The multiplication result is multiplied by the phase error in the ADPLL to obtain a first result; the first adjustment parameter K and the integral path parameter k i The multiplied result is multiplied with the phase error in the ADPLL to obtain a second result; the second result and the previous value of the second result are added to obtain a third result; the third result and the first result are added to obtain a frequency control word.

[0008] Furthermore, the frequency control word is applied to the DCO.

[0009] Furthermore, the step of outputting the frequency control word occurs between the loop filter in the ADPLL and the DCO in the ADPLL.

[0010] Further, before the ADPLL is locked, the first parameter adjustment step and the frequency control word output step are performed.

[0011] Furthermore, the step of obtaining the first adjustment parameter further includes the following sub-steps: determining whether the correction function is enabled, and if the correction function is not enabled, using the default first adjustment parameter K.

[0012] In addition, other beneficial effects of the present invention will be mentioned in the specific embodiments.

[0013] The accompanying drawings illustrate the technical solution of the present invention, which has one or more of the following beneficial technical effects:

[0014] (1) The DCO step value is calculated by the front end with high accuracy (can be as low as within 5%). The ADPLL bandwidth is corrected by accurately measuring the DCO step value to ensure the phase-locked loop performance.

[0015] (2) The solution does not require complex implementation methods and does not need to be started in the background.

[0016] (3) The calibration results are accurate, the burrs on the phase noise spectrum are few and low in amplitude, and no additional jitter is generated in the spread spectrum mode.

[0017] (4) It can be implemented through time division multiplexing without occupying additional resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 is a flow chart for obtaining a first adjustment parameter K;

[0019] Figure 2 It is a schematic diagram of the step of outputting frequency control words of the present invention. DETAILED DESCRIPTION

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

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

[0022] The circuit structure of the ADPLL, the circuit structure of the DCO, and the connection relationship between the DCO and the ADPLL in the present invention are common technical knowledge in the field and will not be described in detail here.

[0023] Generally, the proportional path parameter k of the loop filter in the commonly used ADPLL is p and the integral path parameter k i The calculation method is as follows:

[0024] ;

[0025] ;

[0026] ;

[0027] in, represents the damping coefficient, which is set to 0.707 in this example; b w is the loop filter bandwidth, which is set to 300kHz~1.5MHz for example; w n is an intermediate calculated value; f ref is the reference clock frequency in Hz; kdco is the DCO step value in Hz.

[0028] When the DCO step value kdco set by the system is inaccurate, the entire system bandwidth will be affected accordingly. For example, if the DCO step value kdco set is half of the actual DCO step value, then the system bandwidth is only half of the set value.

[0029] The method for correcting the DCO step length in the ADPLL of the present invention comprises the steps of obtaining a first adjustment parameter K and outputting a frequency control word.

[0030] Figure 1 The flowchart of obtaining the first adjustment parameter K is shown, which specifically includes the following steps:

[0031] After the start, it is first determined whether the correction function is turned on. If the correction function is not turned on, the default first adjustment parameter K is used, and the process of obtaining the first adjustment parameter K is terminated.

[0032] If the correction function is turned on, the code value of the DCO is set to the first code value A, and the number of DCO output clock cycles is recorded and recorded as N1.

[0033] Then, the code value of the DCO is set to the second code value A+M, and the number of DCO output clock cycles is recorded as N2, where M is equal to the number of DCO steps.

[0034] Next, calculate the DCO step value kdco=(N2-N1) / (M*f ref *N ref ), where N ref is the reference count length, f ref is the reference clock frequency in Hz.

[0035] Then, the first adjustment parameter K=kdco / kdco_set is calculated, where kdco_set is a preset default value used to calculate the proportional path parameter k p and the integral path parameter k i The DCO step value is determined, and the process of obtaining the first adjustment parameter K is ended.

[0036] The above process of obtaining the first adjustment parameter K is a measurement step.

[0037] Figure 2The schematic diagram of the step of outputting the frequency control word of the present invention is shown. The first adjustment parameter K and the proportional path parameter k p The multiplied result is multiplied by the phase error in the ADPLL to obtain a first result.

[0038] At the same time, the first adjustment parameter K and the integral path parameter k i The multiplied result is multiplied by the phase error in the ADPLL to obtain a second result. The second result and the previous value of the second result are added to obtain a third result. In the present invention, the previous value of the second result is also the second result after a unit delay.

[0039] The third result is added to the first result to obtain a frequency control word, and applied to the DCO.

[0040] The above process of outputting the frequency control word is a correction step.

[0041] Furthermore, by adjusting the first parameter K and the proportional path parameter k p and the integral path parameter k i , the process of outputting the frequency control word, namely the output frequency control word step, occurs between the loop filter in the ADPLL and the DCO in the ADPLL.

[0042] Furthermore, before the ADPLL is locked, the aforementioned method for obtaining the first adjustment parameter K and the method for outputting the frequency control word are executed, which will not affect the normal locking process of the ADPLL.

[0043] Different from the prior art which only uses a fixed DCO step value but lacks a correction link, the present invention proposes a DCO step value that can be calculated in the foreground with high accuracy, which effectively guarantees the output clock performance.

[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 method for correcting the DCO step size in an ADPLL, It is characterized in that include: A first adjustment parameter acquisition step and an output frequency control word step; wherein, The step of obtaining the first adjustment parameter includes the following sub-steps: Set the code value of DCO to the first code value A, and record the number of DCO output clock cycles as N1; Set the code value of DCO to the second code value A+M, and record the number of DCO output clock cycles as N2, where M is the number of DCO steps; Get the DCO step value kdco, where kdco is equal to (N2-N1) / (M*f ref *N ref ), where N ref is the reference count length, f ref is the reference clock frequency; Get the first adjustment parameter K, where K = kdco / kdco_set, kdco_set is a preset default for calculating the proportional path parameter k p and the integral path parameter k i The step size of DCO; The step of outputting a frequency control word comprises the following sub-steps: The first adjustment parameter K and the proportional path parameter k p The multiplied result is multiplied by the phase error in the ADPLL to obtain a first result; The first adjustment parameter K and the integral path parameter k i The multiplied result is multiplied by the phase error in the ADPLL to obtain a second result; adding the second result and the previous value of the second result to obtain a third result; The third result is added to the first result to obtain a frequency control word.

2. The method for correcting the DCO step size in the ADPLL according to claim 1, Features: The frequency control word is applied in the DCO.

3. The method for correcting the DCO step size in the ADPLL according to claim 2, Features: The step of outputting the frequency control word occurs between the loop filter in the ADPLL and the DCO in the ADPLL.

4. The method for correcting the DCO step size in the ADPLL according to claim 3, Features: Before the ADPLL is locked, the first parameter adjustment step and the frequency control word output step are performed.

5. The method for correcting the DCO step size in the ADPLL according to claim 4, Features: The step of obtaining the first adjustment parameter further includes the following sub-steps: Determine whether the correction function is turned on. If the correction function is not turned on, use the default first adjustment parameter K.

Citation Information

Patent Citations

  • Dynamic calibration techniques for digitally controlled oscillator

    CN102057577A

  • Method and system for correcting the frequency or phase of a local signal generated using a local oscillator

    CN111065937A