Digital oscillator step length measuring method

By switching the frequency between the output clock frequency of the digital oscillator and the code value, detecting the glitch amplitude of the phase noise spectrum and calculating the step size, the problem of difficult measurement of the step size of the digital oscillator is solved, and the efficiency of ADPLL chip design defect positioning is improved and accuracy.

CN119070812AActive Publication Date: 2024-12-03成都星拓微电子科技股份有限公司
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411560643.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-04
Publication Date
2024-12-03
Estimated Expiration
2044-11-04

AI Technical Summary

Technical Problem

The step length of the digital oscillator is difficult to directly measure through traditional methods, which affects the positioning efficiency of ADPLL chip design defects.

Method used

By switching the frequency between the preset two output clock frequencies and the digital oscillator code value, the glitch amplitude of the phase noise spectrum is detected, and the digital oscillator step size is calculated using the formula to achieve accurate measurement of the step size.

Benefits of technology

Improves the efficiency of chip design defect positioning, and achieves step-size measurements with high accuracy and low implementation cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119070812A_ABST
    Figure CN119070812A_ABST
Patent Text Reader

Abstract

The invention discloses a digital oscillator step length measuring method. In order to measure the step length of the digital oscillator, the method for measuring the step length of the digital oscillator comprises the following steps of: setting the digital oscillator to be repeatedly switched between two preset output clock frequencies at a switching frequency, detecting a phase noise spectrum of an output clock of the digital oscillator, and obtaining a first glitch amplitude at a half position of the switching frequency; setting the digital oscillator to repeatedly switch between two preset digital oscillator code values at a switching frequency, detecting a phase noise spectrum of an output clock of the digital oscillator, and obtaining a second glitch amplitude at a half position of the switching frequency; and calculating the step length of the digital oscillator according to the two output clock frequencies, the two digital oscillator code values, the first glitch amplitude and the second glitch amplitude. According to the invention, the step length of the digital oscillator can be measured with high precision, and the defect positioning efficiency in a chip can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of oscillators, and in particular to a method for measuring the step length of a digital oscillator. Background Art

[0002] A digital oscillator is a digitally controlled oscillator that is widely used in an all digital phase locked loop (ADPLL).

[0003] The step size of a digital oscillator, that is, the unit frequency change value, is not constant. It may fluctuate within a certain range and is a very small value. This also makes it difficult to directly measure it using an oscilloscope, spectrum analyzer, or phase noise analyzer.

[0004] If the digital oscillator step length can be measured, it will be very beneficial and efficient for locating chip design defects in ADPLL.

[0005] Based on this, the present invention proposes a digital oscillator step length measurement method. 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: A digital oscillator step length measurement method, comprising: setting a digital oscillator to repeatedly switch between two preset output clock frequencies at a switching frequency, detecting a phase noise spectrum of the digital oscillator output clock, and obtaining a first glitch amplitude at half the switching frequency; setting a digital oscillator to repeatedly switch between two preset digital oscillator code values ​​at a switching frequency, detecting a phase noise spectrum of the digital oscillator output clock, and obtaining a second glitch amplitude at half the switching frequency; calculating the digital oscillator step length according to the two output clock frequencies, the two digital oscillator code values, the first glitch amplitude, and the second glitch amplitude; wherein the digital oscillator step length is equal to , wherein f1 and f2 are the two output clock frequencies, a1 is the first glitch amplitude, a2 is the second glitch amplitude, c1 and c2 are the two digital oscillator code values, and c2 is greater than c1.

[0007] Further, when it is currently decided not to use the measurement function, the digital oscillator is set to enter a normal working flow.

[0008] Furthermore, when it is decided to use the measurement function, the digital oscillator code value is set to c1, the counter maximum value is set, and the count value is set to 0.

[0009] Furthermore, it is determined whether the count value is less than the maximum value of the counter: if so, the count value is incremented by one; if not, the count value is set to 0.

[0010] Further, when it is decided to continue the phase noise spectrum measurement, it is determined whether the current digital oscillator code value is c1: if so, the digital oscillator code value is set to c2; if not, the digital oscillator code value is set to c1.

[0011] Further, after the digital oscillator code value is set to c2 or c1, it is continued to be determined whether the count value is less than the maximum value of the counter.

[0012] Furthermore, the maximum value of the counter is equal to the reference clock frequency divided by the switching frequency.

[0013] The technical solution of the present invention has one or more of the following beneficial technical effects: (1) High accuracy.

[0014] (2) Easy to implement and low cost.

[0015] (3) It is helpful to improve the efficiency of defect location in chips.

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

[0017] Figure 1 is a flow chart of a method for measuring step length of a digital oscillator according to the present invention; Figure 2 is a flow chart of switching digital oscillator code values ​​to measure phase noise spectrum; Figure 3 This is a schematic diagram of burrs in the phase noise spectrum. DETAILED DESCRIPTION

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

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

[0020] Figure 1The digital oscillator step length measurement method of the present invention mainly includes three steps: measuring a first glitch amplitude a1 when the digital oscillator switches between two preset output clock frequencies f1 and f2, measuring a second glitch amplitude a2 when the digital oscillator switches between two preset digital oscillator code values ​​c1 and c2, and calculating the digital oscillator step length according to c1 and c2, a1 and a2, and f1 and f2.

[0021] Specifically, first, according to the set switching frequency f, such as f=1MHz, the output clock frequency of the digital oscillator is switched between two preset output clock frequencies f1 and f2, and the phase noise spectrum of the output clock of the digital oscillator is detected. According to the phase noise spectrum detection, the first glitch amplitude is obtained as a1.

[0022] For example, the output clock frequencies f1 = 5 GHz and f2 = 5.01 GHz, which are two frequencies that can be determined and known. In this example, the digital oscillator is -6 Within one second, the output clock frequency of the digital oscillator is 5 GHz, and within the second 10 -6 Within 10 seconds, the output clock frequency of the digital oscillator is 5.01 GHz. -6 Within seconds, the output clock frequency of the digital oscillator is 5 GHz, and in the fourth 10 -6 Within one second, the output clock frequency of the digital oscillator is 5.01 GHz, and this cycle repeats.

[0023] Then, the phase noise spectrum of the digital oscillator output clock is detected, and a prominent spur is found at a frequency of f / 2 in the phase noise spectrum, and the first spur amplitude is a1, and the unit of the amplitude is dBc / Hz, where dBc is decibel relative to the carrier and Hz is Hertz.

[0024] Figure 2 The following is a flow chart for switching the digital oscillator code value to measure the phase noise spectrum.

[0025] After the first glitch amplitude a1 is obtained, the second glitch amplitude a2 is measured when the digital oscillator switches between two preset digital oscillator code values ​​c1 and c2, specifically: The digital oscillator is made to repeatedly switch between two digital oscillator code values ​​c1 and c2 at a switching frequency f, and the phase noise spectrum of the digital oscillator output clock is detected. According to the phase noise spectrum detection, the second burr amplitude is obtained as a2.

[0026] For example, the digital oscillator is -6 Within seconds, the digital oscillator code value is c1, and in the second 10 -6 Within seconds, the digital oscillator code value is c2, and in the third 10-6 Within seconds, the digital oscillator code value is c1, and in the fourth 10 -6 Within seconds, the code value of the digital oscillator is c2, and this cycle repeats.

[0027] As a specific embodiment, first determine whether to use the measurement function. If not, the digital oscillator works normally and is not measured. If so, set the digital oscillator code value to c1, set the counter maximum value to cmax, and set the count value cnt to 0.

[0028] If cnt is less than cmax, cnt is incremented by one, and then it is determined whether cnt is less than cmax; if cnt is not less than cmax, cnt=0 is set, and then it is determined whether to end the phase noise spectrum measurement: if so, the phase noise spectrum measurement is ended; if not, it is determined whether the current digital oscillator code value is c1.

[0029] If the current digital oscillator code value is c1, the digital oscillator code value is set to c2; if the current digital oscillator code value is not c1, the digital oscillator code value is set to c1. Then, it is determined whether cnt is less than cmax.

[0030] For example, if the reference clock frequency is 100 MHz and the switching frequency f is 1 MHz, when setting cmax, cmax=100 MHz / 1 MHz=100.

[0031] Figure 3 The following is a schematic diagram of the burr in the phase noise spectrum. Whether repeatedly switching the digital oscillator code value or switching between two preset output clock frequencies, similar Figure 3 Phase noise spectrum curve in .

[0032] In the phase noise spectrum, there is a burr at half of the switching frequency f, that is, f / 2. After the above steps, the first burr amplitude a1 and the second burr amplitude a2 are measured respectively.

[0033] In the last step, it can be calculated according to the following formula: Digital Oscillator Step Size = , where f1 and f2 are two output clock frequencies, a1 is the first glitch amplitude, a2 is the second glitch amplitude, c1 and c2 are two digital oscillator code values, and c2 is greater than c1.

[0034] By the above means, the present invention can obtain the digital oscillator step length. As the above example, assuming a1=-60dBc / Hz, a2=-54dBc / Hz. According to the above formula, the digital oscillator step length in the example can be calculated as: ≈5.0119×10 6 / (c2-c1).

[0035] The present invention has the advantages of high accuracy and low implementation cost, and can easily locate design defects in the ADPLL after effectively measuring the step length of the digital oscillator.

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

[0037] 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 digital oscillator step length measurement method, characterized in that: Setting the digital oscillator to repeatedly switch between two preset output clock frequencies at a switching frequency, detecting a phase noise spectrum of the output clock of the digital oscillator, and obtaining a first burr amplitude at half the switching frequency; Setting the digital oscillator to repeatedly switch between two preset digital oscillator code values ​​at a switching frequency, detecting a phase noise spectrum of the digital oscillator output clock, and obtaining a second burr amplitude at half the switching frequency; The digital oscillator step length is calculated according to the two output clock frequencies, the two digital oscillator code values, the first glitch amplitude and the second glitch amplitude; wherein, The digital oscillator step size is equal to , wherein f1 and f2 are the two output clock frequencies, a1 is the first glitch amplitude, a2 is the second glitch amplitude, c1 and c2 are the two digital oscillator code values, and c2 is greater than c1.

2. The digital oscillator step length measurement method according to claim 1, characterized in that: When it is decided not to use the measurement function, set the digital oscillator to enter the normal working flow.

3. The digital oscillator step length measurement method according to claim 2, characterized in that: When you decide to use the measurement function, set the digital oscillator code value to c1, set the counter maximum value, and set the count value to 0.

4. The digital oscillator step length measurement method according to claim 3, characterized in that: Determine whether the count value is less than the maximum value of the counter: if so, increase the count value by one; if not, set the count value to 0.

5. The digital oscillator step length measurement method according to claim 4, characterized in that: When it is decided to continue the phase noise spectrum measurement, it is determined whether the current digital oscillator code value is c1: if so, the digital oscillator code value is set to c2; if not, the digital oscillator code value is set to c1.

6. The digital oscillator step length measurement method according to claim 5, characterized in that: After setting the digital oscillator code value to c2 or c1, continue to determine whether the count value is less than the maximum value of the counter.

7. The digital oscillator step length measurement method according to claim 6, characterized in that: The maximum value of the counter is equal to the reference clock frequency divided by the switching frequency.

Citation Information

Patent Citations

  • Self-correcting frequency synthesizer capable of optimizing properties of voltage-controlled oscillator and optimizing method of self-correcting frequency synthesizer

    CN102868397A

  • Method, system and equipment for indirectly measuring step length of time-to-digital converter and medium

    CN117169593A

  • Method for correcting DCO step length in ADPLL

    CN118677459A

  • System and method for time dithering a digitally-controlled oscillator tuning input

    EP1255355A1

  • System and method for applying time-dithering to tuning input of digital controlled oscillator

    JP2002033660A