[go: up one dir, main page]

CN118677450B - DTC Correction Method and ADPLL Based on Sequencing - Google Patents

DTC Correction Method and ADPLL Based on Sequencing Download PDF

Info

Publication number
CN118677450B
CN118677450B CN202411160886.6A CN202411160886A CN118677450B CN 118677450 B CN118677450 B CN 118677450B CN 202411160886 A CN202411160886 A CN 202411160886A CN 118677450 B CN118677450 B CN 118677450B
Authority
CN
China
Prior art keywords
dtc
delay
sequence number
result
delay unit
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.)
Active
Application number
CN202411160886.6A
Other languages
Chinese (zh)
Other versions
CN118677450A (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.)
Chengdu Cetc Xingtuo Technology Co ltd
Original Assignee
Chengdu Cetc Xingtuo Technology Co ltd
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 Chengdu Cetc Xingtuo Technology Co ltd filed Critical Chengdu Cetc Xingtuo Technology Co ltd
Priority to CN202411160886.6A priority Critical patent/CN118677450B/en
Publication of CN118677450A publication Critical patent/CN118677450A/en
Application granted granted Critical
Publication of CN118677450B publication Critical patent/CN118677450B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/081Details of the phase-locked loop provided with an additional controlled phase shifter
    • GPHYSICS
    • G04HOROLOGY
    • G04FTIME-INTERVAL MEASURING
    • G04F10/00Apparatus for measuring unknown time intervals by electric means
    • G04F10/005Time-to-digital converters [TDC]
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L2207/00Indexing scheme relating to automatic control of frequency or phase and to synchronisation
    • H03L2207/50All digital phase-locked loop

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The invention discloses a DTC correction method and an ADPLL based on a sequence adjustment. In order to correct nonlinearity in the DTC, the DTC correction method based on the order adjustment at least receives the phase to be delayed through a correction circuit and outputs a DTC code value; the sequence-adjusting mapping module determines a delay unit set of an access delay circuit in the DTC according to the received DTC code value; the DTC controls the delay unit to access the delay circuit according to the received indication about the delay unit set; the delay units in the DTC are divided into M segments, each segment comprises N delay units, each delay unit has a unique sequence number, and the sequence number of the delay unit in each segment is increased; the set of delay cells is the same as the delay cells determined in the following manner: sequentially selecting delay units with the smallest sequence number and not selected from the M segments until the number of the selected delay units is equal to the DTC code value. The invention can realize the nonlinear correction in the DTC only by consuming lower resource consumption.

Description

基于调序的DTC校正方法和ADPLLDTC Correction Method and ADPLL Based on Sequencing

技术领域Technical Field

本发明涉及时钟芯片领域,具体涉及一种基于调序的DTC校正方法和ADPLL。The invention relates to the field of clock chips, and in particular to a DTC correction method based on sequencing and an ADPLL.

背景技术Background Art

全数字锁相环(All-Digital Phase-Locked Loop,ADPLL)是一种完全使用数字电路实现的锁相环系统,包括鉴频器、鉴相器和数控振荡器等,用于同步输出信号的相位和频率与参考信号。传统的锁相环通常包含模拟元件,而ADPLL则消除了这些模拟组件,采用数字电路的优势,如可编程性、低功耗、缩小尺寸和增强集成度。All-Digital Phase-Locked Loop (ADPLL) is a phase-locked loop system that is completely implemented using digital circuits, including frequency detectors, phase detectors, and digitally controlled oscillators, etc., which are used to synchronize the phase and frequency of the output signal with the reference signal. Traditional phase-locked loops usually contain analog components, while ADPLL eliminates these analog components and adopts the advantages of digital circuits, such as programmability, low power consumption, reduced size, and enhanced integration.

全数字锁相环电路中,常常会采用数字时间转换器(Digital to TimeConverter,DTC)对时钟信号进行延迟,以得到所需时钟的相位。In a fully digital phase-locked loop circuit, a digital to time converter (DTC) is often used to delay the clock signal to obtain the required clock phase.

图1展示了一个DTC不同延迟单元的原始步长值的分布图。示例中,横轴是延迟单元的序号,纵轴是原始步长值。原始步长值越大,意味着延时越长。该图中DTC的延迟单元在设计时被分为8段,每段有16个延迟单元,在每一段中随延迟单元序号的增大,原始步长值总体也在增大,这是由器件的结构和工艺所决定的。Figure 1 shows the distribution of the original step values of different delay units in a DTC. In the example, the horizontal axis is the serial number of the delay unit, and the vertical axis is the original step value. The larger the original step value, the longer the delay. The delay unit of the DTC in the figure is divided into 8 segments during design, and each segment has 16 delay units. In each segment, as the serial number of the delay unit increases, the original step value also increases overall, which is determined by the structure and process of the device.

图2原始步长值和平均步长值的对比图。若不对DTC的延迟单元进行校正,则认为平均步长值就是校正步长值。从图2中可以看出,原始步长值和平均步长值之间差异较大,波动也较大。故而,不经校正的DTC存在较大的系统误差。Figure 2 is a comparison of the original step value and the average step value. If the delay unit of the DTC is not calibrated, the average step value is considered to be the corrected step value. As can be seen from Figure 2, there is a large difference between the original step value and the average step value, and the fluctuation is also large. Therefore, the uncalibrated DTC has a large system error.

由于数字时间转换器受工艺、电压、温度的影响很大,因此数字时间转换器的步长值会有非线性,如果不校正该非线性,则会对时钟信号的延迟产生预期外的提前或延迟,在相噪谱上产生凸起或尖刺,降低时钟性能。Since the digital time converter is greatly affected by the process, voltage and temperature, the step value of the digital time converter will be nonlinear. If the nonlinearity is not corrected, it will cause unexpected advance or delay in the delay of the clock signal, resulting in bumps or spikes on the phase noise spectrum, reducing the clock performance.

发明内容Summary of the invention

为了缓解或部分缓解上述技术问题,本发明的解决方案如下所述:In order to alleviate or partially alleviate the above technical problems, the solution of the present invention is as follows:

一种基于调序的DTC校正方法,应用于ADPLL之中,通过校正电路至少接收待延迟相位,并输出DTC码值;调序映射模块根据接收的DTC码值,确定DTC中接入延迟电路的延迟单元集合;DTC根据接收到的关于所述延迟单元集合的指示,控制延迟单元接入延迟电路;其中,所述DTC中的延迟单元被划分为M个分段,每个分段包括N个延迟单元,每个延迟单元拥有唯一的序号,每个分段内的延迟单元的序号递增,并且M和N均为正整数;所述延迟单元集合与如下方式所确定的延迟单元相同:依次从M个分段中选取序号最小且从未被选中过的延迟单元,直至被选中的延迟单元的数量等于DTC码值。A DTC correction method based on sequencing is applied to ADPLL, wherein at least a phase to be delayed is received through a correction circuit, and a DTC code value is output; a sequencing mapping module determines a set of delay units in a DTC that are connected to a delay circuit according to the received DTC code value; the DTC controls the delay units to connect to the delay circuit according to the received instructions about the delay unit set; wherein the delay units in the DTC are divided into M segments, each segment includes N delay units, each delay unit has a unique serial number, the serial numbers of the delay units in each segment are incremented, and M and N are both positive integers; the delay unit set is the same as the delay unit determined in the following manner: the delay unit with the smallest serial number and which has never been selected is selected from the M segments in turn, until the number of selected delay units is equal to the DTC code value.

进一步地,所述调序映射模块交换所述唯一的序号中的前部分比特和后部分比特,获得调序后的序号;按照调序后的序号的大小,将调序后的序号不超过DTC码值的延迟单元,作为延迟单元集合中的元素之一;其中,所述唯一的序号是二进制序号。Furthermore, the sequencing mapping module exchanges the front part bits and the rear part bits in the unique sequence number to obtain the sequence number after sequencing; according to the size of the sequence number after sequencing, the delay unit whose sequence number after sequencing does not exceed the DTC code value is used as one of the elements in the delay unit set; wherein, the unique sequence number is a binary sequence number.

进一步地,所述M等于8,所述N等于16;所述唯一的序号中的前部分比特为所述唯一的序号的前四比特,所述唯一的序号中的后部分比特为所述唯一的序号的后三比特。Furthermore, M is equal to 8, and N is equal to 16; the first part of the bits in the unique sequence number is the first four bits of the unique sequence number, and the last part of the bits in the unique sequence number is the last three bits of the unique sequence number.

进一步地,所述校正电路被配置为:所接收的待延迟相位与-0.5相加后取平方,取平方后的结果和第一参数相乘,获得第三结果;所接收的待延迟相位与第二参数相乘,获得第四结果;第三结果和第四结果相加后,经向下取整模块执行向下取整后,获得DTC码值。Further, the correction circuit is configured as follows: the received phase to be delayed is added to -0.5 and then squared, and the squared result is multiplied by the first parameter to obtain a third result; the received phase to be delayed is multiplied by the second parameter to obtain a fourth result; the third result and the fourth result are added, and then rounded down by a rounding-down module to obtain a DTC code value.

进一步地,所述第一参数通过如下方式获得:待延迟相位与-0.5相加后进行取平方运算,获得取平方运算后的结果,取平方运算后的结果与相位误差信号相乘,再和第一增益系数相乘,获得第一结果;第一结果和第一参数的先前值相加,获得第一参数;其中,所述相位误差信号是ADPLL中鉴相器输出的用于表示相位误差的信号。Furthermore, the first parameter is obtained in the following manner: the delayed phase is added to -0.5 and then squared to obtain a result after the square operation, the result after the square operation is multiplied by the phase error signal, and then multiplied by the first gain coefficient to obtain a first result; the first result is added to a previous value of the first parameter to obtain the first parameter; wherein the phase error signal is a signal output by the phase detector in the ADPLL for indicating a phase error.

进一步地,所述第二参数通过如下方式获得:待延迟相位和相位误差信号相乘后,再乘以第二增益系数,获得第二结果;第二结果和第二参数的先前值相加后,获得第二参数。Furthermore, the second parameter is obtained in the following manner: after multiplying the delayed phase and the phase error signal, multiplying by the second gain coefficient to obtain a second result; after adding the second result and the previous value of the second parameter, the second parameter is obtained.

一种ADPLL,所述ADPLL包括DTC;在ADPLL之中,根据前述任一项所述的基于调序的DTC校正方法对DTC进行步长校正。An ADPLL includes a DTC; in the ADPLL, the DTC is step-corrected according to any of the above-mentioned DTC correction methods based on sequencing.

本发明技术方案,具有如下有益的技术效果之一或多个:The technical solution of the present invention has one or more of the following beneficial technical effects:

(1)本发明可以在后台自适应校正数字时间转换器的非线性,准确度高,不影响系统工作,还可以实时跟踪因为温度、电压等导致的数字时间转换器的步长变化,提高输出时钟性能。(1) The present invention can adaptively correct the nonlinearity of the digital time converter in the background with high accuracy without affecting the system operation. It can also track the step size changes of the digital time converter caused by temperature, voltage, etc. in real time to improve the output clock performance.

(2)只需占用较少的芯片资源、面积和功耗。非常适合每个分段中延迟单元的步长值和非线性特性基本相当的情形。(2) It only takes up less chip resources, area and power consumption. It is very suitable for the situation where the step value and nonlinear characteristics of the delay unit in each segment are basically the same.

此外,本发明还具有的其它有益效果将在具体实施例中提及。In addition, other beneficial effects of the present invention will be mentioned in the specific embodiments.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1是一个DTC不同延迟单元的原始步长值的分布图;FIG1 is a distribution diagram of the original step values of different delay units of a DTC;

图2是原始步长值和平均步长值的对比图;Figure 2 is a comparison chart of the original step length value and the average step length value;

图3是本发明通过校正电路调整DTC技术方案的框图;3 is a block diagram of a technical solution for adjusting DTC by a correction circuit according to the present invention;

图4(a)是获得第一参数方法的示意图;FIG4( a ) is a schematic diagram of a method for obtaining a first parameter;

图4(b)是获得第二参数方法的示意图;FIG4( b ) is a schematic diagram of a method for obtaining the second parameter;

图5是本发明校正电路示意图;FIG5 is a schematic diagram of a correction circuit of the present invention;

图6是调序后的原始步长值示意图;FIG6 is a schematic diagram of the original step value after sequencing;

图7是校正步长值和调序后的原始步长值对照图;FIG7 is a comparison diagram of the corrected step value and the original step value after sequencing;

图8是误差对照图;Figure 8 is an error comparison diagram;

图9是本发明基于调序的DTC校正方法流程图。FIG. 9 is a flow chart of a DTC correction method based on sequencing according to the present invention.

具体实施方式DETAILED DESCRIPTION

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

为了便于清楚描述本发明实施例的技术方案,在本发明的实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分。本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定。In order to clearly describe the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, words such as "first" and "second" are used to distinguish the same or similar items with substantially the same functions and effects. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order.

DTC是基于电阻-电容的电路单元而实现的,包括多个延迟单元。这些延迟单元被分配为不同的序号。The DTC is implemented based on a resistor-capacitor circuit unit, and includes a plurality of delay units, which are assigned different serial numbers.

示例地,若DTC一共包括128个延迟单元,且延迟单元的十进制序号依次为:0、1、2、……、126、127。很显然,这些十进制序号都有对应的二进制表示方法。For example, if the DTC includes 128 delay units in total, and the decimal numbers of the delay units are: 0, 1, 2, ..., 126, 127. Obviously, these decimal numbers have corresponding binary representation methods.

若干DTC码值等于3,则序号为0、1、2的两个延迟单元被接入延迟电路。若干DTC码值等于15,则序号为0~14的15个延迟单元被接入延迟电路。If the DTC code value is equal to 3, two delay units numbered 0, 1, and 2 are connected to the delay circuit. If the DTC code value is equal to 15, 15 delay units numbered 0 to 14 are connected to the delay circuit.

图3展示了本发明通过校正电路调整DTC技术方案的框图。校正电路接收第一参数和第二参数以及待延迟相位。校正电路输出DTC码值至调序映射模块,其中DTC码值指示应有多少个延迟单元接入DTC中的延迟电路。FIG3 shows a block diagram of the technical solution of adjusting the DTC by a correction circuit of the present invention. The correction circuit receives the first parameter and the second parameter and the phase to be delayed. The correction circuit outputs a DTC code value to the sequence mapping module, wherein the DTC code value indicates how many delay units should be connected to the delay circuit in the DTC.

作为本发明的创新之处,调序映射模块则指示DTC中哪些延迟单元接入延迟电路,而非单纯指示DTC有多少个延迟单元接入DTC中的延迟电路。As an innovation of the present invention, the sequencing mapping module indicates which delay units in the DTC are connected to the delay circuit, rather than simply indicating how many delay units in the DTC are connected to the delay circuit in the DTC.

仍以前述128个延迟单元为例,在调序前,128个延迟单元各自拥有对应的十进制序号和二进制序号,即调序前十进制序号和调序前二进制序号。Still taking the aforementioned 128 delay units as an example, before sequencing, the 128 delay units each have a corresponding decimal sequence number and binary sequence number, that is, the decimal sequence number before sequencing and the binary sequence number before sequencing.

调序后,128个延迟单元各自也拥有对应的调序后十进制序号和调序后二进制序号。After sequencing, each of the 128 delay units also has a corresponding sequenced decimal number and sequenced binary number.

本发明中的调序方法,示例地,将调序前二进制序号中的前四位和调序前二进制序号中的后三位交换顺序,获得调序后二进制序号,让然后根据二进制与十进制之间的转换关系,即可获得调序后十进制序号。The sequencing method of the present invention, for example, exchanges the order of the first four bits of the binary sequence number before sequencing and the last three bits of the binary sequence number before sequencing to obtain the binary sequence number after sequencing, and then obtains the decimal sequence number after sequencing based on the conversion relationship between binary and decimal.

示例地,若调序前十进制序号为“102”,它是一个延迟单元唯一的序号,对应的调序前二进制序号则为“1100 110”,交换调序前二进制序号中的前四比特和调序前二进制序号中的后三比特顺序后,则获得调序后二进制序号“110 1100”,即对应调序后十进制序号“108”。For example, if the decimal sequence number before sequencing is "102", which is a unique sequence number of a delay unit, the corresponding binary sequence number before sequencing is "1100 110". After exchanging the order of the first four bits of the binary sequence number before sequencing and the last three bits of the binary sequence number before sequencing, the binary sequence number after sequencing is "110 1100", which corresponds to the decimal sequence number after sequencing is "108".

依照上述调序方法,交换调序前二进制序号的前部分比特和后部分比特,可以获得二进制序号和十进制序号调序前后对照表,具体详见表1。According to the above-mentioned sequencing method, the first part of the bits and the last part of the bits of the binary number before sequencing are exchanged, and a comparison table of the binary number and the decimal number before and after sequencing can be obtained, as shown in Table 1 for details.

表1:DTC中延迟单元的二进制序号和十进制序号调序前后对照表Table 1: Comparison table of binary and decimal serial numbers of delay units in DTC before and after adjustment

调序映射模块根据获得的DTC码值,则决定将DTC中哪些延迟单元接入延迟电路。虽然无法改变不同延迟单元的原始步长值,但是本发明中决定不同延迟单元的使用组合或顺序。The sequence mapping module determines which delay units in the DTC are connected to the delay circuit according to the obtained DTC code value. Although the original step values of different delay units cannot be changed, the present invention determines the use combination or order of different delay units.

示例地,若DTC为3,在传统方案中,将按照延迟单元的序号选择前三个延迟单元接入延迟电路,具体而言,是调序前十进制序号为“0”、“1”“2”的3个延迟单元。For example, if DTC is 3, in the traditional scheme, the first three delay units are selected according to the sequence number of the delay unit to access the delay circuit, specifically, the three delay units whose decimal sequence numbers are "0", "1" and "2" before sequencing.

而调序映射模块依然选择共计3个延迟单元接入延迟电路,但是这三个延迟单元的序号不再是调序前十进制序号为“0”、“1”“2”的3个延迟单元,而是调序后十进制序号为“0”、“1”“2”的3个延迟单元,也即调序前十进制序号为“0”、“16”、“32”的三个延迟单元。The sequencing mapping module still selects a total of 3 delay units to connect to the delay circuit, but the serial numbers of these three delay units are no longer the three delay units with decimal numbers "0", "1" and "2" before sequencing, but the three delay units with decimal numbers "0", "1" and "2" after sequencing, that is, the three delay units with decimal numbers "0", "16" and "32" before sequencing.

若将128个延迟单元划分为8分段,每个分段包含16个延迟单元,在同一个分段中,调序前十进制序号越大的延迟单元的原始步长值越大。本发明中前述的三个延迟单元也是DTC前三段中的首个延迟单元。If 128 delay units are divided into 8 segments, each segment contains 16 delay units, and in the same segment, the delay unit with a larger decimal number before the sequence adjustment has a larger original step value. The aforementioned three delay units in the present invention are also the first delay units in the first three segments of the DTC.

换言之,调序映射模块接收到DTC码值后,则依次从所有分段中选择使得调序前十进制序号之和最小的延迟单元组合,作为最终接入延迟电路的延迟单元组合。由于二进制和十进制大小关系一致,所以调序前十进制序号之和最小也即调序前二进制序号之和最小,或者调序前序号之和最小。In other words, after receiving the DTC code value, the sequence mapping module selects the delay unit combination that makes the sum of the decimal sequence numbers before the sequence adjustment the smallest from all the segments in turn as the delay unit combination finally connected to the delay circuit. Since the binary and decimal numbers have the same size relationship, the sum of the decimal sequence numbers before the sequence adjustment is the smallest, that is, the sum of the binary sequence numbers before the sequence adjustment is the smallest, or the sum of the sequence numbers before the sequence adjustment is the smallest.

从另一个角度看,延迟单元组合是:依次从8个分段中选取序号(调序前十进制序号或调序前二进制序号)最小且从未被选中过的延迟单元,直至被选中的延迟单元的数量等于DTC码值。From another perspective, the delay unit combination is: select the delay unit with the smallest sequence number (decimal sequence number before sequencing or binary sequence number before sequencing) and has never been selected from the 8 segments in turn, until the number of selected delay units is equal to the DTC code value.

图4(a)展示了获得第一参数方法的示意图。待延迟相位与-0.5相加后进行取平方运算,获得取平方运算后的结果,取平方运算后的结果与相位误差信号相乘,并进一步和第一增益系数u1相乘,获得第一结果;第一结果和第一参数的先前值相加,获得第一参数。FIG4 (a) shows a schematic diagram of a method for obtaining the first parameter. The delayed phase is added to -0.5 and then squared to obtain a squared result. The squared result is multiplied by the phase error signal and further multiplied by the first gain coefficient u1 to obtain a first result. The first result is added to the previous value of the first parameter to obtain the first parameter.

此外,本发明附图中的Z-1标记是本领域中惯用的表达单位延迟的符号,经过单位延迟后的值是先前值。第一参数代表DTC步长值曲线的斜率。In addition, the Z -1 mark in the drawings of the present invention is a symbol commonly used in the art to express a unit delay, and the value after the unit delay is the previous value. The first parameter represents the slope of the DTC step value curve.

图4(b)展示了获得第二参数方法的示意图。待延迟相位和相位误差信号相乘后,再乘以第二增益系数u2,获得第二结果。第二结果和第二参数的先前值相加后,获得第二参数。第二参数代表DTC的平均步长值。FIG4 (b) shows a schematic diagram of the method for obtaining the second parameter. After the delayed phase and the phase error signal are multiplied, they are multiplied by the second gain coefficient u 2 to obtain a second result. After the second result and the previous value of the second parameter are added, the second parameter is obtained. The second parameter represents the average step value of the DTC.

进一步地,所述相位误差信号是ADPLL中鉴相器输出的用于表示相位误差的信号。Furthermore, the phase error signal is a signal output by a phase detector in the ADPLL and used to represent a phase error.

图5展示了本发明校正电路示意图。输入的待延迟相位与-0.5相加后取平方,取平方后的结果和第一参数相乘,获得第三结果。Figure 5 shows a schematic diagram of the correction circuit of the present invention. The input phase to be delayed is added to -0.5 and then squared, and the squared result is multiplied by the first parameter to obtain a third result.

待延迟相位还与第二参数相乘,获得第四结果。第三结果和第四结果相加后,经向下取整模块执行向下取整后,获得DTC码值。The delayed phase is further multiplied by the second parameter to obtain a fourth result. After the third result and the fourth result are added, the DTC code value is obtained after the rounding module performs rounding down.

图6是调序后的原始步长值示意图。横轴是延迟单元的调序后十进制序号,纵轴是调序后的原始步长值,单位是秒。依照调序后的排列,原始步长值整体呈近似线性关系。Figure 6 is a schematic diagram of the original step value after the sequence adjustment. The horizontal axis is the decimal sequence number of the delay unit after the sequence adjustment, and the vertical axis is the original step value after the sequence adjustment, and the unit is second. According to the arrangement after the sequence adjustment, the original step value is generally in a linear relationship.

图7是校正步长值和调序后的原始步长值对照图。横轴是延迟单元的调序后十进制序号,纵轴是步长值。图中实线是调序后的原始步长值,虚线是校正步长值,单位是秒。从图7可以看出,本发明更接近真实步长值,具有较好的校正效果。FIG7 is a comparison chart of the corrected step value and the original step value after sequencing. The horizontal axis is the decimal sequence number of the delay unit after sequencing, and the vertical axis is the step value. The solid line in the figure is the original step value after sequencing, and the dotted line is the corrected step value, and the unit is second. As can be seen from FIG7, the present invention is closer to the actual step value and has a better correction effect.

图8是误差对照图,对比了传统方案采用平均步长值作为校正结果的误差和本发明校正步长值误差。横轴是延迟单元的调序后十进制序号。纵轴是误差值,单位是秒。实线是平均步长值误差值,虚线是校正步长值误差值。从中不难得出,相比于传统方案,本发明的误差值更集中于0附近,校正后结果的精度更优。FIG8 is an error comparison chart, comparing the error of the conventional scheme using the average step value as the correction result and the error of the correction step value of the present invention. The horizontal axis is the decimal sequence number of the delay unit after adjustment. The vertical axis is the error value, and the unit is second. The solid line is the average step value error value, and the dotted line is the correction step value error value. It is not difficult to conclude that compared with the conventional scheme, the error value of the present invention is more concentrated near 0, and the accuracy of the correction result is better.

图9展示了本发明一种基于调序的DTC校正方法,应用于ADPLL之中,通过校正电路至少接收待延迟相位,并输出DTC码值;调序映射模块根据接收的DTC码值,确定DTC中接入延迟电路的延迟单元集合;DTC根据接收到的关于所述延迟单元集合的指示,控制延迟单元接入延迟电路。FIG9 shows a DTC correction method based on sequencing of the present invention, which is applied to ADPLL, wherein at least a phase to be delayed is received through a correction circuit, and a DTC code value is output; a sequencing mapping module determines a set of delay units connected to a delay circuit in the DTC according to the received DTC code value; and the DTC controls the delay units to connect to the delay circuit according to the received indication of the delay unit set.

此外,所述DTC中的延迟单元被划分为M个分段,每个分段包括N个延迟单元,每个延迟单元拥有唯一的序号,每个分段内的延迟单元的序号递增;所述延迟单元集合与如下方式所确定的延迟单元相同:依次从M个分段中选取序号最小且从未被选中过的延迟单元,直至被选中的延迟单元的数量等于DTC码值。其中,M和N均为正整数。In addition, the delay units in the DTC are divided into M segments, each segment includes N delay units, each delay unit has a unique serial number, and the serial numbers of the delay units in each segment are incremented; the delay unit set is the same as the delay unit determined in the following manner: sequentially select the delay unit with the smallest serial number and never selected from the M segments until the number of selected delay units is equal to the DTC code value. Wherein, M and N are both positive integers.

进一步地,所述调序映射模块交换所述唯一的序号中的前部分比特和后部分比特,获得调序后的序号;按照调序后的序号的大小,将调序后的序号不超过DTC码值的延迟单元,作为延迟单元集合中的元素之一;其中,所述唯一的序号是二进制序号。Furthermore, the sequencing mapping module exchanges the front part bits and the rear part bits in the unique sequence number to obtain the sequence number after sequencing; according to the size of the sequence number after sequencing, the delay unit whose sequence number after sequencing does not exceed the DTC code value is used as one of the elements in the delay unit set; wherein, the unique sequence number is a binary sequence number.

此外,本发明还公开一种ADPLL,所述ADPLL包括DTC;在ADPLL之中,根据前述的基于调序的DTC校正方法对DTC进行步长校正。In addition, the present invention also discloses an ADPLL, wherein the ADPLL includes a DTC; in the ADPLL, the DTC is step-corrected according to the aforementioned DTC correction method based on sequencing.

为了更好的说明本发明,在上文的具体实施方式中给出了众多的具体细节。本领域技术人员应当理解,没有某些具体细节,本发明同样可以实施。在一些实例中,对于本领域技术人员熟知的方法、手段、元件和电路未作详细描述,以便于凸显本发明的主旨。In order to better illustrate the present invention, numerous specific details are provided in the above specific embodiments. It should be understood by those skilled in the art that the present invention can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present invention.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (6)

1.一种基于调序的DTC校正方法,应用于ADPLL之中,其特征在于:1. A DTC correction method based on sequencing, applied to ADPLL, characterized in that: 通过校正电路至少接收待延迟相位,并输出DTC码值;receiving at least the phase to be delayed through the correction circuit and outputting a DTC code value; 调序映射模块根据接收的DTC码值,确定DTC中接入延迟电路的延迟单元集合;The sequence mapping module determines the set of delay units connected to the delay circuit in the DTC according to the received DTC code value; DTC根据接收到的关于所述延迟单元集合的指示,控制延迟单元接入延迟电路;其中,所述DTC中的延迟单元被划分为M个分段,每个分段包括N个延迟单元,每个延迟单元拥有唯一的序号,每个分段内的延迟单元的序号递增,并且M和N均为正整数;The DTC controls the delay unit to access the delay circuit according to the received indication about the delay unit set; wherein the delay unit in the DTC is divided into M segments, each segment includes N delay units, each delay unit has a unique serial number, the serial number of the delay unit in each segment increases, and M and N are both positive integers; 所述延迟单元集合与如下方式所确定的延迟单元相同:依次从M个分段中选取序号最小且从未被选中过的延迟单元,直至被选中的延迟单元的数量等于DTC码值;The delay unit set is the same as the delay unit determined by: sequentially selecting the delay unit with the smallest sequence number and never selected from the M segments until the number of selected delay units is equal to the DTC code value; 所述调序映射模块交换所述唯一的序号中的前部分比特和后部分比特,获得调序后的序号;The reorder mapping module exchanges the first part of bits and the second part of bits in the unique sequence number to obtain a reordered sequence number; 按照调序后的序号的大小,将调序后的序号不超过DTC码值的延迟单元,作为延迟单元集合中的元素之一;其中,所述唯一的序号是二进制序号。According to the size of the adjusted sequence number, the delay unit whose sequence number does not exceed the DTC code value is used as one of the elements in the delay unit set; wherein the unique sequence number is a binary sequence number. 2.根据权利要求1所述的基于调序的DTC校正方法,其特征在于:2. The DTC correction method based on sequencing according to claim 1, characterized in that: 所述M等于8,所述N等于16;The M is equal to 8, and the N is equal to 16; 所述唯一的序号中的前部分比特为所述唯一的序号的前四比特,所述唯一的序号中的后部分比特为所述唯一的序号的后三比特。The first part of the bits in the unique sequence number is the first four bits of the unique sequence number, and the second part of the bits in the unique sequence number is the last three bits of the unique sequence number. 3.根据权利要求2所述的基于调序的DTC校正方法,其特征在于:3. The DTC correction method based on sequencing according to claim 2, characterized in that: 所述校正电路被配置为:The correction circuit is configured as follows: 所接收的待延迟相位与-0.5相加后取平方,取平方后的结果和第一参数相乘,获得第三结果;The received phase to be delayed is added to -0.5 and then squared, and the squared result is multiplied by the first parameter to obtain a third result; 所接收的待延迟相位与第二参数相乘,获得第四结果;multiplying the received phase to be delayed by the second parameter to obtain a fourth result; 第三结果和第四结果相加后,经向下取整模块执行向下取整后,获得DTC码值。After the third result and the fourth result are added, the DTC code value is obtained after the rounding down module performs rounding down. 4.根据权利要求3所述的基于调序的DTC校正方法,其特征在于:4. The DTC correction method based on sequencing according to claim 3 is characterized in that: 所述第一参数通过如下方式获得:The first parameter is obtained in the following manner: 待延迟相位与-0.5相加后进行取平方运算,获得取平方运算后的结果,取平方运算后的结果与相位误差信号相乘,再和第一增益系数相乘,获得第一结果;After the delayed phase is added to -0.5, a square operation is performed to obtain a result after the square operation, the result after the square operation is multiplied by the phase error signal, and then multiplied by the first gain coefficient to obtain a first result; 第一结果和第一参数的先前值相加,获得第一参数;其中,The first result is added to the previous value of the first parameter to obtain the first parameter; wherein, 所述相位误差信号是ADPLL中鉴相器输出的用于表示相位误差的信号。The phase error signal is a signal output by the phase detector in the ADPLL and is used to indicate the phase error. 5.根据权利要求4所述的基于调序的DTC校正方法,其特征在于:5. The DTC correction method based on sequencing according to claim 4, characterized in that: 所述第二参数通过如下方式获得:The second parameter is obtained by: 待延迟相位和相位误差信号相乘后,再乘以第二增益系数,获得第二结果;After the delayed phase and the phase error signal are multiplied, the second result is obtained by multiplying the second result by a second gain coefficient; 第二结果和第二参数的先前值相加后,获得第二参数。The second result is added to the previous value of the second parameter to obtain the second parameter. 6.一种ADPLL,其特征在于:6. An ADPLL, characterized in that: 所述ADPLL包括DTC;The ADPLL includes a DTC; 在ADPLL之中,根据权利要求1-5中任一项所述的基于调序的DTC校正方法对DTC进行步长校正。In the ADPLL, the DTC is step-corrected according to the DTC correction method based on sequencing according to any one of claims 1 to 5.
CN202411160886.6A 2024-08-22 2024-08-22 DTC Correction Method and ADPLL Based on Sequencing Active CN118677450B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411160886.6A CN118677450B (en) 2024-08-22 2024-08-22 DTC Correction Method and ADPLL Based on Sequencing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411160886.6A CN118677450B (en) 2024-08-22 2024-08-22 DTC Correction Method and ADPLL Based on Sequencing

Publications (2)

Publication Number Publication Date
CN118677450A CN118677450A (en) 2024-09-20
CN118677450B true CN118677450B (en) 2024-10-25

Family

ID=92729539

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411160886.6A Active CN118677450B (en) 2024-08-22 2024-08-22 DTC Correction Method and ADPLL Based on Sequencing

Country Status (1)

Country Link
CN (1) CN118677450B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3035535A1 (en) * 2014-12-19 2016-06-22 Stichting IMEC Nederland ADPLL with a TDC having a reduced DTC range

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7999707B2 (en) * 2008-12-02 2011-08-16 Electronics And Telecommunications Research Institute Apparatus for compensating for error of time-to-digital converter
EP2339753B1 (en) * 2009-12-24 2012-07-04 Nxp B.V. A digital phase locked loop
EP3249817B1 (en) * 2016-05-25 2018-12-26 IMEC vzw Dtc-based pll and method for operating the dtc-based pll
CN109863697B (en) * 2016-10-12 2021-08-13 华为技术有限公司 High Linearity Digital Time Converter for Low Noise All Digital Phase Locked Loop

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3035535A1 (en) * 2014-12-19 2016-06-22 Stichting IMEC Nederland ADPLL with a TDC having a reduced DTC range

Also Published As

Publication number Publication date
CN118677450A (en) 2024-09-20

Similar Documents

Publication Publication Date Title
JP4566560B2 (en) Cascade delay lock loop circuit
US6710726B2 (en) Serializer-deserializer circuit having increased margins for setup and hold time
US20070194960A1 (en) Time-interleaved analog-to-digital converter having timing calibration
US20100213991A1 (en) Delay-locked loop circuit and method for synchronization by delay-locked loop
EP1417762A2 (en) Clock data recovering system with external early/late input
SE516301C2 (en) N-fractional frequency synthesis with residual error correction
KR100865662B1 (en) Noise Shaping Digital Frequency Synthesis
CN105763187B (en) Modulator and its delay automatic calibration circuit and delay control module
JPH04270515A (en) Parallel-to-serial conversion device and serial-to-parallel conversion device of data and digital transmission system of serial data
US7830192B2 (en) Delay circuit and related method thereof
GB2359706A (en) Synchronising data and clock signals using a programmable delay circuit
CN118677450B (en) DTC Correction Method and ADPLL Based on Sequencing
CN117255141A (en) Method, device, equipment and storage medium for recovering oversampled data
CN116155267A (en) Delay chain circuit with configurable delay time length
CN114598302B (en) Clock duty cycle calibration device
CN118318395A (en) System and method for on-line gain calibration of digital-to-time converter
CN118677452A (en) Method for correcting TDC step length in ADPLL based on random jitter
CN118677459A (en) Method for correcting DCO step length in ADPLL
EP1803215A1 (en) System and method for introducing dither for reducing spurs in digital-to-time converter direct digital synthesis
CN113141181A (en) Digital control circuit and clock data recovery circuit of clock data recovery circuit
TWI774485B (en) All-digital phase-locked loop and calibration method thereof
CN111835345B (en) DLL control circuit and control method
JP2003309543A (en) Clock recovery circuit and data receiving circuit
CN118677447B (en) All-digital phase-locked loop circuit
CN118677449B (en) Segment-based DTC correction method and ADPLL

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