[go: up one dir, main page]

CN114900182A - Self-adaptive background calibration method for all-digital phase-locked loop bandwidth - Google Patents

Self-adaptive background calibration method for all-digital phase-locked loop bandwidth Download PDF

Info

Publication number
CN114900182A
CN114900182A CN202210425349.4A CN202210425349A CN114900182A CN 114900182 A CN114900182 A CN 114900182A CN 202210425349 A CN202210425349 A CN 202210425349A CN 114900182 A CN114900182 A CN 114900182A
Authority
CN
China
Prior art keywords
loop
phase
digital
frequency
dco
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210425349.4A
Other languages
Chinese (zh)
Other versions
CN114900182B (en
Inventor
唐路
许书凝
唐旭升
张有明
杨天畅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Southeast University
Original Assignee
Southeast University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Southeast University filed Critical Southeast University
Priority to CN202210425349.4A priority Critical patent/CN114900182B/en
Publication of CN114900182A publication Critical patent/CN114900182A/en
Application granted granted Critical
Publication of CN114900182B publication Critical patent/CN114900182B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/08Details of the phase-locked loop
    • H03L7/10Details of the phase-locked loop for assuring initial synchronisation or for broadening the capture range
    • H03L7/107Details of the phase-locked loop for assuring initial synchronisation or for broadening the capture range using a variable transfer function for the loop, e.g. low pass filter having a variable bandwidth
    • H03L7/1075Details of the phase-locked loop for assuring initial synchronisation or for broadening the capture range using a variable transfer function for the loop, e.g. low pass filter having a variable bandwidth by changing characteristics of the loop filter, e.g. changing the gain, changing the bandwidth
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/08Details of the phase-locked loop
    • H03L7/099Details of the phase-locked loop concerning mainly the controlled oscillator of the loop
    • H03L7/0991Details of the phase-locked loop concerning mainly the controlled oscillator of the loop the oscillator being a digital oscillator, e.g. composed of a fixed oscillator followed by a variable frequency divider
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)

Abstract

The invention discloses a self-adaptive background calibration method for the bandwidth of an all-digital phase-locked loop, which uses a two-tap LMS algorithm, adopts two calibration loops of the LMS algorithm to replace a single calibration loop of the LMS algorithm to estimate the loop bandwidth factor, and after the two calibration loops generate corresponding loop gain estimated values, the two calibration loops are added to obtain a final loop gain estimated value and are accessed into the loop through negation operation, thereby avoiding the problem that the bandwidth estimated result is influenced by non-ideal factors such as the delay of a loop frequency divider and the like and is inaccurate. In order to avoid the influence of the training sequence input from outside on the noise performance and power consumption of the loop, the invention uses the pseudo-random sequence output by the delta-sigma modulator in the loop to replace the training sequence input from outside.

Description

一种针对全数字锁相环带宽的自适应后台校准方法An adaptive background calibration method for all-digital phase-locked loop bandwidth

技术领域technical field

本发明涉及集成电路设计,特别是涉及一种针对全数字锁相环带宽的自适应后台校准方法。The invention relates to integrated circuit design, in particular to a self-adaptive background calibration method for the bandwidth of an all-digital phase-locked loop.

背景技术Background technique

全数字锁相环路己在很多领域中得到了极其广泛的应用,例如模拟和数字通信领域以及无线电电子学等领域,尤其是在数字通信中的调制解调和相位同步中通常用到各式各样的锁相环。全数字锁相环已显示出了面积小、功耗低、系统整合性好等对无线通信设备尤为重要的优点。使用LMS算法的带宽背景校准技术通过对全数字锁相环环路带宽可变因子的估计使得锁相环环路带宽对于环路中模拟参数的敏感度大大降低,从而防止由于工艺、电压、温度等非理想因素影响而导致的环路带宽变化,提高了环路性能。All-digital phase-locked loops have been widely used in many fields, such as analog and digital communications and radio electronics, especially in the modulation and demodulation and phase synchronization in digital communications. Various phase locked loops. All-digital phase-locked loops have shown the advantages of small area, low power consumption, and good system integration, which are particularly important to wireless communication equipment. Bandwidth Background Calibration Technique Using LMS Algorithm By estimating the variable factor of the all-digital phase-locked loop loop bandwidth, the sensitivity of the phase-locked loop loop bandwidth to the analog parameters in the loop is greatly reduced, thereby preventing due to process, voltage, temperature The change of loop bandwidth caused by the influence of non-ideal factors such as, improves the loop performance.

在现有技术当中,有的技术人员提出了一种补偿相位域数字锁相环中数控振荡器增益变化的数字带宽背景校准技术。这种技术依赖于从数控振荡器控制字和锁相环频率控制字中提取的数控振荡器增益的数学近似值,并且需要使用查找表来减轻近似误差。这种技术依赖于查找表,估算结果不够准确,使用起来也不便捷。此外,此技术只能对数控振荡器的增益进行估算,而没有对时间数字转换器的增益进行估算,因此,不能直接应用于基于时间数字转换器的锁相环。In the prior art, some technicians have proposed a digital bandwidth background calibration technique for compensating the gain variation of a numerically controlled oscillator in a phase-domain digital phase-locked loop. This technique relies on a mathematical approximation of the numerically controlled oscillator gain extracted from the numerically controlled oscillator control word and the phase-locked loop frequency control word, and requires the use of look-up tables to mitigate approximation errors. This technique relies on look-up tables, the estimation results are not accurate enough, and it is not convenient to use. In addition, this technique can only estimate the gain of the numerically controlled oscillator, but not the gain of the time-to-digital converter, so it cannot be directly applied to the phase-locked loop based on the time-to-digital converter.

在现有技术当中,还有的技术人员提出了一种将Bang-Bang PLL环路和从环路外部注入的随机信号相关联,用以估计环路的带宽,并调整环路滤波器系数使得环路带宽恒定的方法。这种方法使用的随机信号是由环路外部注入到环路中的。环路中随机信号的注入会向环路中引入额外的噪声,恶化环路的噪声性能,并增加环路的总输出噪声功率。此外,环路中的模拟延迟会导致环路增益的估计不准确。In the prior art, some technicians have proposed a method of correlating the Bang-Bang PLL loop with a random signal injected from outside the loop to estimate the bandwidth of the loop and adjust the loop filter coefficients so that method with constant loop bandwidth. The random signal used in this method is injected into the loop from outside the loop. The injection of random signals in the loop can introduce additional noise into the loop, degrade the noise performance of the loop, and increase the overall output noise power of the loop. Additionally, analog delays in the loop can lead to inaccurate estimates of loop gain.

专利“中国专利CN113037280A,2021.04.08”:提出了一种带宽校准方法。首先使得锁相环处于闭环状态,锁相环锁定之后得到压控振荡器输出的第一频率以及对应的输入控制电压。接着使得锁相环处于第一种模式,控制电荷泵的输出电流,使压控振荡器的输入电压为预设的第一输入电压,并根据预设时间内的压控振荡器输出的第二频率、第一分频器的分频值,得到第一周期。之后将锁相环调整到第二种模式,控制电荷泵,使压控振荡器的输入电压为预设的第二输入电压,并根据预设时间内的压控振荡器输出的第三频率、第一分频器的分频值,得到第二周期。最后根据第一周期、第二周期以及目标增益带宽得到控制比特值,根据该值对电荷泵进行配置使得锁相环的增益带宽保持恒定。但是,此方法步骤过于复杂,不便于实现。Patent "Chinese Patent CN113037280A, 2021.04.08": A bandwidth calibration method is proposed. Firstly, the phase-locked loop is in a closed-loop state, and after the phase-locked loop is locked, the first frequency output by the voltage-controlled oscillator and the corresponding input control voltage are obtained. Then make the phase-locked loop in the first mode, control the output current of the charge pump, make the input voltage of the voltage-controlled oscillator be the preset first input voltage, and according to the second output of the voltage-controlled oscillator within the preset time frequency, and the frequency division value of the first frequency divider to obtain the first period. Then adjust the phase-locked loop to the second mode, control the charge pump, make the input voltage of the voltage-controlled oscillator be the preset second input voltage, and according to the third frequency output of the voltage-controlled oscillator within the preset time, The division value of the first frequency divider to obtain the second period. Finally, the control bit value is obtained according to the first period, the second period and the target gain bandwidth, and the charge pump is configured according to the value to keep the gain bandwidth of the phase-locked loop constant. However, the steps of this method are too complicated to be implemented easily.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本发明的目的在于提供一种针对全数字锁相环带宽的自适应后台校准方法,该方法对全数字锁相环环路的环路带宽进行校准,相对于传统没有进行环路带宽校准的锁相环,环路对于模拟参数的敏感度大大降低,从而防止由于工艺、电压、温度等非理想因素影响而导致的环路带宽变化,大大提高了环路性能。In view of this, the purpose of the present invention is to provide an adaptive background calibration method for the bandwidth of the all-digital phase-locked loop, which calibrates the loop bandwidth of the all-digital phase-locked loop Bandwidth-calibrated phase-locked loop, the loop's sensitivity to analog parameters is greatly reduced, thus preventing loop bandwidth changes due to non-ideal factors such as process, voltage, temperature, etc., and greatly improving the loop performance.

为了实现上述目的,本发明采用如下技术方案:In order to achieve the above object, the present invention adopts the following technical solutions:

一种针对全数字锁相环带宽的自适应后台校准方法,所述的全数字锁相环包括:可变相位累加器VPA、参考相位累加器RPA、自动频率校准模块AFC、数控振荡器DCO、数字环路滤波器DLF、时间-数字转换器TDC、Δ-Σ调制器DSM以及减法器;An adaptive background calibration method for the bandwidth of an all-digital phase-locked loop, the all-digital phase-locked loop comprising: a variable phase accumulator VPA, a reference phase accumulator RPA, an automatic frequency calibration module AFC, a numerically controlled oscillator DCO, Digital loop filter DLF, time-to-digital converter TDC, delta-sigma modulator DSM and subtractor;

所述校准方法包括如下步骤:The calibration method includes the following steps:

首先,针对该全数字锁相环,确定其环路增益,表达式为:First, for the all-digital phase-locked loop, determine its loop gain, the expression is:

Figure BDA0003608278680000021
Figure BDA0003608278680000021

在该公式中,N为锁相环分频比,表示一个参考时钟周期内分频器累积了N个数控振荡器DCO输出信号周期,KT和KTDC分别为数控振荡器DCO和时间-数字转换器TDC的增益,α和β为环路滤波器参数;In this formula, N is the frequency division ratio of the phase-locked loop, which means that the frequency divider accumulates N numerical control oscillator DCO output signal cycles in one reference clock cycle, and K T and K TDC are the numerical control oscillator DCO and time-digital respectively. Gain of converter TDC, α and β are loop filter parameters;

然后,使用环路带宽的归一化增益频率来近似环路带宽,则环路带宽表示为:Then, using the normalized gain frequency of the loop bandwidth to approximate the loop bandwidth, the loop bandwidth is expressed as:

Figure BDA0003608278680000022
Figure BDA0003608278680000022

在该公式中,fref为锁相环参考频率,环路增益因子G=NKTKTDCIn this formula, f ref is the reference frequency of the phase-locked loop, and the loop gain factor G=NK T K TDC ;

最后、通过引入采用了两条基于LMS算法的校准环路,对环路增益因子进行预估,再将通过预估所获得的环路增益因子g经过取反操作接入环路,使得环路带宽变为:Finally, by introducing two calibration loops based on the LMS algorithm, the loop gain factor is estimated, and then the loop gain factor g obtained through the estimation is inserted into the loop through an inversion operation, so that the loop The bandwidth becomes:

Figure BDA0003608278680000023
Figure BDA0003608278680000023

此时,环路带宽仅仅只跟滤波器参数β和锁相环参考时钟频率fref相关;At this time, the loop bandwidth is only related to the filter parameter β and the PLL reference clock frequency fref ;

其中,所述的采用了两条基于LMS算法的校准环路,一条环路的输入为未经延时处理的训练序列,另一条环路的输入为经过一个参考时钟周期延时处理的训练序列,在该两条校准环路均产生相应的环路增益因子估计值后,两者相加得到最终的环路增益因子估计值,并经过取反操作接入环路,最终得到带宽估计结果不受非理想因素影响的带宽校准环路。Among them, two calibration loops based on the LMS algorithm are used. The input of one loop is the training sequence without delay processing, and the input of the other loop is the training sequence that has been delayed by a reference clock cycle. , after the two calibration loops both generate the corresponding estimated value of the loop gain factor, add the two to obtain the final estimated value of the loop gain factor, and access the loop through the inversion operation, and finally get the bandwidth estimation result is not Bandwidth calibration loop subject to non-idealities.

进一步的,所述的采用了两条基于LMS算法的校准环路,其使用的训练序列为伪随机序列,并且该伪随机序列为所述数字环路滤波器DLF和所述数控振荡器DCO之间的Δ-Σ调制器DSM输出的伪随机序列。Further, the two calibration loops based on the LMS algorithm are used, and the training sequence used is a pseudo-random sequence, and the pseudo-random sequence is a combination of the digital loop filter DLF and the numerically controlled oscillator DCO. Pseudo-random sequence between the delta-sigma modulator DSM outputs.

进一步的,所述数控振荡器DCO的增益,其具体表示为:Further, the gain of the numerically controlled oscillator DCO is specifically expressed as:

Figure BDA0003608278680000031
Figure BDA0003608278680000031

△C为数控振荡器开关电容阵列的最小可变电容值,Ctot为数控振荡器谐振腔的容值,Tout为DCO输出信号的周期。△C is the minimum variable capacitance value of the switched capacitor array of the numerically controlled oscillator, Ctot is the capacitance of the numerically controlled oscillator resonant cavity, and Tout is the period of the DCO output signal.

进一步的,所述时间-数字转换器TDC的增益,其具体表示为:Further, the gain of the time-to-digital converter TDC is specifically expressed as:

Figure BDA0003608278680000032
Figure BDA0003608278680000032

在该公式中,△tTDC是时间数字转换器的分辨率。In this formula, Δt TDC is the resolution of the time-to-digital converter.

进一步的,所述的非理想因素具体包括:工艺P、电压V、温度T。Further, the non-ideal factors specifically include: process P, voltage V, and temperature T.

进一步的,所述的可变相位累加器VPA和参考相位累加器RPA,其用于将频率信息转换为相位信息;Further, the variable phase accumulator VPA and the reference phase accumulator RPA are used to convert frequency information into phase information;

所述的自动频率校准模块AFC,其用于将可变相位累加器VPA和参考时钟周期计数器counter的输出数值进行比较,判断两者的大小关系,进而改变数控振荡器DCO的粗调、中调控制字;The described automatic frequency calibration module AFC is used to compare the output value of the variable phase accumulator VPA and the reference clock cycle counter counter, to judge the magnitude relationship between the two, and then to change the coarse adjustment and middle adjustment of the numerically controlled oscillator DCO. control word;

所述的数控振荡器DCO,其根据输入的多位控制字输出对应频率的信号。The numerically controlled oscillator DCO outputs a signal corresponding to a frequency according to the input multi-bit control word.

进一步的,所述的全数字锁相环环路在开始工作时,其具体包括如下的工作过程:Further, when the all-digital phase-locked loop loop starts to work, it specifically includes the following working process:

首先,通过所述自动频率校准模块AFC将数控振荡器DCO的输出信号频率锁定到目标频率的子频带,完成数控振荡器DCO粗调、中调控制字的校准;再完成校准之后,全数字锁相环的粗调、中调环路再完成锁定;完成锁定之后,鉴相环路对DCO控制字的精调部分进行调整,使其锁定到目标频率,其中,该鉴相环路包括:参考相位累加器RPA、可变相位累加器VPA、时间-数字转换器TDC、数字环路滤波器DLF、Δ-Σ调制器DSM和减法器;First, the frequency of the output signal of the numerically controlled oscillator DCO is locked to the sub-band of the target frequency by the automatic frequency calibration module AFC to complete the calibration of the numerically controlled oscillator DCO coarse adjustment and middle adjustment control words; after the calibration is completed, the full digital lock The coarse adjustment and middle adjustment loops of the phase loop complete the locking; after the locking is completed, the phase detection loop adjusts the fine adjustment part of the DCO control word to lock it to the target frequency, wherein the phase detection loop includes: reference Phase accumulator RPA, variable phase accumulator VPA, time-to-digital converter TDC, digital loop filter DLF, delta-sigma modulator DSM and subtractor;

然后,全数字锁相环的精调环路开始工作,其包括:所述数控振荡器DCO经过分频器N分频后的输出信号CKV分别进入时间-数字转换器TDC和可变相位累加器VPA;可变相位累加器VPA对DCO经过分频器N分频后的CKV的周期进行整数部分计数,所述的时间-数字转换器TDC对CKV进行小数部分量化;再整合可变相位累加器VPA与时间-数字转换器TDC的输出,其中,整合之后得到的输出为输出频率CKV的相位数值;Then, the fine-tuning loop of the all-digital phase-locked loop starts to work, which includes: the output signal CKV of the numerically controlled oscillator DCO after being divided by the frequency divider N enters the time-to-digital converter TDC and the variable phase accumulator respectively. VPA; the variable phase accumulator VPA counts the integer part of the period of the CKV after the DCO is divided by the frequency divider N, and the time-to-digital converter TDC quantizes the fractional part of the CKV; and then integrates the variable phase accumulator The output of VPA and time-to-digital converter TDC, wherein the output obtained after integration is the phase value of the output frequency CKV;

最后,减法器将参考相位与输出相位相减,得出相位的误差送入数字环路滤波器DLF中,该数字环路滤波器DLF根据相位误差计算出新的数控振荡器DCO控制字,其中,该新的数控振荡器DCO控制字经过Δ-Σ调制器DSM之后,被送入数控振荡器DCO的输入端;数控振荡器DCO控制字的精调部分完成校准之后,全数字锁相环完成锁定。Finally, the subtractor subtracts the reference phase and the output phase, and the obtained phase error is sent to the digital loop filter DLF. The digital loop filter DLF calculates a new numerical control oscillator DCO control word according to the phase error, where , the new numerical control oscillator DCO control word is sent to the input end of the numerical control oscillator DCO after passing through the delta-sigma modulator DSM; after the fine adjustment part of the numerical control oscillator DCO control word is calibrated, the all-digital phase-locked loop is completed. locking.

本发明的有益效果是:The beneficial effects of the present invention are:

本发明使用两抽头的LMS算法,采用两条LMS算法的校准环路代替单条LMS算法的校准环路对环路带宽因子进行估计,两条校准环路均产生相应的环路增益估计值后,两者增加得到最终的环路增益估计值,并经过取反操作接入环路,避免了带宽估计结果受环路分频器延时等非理想因素影响而不准确的问题。The present invention uses the two-tap LMS algorithm, and uses two calibration loops of the LMS algorithm to replace the calibration loop of the single LMS algorithm to estimate the loop bandwidth factor. After the two calibration loops both generate corresponding loop gain estimates, The two are added to obtain the final estimated value of the loop gain, and are connected to the loop through the inversion operation, which avoids the inaccurate problem that the bandwidth estimation result is affected by non-ideal factors such as the delay of the loop divider.

本发明使用环路中△-∑调制器输出的伪随机序列来代替外部输入的随机训练序列,避免了外部输入的训练序列对环路的噪声性能和功耗造成的影响。The invention uses the pseudo-random sequence output by the delta-sigma modulator in the loop to replace the random training sequence input from the outside, and avoids the influence of the training sequence input from the outside on the noise performance and power consumption of the loop.

本发明的LMS算法采用浮点数运算,相比于传统的定点数算法,使用浮点数运算表示的精度更高,可表示的范围也大得多,能够更加精确地跟踪环路带宽的变化。The LMS algorithm of the present invention uses floating-point arithmetic. Compared with the traditional fixed-point arithmetic, the floating-point arithmetic has higher representation precision, and can represent a much larger range, and can track the change of the loop bandwidth more accurately.

附图说明Description of drawings

图1为实施例1中采用的ADPLL环路的结构示意图;Fig. 1 is the structural representation of the ADPLL loop adopted in embodiment 1;

图2为实施例1中进行环路带宽因子估计的原理图;2 is a schematic diagram of loop bandwidth factor estimation in Embodiment 1;

图3为实施例1中提及的针对图1所示的环路,采用了传统单抽头LMS校准环路的结构示意图;3 is a schematic structural diagram of a traditional single-tap LMS calibration loop mentioned in Embodiment 1 for the loop shown in FIG. 1;

图4为实施例1中提及的图1中环路分频器延时导致的非理想因素的示意图;4 is a schematic diagram of a non-ideal factor caused by the delay of the loop divider in FIG. 1 mentioned in Embodiment 1;

图5为实施例1中提及的针对图1所示的环路,采用了两抽头的LMS校准环路的结构示意图。FIG. 5 is a schematic structural diagram of the LMS calibration loop with two taps mentioned in Embodiment 1 for the loop shown in FIG. 1 .

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

实施例1Example 1

参见图1-图5,本实施例提供一种针对全数字锁相环带宽的自适应后台校准方法,该方法针对的全数字锁相环ADPLL(All-Digital Phase Lock Loop)环路的具体结构如图1所示,其包括;Referring to FIG. 1 to FIG. 5 , this embodiment provides an adaptive background calibration method for the bandwidth of an all-digital phase-locked loop, and the specific structure of the all-digital phase-locked loop (ADPLL) loop for the method is As shown in Figure 1, it includes;

可变相位累加器VPA(Variable Phase Accumulator)、参考相位累加器RPA(Reference Phase Accumulator)、自动频率校准模块AFC(Auto Frequency Calibrator)、数控振荡器DCO、数字环路滤波器DLF(Digital Loop Filter)、时间-数字转换器TDC(TimeDigital Convertor)、Δ-Σ调制器DSM(Delta-Sigma Modulator)以及减法器。Variable Phase Accumulator VPA (Variable Phase Accumulator), Reference Phase Accumulator RPA (Reference Phase Accumulator), Automatic Frequency Calibration Module AFC (Auto Frequency Calibrator), Numerically Controlled Oscillator DCO, Digital Loop Filter DLF (Digital Loop Filter) , Time-to-digital converter TDC (TimeDigital Convertor), delta-sigma modulator DSM (Delta-Sigma Modulator) and subtractor.

其中,上述的可变相位累加器VPA和参考相位累加器RPA,其用于将频率信息转换为相位信息;Wherein, the above-mentioned variable phase accumulator VPA and reference phase accumulator RPA are used to convert frequency information into phase information;

上述的自动频率校准模块AFC,其用于将可变相位累加器VPA和参考时钟周期计数器counter的输出数值进行比较,判断两者的大小关系,进而改变数控振荡器DCO的粗调、中调控制字;The above-mentioned automatic frequency calibration module AFC is used to compare the output value of the variable phase accumulator VPA and the reference clock cycle counter counter, and determine the magnitude relationship between the two, and then change the coarse adjustment and middle adjustment control of the numerical control oscillator DCO. Character;

上述的数控振荡器DCO,其根据输入的多位控制字输出对应频率的信号。The above-mentioned numerically controlled oscillator DCO outputs a signal corresponding to the frequency according to the input multi-bit control word.

具体的说,当该全数字锁相环环路在开始工作时,其具体包括如下的工作过程:Specifically, when the all-digital phase-locked loop loop starts to work, it specifically includes the following working process:

首先,通过上述的自动频率校准模块AFC将数控振荡器DCO的输出信号频率快速锁定到目标频率的子频带,完成数控振荡器DCO粗调、中调控制字的校准。数控振荡器DCO控制字的粗调、中调部分完成校准之后,全数字锁相环的粗调、中调环路完成锁定。再完成锁定之后,鉴相环路对DCO控制字的精调部分进行调整,使其锁定到目标频率,其中,该鉴相环路包括:参考相位累加器RPA、可变相位累加器VPA、时间-数字转换器TDC、数字环路滤波器DLF、Δ-Σ调制器DSM和减法器。First, the frequency of the output signal of the numerically controlled oscillator DCO is quickly locked to the sub-band of the target frequency by the above-mentioned automatic frequency calibration module AFC, so as to complete the calibration of the control words of the numerically controlled oscillator DCO for coarse adjustment and intermediate adjustment. After the coarse adjustment and the middle adjustment part of the numerical control oscillator DCO control word are calibrated, the coarse adjustment and the middle adjustment loop of the all-digital phase-locked loop are locked. After the locking is completed, the phase detection loop adjusts the fine-tuning part of the DCO control word to lock it to the target frequency, wherein the phase detection loop includes: the reference phase accumulator RPA, the variable phase accumulator VPA, the time - Digital converter TDC, digital loop filter DLF, delta-sigma modulator DSM and subtractor.

然后,全数字锁相环的精调环路开始工作,其包括:上述的数控振荡器DCO经过分频器N分频后的输出信号CKV分别进入时间-数字转换器TDC和可变相位累加器VPA。可变相位累加器VPA对DCO经过分频器N分频后的CKV的周期进行整数部分计数,上述的时间-数字转换器TDC对CKV进行小数部分量化;再整合可变相位累加器VPA与时间-数字转换器TDC的输出,其中,整合之后得到的输出为输出频率CKV的相位数值。Then, the fine-tuning loop of the all-digital phase-locked loop starts to work, which includes: the output signal CKV of the above-mentioned numerically controlled oscillator DCO after being divided by the frequency divider N enters the time-to-digital converter TDC and the variable phase accumulator respectively. VPA. The variable phase accumulator VPA counts the integer part of the period of the CKV after the DCO is divided by the frequency divider N, and the above-mentioned time-to-digital converter TDC quantizes the fractional part of the CKV; and then integrates the variable phase accumulator VPA with the time - the output of the digital converter TDC, wherein the output obtained after integration is the phase value of the output frequency CKV.

最后,减法器将参考相位与输出相位相减,得出相位的误差送入数字环路滤波器DLF中,该数字环路滤波器DLF根据相位误差计算出新的数控振荡器DCO控制字,其中,该新的数控振荡器DCO控制字经过Δ-Σ调制器DSM之后,被送入数控振荡器DCO的输入端。数控振荡器DCO控制字的精调部分完成校准之后,全数字锁相环完成锁定。Finally, the subtractor subtracts the reference phase and the output phase, and the obtained phase error is sent to the digital loop filter DLF. The digital loop filter DLF calculates a new numerical control oscillator DCO control word according to the phase error, where , the new numerical control oscillator DCO control word is sent to the input end of numerical control oscillator DCO after passing through the delta-sigma modulator DSM. After the fine-tuning part of the digitally controlled oscillator DCO control word is calibrated, the all-digital phase-locked loop is locked.

具体的说,在本实施例中,如图1所示,数控振荡器DCO的输出信号为N倍频的CKV,通过在该数控振荡器DCO中使用Δ-Σ调制器DSM来提高该DCO的输出频率精度,同时还可以对该DCO量化噪声做整形,将量化噪声从低频搬移到高频处。Specifically, in this embodiment, as shown in FIG. 1 , the output signal of the numerically controlled oscillator DCO is an N-multiplied CKV, and the delta-sigma modulator DSM is used in the numerically controlled oscillator DCO to improve the output signal of the DCO. Output frequency accuracy, and can also shape the DCO quantization noise to move the quantization noise from low frequency to high frequency.

该方法具体包括如下的步骤:The method specifically includes the following steps:

步骤S1、针对该全数字锁相环,计算其带宽;Step S1, for this all-digital phase-locked loop, calculate its bandwidth;

具体的说,在本实施例中,该步骤S1包括如下步骤:Specifically, in this embodiment, the step S1 includes the following steps:

步骤S101、确定其环路增益,表达式为:Step S101, determine its loop gain, the expression is:

Figure BDA0003608278680000061
Figure BDA0003608278680000061

在该公式中,N为锁相环分频比,表示一个参考时钟周期内分频器累积了N个数控振荡器DCO输出信号周期,KT和KTDC分别为数控振荡器DCO(s/bit)和时间-数字转换器TDC(bit/s)的增益,α和β为环路滤波器参数;In this formula, N is the frequency division ratio of the phase-locked loop, which means that the frequency divider accumulates N numerical control oscillator DCO output signal cycles in one reference clock cycle, and K T and K TDC are the numerical control oscillator DCO (s/bit ) and the gain of the time-to-digital converter TDC (bit/s), α and β are loop filter parameters;

步骤S102、为了得到一个环路带宽的简化公式,可以使用环路带宽的归一化增益频率来近似环路带宽,因此,环路带宽通过下式得到:In step S102, in order to obtain a simplified formula of the loop bandwidth, the normalized gain frequency of the loop bandwidth can be used to approximate the loop bandwidth. Therefore, the loop bandwidth is obtained by the following formula:

Figure BDA0003608278680000062
Figure BDA0003608278680000062

在该公式中,fref为锁相环参考频率,环路增益因子G=NKTKTDC,该增益因子与DCO、TDC增益成正比。In this formula, f ref is the reference frequency of the phase-locked loop, and the loop gain factor G=NK T K TDC , which is proportional to the DCO and TDC gains.

其中,上述的DCO增益(s/bit)具体表示为:Among them, the above-mentioned DCO gain (s/bit) is specifically expressed as:

Figure BDA0003608278680000063
Figure BDA0003608278680000063

在该公式中,△C为数控振荡器开关电容阵列的最小可变电容值,Ctot为数控振荡器谐振腔的容值,Tout为DCO输出信号的周期,由DCO的电阻和电容决定,并且受工艺的影响较大。In this formula, ΔC is the minimum variable capacitance value of the switched capacitor array of the numerically controlled oscillator, Ctot is the capacitance of the numerically controlled oscillator resonant cavity, and Tout is the period of the DCO output signal, which is determined by the resistance and capacitance of the DCO, And it is greatly affected by the process.

上述的TDC增益(bit/s)具体表示为:The above TDC gain (bit/s) is specifically expressed as:

Figure BDA0003608278680000064
Figure BDA0003608278680000064

在该公式中,△tTDC是时间数字转换器的分辨率,该分辨率和数字逻辑门的传播延时成比例,受工艺、电压、温度的影响很大。因此,环路带宽因子G很容易受工艺、电压、温度等非理想因素的影响而改变。In this formula, Δt TDC is the resolution of the time-to-digital converter, which is proportional to the propagation delay of the digital logic gate and is greatly affected by process, voltage, and temperature. Therefore, the loop bandwidth factor G is easily changed by non-ideal factors such as process, voltage, and temperature.

步骤S103、通过一种自适应校准环路对环路增益因子进行预估,再将通过预估所获得的环路增益因子g经过取反操作接入环路,使得环路带宽变为:Step S103: Estimate the loop gain factor through an adaptive calibration loop, and then insert the loop gain factor g obtained through the estimation into the loop through an inversion operation, so that the loop bandwidth becomes:

Figure BDA0003608278680000065
Figure BDA0003608278680000065

此时,环路带宽仅仅只跟滤波器参数β和锁相环参考时钟频率相关,不会因为环路非理想因素工艺、电压、温度等的影响而改变。At this time, the loop bandwidth is only related to the filter parameter β and the reference clock frequency of the phase-locked loop, and will not change due to the influence of loop non-ideal factors such as process, voltage, temperature, etc.

步骤S2、针对该全数字锁相环,估计其环路带宽因子;Step S2, for the all-digital phase-locked loop, estimate its loop bandwidth factor;

具体的说,在本实施例中,该步骤S2具体包括:Specifically, in this embodiment, the step S2 specifically includes:

由图1可知,ADPLL精调环路由模拟部分和数字部分组成,其中,模拟部分包括DCO、分频器、TDC这一条信号传输链,其余为数字部分。As can be seen from Figure 1, the ADPLL fine-tuning loop consists of an analog part and a digital part. The analog part includes a signal transmission chain of DCO, frequency divider, and TDC, and the rest are digital parts.

环路模拟部分的开环传递函数可表示为

Figure BDA0003608278680000071
因此环路增益因子G可以通过在DCO输入端注入一个训练信号估计出来,并且在TDC输出端被校准。The open-loop transfer function of the analog part of the loop can be expressed as
Figure BDA0003608278680000071
Thus the loop gain factor G can be estimated by injecting a training signal at the input of the DCO and calibrated at the output of the TDC.

环路带宽因子估计的原理图如图2所示,具体包括:The schematic diagram of loop bandwidth factor estimation is shown in Figure 2, which includes:

x[n]为训练序列,是一个伪随机序列,同时注入ADPLL环路和校准环路,将两者联系起来。x[n] is the training sequence, which is a pseudo-random sequence, which is injected into the ADPLL loop and the calibration loop at the same time to connect the two.

校准环路中,ADPLL开环传递函数中的积分操作由一个数字积分器代替,x[n]通过积分器之后的结果与环路增益因子估计值g[n]相乘并和TDC输出d[n]作比较,两者之差e[n]反馈到自适应算法模块中,之后输出最新估算出的环路增益因子g[n],如此循环直到e[n]为零。In the calibration loop, the integration operation in the ADPLL open-loop transfer function is replaced by a digital integrator, and the result after x[n] passes through the integrator is multiplied by the loop gain factor estimate g[n] and summed with the TDC output d[ n] for comparison, the difference e[n] between the two is fed back to the adaptive algorithm module, and then the newly estimated loop gain factor g[n] is output, and the cycle is repeated until e[n] is zero.

步骤S3、选择一训练序列;Step S3, select a training sequence;

具体的说,在本实施例中,该步骤S3具体包括:Specifically, in this embodiment, the step S3 specifically includes:

对于训练序列x[n],可以使用外部输入的伪随机序列代替,但是这会向环路引入额外的噪声,恶化环路的噪声性能。For the training sequence x[n], an externally input pseudorandom sequence can be used instead, but this will introduce additional noise into the loop, deteriorating the noise performance of the loop.

为了避免外部输入的训练序列对环路的噪声性能和功耗造成影响,最好使用环路中原本就存在的信号来代替。In order to avoid the influence of the externally input training sequence on the noise performance and power consumption of the loop, it is better to use the signal already existing in the loop instead.

本实施例中的ADPLL环路在DCO中使用DSM来提高DCO的输出频率精度,对DCO量化噪声做整形。DSM的输出恰好为随机序列。本实施例使用环路中DSM输出的伪随机序列来代替外部输入的训练序列,保证了环路的噪声性能。The ADPLL loop in this embodiment uses the DSM in the DCO to improve the output frequency accuracy of the DCO and shape the DCO quantization noise. The output of the DSM happens to be a random sequence. In this embodiment, the pseudo-random sequence output by the DSM in the loop is used to replace the externally input training sequence, which ensures the noise performance of the loop.

步骤S4、执行校准环路中的自适应LMS算法:Step S4, execute the adaptive LMS algorithm in the calibration loop:

具体的说,校准环路中的自适应LMS算法分为单抽头的LMS算法和本实施例提出的两抽头的LMS算法。Specifically, the adaptive LMS algorithm in the calibration loop is divided into a single-tap LMS algorithm and the two-tap LMS algorithm proposed in this embodiment.

单抽头的自适应LMS算法:Single-tap adaptive LMS algorithm:

使用传统单抽头校准环路的ADPLL如图3所示。环路中DSM输出的伪随机序列作为校准环路的输入训练序列,校准环路得到的环路增益因子估计值经过取反操作接入环路,使得环路带宽不受非理想因素的影响。An ADPLL using a traditional single-tap calibration loop is shown in Figure 3. The pseudo-random sequence output by the DSM in the loop is used as the input training sequence of the calibration loop, and the estimated value of the loop gain factor obtained by the calibration loop is connected to the loop through the inversion operation, so that the loop bandwidth is not affected by non-ideal factors.

本实施例采用的两抽头的自适应LMS算法:The two-tap adaptive LMS algorithm adopted in this embodiment:

环路分频器等非理想因素会导致单抽头的自适应LMS算法估计得出的环路增益因子不准确。环路分频器延时导致的非理想因素如图4所示,假设注入DCO的训练信号x[n]是一个单位脉冲,则DCO输出信号的周期增量为持续时间Tref、幅值KT的矩形脉冲。Non-ideal factors such as loop dividers can lead to inaccurate loop gain factors estimated by the single-tap adaptive LMS algorithm. The non-ideal factor caused by the delay of the loop divider is shown in Figure 4. Assuming that the training signal x[n] injected into the DCO is a unit pulse, the period increment of the DCO output signal is the duration T ref , the amplitude K A rectangular pulse of T.

在下一个参考周期中,x[n]变为零,因此,相位跳变量保持到其最终峰值NKT。如图4中的(a)所示,假设环路分频器没有延时,DCO的输出信号经过分频器的亚采样后乘上TDC增益KTDC得到的序列d[n]是延时了一个参考时钟周期、幅值扩大了增益因子G倍的训练信号x[n],此时单抽头的LMS算法能够准确得预测出环路增益因子G。In the next reference cycle, x[n] becomes zero, so the phase jump variable remains to its final peak value NK T . As shown in (a) of Figure 4, assuming that the loop divider has no delay, the output signal of the DCO is sub-sampled by the divider and then multiplied by the TDC gain K TDC . The sequence d[n] is delayed A training signal x[n] with a reference clock period and an amplitude that is expanded by a gain factor G times, the single-tap LMS algorithm can accurately predict the loop gain factor G at this time.

如图4中的(b)所示,实际情况下环路分频器存在延时,由于环路分频器每一个参考时钟周期对DCO的输出信号进行一次亚采样,由于环路分频器延时的存在,相位跳变量在训练序列x[n]的值改变的一个参考时钟周期后被分频器进行亚采样时还未达到峰值,因此序列d[n]在训练序列x[n]的值改变的一个参考时钟周期后小于环路增益因子G,此时单抽头的LMS算法预测出的环路增益因子G存在较大误差。由于环路分频器延时的存在,x[n]改变的两个参考时钟周期后DCO的输出信号被分频器再次亚采样并乘上TDC增益KTDC后,得到的这个时刻的d[n]值不为零。由于相位跳变量NKT是恒定的,这两个参考时钟周期得到的顺瞬时d[n]值相加恰好等于环路增益因子G。As shown in (b) of Figure 4, in practice, there is a delay in the loop divider. Since the loop divider sub-samples the output signal of the DCO once per reference clock cycle, the loop divider Due to the existence of delay, the phase jump variable has not reached its peak value when it is sub-sampled by the frequency divider after one reference clock cycle when the value of the training sequence x[n] changes, so the sequence d[n] is in the training sequence x[n] After one reference clock cycle changes, the value of is smaller than the loop gain factor G, and the loop gain factor G predicted by the single-tap LMS algorithm has a large error at this time. Due to the existence of the delay of the loop divider, the output signal of the DCO is subsampled by the divider again after the two reference clock cycles changed by x[n] and multiplied by the TDC gain K TDC , the obtained d[ n] value is not zero. Since the phase jump variable NK T is constant, the sum of the forward instantaneous d[n] values obtained by these two reference clock cycles is exactly equal to the loop gain factor G.

本实施例使用两条LMS算法的校准环路代替单条LMS算法的校准环路对环路带宽进行估计,如图5所示。其中,一条环路的输入为未经延时处理的原训练序列x[n],另一条环路的输入为经过一个参考时钟周期延时处理的训练序列,两条校准环路均产生相应的环路增益因子估计值g[k]后,相加得到准确的环路增益因子估计值G,并经过取反操作接入环路,最终得到带宽估计结果不受环路分频器延时等非理想因素影响的带宽校准环路。In this embodiment, two calibration loops of the LMS algorithm are used instead of a single calibration loop of the LMS algorithm to estimate the loop bandwidth, as shown in FIG. 5 . Among them, the input of one loop is the original training sequence x[n] without delay processing, and the input of the other loop is the training sequence delayed by one reference clock cycle. Both calibration loops generate corresponding After the estimated value of the loop gain factor g[k], the accurate estimated value of the loop gain factor G is obtained by adding it up, and it is connected to the loop through the inversion operation, and finally the bandwidth estimation result is obtained without the delay of the loop divider, etc. Bandwidth calibration loop affected by non-idealities.

综上所述,本发明提供一种针对全数字锁相环带宽的自适应后台校准方法,该方法通过使用全数字自动控制环路来降低环路带宽对于环路中模拟参数的敏感度,使得带宽保持恒定不变。本发明中的校准算法采用两抽头的LMS算法,相比于单抽头的LMS算法,可以消除由于环路分频器延时等非理想因素导致估计结果不准确的问题。同时算法采用浮点数运算,相比于定点数运算,浮点数运算表示的精度更高,可表示的范围也大得多,能够更加精确地跟踪环路带宽的变化。In summary, the present invention provides an adaptive background calibration method for the bandwidth of an all-digital phase-locked loop, which reduces the sensitivity of the loop bandwidth to the analog parameters in the loop by using an all-digital automatic control loop, so that the The bandwidth remains constant. The calibration algorithm in the present invention adopts a two-tap LMS algorithm. Compared with the single-tap LMS algorithm, the problem of inaccurate estimation results caused by non-ideal factors such as loop divider delay can be eliminated. At the same time, the algorithm adopts floating-point number operation. Compared with fixed-point number operation, floating-point number operation has higher precision and can represent a much larger range, which can more accurately track the change of loop bandwidth.

本发明未详述之处,均为本领域技术人员的公知技术。The parts that are not described in detail in the present invention are known techniques of those skilled in the art.

以上详细描述了本发明的较佳具体实施例。应当理解,本领域的普通技术人员无需创造性劳动就可以根据本发明的构思作出诸多修改和变化。因此,凡本技术领域中技术人员依本发明的构思在现有技术的基础上通过逻辑分析、推理或者有限的实验可以得到的技术方案,皆应在由权利要求书所确定的保护范围内。The preferred embodiments of the present invention have been described in detail above. It should be understood that those skilled in the art can make many modifications and changes according to the concept of the present invention without creative efforts. Therefore, all technical solutions that can be obtained by those skilled in the art through logical analysis, reasoning or limited experiments on the basis of the prior art according to the concept of the present invention shall fall within the protection scope determined by the claims.

Claims (7)

1.一种针对全数字锁相环带宽的自适应后台校准方法,其特征在于,所述的全数字锁相环包括:可变相位累加器VPA、参考相位累加器RPA、自动频率校准模块AFC、数控振荡器DCO、数字环路滤波器DLF、时间-数字转换器TDC、Δ-Σ调制器DSM以及减法器;1. an adaptive background calibration method for all-digital phase-locked loop bandwidth, is characterized in that, described all-digital phase-locked loop comprises: variable phase accumulator VPA, reference phase accumulator RPA, automatic frequency calibration module AFC , numerically controlled oscillator DCO, digital loop filter DLF, time-to-digital converter TDC, delta-sigma modulator DSM and subtractor; 所述校准方法包括如下步骤:The calibration method includes the following steps: 首先,针对该全数字锁相环,确定其环路增益,表达式为:First, for the all-digital phase-locked loop, determine its loop gain, the expression is:
Figure FDA0003608278670000011
Figure FDA0003608278670000011
在该公式中,N为锁相环分频比,表示一个参考时钟周期内分频器累积了N个数控振荡器DCO输出信号的周期,KT和KTDC分别为数控振荡器DCO和时间-数字转换器TDC的增益,α和β为环路滤波器参数;In this formula, N is the frequency division ratio of the phase-locked loop, which means that the frequency divider accumulates N cycles of the numerical control oscillator DCO output signal in one reference clock cycle, and K T and K TDC are the numerical control oscillator DCO and time- Gain of digital converter TDC, α and β are loop filter parameters; 然后,使用环路带宽的归一化增益频率来近似环路带宽,则环路带宽表示为:Then, using the normalized gain frequency of the loop bandwidth to approximate the loop bandwidth, the loop bandwidth is expressed as:
Figure FDA0003608278670000012
Figure FDA0003608278670000012
在该公式中,fref为锁相环参考频率,环路增益因子G=NKTKTDCIn this formula, f ref is the reference frequency of the phase-locked loop, and the loop gain factor G=NK T K TDC ; 最后,通过引入采用了两条基于LMS算法的校准环路,对环路增益因子进行预估,再将通过预估所获得的环路增益因子g经过取反操作接入环路,使得环路带宽变为:Finally, by introducing two calibration loops based on the LMS algorithm, the loop gain factor is estimated, and then the loop gain factor g obtained by the estimation is inserted into the loop through the inversion operation, so that the loop The bandwidth becomes:
Figure FDA0003608278670000013
Figure FDA0003608278670000013
此时,环路带宽仅仅只跟滤波器参数β和锁相环参考时钟频率fref相关;At this time, the loop bandwidth is only related to the filter parameter β and the PLL reference clock frequency fref ; 其中,所述的采用了两条基于LMS算法的校准环路,一条环路的输入为未经延时处理的训练序列,另一条环路的输入为经过一个参考时钟周期延时处理的训练序列,在该两条校准环路均产生相应的环路增益因子估计值后,两者相加得到最终的环路增益因子估计值,并经过取反操作接入环路,最终得到带宽不受非理想因素影响的全数字锁相环环路。Among them, two calibration loops based on the LMS algorithm are used. The input of one loop is the training sequence without delay processing, and the input of the other loop is the training sequence that has been delayed by a reference clock cycle. , after the two calibration loops both generate the corresponding estimated value of the loop gain factor, the two are added together to obtain the final estimated value of the loop gain factor, and are connected to the loop through the inversion operation, and finally the bandwidth is not affected. An all-digital phase-locked loop loop affected by ideality factors.
2.根据权利要求1所述的一种针对全数字锁相环带宽的自适应后台校准方法,其特征在于,所述的采用了两条基于LMS算法的校准环路,其使用的输入训练序列为伪随机序列,并且该伪随机序列为所述数字环路滤波器DLF和所述数控振荡器DCO之间的Δ-Σ调制器DSM输出的伪随机序列。2. a kind of self-adaptive background calibration method for all-digital phase-locked loop bandwidth according to claim 1, is characterized in that, described has adopted two calibration loops based on LMS algorithm, the input training sequence that it uses is a pseudo-random sequence, and the pseudo-random sequence is a pseudo-random sequence output by the delta-sigma modulator DSM between the digital loop filter DLF and the numerically controlled oscillator DCO. 3.根据权利要求1所述的一种针对全数字锁相环带宽的自适应后台校准方法,其特征在于,所述数控振荡器DCO的增益,其具体表示为:3. a kind of adaptive background calibration method for full digital phase-locked loop bandwidth according to claim 1, is characterized in that, the gain of described numerically controlled oscillator DCO, it is specifically expressed as:
Figure FDA0003608278670000021
Figure FDA0003608278670000021
△C为数控振荡器开关电容阵列的最小可变电容值,Ctot为数控振荡器谐振腔的容值,Tout为DCO输出信号的周期。△C is the minimum variable capacitance value of the switched capacitor array of the numerically controlled oscillator, Ctot is the capacitance of the numerically controlled oscillator resonant cavity, and Tout is the period of the DCO output signal.
4.根据权利要求1所述的一种针对全数字锁相环带宽的自适应后台校准方法,其特征在于,所述时间-数字转换器TDC的增益,其具体表示为:4. a kind of adaptive background calibration method for all-digital phase-locked loop bandwidth according to claim 1, is characterized in that, the gain of described time-to-digital converter TDC, it is specifically expressed as:
Figure FDA0003608278670000022
Figure FDA0003608278670000022
在该公式中,△tTDC是时间数字转换器的分辨率。In this formula, Δt TDC is the resolution of the time-to-digital converter.
5.根据权利要求1所述的一种针对全数字锁相环带宽的自适应后台校准方法,其特征在于,所述的非理想因素具体包括:工艺P、电压V、温度T。5 . An adaptive background calibration method for an all-digital phase-locked loop bandwidth according to claim 1 , wherein the non-ideal factors specifically include: process P, voltage V, and temperature T. 6 . 6.根据权利要求1所述的一种针对全数字锁相环带宽的自适应后台校准方法,其特征在于,所述的可变相位累加器VPA和参考相位累加器RPA,其用于将频率信息转换为相位信息;6. A kind of adaptive background calibration method for full digital phase-locked loop bandwidth according to claim 1, it is characterized in that, described variable phase accumulator VPA and reference phase accumulator RPA, it is used for frequency information is converted into phase information; 所述的自动频率校准模块AFC,其用于将可变相位累加器VPA和参考时钟周期计数器counter的输出数值进行比较,判断两者的大小关系,进而改变数控振荡器DCO的粗调、中调控制字;The described automatic frequency calibration module AFC is used to compare the output value of the variable phase accumulator VPA and the reference clock cycle counter counter, to judge the magnitude relationship between the two, and then to change the coarse adjustment and middle adjustment of the numerically controlled oscillator DCO. control word; 所述的数控振荡器DCO,其根据输入的多位控制字输出对应频率的信号。The numerically controlled oscillator DCO outputs a signal corresponding to a frequency according to the input multi-bit control word. 7.根据权利要求6所述的一种针对全数字锁相环带宽的自适应后台校准方法,其特征在于,所述的全数字锁相环环路在开始工作时,其具体包括如下的工作过程:7. a kind of adaptive background calibration method for all-digital phase-locked loop bandwidth according to claim 6, is characterized in that, when described all-digital phase-locked loop loop starts to work, it specifically comprises following work process: 首先,通过所述自动频率校准模块AFC将数控振荡器DCO的输出信号频率锁定到目标频率的子频带,完成数控振荡器DCO粗调、中调控制字的校准;再完成校准之后,全数字锁相环的粗调、中调环路再完成锁定;完成锁定之后,鉴相环路对DCO控制字的精调部分进行调整,使其锁定到目标频率,其中,该鉴相环路包括:参考相位累加器RPA、可变相位累加器VPA、时间-数字转换器TDC、数字环路滤波器DLF、Δ-Σ调制器DSM和减法器;First, the frequency of the output signal of the numerically controlled oscillator DCO is locked to the sub-band of the target frequency by the automatic frequency calibration module AFC to complete the calibration of the numerically controlled oscillator DCO coarse adjustment and middle adjustment control words; after the calibration is completed, the full digital lock The coarse adjustment and middle adjustment loops of the phase loop complete the locking; after the locking is completed, the phase detection loop adjusts the fine adjustment part of the DCO control word to lock it to the target frequency, wherein the phase detection loop includes: reference Phase accumulator RPA, variable phase accumulator VPA, time-to-digital converter TDC, digital loop filter DLF, delta-sigma modulator DSM and subtractor; 然后,全数字锁相环的精调环路开始工作,其包括:所述数控振荡器DCO经过分频器N分频后的输出信号CKV分别进入时间-数字转换器TDC和可变相位累加器VPA;可变相位累加器VPA对DCO经过分频器N分频后的CKV的周期进行整数部分计数,所述的时间-数字转换器TDC对CKV进行小数部分量化;再整合可变相位累加器VPA与时间-数字转换器TDC的输出,其中,整合之后得到的输出为输出频率CKV的相位数值;Then, the fine-tuning loop of the all-digital phase-locked loop starts to work, which includes: the output signal CKV of the numerically controlled oscillator DCO after being divided by the frequency divider N enters the time-to-digital converter TDC and the variable phase accumulator respectively. VPA; the variable phase accumulator VPA counts the integer part of the period of the CKV after the DCO is divided by the frequency divider N, and the time-to-digital converter TDC quantizes the fractional part of the CKV; and then integrates the variable phase accumulator The output of VPA and time-to-digital converter TDC, wherein the output obtained after integration is the phase value of the output frequency CKV; 最后,减法器将参考相位与输出相位相减,得出相位的误差送入数字环路滤波器DLF中,该数字环路滤波器DLF根据相位误差计算出新的数控振荡器DCO控制字,其中,该新的数控振荡器DCO控制字经过Δ-Σ调制器DSM之后,被送入数控振荡器DCO的输入端;数控振荡器DCO控制字的精调部分完成校准之后,全数字锁相环完成锁定。Finally, the subtractor subtracts the reference phase and the output phase, and the obtained phase error is sent to the digital loop filter DLF. The digital loop filter DLF calculates a new numerical control oscillator DCO control word according to the phase error, where , the new numerical control oscillator DCO control word is sent to the input end of the numerical control oscillator DCO after passing through the delta-sigma modulator DSM; after the fine adjustment part of the numerical control oscillator DCO control word is calibrated, the all-digital phase-locked loop is completed. locking.
CN202210425349.4A 2022-04-21 2022-04-21 An adaptive background calibration method for all-digital phase-locked loop bandwidth Active CN114900182B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210425349.4A CN114900182B (en) 2022-04-21 2022-04-21 An adaptive background calibration method for all-digital phase-locked loop bandwidth

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210425349.4A CN114900182B (en) 2022-04-21 2022-04-21 An adaptive background calibration method for all-digital phase-locked loop bandwidth

Publications (2)

Publication Number Publication Date
CN114900182A true CN114900182A (en) 2022-08-12
CN114900182B CN114900182B (en) 2025-02-11

Family

ID=82717743

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210425349.4A Active CN114900182B (en) 2022-04-21 2022-04-21 An adaptive background calibration method for all-digital phase-locked loop bandwidth

Country Status (1)

Country Link
CN (1) CN114900182B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115833829A (en) * 2022-12-01 2023-03-21 南京邮电大学 Fractional all-digital phase-locked loop with algorithm step size and loop bandwidth self-adaptive adjustment
CN116094518A (en) * 2022-12-30 2023-05-09 成都电科星拓科技有限公司 A reset method of high-precision all-digital phase-locked loop
CN118631245A (en) * 2024-08-14 2024-09-10 浙江赛思电子科技有限公司 A fully digital phase-locked loop frequency calibration method and system based on dual-loop structure

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030184394A1 (en) * 2002-03-28 2003-10-02 Heng-Chih Lin Wide band, wide operation range, general purpose digital phase locked loop architecture
CN101414822A (en) * 2007-10-16 2009-04-22 联发科技股份有限公司 All-digital phase-locked loop, loop bandwidth calibration method and loop gain calibration method
CN102739244A (en) * 2007-10-16 2012-10-17 联发科技股份有限公司 Loop Gain Calibration Method
US20140077849A1 (en) * 2012-09-14 2014-03-20 National Chiao Tung University Phase-locked loop with loop gain calibration, gain measurement method, gain calibration method and jitter measurement method for phase-locked loop
CN105577180A (en) * 2015-12-11 2016-05-11 中国航空工业集团公司西安航空计算技术研究所 System and method of rapid locking and bandwidth calibration of phase-locked loop

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030184394A1 (en) * 2002-03-28 2003-10-02 Heng-Chih Lin Wide band, wide operation range, general purpose digital phase locked loop architecture
CN101414822A (en) * 2007-10-16 2009-04-22 联发科技股份有限公司 All-digital phase-locked loop, loop bandwidth calibration method and loop gain calibration method
CN102739244A (en) * 2007-10-16 2012-10-17 联发科技股份有限公司 Loop Gain Calibration Method
US20140077849A1 (en) * 2012-09-14 2014-03-20 National Chiao Tung University Phase-locked loop with loop gain calibration, gain measurement method, gain calibration method and jitter measurement method for phase-locked loop
CN105577180A (en) * 2015-12-11 2016-05-11 中国航空工业集团公司西安航空计算技术研究所 System and method of rapid locking and bandwidth calibration of phase-locked loop

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115833829A (en) * 2022-12-01 2023-03-21 南京邮电大学 Fractional all-digital phase-locked loop with algorithm step size and loop bandwidth self-adaptive adjustment
CN116094518A (en) * 2022-12-30 2023-05-09 成都电科星拓科技有限公司 A reset method of high-precision all-digital phase-locked loop
CN116094518B (en) * 2022-12-30 2024-04-05 成都电科星拓科技有限公司 A high-precision all-digital phase-locked loop reset method
CN118631245A (en) * 2024-08-14 2024-09-10 浙江赛思电子科技有限公司 A fully digital phase-locked loop frequency calibration method and system based on dual-loop structure

Also Published As

Publication number Publication date
CN114900182B (en) 2025-02-11

Similar Documents

Publication Publication Date Title
CN114900182B (en) An adaptive background calibration method for all-digital phase-locked loop bandwidth
US10911054B2 (en) Digital-to-time converter (DTC) assisted all digital phase locked loop (ADPLL) circuit
US8362815B2 (en) Digital phase locked loop
US9740175B2 (en) All-digital phase locked loop (ADPLL) including a digital-to-time converter (DTC) and a sampling time-to-digital converter (TDC)
CN107026646B (en) Digital phase-locked loop
US8344772B2 (en) Time-to-digital converter and all digital phase-locked loop including the same
US8228128B2 (en) All-digital phase-locked loop, loop bandwidth calibration method, and loop gain calibration method for the same
TWI492545B (en) Phase-looked loop with loop gain calibration, gain measurement method, gain calibration method and jitter measurement method for phase-lock loop
US8441323B2 (en) Signal processing using timing comparison
US8102197B1 (en) Digital phase locked loop
US9941889B1 (en) Circuit and method for compensating noise
US9379729B2 (en) Resistive/residue charge-to-digital timer
JP2012525795A (en) Two-point modulated digital phase-locked loop using accumulator and phase digital converter
US11296710B2 (en) Digital subsampling PLL with DTC-based SAR phase estimation
US6351164B1 (en) PLL circuit
JP2011505763A (en) Digital phase-locked loop operation based on fractional input / output phase
US7746185B2 (en) Apparatus and method for acquisition and tracking bank cooperation in a digitally controlled oscillator
US10826505B1 (en) All digital phase locked loop (ADPLL) with frequency locked loop
US11437980B2 (en) Frequency to digital converter, asynchronous phase sampler and digitally controlled oscillator methods
CN110324038B (en) Fast ramp generation using phase locked loop
WO2011161737A1 (en) Digital phase difference detection device and frequency synthesizer equipped with same
Levantino Calibration techniques in phased-locked loops: Theoretical basis and practical applications
US7869555B2 (en) Digital word representative of a non-integer ratio between the respective periods of two signals
US11923857B1 (en) DTC nonlinearity correction
Jakobsson et al. Frequency synthesizer with dual loop frequency and gain calibration

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant