WO2018121469A1 - System and method for high-precision clock delay calibration - Google Patents

System and method for high-precision clock delay calibration Download PDF

Info

Publication number
WO2018121469A1
WO2018121469A1 PCT/CN2017/118233 CN2017118233W WO2018121469A1 WO 2018121469 A1 WO2018121469 A1 WO 2018121469A1 CN 2017118233 W CN2017118233 W CN 2017118233W WO 2018121469 A1 WO2018121469 A1 WO 2018121469A1
Authority
WO
WIPO (PCT)
Prior art keywords
output
multiplexer
processing module
calibration
delay
Prior art date
Application number
PCT/CN2017/118233
Other languages
French (fr)
Chinese (zh)
Inventor
叶立平
唐可信
Original Assignee
深圳市志奋领科技有限公司
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 深圳市志奋领科技有限公司 filed Critical 深圳市志奋领科技有限公司
Publication of WO2018121469A1 publication Critical patent/WO2018121469A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass
    • H03K5/13Arrangements having a single output and transforming input signals into pulses delivered at desired time intervals
    • H03K5/135Arrangements having a single output and transforming input signals into pulses delivered at desired time intervals by the use of time reference signals, e.g. clock signals

Definitions

  • the invention belongs to the technical field of computers, and in particular relates to a system and method for high precision delayed clock calibration.
  • precise delay is the key to the whole system, but the actual value of the delay is affected by the external environment such as temperature.
  • the MC100EP196 of ON Semiconductor has a large temperature drift effect. Time calibration is an important measure to improve the accuracy of the entire system.
  • a second object of the present invention is to provide a delayed clock calibration method that solves the technical problem of delayed clock calibration.
  • a system for delaying clock calibration comprising a NAND gate, an AND gate, a delay chip, a multiplexer and a processing module, the multiplexer comprising a calibration output and a clock output, the processing module including a delay Control terminal, selection control terminal and control switch terminal;
  • the two input ends of the AND gate are respectively connected to the output end of the NAND gate and the clock input end; the output end of the AND gate is connected to the input end of the multiplexer via the delay chip, and the delay of the processing module
  • the control end and the selection control end are respectively connected to the control end of the delay chip and the control end of the multiplexer, and the two input ends of the NAND gate are respectively connected to the control switch end of the processing module and the calibration of the multiplexer Output
  • the selection control end of the processing module and the control switch end have the same output logic.
  • the multiplexer When the selection control end of the processing module outputs a high level, the multiplexer outputs a calibration signal through the calibration output end, and at the selection control end of the processing module When the output is low, the multiplexer outputs a clock signal through the clock output.
  • a frequency divider is further included, and the calibration output of the multiplexer is electrically connected to the processing module through a frequency divider.
  • the multiplexer is a two-way selector.
  • the model of the time delay chip is MC100EP196.
  • the present invention also provides a system for delay clock calibration, comprising a NOT gate, an AND gate, a delay chip, a multiplexer and a processing module, the multiplexer including a calibration output and a clock output.
  • the processing module includes a delay control terminal and a selection control terminal;
  • the two input ends of the AND gate are respectively connected to the output terminal of the NOT gate and the clock input terminal;
  • the output end of the AND gate is connected to the input end of the multiplexer via a delay chip, and the delay control of the processing module
  • the terminal and the selection control terminal are respectively connected to the control end of the delay chip and the control end of the multiplexer, and the input terminals of the NOT gate are respectively connected to the control switch end of the processing module and the calibration output end of the multiplexer;
  • the multiplexer When the selection control terminal of the processing module outputs a high level, the multiplexer outputs a calibration signal through the calibration output terminal, and when the selection control terminal of the processing module outputs a low level, the multiplexer outputs a clock signal through the clock output terminal.
  • a frequency divider is further included, and the calibration output of the multiplexer is electrically connected to the processing module through a frequency divider.
  • the present invention also provides a delay clock calibration method, including the following steps:
  • the preset range is K.
  • the invention adopts the pulse oscillation counting method to realize the pulse width measurement, and then performs the delay calculation, and finally adjusts the delay chip to achieve the purpose of the delay calibration.
  • the method is economical to use, can be calibrated in real time, and excludes temperature and other external delays. The effect of the chip, thus achieving the effect of high-precision measurement.
  • 1 is a block diagram showing the structure of a system for high-precision delayed clock of the first embodiment
  • Figure 2 is a circuit diagram of Figure 1;
  • FIG. 3 is a structural block diagram of a system for high-precision delayed clock of the second embodiment
  • FIG. 4 is a flow chart of a method of accurately delaying a clock of the present invention.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • the embodiment provides a delay clock calibration system, including a NAND gate, an AND gate, a delay chip, a multiplexer, a frequency divider, and a processing module, where the multiplexer includes calibration.
  • the processing module includes a delay control terminal, a selection control terminal, and a control switch terminal, wherein the multiplexer is a two-way selector in this embodiment;
  • the output end of the AND gate is electrically connected to the input end of the multiplexer through a delay chip, and the calibration end of the multiplexer is electrically connected to the processing module through a frequency divider, and the delay of the processing module
  • the control end is electrically connected to the delay chip, and the selection control end of the processing module is electrically connected to the multiplexer, the control switch end of the processing module is connected to the NAND gate, and the selection control end of the processing module is The output logic of the control switch end is consistent.
  • the multiplexer calibration end is electrically connected to the processing module, and the control switch end of the processing module is electrically connected to the input end of the NAND gate, and the output end of the NAND gate and the input end of the AND gate are electrically connected. Connected, the input of the AND gate receives the clock input signal.
  • the premise of the whole system work is that the duty cycle of the clock input is fixed. This is true for most clock circuits.
  • the whole system works in two modes, one is the calibration mode, and the other is Output mode, both modes are controlled by the logic of the processing module output.
  • the processing module controls the multiplexer to select the calibration terminal, and the clock forms a closed loop
  • the output when the clock input is low, the output is low; when the clock input is high, the output will have an oscillating square wave, and the oscillation period is delayed by the delay chip.
  • the multiplexer delay and the NAND gate delay are determined.
  • the frequency divider divides the oscillating waveform when the system is operating in the high speed mode (such as 100M), and the pulse width is within the capability of the processor to count. .
  • the processing module controls the multiplexer to select the output.
  • the clock output logic is equal to the clock input logic, and the entire system outputs normally.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • the difference between this embodiment and the first embodiment is that the NAND gate in the first embodiment is replaced by a NAND gate, and there are some differences in the circuit structure setting, and the calibration end of the multiplexer is different.
  • the input of the gate is electrically connected; the same effect exists in the actual logic output.
  • the present invention provides a high-precision delayed clock calibration method, which includes the following steps: since the oscillation period is fixed, the processing module can obtain the pulse width width by counting the number of pulses, and the calibration process can be as follows: Method is carried out:
  • S2 Set the delay of the delay chip to a unit setting value, and calculate the number of pulses N; the number of N at this time is a unit setting value of the delay chip delay, the multiplexer delay and The delay of the inverter is determined;
  • S3 Calculate the difference between M and N to obtain S. This value is the number of oscillations generated by the unit set value. Since only a certain set of data will produce a certain error, different levels of calibration can be performed. First, we Perform a rough calibration;
  • the coarse calibration can only calibrate the error greater than one unit set value
  • the error of less than one unit set value can be adjusted by the analog control of the delay chip MC100EP196 to make fine adjustment, so that K100 is closer to 100 times K, through the above In the step we can get an accurate delay value of 100 units.

Landscapes

  • Physics & Mathematics (AREA)
  • Nonlinear Science (AREA)
  • Pulse Circuits (AREA)

Abstract

Disclosed in the present invention are a system and a method for high-precision clock delay calibration. The calibration system comprises a NAND gate, an AND gate, a time delay chip, a multiplexer and a processing module; the multiplexer comprising a calibration end and an output end, the processing module comprising a time delay control end, a selection control end and a control switch end; the output end of the AND gate being electrically connected to the input end of the multiplexer by means of the time delay chip, the time delay control end of the processing module being electrically connected to the time delay chip, the selection control end of the processing module being electrically connected to the multiplexer, the control switch end of the processing module being electrically connected to the input end of the NAND gate, and the output end of the NAND gate being electrically connected to the input end of the AND gate. The present invention uses a pulse oscillation counting method to measure pulse width, then calculates the time delay, before finally adjusting the time delay chip so as to achieve the purpose of time delay calibration; the system can perform the calibration in real time, preventing the time delay chip from being affected by the temperature and other external factors, thereby, a high-precision measurement effect is achieved.

Description

一种高精度延迟时钟校准的系统及方法System and method for high precision delayed clock calibration 技术领域Technical field
本发明属于计算机技术领域,尤其涉及一种高精度延迟时钟校准的系统及方法。The invention belongs to the technical field of computers, and in particular relates to a system and method for high precision delayed clock calibration.
背景技术Background technique
在一些技术领域如雷达和激光等,精确延时是整个系统的关键,但是延时实际值受到外界环境如温度的影响,如安森美的MC100EP196,其温度漂移影响也比较大,因此,实时延时校准成了一个改善整个系统精度的重要措施。In some technical fields such as radar and laser, precise delay is the key to the whole system, but the actual value of the delay is affected by the external environment such as temperature. For example, the MC100EP196 of ON Semiconductor has a large temperature drift effect. Time calibration is an important measure to improve the accuracy of the entire system.
发明内容Summary of the invention
为了克服现有技术的不足,本发明的目的之一在于提供一种高精度延迟时钟校准系统,其能解决延迟时钟校准的技术问题。In order to overcome the deficiencies of the prior art, it is an object of the present invention to provide a high precision delayed clock calibration system that solves the technical problem of delayed clock calibration.
本发明的目的之二在于提供一种延迟时钟校准方法,其能解决延迟时钟校准的技术问题。A second object of the present invention is to provide a delayed clock calibration method that solves the technical problem of delayed clock calibration.
本发明的目的之一采用以下技术方案实现:One of the objects of the present invention is achieved by the following technical solutions:
一种延迟时钟校准的系统,包括与非门、与门、延时芯片、多路选择器和处理模块,所述多路选择器包括校准输出端和时钟输出端,所述处理模块包括延时控制端、选择控制端和控制开关端;A system for delaying clock calibration, comprising a NAND gate, an AND gate, a delay chip, a multiplexer and a processing module, the multiplexer comprising a calibration output and a clock output, the processing module including a delay Control terminal, selection control terminal and control switch terminal;
所述与门的两个输入端分别连接至与非门的输出端和时钟输入端;所述与门的输出端经延时芯片连接至多路选择器的输入端,所述处理模块的延时控制端和选择控制端分别连接至延时芯片的控制端和多路选择器的控制端,所述与非门的两个输入端分别连接至处理模块的控制开关端以及多路选择器的校准输出端;The two input ends of the AND gate are respectively connected to the output end of the NAND gate and the clock input end; the output end of the AND gate is connected to the input end of the multiplexer via the delay chip, and the delay of the processing module The control end and the selection control end are respectively connected to the control end of the delay chip and the control end of the multiplexer, and the two input ends of the NAND gate are respectively connected to the control switch end of the processing module and the calibration of the multiplexer Output
所述处理模块的选择控制端和控制开关端具有相同的输出逻辑,当处理模块的选择控制端输出高电平时,多路选择器通过校准输出端输出校准信号,而在处理模块的选择控制端输出低电平时,多路选择器通过时钟输出端输出时钟信号。The selection control end of the processing module and the control switch end have the same output logic. When the selection control end of the processing module outputs a high level, the multiplexer outputs a calibration signal through the calibration output end, and at the selection control end of the processing module When the output is low, the multiplexer outputs a clock signal through the clock output.
优选的,还包括分频器,所述多路选择器的校准输出端通过分频器与处理模块电性连接。Preferably, a frequency divider is further included, and the calibration output of the multiplexer is electrically connected to the processing module through a frequency divider.
优选的,所述多路选择器为两路选择器。Preferably, the multiplexer is a two-way selector.
优选的,所述延时芯片的型号为MC100EP196。Preferably, the model of the time delay chip is MC100EP196.
另一方面,本发明还提供一种延迟时钟校准的系统,包括非门、与门、延时芯片、多路选择器和处理模块,所述多路选择器包括校准输出端和时钟输出端,所述处理模块包括延时控制端和选择控制端;In another aspect, the present invention also provides a system for delay clock calibration, comprising a NOT gate, an AND gate, a delay chip, a multiplexer and a processing module, the multiplexer including a calibration output and a clock output. The processing module includes a delay control terminal and a selection control terminal;
所述与门的两个输入端分别连接至非门的输出端和时钟输入端;所述与门的输出端经延时芯片连接至多路选择器的输入端,所述处理模块的延时控制端和选择控制端分别连接至延时芯片的控制端和多路选择器的控制端,所述非门的输入端分别连接至处理模块的控制开关端以及多路选择器的校准输出端;The two input ends of the AND gate are respectively connected to the output terminal of the NOT gate and the clock input terminal; the output end of the AND gate is connected to the input end of the multiplexer via a delay chip, and the delay control of the processing module The terminal and the selection control terminal are respectively connected to the control end of the delay chip and the control end of the multiplexer, and the input terminals of the NOT gate are respectively connected to the control switch end of the processing module and the calibration output end of the multiplexer;
当处理模块的选择控制端输出高电平时,多路选择器通过校准输 出端输出校准信号,而在处理模块的选择控制端输出低电平时,多路选择器通过时钟输出端输出时钟信号。When the selection control terminal of the processing module outputs a high level, the multiplexer outputs a calibration signal through the calibration output terminal, and when the selection control terminal of the processing module outputs a low level, the multiplexer outputs a clock signal through the clock output terminal.
优选的,还包括分频器,所述多路选择器的校准输出端通过分频器与处理模块电性连接。Preferably, a frequency divider is further included, and the calibration output of the multiplexer is electrically connected to the processing module through a frequency divider.
再一方面,本发明还提供一种延迟时钟校准方法,包括以下步骤:In still another aspect, the present invention also provides a delay clock calibration method, including the following steps:
S1:控制延时芯片的输出延时为零,计算出脉冲个数M;S1: the output delay of the control delay chip is zero, and the number of pulses M is calculated;
S2:控制延时芯片的输出延时为1个单位设定值,计算脉冲个数N;S2: the output delay of the control delay chip is 1 unit set value, and the number of pulses is calculated N;
S3:计算得到M与N的差值K,该差值K即为延迟一个单位设定值产生的振荡的个数;S3: Calculating the difference K between M and N, which is the number of oscillations generated by delaying a unit set value;
S4:控制延时芯片的输出延时为100个单位设定值,计算脉冲个数N1;S4: The output delay of the control delay chip is set to 100 units, and the number of pulses N1 is calculated;
S5:计算得到M与N1的差值K100,该差值K100即为延迟100个单位设定值产生的振荡个数;S5: Calculating the difference K100 between M and N1, the difference K100 is the number of oscillations generated by delaying 100 unit set values;
S6:判断该K100与100*K的差值是否预设范围内,如果是,则结束,如果否,返回步骤S4并调整输出延迟。S6: It is judged whether the difference between the K100 and the 100*K is within a preset range, and if yes, the process ends. If not, the process returns to the step S4 and adjusts the output delay.
优选的,所述预设范围是K。Preferably, the preset range is K.
相比现有技术,本发明的有益效果在于:Compared with the prior art, the beneficial effects of the present invention are:
本发明采用脉冲振荡计数方法来实现脉宽测量,然后进行延时计算,最后调整延时芯片达到延时校准的目的,该方法经济使用,可以实时的进行校准,排除了温度及其他外界对延时芯片的影响,从而实现高精度测量的效果。The invention adopts the pulse oscillation counting method to realize the pulse width measurement, and then performs the delay calculation, and finally adjusts the delay chip to achieve the purpose of the delay calibration. The method is economical to use, can be calibrated in real time, and excludes temperature and other external delays. The effect of the chip, thus achieving the effect of high-precision measurement.
附图说明DRAWINGS
图1为实施例一的高精度延迟时钟的系统的结构框图;1 is a block diagram showing the structure of a system for high-precision delayed clock of the first embodiment;
图2为图1中线路标注图;Figure 2 is a circuit diagram of Figure 1;
图3为实施例二的高精度延迟时钟的系统的结构框图;3 is a structural block diagram of a system for high-precision delayed clock of the second embodiment;
图4为本发明的一种高精度延迟时钟的方法的流程图。4 is a flow chart of a method of accurately delaying a clock of the present invention.
具体实施方式detailed description
下面,结合附图以及具体实施方式,对本发明做进一步描述:The present invention will be further described below in conjunction with the drawings and specific embodiments.
实施例一:Embodiment 1:
如图1所示,本实施例提供一种延时时钟校准系统,包括与非门、与门、延时芯片、多路选择器、分频器和处理模块,所述多路选择器包括校准端和输出端,所述处理模块包括延时控制端、选择控制端和控制开关端,其中所述多路选择器在本实施例中为两路选择器;As shown in FIG. 1 , the embodiment provides a delay clock calibration system, including a NAND gate, an AND gate, a delay chip, a multiplexer, a frequency divider, and a processing module, where the multiplexer includes calibration. And the processing module includes a delay control terminal, a selection control terminal, and a control switch terminal, wherein the multiplexer is a two-way selector in this embodiment;
所述与门的输出端通过延时芯片与多路选择器的输入端电性连接,所述多路选择器的校准端通过分频器与处理模块电性连接,所述处理模块的延时控制端与延时芯片电性连接,所述处理模块的选择控制端与多路选择器电性连接,所述处理模块的控制开关端与与非门相接,且处理模块的选择控制端与控制开关端的输出逻辑一致,所述处理模块的选择控制端输出逻辑为“1”时,多路选择器输入端与其校准端相接,此时输出校准信号,所述处理模块的选择控制端输出逻辑为 “0”时,多路选择器输入端与其输出端相接,此时输出时钟信号;The output end of the AND gate is electrically connected to the input end of the multiplexer through a delay chip, and the calibration end of the multiplexer is electrically connected to the processing module through a frequency divider, and the delay of the processing module The control end is electrically connected to the delay chip, and the selection control end of the processing module is electrically connected to the multiplexer, the control switch end of the processing module is connected to the NAND gate, and the selection control end of the processing module is The output logic of the control switch end is consistent. When the output logic of the selection control terminal of the processing module is “1”, the input end of the multiplexer is connected to the calibration end thereof, and at this time, a calibration signal is output, and the selection control terminal of the processing module outputs When the logic is “0”, the input end of the multiplexer is connected to the output end thereof, and the clock signal is output at this time;
所述多路选择器校准端与处理模块电性连接,所述处理模块的控制开关端与与非门的输入端电性连接,所述与非门的输出端与与门的输入端电性连接,与门的输入端接收时钟输入信号。The multiplexer calibration end is electrically connected to the processing module, and the control switch end of the processing module is electrically connected to the input end of the NAND gate, and the output end of the NAND gate and the input end of the AND gate are electrically connected. Connected, the input of the AND gate receives the clock input signal.
整个系统工作的前提是时钟输入的占空比是固定的,这个在对大部分的时钟电路中都是成立的,整个系统的工作模式分为两种,一种是校准模式,另一种是输出模式,这两种模式都是由处理模块输出的逻辑进行控制。The premise of the whole system work is that the duty cycle of the clock input is fixed. This is true for most clock circuits. The whole system works in two modes, one is the calibration mode, and the other is Output mode, both modes are controlled by the logic of the processing module output.
如图2所示,在校准模式下,处理模块控制多路选择器选择校准端,此时时钟形成一个闭环;As shown in FIG. 2, in the calibration mode, the processing module controls the multiplexer to select the calibration terminal, and the clock forms a closed loop;
1)、如果此时时钟输入为低电平,由于第一级是与门,则不管e是什么逻辑,b的逻辑永远是“0”,因此可以得到a、b、c、d和输出均为“0”,即是a0b0c0d0时钟输出为0;1) If the clock input is low at this time, since the first stage is an AND gate, the logic of b is always "0" regardless of the logic of e, so that a, b, c, d, and output can be obtained. Is "0", that is, the clock output of a0b0c0d0 is 0;
2)、如果此时时钟输入为高电平,由于第一级是与门,b的逻辑不会由1改变,而会由e来改变。2) If the clock input is high at this time, since the first stage is the AND gate, the logic of b will not be changed by 1, but will be changed by e.
假设e的逻辑为“1”,则可得b逻辑为“1”,c逻辑为“1”,d逻辑为“1”,e逻辑为“0”;Assuming that the logic of e is "1", then b logic is "1", c logic is "1", d logic is "1", and e logic is "0";
假设e的逻辑为“0”,则可得b逻辑为“0”,c逻辑为“0”,d逻辑为“0”,e逻辑为“1”;Assuming that the logic of e is "0", then b logic is "0", c logic is "0", d logic is "0", and e logic is "1";
由上述分析可得:当时钟输入为低电平的时候,输出为低电平;当时钟输入为高电平的时候,输出会出现一个振荡的方波,而振荡周期由延时芯片延时,多路选择器延时和与非门延时决定,分频器是在 当系统工作在高速模式(如100M时)对振荡波形进行分频,是脉宽达到处理器能计数的能力范围内。According to the above analysis, when the clock input is low, the output is low; when the clock input is high, the output will have an oscillating square wave, and the oscillation period is delayed by the delay chip. The multiplexer delay and the NAND gate delay are determined. The frequency divider divides the oscillating waveform when the system is operating in the high speed mode (such as 100M), and the pulse width is within the capability of the processor to count. .
在正常模式输出的情况下,处理模块控制多路选择器选择输出端,此时时钟输出逻辑等于时钟输入逻辑,整个系统正常输出。In the case of normal mode output, the processing module controls the multiplexer to select the output. At this time, the clock output logic is equal to the clock input logic, and the entire system outputs normally.
实施例二:Embodiment 2:
如图3所示,本实施例与实施例一的差别在于将实施例一中的与非门换成了非门,并在电路结构设置上存在一些差异,多路选择器的校准端与非门的输入端电性连接;在实际逻辑输出中存在相同的效果。如图4所示,本发明提供了一种高精度延迟时钟校准方法,包括以下步骤:由于振荡周期是固定的,处理模块对脉冲个数计数即可得到脉宽宽度,校准的流程可以按照以下方法进行:As shown in FIG. 3, the difference between this embodiment and the first embodiment is that the NAND gate in the first embodiment is replaced by a NAND gate, and there are some differences in the circuit structure setting, and the calibration end of the multiplexer is different. The input of the gate is electrically connected; the same effect exists in the actual logic output. As shown in FIG. 4, the present invention provides a high-precision delayed clock calibration method, which includes the following steps: since the oscillation period is fixed, the processing module can obtain the pulse width width by counting the number of pulses, and the calibration process can be as follows: Method is carried out:
S1:设定延时芯片的延时为零,计算出脉冲个数M;M的个数是由延时芯片延时设定为0、多路选择器延时和反向器延时决定的,我们可以称之为固有延时;S1: Set the delay of the delay chip to zero, calculate the number of pulses M; the number of M is determined by the delay chip delay set to 0, multiplexer delay and inverter delay , we can call it the inherent delay;
S2:设定延时芯片的延时为一单位设定值,计算脉冲个数N;此时的N的个数是由延时芯片延时一个单位设定值、多路选择器延时和反向器延时决定的;S2: Set the delay of the delay chip to a unit setting value, and calculate the number of pulses N; the number of N at this time is a unit setting value of the delay chip delay, the multiplexer delay and The delay of the inverter is determined;
S3:对M与N的差值进行计算得到S,此值即为单位设定值产生振荡的个数;由于只是测量一组数据会产生一定的误差,故而可以进行不同程度的校准,首先我们进行粗校准;S3: Calculate the difference between M and N to obtain S. This value is the number of oscillations generated by the unit set value. Since only a certain set of data will produce a certain error, different levels of calibration can be performed. First, we Perform a rough calibration;
S4:设定延时芯片的延迟为100个单位设定值,得到脉冲个数N1,该N1减去M得到100个单位设定值产生的振荡的个数K100。 理论上,K100应该是100倍的K,但是由于温度漂移以及芯片的非线性等因素会有所不同,故而测量并非准确;此时接着调整延时控制数据为99个单位设定时间或者101个单位设定时间,重复步骤S4,然后计算得到K99和K101,并与100K进行比较,从而使得得出的数值处于K范围之内,在本实施例中仅仅列举出了延迟100个单位设定值的情况,其实,还可以列举处1000个或者几个单位设定值的情况,这个根据用户的需求,可以进行不同的设置操作。S4: setting the delay of the delay chip to a set value of 100 units, and obtaining the number of pulses N1, which is obtained by subtracting M from M1 to obtain the number K100 of oscillations generated by 100 unit setting values. In theory, K100 should be 100 times K, but the temperature drift and the nonlinearity of the chip will be different, so the measurement is not accurate; then adjust the delay control data to 99 units set time or 101 The unit sets the time, repeats step S4, and then calculates K99 and K101, and compares it with 100K, so that the obtained value is within the K range. In this embodiment, only the delay of 100 unit setting values is listed. In fact, in fact, you can also list 1000 or a few units of the set value, this can be based on the user's needs, you can perform different settings.
由于粗校准只能够校准大于一个单位设定值的误差,小于1个单位设定值的误差可以调整延时芯片MC100EP196的模拟量控制进行细微调整,使得K100更加的接近100倍的K,通过上述步骤我们就可以得到精确的100个单位的延时值。Since the coarse calibration can only calibrate the error greater than one unit set value, the error of less than one unit set value can be adjusted by the analog control of the delay chip MC100EP196 to make fine adjustment, so that K100 is closer to 100 times K, through the above In the step we can get an accurate delay value of 100 units.
对本领域的技术人员来说,可根据以上描述的技术方案以及构思,做出其它各种相应的改变以及形变,而所有的这些改变以及形变都应该属于本发明权利要求的保护范围之内。Various other changes and modifications may be made by those skilled in the art in light of the above-described technical solutions and concepts, and all such changes and modifications are intended to fall within the scope of the appended claims.

Claims (8)

  1. 一种高精度延迟时钟校准系统,其特征在于,包括与非门、与门、延时芯片、多路选择器和处理模块,所述多路选择器包括校准输出端和时钟输出端,所述处理模块包括延时控制端、选择控制端和控制开关端;A high-precision delayed clock calibration system, comprising: a NAND gate, an AND gate, a delay chip, a multiplexer and a processing module, the multiplexer comprising a calibration output and a clock output, The processing module includes a delay control terminal, a selection control terminal, and a control switch terminal;
    所述与门的一个输入端连接至与非门的输出端,与门的另一输入端用于接收时钟输入;所述与门的输出端经延时芯片连接至多路选择器的输入端,所述处理模块的延时控制端和选择控制端分别连接至延时芯片的控制端和多路选择器的控制端,所述与非门的两个输入端分别连接至处理模块的控制开关端以及多路选择器的校准输出端;One input of the AND gate is connected to the output of the NAND gate, and the other input of the AND gate is for receiving a clock input; the output of the AND gate is connected to the input of the multiplexer via a delay chip, The delay control end and the selection control end of the processing module are respectively connected to the control end of the delay chip and the control end of the multiplexer, and the two input ends of the NAND gate are respectively connected to the control switch end of the processing module And a calibration output of the multiplexer;
    所述处理模块的选择控制端和控制开关端具有相同的输出逻辑,当处理模块的选择控制端输出高电平时,多路选择器通过校准输出端输出校准信号,而在处理模块的选择控制端输出低电平时,多路选择器通过时钟输出端输出时钟信号。The selection control end of the processing module and the control switch end have the same output logic. When the selection control end of the processing module outputs a high level, the multiplexer outputs a calibration signal through the calibration output end, and at the selection control end of the processing module When the output is low, the multiplexer outputs a clock signal through the clock output.
  2. 如权利要求1所述的高精度延迟时钟校准系统,其特征在于,还包括分频器,所述多路选择器的校准输出端通过分频器与处理模块电性连接。The high precision delayed clock calibration system of claim 1 further comprising a frequency divider, the calibration output of said multiplexer being electrically coupled to the processing module by a frequency divider.
  3. 如权利要求1所述的高精度延迟时钟校准系统,其特征在于,所述多路选择器为两路选择器。The high precision delayed clock calibration system of claim 1 wherein said multiplexer is a two way selector.
  4. 如权利要求1所述的高精度延迟时钟校准系统,其特征在于,所述延时芯片的型号为MC100EP196。The high precision delayed clock calibration system of claim 1 wherein said time delay chip is of the type MC100EP196.
  5. 一种高精度延迟时钟校准系统,其特征在于,包括非门、与门、延时芯片、多路选择器和处理模块,所述多路选择器包括校准输出端 和时钟输出端,所述处理模块包括延时控制端和选择控制端;A high-precision delayed clock calibration system, comprising: a NOT gate, an AND gate, a delay chip, a multiplexer and a processing module, the multiplexer comprising a calibration output and a clock output, the processing The module includes a delay control terminal and a selection control terminal;
    所述与门的两个输入端分别连接至非门的输出端和时钟输入端;所述与门的输出端经延时芯片连接至多路选择器的输入端,所述处理模块的延时控制端和选择控制端分别连接至延时芯片的控制端和多路选择器的控制端,所述非门的输入端分别连接至处理模块的控制开关端以及多路选择器的校准输出端;The two input ends of the AND gate are respectively connected to the output terminal of the NOT gate and the clock input terminal; the output end of the AND gate is connected to the input end of the multiplexer via a delay chip, and the delay control of the processing module The terminal and the selection control terminal are respectively connected to the control end of the delay chip and the control end of the multiplexer, and the input terminals of the NOT gate are respectively connected to the control switch end of the processing module and the calibration output end of the multiplexer;
    当处理模块的选择控制端输出高电平时,多路选择器通过校准输出端输出校准信号,而在处理模块的选择控制端输出低电平时,多路选择器通过时钟输出端输出时钟信号。When the selection control terminal of the processing module outputs a high level, the multiplexer outputs a calibration signal through the calibration output terminal, and when the selection control terminal of the processing module outputs a low level, the multiplexer outputs a clock signal through the clock output terminal.
  6. 如权利要求5所述的高精度延迟时钟校准系统,其特征在于,还包括分频器,所述多路选择器的校准输出端通过分频器与处理模块电性连接。The high-precision delayed clock calibration system of claim 5, further comprising a frequency divider, the calibration output of the multiplexer being electrically coupled to the processing module by a frequency divider.
  7. 一种延迟时钟校准方法,其特征在于,包括以下步骤:A delayed clock calibration method, comprising the steps of:
    S1:控制延时芯片的输出延时为零,计算出脉冲个数M;S1: the output delay of the control delay chip is zero, and the number of pulses M is calculated;
    S2:控制延时芯片的输出延时为1个单位设定值,计算脉冲个数N;S2: the output delay of the control delay chip is 1 unit set value, and the number of pulses is calculated N;
    S3:计算得到M与N的差值K,该差值K即为延迟一个单位设定值产生的振荡的个数;S3: Calculating the difference K between M and N, which is the number of oscillations generated by delaying a unit set value;
    S4:控制延时芯片的输出延时为100个单位设定值,计算脉冲个数N1;S4: The output delay of the control delay chip is set to 100 units, and the number of pulses N1 is calculated;
    S5:计算得到M与N1的差值K100,该差值K100即为延迟100个单位设定值产生的振荡个数;S5: Calculating the difference K100 between M and N1, the difference K100 is the number of oscillations generated by delaying 100 unit set values;
    S6:判断该K100与100*K的差值是否在预设范围内,如果是,则结束,如果否,返回步骤S4并调整输出延迟。S6: Determine whether the difference between K100 and 100*K is within a preset range, and if yes, end, if no, return to step S4 and adjust the output delay.
  8. 如权利要求7所述的延迟时钟校准方法,其特征在于,所述预设范围是K。The delayed clock calibration method of claim 7, wherein the predetermined range is K.
PCT/CN2017/118233 2016-12-30 2017-12-25 System and method for high-precision clock delay calibration WO2018121469A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611265841.0A CN106612111B (en) 2016-12-30 2016-12-30 High-precision delay clock calibration system and method
CN201611265841.0 2016-12-30

Publications (1)

Publication Number Publication Date
WO2018121469A1 true WO2018121469A1 (en) 2018-07-05

Family

ID=58636843

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/118233 WO2018121469A1 (en) 2016-12-30 2017-12-25 System and method for high-precision clock delay calibration

Country Status (2)

Country Link
CN (1) CN106612111B (en)
WO (1) WO2018121469A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114598302A (en) * 2022-03-16 2022-06-07 上海东软载波微电子有限公司 Clock duty ratio calibrating device
CN115001646A (en) * 2022-08-01 2022-09-02 杭州加速科技有限公司 Clock synchronization calibration method and device suitable for multiple board cards
CN116633325A (en) * 2023-05-11 2023-08-22 北京伽略电子股份有限公司 Programmable long delay circuit

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019061077A1 (en) * 2017-09-27 2019-04-04 深圳市汇顶科技股份有限公司 Pulse width modification circuit, pulse width modification method, and electronic apparatus
CN107591172B (en) * 2017-10-27 2023-10-20 长鑫存储技术有限公司 Delay modulation circuit and semiconductor memory including the same
CN107863967B (en) * 2017-11-15 2021-04-30 中国电子科技集团公司第四十一研究所 Multichannel synchronous output calibration device and method
CN109194458B (en) * 2018-08-22 2020-12-15 上海星秒光电科技有限公司 Delay calibration output device and method
CN111327298B (en) 2020-03-12 2021-03-30 湖南毂梁微电子有限公司 Ultra-high precision digital pulse signal generation circuit and method
CN114629476A (en) * 2020-12-08 2022-06-14 华大半导体有限公司 High resolution pulse width modulation signal generating circuit
CN112737725B (en) * 2020-12-28 2022-09-23 上海翎沃电子科技有限公司 Clock calibration method and device, computer equipment, storage medium and application

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7587019B2 (en) * 2005-12-27 2009-09-08 Memetics Technology Co., Ltd. Configuration and controlling method of fractional-N PLL having fractional frequency divider
CN103916102A (en) * 2014-03-10 2014-07-09 北京时代民芯科技有限公司 FPGA embedded full-digital low-power-consumption clock generating circuit
CN105553447A (en) * 2014-11-03 2016-05-04 上海华虹宏力半导体制造有限公司 Clock switching circuit
CN106537782A (en) * 2014-03-12 2017-03-22 联发科技(新加坡)私人有限公司 Divisor control circuit, fractional frequency division device, frequency synthesizer and frequency synthesis method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5317202A (en) * 1992-05-28 1994-05-31 Intel Corporation Delay line loop for 1X on-chip clock generation with zero skew and 50% duty cycle

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7587019B2 (en) * 2005-12-27 2009-09-08 Memetics Technology Co., Ltd. Configuration and controlling method of fractional-N PLL having fractional frequency divider
CN103916102A (en) * 2014-03-10 2014-07-09 北京时代民芯科技有限公司 FPGA embedded full-digital low-power-consumption clock generating circuit
CN106537782A (en) * 2014-03-12 2017-03-22 联发科技(新加坡)私人有限公司 Divisor control circuit, fractional frequency division device, frequency synthesizer and frequency synthesis method
CN105553447A (en) * 2014-11-03 2016-05-04 上海华虹宏力半导体制造有限公司 Clock switching circuit

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114598302A (en) * 2022-03-16 2022-06-07 上海东软载波微电子有限公司 Clock duty ratio calibrating device
CN114598302B (en) * 2022-03-16 2024-04-26 上海东软载波微电子有限公司 Clock duty cycle calibration device
CN115001646A (en) * 2022-08-01 2022-09-02 杭州加速科技有限公司 Clock synchronization calibration method and device suitable for multiple board cards
CN115001646B (en) * 2022-08-01 2022-11-18 杭州加速科技有限公司 Clock synchronization calibration method and device suitable for multiple board cards
CN116633325A (en) * 2023-05-11 2023-08-22 北京伽略电子股份有限公司 Programmable long delay circuit

Also Published As

Publication number Publication date
CN106612111B (en) 2020-05-08
CN106612111A (en) 2017-05-03

Similar Documents

Publication Publication Date Title
WO2018121469A1 (en) System and method for high-precision clock delay calibration
RU2451391C2 (en) Circuit device and method to measure clock signal shaking
US9484894B2 (en) Self-adjusting duty cycle tuner
US7791330B2 (en) On-chip jitter measurement circuit
CN104460304B (en) High-resolution time interval measurer with function of automatic correction
EP2944022B1 (en) Integrated circuit comprising circuitry to determine settings for an injection-locked oscillator
CN207720116U (en) A kind of digital delay phase-locked loop of quick lock in
CN107315338A (en) A kind of chronometer time correcting device
US20200378813A1 (en) Calibration circuit and associated signal processing circuit and chip
Szplet et al. Picosecond-precision multichannel autonomous time and frequency counter
US8008907B2 (en) Delay line calibration circuit comprising asynchronous arbiter element
US11539354B2 (en) Systems and methods for generating a controllable-width pulse signal
CN108988832B (en) Method for detecting a delay associated with an electronic device and corresponding electronic device
CN116405034A (en) High-precision low-overhead two-stage differential TDC circuit based on self-timing ring
US20080240328A1 (en) Jitter detection circuit and jitter detection method
US20100109728A1 (en) Electronic device and method of correcting clock signal deviations in an electronic device
CN110045592B (en) Time correction method, device, system and computer storage medium
US11533056B2 (en) Circuit, chip and semiconductor device
Du et al. Precise Doppler shift measurement method based on motion radiation sources
Pan et al. A 20-ps temperature compensated time-to-digital converter (TDC) implemented in FPGA
Kalisz et al. A PC-based time interval counter with 200 ps resolution
US20230258721A1 (en) Delay measurement system and measurement method
Pardhu et al. Design and simulation of digital frequency meter using VHDL
RU2679930C1 (en) Precision digital frequency meter
Szplet et al. A 45 ps time-interval counter board with a PCI interface

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17887320

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17887320

Country of ref document: EP

Kind code of ref document: A1