A fast relock system and method for an all-digital phase-locked loop

By using a dynamic disturbance assessment and state switching module, combined with a tuning word prediction module, the locking threshold is dynamically adjusted to enable ADPLL to quickly relock after losing lock, solving the problem of excessively long relocking time and improving the response speed and stability of ADPLL.

CN120956264BActive Publication Date: 2026-03-17SHENZHEN GIANT MICROELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-10-17
Publication Date
2026-03-17

AI Technical Summary

Technical Problem

The existing ADPLL requires a complete locking process after a lock loss, resulting in excessively long relocking times. It also lacks a perturbation classification mechanism and does not fully utilize linear relationships, making it impossible to relock quickly.

Method used

The system employs a dynamic disturbance assessment module, a state switching module, and a tuning word prediction module. It assesses the disturbance type based on frequency and phase errors, switches to the corresponding locking state, and calculates and predicts the initial tuning word using historical tuning words and error data. It also dynamically adjusts the locking judgment threshold to accelerate the locking process.

Benefits of technology

It achieves rapid relocking after ADPLL loss, reduces locking time, and improves response speed and stability. In particular, it shortens locking time by approximately 4.7%, 23.4%, and 50.9% under coarse frequency perturbation, fine frequency perturbation, and phase perturbation, respectively.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120956264B_ABST
    Figure CN120956264B_ABST
Patent Text Reader

Abstract

The application discloses a kind of fast relocking system and method of all-digital phase-locked loop, comprising: dynamic disturbance evaluation module, for determining disturbance type;State switching module, including lock state storage unit, for after detecting loss of lock, according to the initial relocking state of phase-locked loop is switched to corresponding lock state;Tuning word prediction module, including linear relationship calculation unit, for mapping current error as predicted initial tuning word based on the slope factor generated by historical tuning word and error data in target state phase;By reducing current lock judgment threshold, accelerate locking process;Cooperative control module, including data bus interface, for synchronizing the operation timing of dynamic disturbance evaluation module, state switching module and tuning word prediction module, and write predicted initial tuning word into corresponding oscillator tuning word generation module.The application only needs to correct relatively small frequency error or phase error, to realize the fast relocking of entire ADPLL.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of all-digital phase-locked loop (ADPLL) technology, and particularly relates to an all-digital phase-locked loop fast relocking control system and method with disturbance classification capability. Background Technology

[0002] When operating normally, an ADPLL maintains frequency and phase synchronization between its output clock and the reference clock, i.e., it is in a locked state. However, due to various disturbances (such as reference clock anomalies, power supply noise, temperature changes, etc.), the ADPLL may lose lock. In this case, the ADPLL re-enters the lock-in process, adjusting its output frequency and phase. This involves processes such as coarse frequency locking, frequency locking, and phase locking to regain synchronization with the reference clock.

[0003] Existing ADPLL locking technology features fast locking of fully digital phase-locked loops with extended tracking range. During phase locking, it reduces the phase locking time of the phase-locked loop through multiple consecutive cascaded steps, such as initial frequency adjustment, coarse frequency adjustment, clock edge alignment, and phase locking. If the lock is lost, the above process must be repeated. The phase-locked loop cannot start working from the middle of the process. Furthermore, it lacks a fast relocking mechanism when the lock is lost due to various disturbances.

[0004] The above background information is provided only to aid in understanding the concept and technical solution of this invention. It does not necessarily belong to the prior art of this patent application. In the absence of clear evidence that the above information was disclosed on the filing date of this patent application, the above background information should not be used to evaluate the novelty and inventiveness of this application. Summary of the Invention

[0005] This invention proposes a fast relocking system and method for a fully digital phase-locked loop (PLL), which solves the problem of excessively long relocking time after a loss of lock in an ADPLL, and improves the response speed and stability of the PLL.

[0006] To achieve the above objectives, the present invention adopts the following technical solution:

[0007] A fast relocking system for a fully digital phase-locked loop (PLL) includes: a dynamic disturbance assessment module, including a frequency error and phase error acquisition unit, used to determine the disturbance type as a coarse frequency disturbance, a fine frequency disturbance, or a phase disturbance based on the amplitude of the current frequency error and phase error; a state switching module, including a locked state storage unit, used to switch the initial relocking state of the PLL to the corresponding locked state among automatic frequency control state, frequency locked state, or phase locked state according to the disturbance type after a loss of lock is detected; a tuning word prediction module, including a linear relationship calculation unit, used to map the current error to a predicted initial tuning word based on a slope factor generated from historical tuning words and error data within the target state stage; the tuning word prediction module further includes a threshold dynamic adjustment unit, which accelerates the locking process by reducing the current locking judgment threshold when the predicted initial tuning word is in the vicinity of the target state tuning word range; and a cooperative control module, including a data bus interface, used to synchronize the operation timing of the dynamic disturbance assessment module, the state switching module, and the tuning word prediction module, and write the predicted initial tuning word into the corresponding oscillator tuning word generation module.

[0008] In some embodiments, the following technical features are also included:

[0009] The dynamic disturbance assessment module includes a disturbance assessment component integrated in a digital comparator, which implements the frequency error threshold comparison function through hardware logic circuits; the threshold dynamic adjustment unit includes a threshold dynamic configuration component connected to the lock judgment module, which has a programmable gain parameter interface.

[0010] In some embodiments, the following technical features are also included:

[0011] The locked state also includes the initial frequency adjustment state, coarse frequency adjustment state, or clock edge alignment state described in the background art. The system further includes a state memory component that stores the tuning word, frequency error, and phase error datasets for each locked stage.

[0012] The linear operation component, including a multiplier accumulator and a shift register, performs calculations of the product of the slope factor and the real-time frequency error or phase error.

[0013] In some embodiments, the following technical features are also included:

[0014] In the disturbance classification logic of the dynamic disturbance assessment module, the judgment condition for coarse frequency disturbances is FE. n > FE afc The criterion for determining fine frequency perturbations is FE. afc ≥ FE n > FE fl The condition for determining phase perturbation is FE. n ≤ FE fl , of which FEn For the frequency error under the current disturbance, FE afc For the frequency lock-in error threshold during the automatic frequency control phase, FE fl This is the frequency locking error threshold during the frequency locking phase.

[0015] In some embodiments, the following technical features are also included:

[0016] The slope factor is calculated as K = (OTW) n -OTW m ) / (E n -E m ), of which OTW n OTW m E represents the oscillator tuning word in the nth and mth control cycles within the target state phase, respectively. n E m This refers to the frequency error or phase error corresponding to the period.

[0017] In some embodiments, the following technical features are also included:

[0018] Piecewise linearization is used during the locking phase, and multiple approximate slope parameters are set for the phase error-tuning word relationship curve.

[0019] In some embodiments, the following technical features are also included:

[0020] In the threshold dynamic adjustment unit, the threshold adjustment formula is:

[0021] LOCK_TH_ADJ = LOCK_TH×[1-R×(OTW1-OTW adj ) / OTW1]

[0022] Where LOCK_TH_ADJ is the adjustment threshold, OTW1 is the tuning word threshold during the current locking phase, and OTW... adj To predict the initial tuning word, LOCK_TH is the lock-in threshold, and R is a dimensionless coefficient.

[0023] The present invention also adopts the following technical solutions:

[0024] A fast relocking method for an all-digital phase-locked loop includes the following steps:

[0025] Upon detecting a phase-locked loop (PLL) loss of lock, the current frequency error and phase error are collected. The disturbance type is determined based on the amplitude of the frequency and phase errors, including coarse frequency disturbance, fine frequency disturbance, or phase disturbance. Based on the disturbance type, the PLL's initial relocking state is switched to the corresponding locked state, including automatic frequency control, frequency locking, or phase locking. A slope factor is calculated based on historical tuning words and error data within the target locked state phase, and the current error is mapped to a predicted initial tuning word. When the predicted initial tuning word is within a neighboring range of the target state tuning word, the current locking threshold is dynamically reduced to accelerate the locking process. The predicted initial tuning word is written into the oscillator tuning word generation module, and the PLL is controlled to relock in the target locked state.

[0026] In some embodiments, the following technical features are also included:

[0027] The step of determining the disturbance type includes: if the current frequency error FE n The frequency error threshold FE locked during the automatic frequency control phase is greater than the threshold value. afc If the current frequency error FE is... n Satisfy FE afc ≥FE n >FE fl , of which FE fl If the frequency error threshold locked during the frequency locking phase is used, it is determined to be a minor frequency disturbance; if the current frequency error FE n Satisfy FE n ≤FE fl If so, it is determined to be a phase perturbation.

[0028] In some embodiments, the following technical features are also included:

[0029] The step of dynamically reducing the current locking threshold is calculated using the following formula.

[0030] LOCK_TH_ADJ = LOCK_TH×[1-R×(OTW1-OTW adj ) / OTW1]

[0031] Where LOCK_TH_ADJ is the adjusted lock judgment threshold, OTW1 is the tuning word threshold when the target is locked, and OTW... adj To predict the initial tuning word, LOCK_TH is the original lock judgment threshold, and R is a dimensionless coefficient.

[0032] Compared with the prior art, the beneficial effects of the present invention are as follows:

[0033] This technical solution can assess the magnitude of the disturbance when the ADPLL loses lock and switch the ADPLL to re-lock the initial working state based on the disturbance type. This initial state is a certain state in the locking process. By using the oscillator tuning words of each state that have been saved, a suitable oscillator tuning word under the current disturbance is calculated. Based on this oscillator tuning word, the initial oscillator tuning word for a certain state is used. Since this oscillator tuning word is an intermediate value in the locking process, only a relatively small frequency error or phase error needs to be corrected to achieve locking in the corresponding state, reducing the locking time in that state. At the same time, if the initial oscillator tuning word is close to the oscillator tuning word at the end of the state, a new locking threshold is calculated (reducing the original locking threshold), reducing the number of iterations, further accelerating the locking judgment in that state, and realizing fast relocking of the entire ADPLL. Attached Figure Description

[0034] Figure 1 This is an overall framework diagram of the fast relocking control system according to an embodiment of the present invention;

[0035] Figure 2 This is a flowchart illustrating the rapid relocking process in an embodiment of the present invention.

[0036] Figure 3 This is a flowchart illustrating the logical judgment process for disturbance classification in an embodiment of the present invention. Detailed Implementation

[0037] The embodiments of the present invention will be described in detail below. It should be emphasized that the following description is merely exemplary and not intended to limit the scope and application of the present invention.

[0038] It should be noted that when a component is said to be "connected to" another component, it can be directly connected to the other component or indirectly connected to it. Furthermore, a connection can be used for both fixing purposes and for circuit / signal connectivity.

[0039] Furthermore, in the description of the embodiments of the present invention, "a plurality of" means two or more, unless otherwise explicitly specified.

[0040] In existing technologies, after an ADPLL loses lock, it needs to undergo a complete relocking process (including automatic frequency control state, frequency locking state, phase locking state, etc.), resulting in a long relocking time. Analysis reveals the main technical problems include:

[0041] Lack of disturbance classification mechanism: unable to adaptively select the optimal relocking starting point based on the cause of lock loss;

[0042] Fixed locking threshold limitation: Threshold optimization is not performed for tuning words that are nearing a locking state;

[0043] Linearity not fully utilized: The linear relationship between historical tuning words and error data was not used to predict the initial tuning word.

[0044] To address the time redundancy caused by the inability of traditional relocking processes to skip completed stages, the following embodiments of the present invention propose a fast relocking system for an all-digital phase-locked loop, comprising:

[0045] The dynamic disturbance assessment module includes frequency error and phase error acquisition units, which are used to determine the disturbance type as coarse frequency disturbance, fine frequency disturbance, or phase disturbance based on the amplitude of the current frequency error and phase error.

[0046] The state switching module includes a locked state storage unit, which is used to switch the initial relocking state of the phase-locked loop to the corresponding locked state among automatic frequency control state, frequency locking state or phase locking state according to the disturbance type after a loss of lock is detected.

[0047] The tuning word prediction module includes a linear relationship calculation unit, which is used to map the current error to the predicted initial tuning word based on the slope factor generated by the historical tuning words and error data within the target state stage; the tuning word prediction module further includes a threshold dynamic adjustment unit, which accelerates the locking process by reducing the current locking judgment threshold when the predicted initial tuning word is in the adjacent interval of the target state tuning word range.

[0048] The collaborative control module includes a data bus interface for synchronizing the operation timing of the dynamic disturbance evaluation module, the state switching module, and the tuning word prediction module, and for writing the predicted initial tuning word into the corresponding oscillator tuning word generation module.

[0049] The following embodiments of the present invention also propose a fast relocking method for an all-digital phase-locked loop, comprising the following steps:

[0050] After detecting a phase-locked loop loss, the current frequency error and phase error are collected;

[0051] The disturbance type is determined based on the magnitude of the frequency error and phase error, and the disturbance type includes coarse frequency disturbance, fine frequency disturbance, or phase disturbance;

[0052] According to the type of disturbance, the initial relocking state of the phase-locked loop is switched to the corresponding locking state, which includes at least an automatic frequency control state, a frequency locking state, or a phase locking state;

[0053] Based on the historical tuning words and error data during the target locking state phase, the slope factor is calculated, and the current error is mapped to the predicted initial tuning word.

[0054] When the predicted initial tuning word is in the adjacent range of the target state tuning word, the current locking judgment threshold is dynamically reduced to accelerate the locking process;

[0055] The predicted initial tuning word is written into the oscillator tuning word generation module, and the phase-locked loop is controlled to relock under the target locked state.

[0056] Specific examples are as follows:

[0057] Example

[0058] like Figure 1 As shown, this embodiment includes modules such as Automatic Frequency Control (AFC), Frequency Locking (FL), Digital Loop Filter (DLF), Digital Controlled Oscillator (DCO), Time-to-Digital Converter (TDC), State Machine (FSM), and Lock Determination (LOCK_DET) found in conventional ADPLL circuits. It also includes a fast relocking system that supports rapid re-locking after lock loss, specifically implemented as a fast relocking module (FAST_RELOCK) in this embodiment. This module integrates functional sub-modules, including:

[0059] Dynamic Disturbance Assessment Module: In this embodiment, a dynamic disturbance assessment module (also referred to as the disturbance assessment module) is used to collect the amplitude of the current frequency error and phase error and determine the disturbance type. The frequency error and phase error acquisition unit in the dynamic disturbance assessment module monitors the error signal from the lock-on judgment module in real time.

[0060] State switching module: In this embodiment, its function is integrated into the state machine, and it performs state switching according to the instructions of the fast relock module. The state switching module includes a lock state storage unit, which is used to store historical data of each lock state (such as tuning words, errors, etc.).

[0061] The tuning word prediction module includes a linear relationship calculation unit and a threshold dynamic adjustment unit. The linear relationship calculation unit calls historical data from the locked state storage unit to calculate the slope factor (K); the threshold dynamic adjustment unit is used to perform dynamic adjustment of the locked threshold.

[0062] Cooperative control module: In this embodiment, it is implemented by the fast relock control module, which contains a data bus interface for synchronizing the operation timing of the above sub-modules and writing the predicted initial tuning word to the oscillator tuning word generation module (such as automatic frequency control, frequency locking, digital loop filtering module).

[0063] The main data relationships between modules are as follows:

[0064] 1. Automatic frequency control, frequency locking, and digital loop filtering modules transmit the corresponding oscillator tuning word OTW. afc OTW fl and OTW pl Provide a digitally controlled oscillator;

[0065] 2. Automatic frequency control, frequency locking, and digital loop filtering modules respectively transmit the corresponding frequency error FE. afc Frequency error FE fl and phase error PE pl Provide a lock detection module;

[0066] 3. The locking judgment module outputs a control signal to the state machine to switch states based on the locking threshold.

[0067] 4. The locking judgment module transmits the frequency error and phase error to the fast relocking module;

[0068] 5. The state machine transmits the real-time status to the fast relock module, and the relock module transmits the state switching signal to the state machine for state switching.

[0069] 6. The fast relock module calculates the oscillator tuning word (predicted initial tuning word OTW). adj The signal is transmitted to the automatic frequency control, frequency locking, and digital loop filtering modules.

[0070] 7. The fast relock control module is used to control the data interaction between sub-modules within the fast relock module and between the fast relock module and other modules. Specifically, it synchronizes the operation timing of the dynamic disturbance evaluation module, the state switching module, and the tuning word prediction module, and writes the predicted initial tuning word.

[0071] like Figure 2 As shown, the operation of this circuit mainly includes the initial state (IDLE), automatic frequency control state (S_AFC), frequency lock state (S_FL), phase lock state (S_PL), PLL lock state (S_PLL_RDY), and PLL unlock state (S_LOSE_LOCK).

[0072] like Figure 3 As shown, during the ADPLL locking process, the oscillator tuning word OTW, frequency error FE, phase error PE, and other information for each state during the locking process are stored in the locked state storage unit. Within each stage of the locking process, the target frequency and the oscillator tuning word have a linear relationship. The slope factor K of the frequency error, phase error, and oscillator tuning word at each stage can be calculated, where K... fe K is the frequency error slope factor. pe This represents the phase error slope factor. The slope factor K can be calculated based on any two historical data points within the target state stage. For example, using the start and end points of this stage: K fe = (OTW Start - OTW End ) / (FE Start- FE End ), of which OTW Start FE Start The value at the start of the phase, OTW End FE End The value represents the value when the phase locking is completed.

[0073] K fe = (OTW0 - OTW1) / (FE0 - FE1)

[0074] K pe = (OTW0 - OTW1) / (PE0 - PE1)

[0075] FE0, PE0, and OTW0 represent the frequency error, phase error, and oscillator tuning word when entering the current stage, respectively. FE1, PE1, and OTW1 represent the frequency error, phase error, and oscillator tuning word when leaving the current stage after locking in the current stage, respectively.

[0076] When an ADPLL lockout is detected, the disturbance assessment module classifies the disturbance based on frequency error into three categories: coarse frequency disturbance, fine frequency disturbance, and phase disturbance.

[0077] a. Coarse frequency perturbation: FE n > FE afc;

[0078] b. Fine frequency perturbation: FE afc ≥FE n > FE fl;

[0079] c. Phase perturbation: FE n ≤FE fl .

[0080] Where FE n For the frequency error under the current disturbance, FE afc For the frequency error after coarse frequency locking in AFC state, FE fl This represents the frequency error after frequency locking in FL mode.

[0081] The above disturbances correspond to the conditions in one of the following states: automatic frequency control, frequency locking, and phase locking, respectively, when entering re-locked operation.

[0082] Based on the disturbance type, after the ADPLL loses lock, the state machine switches to one of the states in the locking process, and retrieves the K value from the tuning word prediction module in each state. fe and K pe And based on the current frequency error FE n or phase error PEn Calculate the oscillator tuning word OTW adj Specifically:

[0083] a. In automatic frequency control mode

[0084] K fe = (OTW afc0 - OTW afc1 ) / (FE) afc0 - FE afc1 )

[0085] OTW adj = K fe * FE n + B

[0086] Where B is the intercept (e.g., fitted using historical data via least squares).

[0087] b. In frequency-locked state

[0088] K fe = (OTW fl0 - OTW fl1 ) / (FE) fl0 - FE fl1 )

[0089] OTW adj = K fe * FE n + B

[0090] Where B is the intercept (e.g., fitted using historical data via least squares).

[0091] c. In phase-locked state

[0092] K pe = (OTW pl0 - OTW pl1 ) / (PE pl0 - PE pl1 )

[0093] OTW adj = K pe * PE n + B

[0094] Where B is the intercept (e.g., fitted using historical data via least squares).

[0095] Calculated OTW adjAs the initial oscillator tuning word in this state, subsequent oscillator tuning words are calculated based on this value. If this initial oscillator tuning word is close to the final oscillator tuning word OTW1 in the state, i.e., 0.9*OTW1≤OTW adj If ≤OTW1, then further adjust the locking threshold LOCK_TH_ADJ to

[0096] LOCK_TH_ADJ = LOCK_TH×[1-R×(OTW1-OTW adj ) / OTW1]

[0097] Where R is a dimensionless coefficient representing the adjustment intensity, which is a configurable parameter and is adjusted based on the debugging results.

[0098] This accelerates locking in the current state. Based on the linear relationship, the initial tuning word OTW is predicted. adj It can be achieved through the formula OTW adj = K fe *FE n + B or OTW adj = K pe * PE n The result is calculated using +B, where B is the intercept. In practical applications, due to good system linearity or to simplify calculations, B can be approximated as 0, i.e., OTW can be used. adj =K fe *FE n or OTW adj = K pe *PE n Perform a mapping. Those skilled in the art will understand that 'mapping' encompasses the complete linear relationship including the intercept.

[0099] In this embodiment, when entering AFC, FL, or PL states after losing lock under different degrees of disturbance, the locking time can be reduced by approximately 4.7%, 23.4%, and 50.9% respectively compared to the conventional complete relocking process.

[0100] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A fast relock system for an all-digital phase-locked loop, characterized by, The system comprises: a dynamic disturbance evaluation module comprising a frequency error and phase error acquisition unit, configured to determine a disturbance type as a frequency coarse disturbance, a frequency fine disturbance or a phase disturbance according to amplitudes of current frequency error and phase error; a state switching module comprising a lock state storage unit, configured to switch an initial relocking state of the phase-locked loop to a corresponding lock state among an automatic frequency control state, a frequency lock state or a phase lock state according to the disturbance type after detecting a loss of lock; a tuning word prediction module comprising a linear relationship calculation unit, configured to map current error to a predicted initial tuning word based on a slope factor generated based on historical tuning words and error data in a target lock state stage; the tuning word prediction module further comprises a threshold dynamic adjustment unit, configured to reduce a current lock judgment threshold to accelerate a lock-in process when the predicted initial tuning word is in a neighboring interval of a target state tuning word range; a cooperative control module comprising a data bus interface, configured to synchronize operation timing of the dynamic disturbance evaluation module, the state switching module and the tuning word prediction module, and write the predicted initial tuning word into a corresponding oscillator tuning word generation module.

2. The system of claim 1, wherein, The dynamic disturbance evaluation module comprises a disturbance evaluation component integrated in a digital comparator, and a frequency error threshold comparison function is realized by a hardware logic circuit; the threshold dynamic adjustment unit comprises a threshold dynamic configuration component connected to a lock judgment module and having a programmable gain parameter interface.

3. The system of claim 1, wherein, The lock state further comprises an initial frequency adjustment state, a coarse frequency adjustment state or a clock edge alignment state; the system further comprises: a state storage component configured to save tuning words, frequency error and phase error data sets in each lock stage; a linear operation component comprising a multiplication accumulator and a bit shift register, and configured to realize multiplication calculation of the slope factor and real-time frequency error or phase error.

4. The system of claim 1, wherein: In the disturbance classification logic of the dynamic disturbance evaluation module, the judgment condition of frequency coarse disturbance is FE n > FE afc , the judgment condition of frequency fine disturbance is FE afc ≥ FE n > FE fl , and the judgment condition of phase disturbance is FE n ≤ FE fl , wherein FE n is the frequency error under current disturbance, FE afc is the frequency error threshold value in the automatic frequency control stage, and FE fl is the frequency error threshold value in the frequency locking stage.

5. The system of claim 1, wherein: The slope factor is calculated as K = (OTW n - OTW m ) / (E n - E m ), where OTW n , OTW m represent the oscillator tuning word in the nth, mth control period in the target state phase, and E n , E m are the frequency error or phase error in the corresponding period.

6. The system of claim 4, wherein: In a lock stage, a segmented linearization process is adopted, and multiple segment approximation slope parameters of a phase error-tuning word relationship curve are set.

7. The system of claim 1, wherein: The threshold dynamic adjustment unit, wherein the threshold adjustment formula is LOCK_TH_ADJ = LOCK_TH × [1 - R × (OTW1 - OTW adj ) / OTW1], wherein LOCK_TH_ADJ is the adjusted threshold, OTW1 is the tuning word threshold at the current stage of locking, OTW adj is the predicted initial tuning word, LOCK_TH is the locking judgment threshold, and R is a dimensionless coefficient.

8. A fast relock method of an all-digital phase-locked loop, characterized by, The method comprises the following steps: after detecting a loss of lock of a phase-locked loop, acquiring current frequency error and phase error; determining a disturbance type according to amplitudes of the frequency error and the phase error, the disturbance type comprising a frequency coarse disturbance, a frequency fine disturbance or a phase disturbance; switching an initial relocking state of the phase-locked loop to a corresponding lock state according to the disturbance type, the lock state comprising at least an automatic frequency control state, a frequency lock state or a phase lock state; calculating a slope factor based on historical tuning words and error data in a target lock state stage, and mapping current error to a predicted initial tuning word; when the predicted initial tuning word is in a neighboring interval of a target state tuning word range, dynamically reducing a current lock judgment threshold to accelerate a lock-in process; writing the predicted initial tuning word into an oscillator tuning word generation module, and controlling the phase-locked loop to relock in the target lock state.

9. The method of claim 8, wherein, The step of determining the disturbance type comprises: If the current frequency error FE n is greater than the frequency error threshold FE afc for automatic frequency control phase locking, then a frequency coarse perturbation is determined. If the current frequency error FE n satisfies FE afc ≥ FE n > FE fl , wherein FE fl is a frequency error threshold for the frequency lock phase, then the frequency fine disturbance is determined. If the current frequency error FE n satisfies FE n ≤ FE fl , then it is determined that there is a phase disturbance.

10. The method of claim 8, wherein, The step of dynamically reducing the current lock-in decision threshold is calculated using the formula LOCK_TH_ADJ = LOCK_TH x [1 - R x (OTW1 - OTW adj ) / OTW1], where LOCK_TH_ADJ is the adjusted lock-in decision threshold, OTW1 is the current target lock-in state lock-in time tuning word threshold, OTW adj is the predicted initial tuning word, LOCK_TH is the original lock-in decision threshold, and R is a dimensionless coefficient.

Citation Information

Patent Citations

  • Phase-locked loop

    CN1200207A

  • Digital phase locked loop with optional routine or rapid lock capability

    CN1606239A