A method and device for weakening the phase response caused by eliminating burrs

By introducing glitch detection and iterative attenuation technology of adjustable pre-delay signals into the all-digital phase-locked loop, the phase response problem caused by glitches generated by the snapshot circuit is solved, the jitter of the phase-locked loop is reduced, and the stability of the loop is improved. sex.

CN117978158BActive Publication Date: 2024-09-06深圳市电科星拓科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410148445.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-31
Publication Date
2024-09-06
Estimated Expiration
2044-01-31

AI Technical Summary

Technical Problem

In an all-digital phase-locked loop, glitches in the snapshot circuit due to process, voltage, and temperature fluctuations lead to erroneous phase differences in the output of the delay-to-digital converter, deteriorating loop performance, and initial calibration cannot avoid this effect.

Method used

A glitch detection device is introduced. When a glitch is detected, the phase difference is gradually attenuated by adjusting the adjustable pre-delay signal to ensure that it is input into the phase-locked loop within the preset range to avoid jitter. The specific method is to set the update coefficient K to the Nth power of 2, iteratively reduce the phase difference until K=1, and reduce the response phase difference of the phase-locked loop.

Benefits of technology

By slowly correcting the phase difference, the jitter of the phase-locked loop is avoided, the response phase difference of the output signal is reduced, and the stability of the loop is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117978158B
    Figure CN117978158B
Patent Text Reader

Abstract

The present invention discloses a method and device for weakening the phase response caused by eliminating burrs. The method introduces a burr detection device to detect the burr phenomenon when the burr occurs; after the burr phenomenon is detected, the phase difference caused by adjusting the pre-delay signal is attenuated to weaken the influence on the full digital phase-locked loop. The present invention belongs to the technical field of full digital phase-locked loops and can reduce the output jitter of the phase-locked loop caused by eliminating burrs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of full digital phase locked loop, and in particular relates to a method and a device for weakening a phase response generated by eliminating burrs. Background Art

[0002] In a fully digital phase-locked loop, the snapshot circuit can effectively save power consumption and is therefore widely used. Figure 1 The figure shows a schematic diagram of the circuit structure of a delay-to-digital converter using a snapshot circuit. When the snapshot circuit uses a high-speed clock to sample a reference clock, it is easy to generate glitches due to process, voltage, and temperature (PVT) fluctuations. In the design of a delay-to-digital converter (TDC) using a snapshot circuit, if glitches occur, the input phase difference of the delay-to-digital converter will jump out of the phase detection range of the delay-to-digital converter, so that the delay-to-digital converter outputs a full-scale phase difference. After the wrong phase difference is injected into the locked loop, the loop performance will be deteriorated, and the impact of the glitches cannot be avoided by initial correction.

[0003] like Figure 2 The figure shows the principle diagram of the snapshot circuit generating glitches. When the rising edge of the reference clock signal and the falling edge of the oscillator clock signal are too close, the sampling clock signal will generate a narrow pulse glitch. The delayed reference clock signal logic cannot recognize the narrow sampling clock signal, and the rising edge of the delayed reference clock signal will slide to the next edge.

[0004] In the process of dealing with glitches, one possible method is to update the delay of a certain path of the TDC input and avoid glitches by adjusting the input phase of the delay-to-digital converter circuit. However, the above method has certain disadvantages, specifically: when adjusting the input phase, it is inevitable to inject additional phase difference into the loop. If it is not processed, the additional phase difference will cause the phase-locked loop to produce a proportional phase response, and this part of the phase response is reflected in the phase-locked loop output signal as jitter. Summary of the invention

[0005] The purpose of the present invention is to overcome the defects of the prior art and provide a method and device for weakening the phase response caused by eliminating burrs. By introducing a burr detection device, the burr phenomenon is detected when a burr occurs; after the burr phenomenon is detected, the phase difference caused by adjusting the pre-delay signal is attenuated to weaken the impact on the full digital phase-locked loop.

[0006] The object of the present invention is achieved through the following technical solutions:

[0007] A method for weakening a phase response generated by eliminating burrs, wherein the phase-locked loop circuit includes a delay-to-digital converter circuit, the delay-to-digital converter circuit includes an adjustable pre-delay circuit, a snapshot circuit and a delay-to-digital converter, the output ends of the adjustable pre-delay circuit and the snapshot circuit are connected to the input end of the delay-to-digital converter, the phase response is generated when: a pre-delay signal generated by the adjustable pre-delay circuit is adjusted to eliminate the burrs of the delay-to-digital converter circuit, the method includes:

[0008] When the pre-delayed signal changes, the phase difference of the signal outputted by the delay-to-digital converter circuit to the phase-locked loop is attenuated to a preset range and then inputted into the phase-locked loop;

[0009] The phase difference is generated by adjusting the pre-delay signal.

[0010] Furthermore, the step of attenuating the phase difference of the signal outputted by the delay-to-digital converter circuit to the phase-locked loop due to adjusting the pre-delayed signal to a preset range specifically includes:

[0011] The phase difference is attenuated to a preset range in an iterative manner.

[0012] Furthermore, the attenuating the phase difference to a preset range in an iterative manner specifically includes:

[0013] The update coefficient K is set, K is 2 to the power of N, N is a preset natural number, the phase difference input to the phase-locked loop is iterated together with the value of the update coefficient K, and at each iteration, the value of the update coefficient K is reduced by half until it stops when K=1, and the phase difference input to the phase-locked loop is divided by the current update coefficient K at each iteration of the update coefficient K to obtain a new phase difference.

[0014] Furthermore, the value of the update coefficient K is 8.

[0015] On the other hand, the present invention also provides a device for weakening the phase response caused by eliminating burrs, the device is used to eliminate the phase response generated by the burrs of the snapshot delay-to-digital converter circuit by adjusting the pre-delay signal generated by the adjustable pre-delay circuit, the snapshot delay-to-digital converter circuit includes an adjustable pre-delay circuit, a snapshot circuit and a delay-to-digital converter circuit, the output ends of the adjustable pre-delay circuit and the snapshot circuit are connected to the input end of the delay-to-digital converter circuit, and the device includes:

[0016] A delay update weakening module, when the pre-delay signal changes, the delay update weakening module attenuates the phase difference of the signal output by the delay-to-digital converter circuit to the phase-locked loop due to adjusting the pre-delay signal to a preset range before inputting it into the phase-locked loop.

[0017] Furthermore, the step of attenuating the phase difference of the signal outputted by the delay-to-digital converter circuit to the phase-locked loop due to adjusting the pre-delayed signal to a preset range specifically includes:

[0018] The phase difference is attenuated to a preset range in an iterative manner.

[0019] Furthermore, the attenuating the phase difference to a preset range in an iterative manner specifically includes:

[0020] The update coefficient K is set, K is 2 to the power of N, N is a preset natural number, the phase difference input to the phase-locked loop is iterated together with the value of the update coefficient K, and the value of the update coefficient K is reduced by half at each iteration until K=1, and the phase difference input to the phase-locked loop is divided by the current update coefficient K at each iteration of the update coefficient K to obtain a new phase difference.

[0021] Furthermore, the value of the update coefficient K is 8.

[0022] The beneficial effects of the present invention are:

[0023] In the subsequent cycles when the loop adjusts the delay of the delay-to-digital converter path to avoid glitches, the phase difference is slowly corrected so that a large phase difference injected into the loop is converted into multiple small phase differences, thereby reducing the response phase difference of the phase-locked loop and further reducing the output jitter of the phase-locked loop. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 It is a schematic diagram of the circuit structure of a delay-to-digital converter using a snapshot circuit;

[0025] Figure 2 It is a schematic diagram of the principle of generating burrs by the snapshot circuit;

[0026] Figure 3 2 is a schematic diagram of the circuit structure of an improved delay-to-digital converter according to an embodiment of the present invention;

[0027] Figure 4 is a schematic diagram of the burr generation principle of an embodiment of the present invention;

[0028] Figure 5 1 is a schematic diagram of the principle of a burr detection device according to an embodiment of the present invention;

[0029] Figure 6 is a circuit diagram of a delayed update device according to an embodiment of the present invention;

[0030] Figure 7 It is a schematic diagram of the principle of phase response caused by adjusting the pre-delay according to an embodiment of the present invention;

[0031] Figure 8 is a flowchart of a method for weakening a phase response caused by eliminating burrs according to an embodiment of the present invention;

[0032] Fig. 9 is a phase response impact curve diagram caused by not adjusting the phase difference in an embodiment of the present invention;

[0033] Fig.10 It is a phase response influence curve diagram caused by the phase difference after weakening processing in an embodiment of the present invention. DETAILED DESCRIPTION

[0034] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.

[0035] Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in the field without making any creative work shall fall within the scope of protection of the present invention.

[0036] In the process of dealing with glitches, one possible method is to update the delay of a certain path of the delay-to-digital converter input and avoid glitches by adjusting the input phase of the delay-to-digital converter circuit. However, the above method has certain disadvantages, specifically: when adjusting the input phase, it is inevitable to inject additional phase difference into the loop. If it is not processed, the additional phase difference will cause the phase-locked loop to produce a proportional phase response, and this part of the phase response is reflected in the output signal of the phase-locked loop as jitter.

[0037] In order to solve the above technical problems, the present invention proposes a method and device for weakening the phase response caused by eliminating burrs in the following embodiments.

[0038] This embodiment provides a solution based on delay-to-digital converter glitch detection and updating adjustable delay to avoid delay-to-digital converter input glitch, referring to Figure 3 ,like Figure 3 FIG. 1 is a schematic diagram of the structure of the improved delay-to-digital converter circuit of the present embodiment. The circuit adds burr detection to the delay-to-digital converter circuit based on the existing delay-to-digital converter circuit using a snapshot circuit. The specific detection process is as follows:

[0039] Step ①: The delay update circuit initially controls the adjustable delay initial state and the loop starts working.

[0040] Step ②: After the phase-locked loop is locked, when the phase edges of the reference clock signal of the snapshot circuit and the oscillator clock signal are too close, glitches are generated.

[0041] Step ③: The phase difference between the delayed reference clock signal and the snapshot clock signal will cause the delay-to-digital converter to exceed the normal range due to the glitch, and will be detected by the glitch detection device at the same time.

[0042] As an implementation method, the burr detection scheme in this embodiment is specifically as follows:

[0043] An additional delay detection unit is added after the original delay-to-digital converter sampling range. The delay detection unit expands the working range of the delay-to-digital converter and ensures that the snapshot clock signal can be completely detected by the glitch detection interval after entering the working range.

[0044] The resolution of the glitch detection interval only needs to ensure that possible snapshot clock signal changes are covered.

[0045] Step ④: After the glitch is detected by the glitch detection device, the glitch is input into the delay update circuit, and the delay update circuit updates the adjustable delay control signal according to the configured update threshold and the designed algorithm.

[0046] Step ⑤: The delay of the pre-delay circuit is updated, that is, the pre-delay T2 is updated. The loop will lock the loop based on the new pre-delay T2 value, and re-lock the phase of the delayed reference clock signal and the snapshot clock signal to the set value.

[0047] Step ⑥: The new pre-delay T2 value obtains the new uncertain delay T3 phase difference, avoiding glitches.

[0048] Reference Figure 4 ,like Figure 4The figure shows the schematic diagram of the principle of burr generation in this embodiment. The rising edge of the reference clock signal and the oscillator clock signal will generate a delayed reference clock signal and a snapshot clock signal respectively; the delayed reference clock signal and the snapshot clock signal will be sent to the input of the delay-to-digital converter; the digital phase-locked loop will keep the phase of the delayed reference clock signal and the snapshot clock signal fixed after locking, and the burr generation is essentially caused by the unreasonable phase of the uncertainty delay T3. In this embodiment, the loop of the delayed reference clock signal and the snapshot clock signal sets a fixed phase difference = 0, then the snapshot internal delay T1 = uncertainty delay T3 + pre-delay T2, so the uncertainty delay T3 = snapshot internal delay T1-pre-delay T2, therefore, the updated pre-delay T2 passes through the loop, and the uncertainty delay T3 is also updated. That is, if a burr occurs, the delay of the uncertainty delay T3 is unreasonable. If the value of the pre-delay T2 is modified at this time, the delay of the uncertainty delay T3 can be adjusted through the loop.

[0049] Reference Figure 5 ,like Figure 5 The figure is a schematic diagram of the principle of the burr detection device of this embodiment. When a burr occurs, the phase relationship between the reference clock signal and the oscillator clock signal detected by the delay-to-digital converter will increase significantly. During normal operation, the phase difference between the reference clock signal and the oscillator clock signal is relatively small, and the interval corresponding to the output phase of the delay-to-digital converter is the normal detection interval of the delay-to-digital converter; when a burr occurs, the oscillator clock signal will increase a significant delay relative to the reference clock signal, which will cause the burr detection interval to detect an abnormal output value. Therefore, it is only necessary to add a delay detection unit that can completely cover the phase change of the reference clock signal and the oscillator clock signal after the original normal detection interval of the delay-to-digital converter as the burr detection interval to detect the burr phenomenon occurring in the loop.

[0050] Reference Figure 6 ,like Figure 6 The figure shows a circuit diagram of the delay update device of the present embodiment, in which the switch controls different numbers of switch closures to change the equivalent resistance value, thereby adjusting the equivalent capacitance value differently, thereby obtaining different RC delay numbers (the signal delay caused by the charging and discharging process of the capacitor C controlled by the resistor R in the integrated circuit), and updating the delay setting.

[0051] The above method will cause the phase response of the delay-to-digital converter output while adjusting the pre-delay, and this phase response will cause jitter in the phase-locked loop output signal. Figure 5 ,like Figure 5 The figure is a schematic diagram showing the principle of phase response caused by adjusting the pre-delay in this embodiment.

[0052] This embodiment provides a method for weakening the influence caused by the phase response. Figure 7 ,like Figure 7 The flowchart is a method flow chart of weakening the phase response caused by eliminating burrs in this embodiment.

[0053] Specifically, in order to reduce the influence, it is necessary to reduce the phase difference of the signal input from the delay-to-digital converter circuit to the phase-locked loop. In this embodiment, the phase difference output by the delay-to-digital converter is processed by a phase difference influence reducing device.

[0054] The working principle of the phase difference effect reduction device in this embodiment is as follows:

[0055] When the pre-delay signal changes, the signal outputted from the delay-to-digital converter circuit to the phase-locked loop is attenuated to a preset range due to the phase difference generated by adjusting the pre-delay signal and then input into the phase-locked loop.

[0056] Since it is difficult to directly reduce the phase difference to a required range, this embodiment attenuates the phase difference to a preset range in an iterative manner.

[0057] This embodiment proposes a specific iteration method, referring to Figure 8 ,like Figure 8 The flowchart is a method flow chart of weakening the phase response caused by eliminating burrs in this embodiment.

[0058] The specific process of this method is as follows:

[0059] Step ①: After the loop is locked, when a glitch is detected, it is determined that the entire circuit needs to update the pre-delay T2.

[0060] Step ②: First set the coefficient K to 8 before updating the pre-delay T2.

[0061] It should be noted that the value of K can be set to 2 to the power of N. The larger the K, the smaller the impact of the processed input phase-locked loop. However, considering that the processing cycle is longer when the K value is too large, when the K value is 8, the jitter of the phase-locked loop output signal can be weakened well without increasing the processing cycle too much.

[0062] Step 3: An additional phase difference Te1 is detected in the current delay-to-digital converter circuit. This phase difference is the cause of the jitter of the phase-locked loop output signal. First, the phase difference Te1 input to the loop is reduced by 8 times, and then K is reduced by half, at this time K changes from 8 to 4.

[0063] Step ④: In the next cycle, the delay-to-digital converter circuit detects the phase difference Te2, and at this time the phase difference Te2 input to the loop is reduced by 4 times, and then K is reduced by half, and at this time K changes from 4 to 2.

[0064] Step ⑤: In the next cycle, the delay-to-digital converter circuit detects the phase difference Te3, and at this time reduces the phase difference Te3 input to the loop by 2 times, and then reduces K by half, and at this time K changes from 2 to 1.

[0065] Step ⑥: When K=1, the iteration ends, K and Te no longer change, and Te=Te3. Input Te3 into the loop.

[0066] Reference Fig. 9 ,like Fig. 9 The figure shows the phase response curve caused by not adjusting the phase difference. This figure shows the typical phase response after directly introducing Te into the loop. When the control parameters are constant, the envelope of the response and the size of the up and down process are basically proportional to Te.

[0067] Reference Fig.10 ,like Fig.10 The figure shows the phase response impact curve caused by the phase difference after the weakening process. It can be seen from the figure that after the weakening process device is introduced, the original large step change becomes the sum of several small step changes, and the phase difference of the input loop will also become a fraction of the original. In this way, when the C2C jitter test of the loop is introduced, the jitter amplitude seen is almost a fraction of the original jitter amplitude.

[0068] In the subsequent cycles of the loop adjusting the delay-to-digital converter path delay to avoid glitches, this embodiment slowly corrects the phase difference so that a large phase difference injected into the loop is converted into multiple small phase differences, thereby reducing the response phase difference of the phase-locked loop and further reducing the output jitter of the phase-locked loop.

[0069] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for weakening the phase response caused by eliminating burrs, characterized in that: The method is applied to a phase-locked loop circuit, the phase-locked loop circuit includes a delay-to-digital converter circuit, the delay-to-digital converter circuit includes an adjustable pre-delay circuit, a snapshot circuit and a delay-to-digital converter, the output ends of the adjustable pre-delay circuit and the snapshot circuit are connected to the input end of the delay-to-digital converter, the phase response is generated when: a pre-delay signal generated by the adjustable pre-delay circuit is adjusted to eliminate the burrs of the delay-to-digital converter circuit, the method includes: When the pre-delayed signal changes, the phase difference of the signal outputted by the delay-to-digital converter circuit to the phase-locked loop is attenuated to a preset range and then inputted into the phase-locked loop; The phase difference is generated by adjusting the pre-delay signal.

2. The method for weakening the phase response caused by eliminating burrs according to claim 1, characterized in that: The step of attenuating the phase difference of the signal outputted by the delay-to-digital converter circuit to the phase-locked loop due to adjusting the pre-delayed signal to a preset range specifically includes: The phase difference is attenuated to a preset range in an iterative manner.

3. The method for weakening the phase response caused by eliminating burrs as claimed in claim 2, characterized in that: The attenuating the phase difference to a preset range in an iterative manner specifically includes: The update coefficient K is set, K is 2 to the power of N, N is a preset natural number, the phase difference input to the phase-locked loop is iterated together with the value of the update coefficient K, and at each iteration, the value of the update coefficient K is reduced by half until it stops when K=1, and the phase difference input to the phase-locked loop is divided by the current update coefficient K at each iteration of the update coefficient K to obtain a new phase difference.

4. The method for weakening the phase response caused by eliminating burrs as claimed in claim 3, characterized in that: The value of the update coefficient K is 8.

5. A device for weakening the phase response caused by eliminating burrs, characterized in that: The device is applied to a phase-locked loop circuit, the phase-locked loop circuit includes a delay-to-digital converter circuit, the delay-to-digital converter circuit includes an adjustable pre-delay circuit, a snapshot circuit and a delay-to-digital converter, the output ends of the adjustable pre-delay circuit and the snapshot circuit are connected to the input end of the delay-to-digital converter, the phase response is generated when: the pre-delay signal generated by the adjustable pre-delay circuit is adjusted to eliminate the burrs of the delay-to-digital converter circuit, the device includes: A delay update weakening module, wherein when the pre-delay signal changes, the delay update weakening module attenuates the phase difference of the signal output by the delay-to-digital converter circuit to the phase-locked loop to a preset range and then inputs the signal to the phase-locked loop; The phase difference is generated by adjusting the pre-delay signal.

6. The device for weakening the phase response caused by eliminating burrs as claimed in claim 5, characterized in that: The step of attenuating the phase difference of the signal outputted by the delay-to-digital converter circuit to the phase-locked loop due to adjusting the pre-delayed signal to a preset range specifically includes: The phase difference is attenuated to a preset range in an iterative manner.

7. The device for weakening the phase response caused by eliminating burrs as claimed in claim 6, characterized in that: The attenuating the phase difference to a preset range in an iterative manner specifically includes: The update coefficient K is set, K is 2 to the power of N, N is a preset natural number, the phase difference input to the phase-locked loop is iterated together with the value of the update coefficient K, and at each iteration, the value of the update coefficient K is reduced by half until it stops when K=1, and the phase difference input to the phase-locked loop is divided by the current update coefficient K at each iteration of the update coefficient K to obtain a new phase difference.

8. The device for weakening the phase response caused by eliminating burrs as claimed in claim 7, characterized in that: The value of the update coefficient K is 8.