CN108445735B - Method for correcting hierarchical TDC (time-to-digital converter) by adopting delay chain structure - Google Patents

Method for correcting hierarchical TDC (time-to-digital converter) by adopting delay chain structure Download PDF

Info

Publication number
CN108445735B
CN108445735B CN201810311310.3A CN201810311310A CN108445735B CN 108445735 B CN108445735 B CN 108445735B CN 201810311310 A CN201810311310 A CN 201810311310A CN 108445735 B CN108445735 B CN 108445735B
Authority
CN
China
Prior art keywords
rising edge
stop
reference clock
signal
clock clk
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
CN201810311310.3A
Other languages
Chinese (zh)
Other versions
CN108445735A (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.)
Shandong Tianju Huineng Microelectronics Co ltd
Original Assignee
Harbin Institute of Technology Weihai
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 Harbin Institute of Technology Weihai filed Critical Harbin Institute of Technology Weihai
Priority to CN201810311310.3A priority Critical patent/CN108445735B/en
Publication of CN108445735A publication Critical patent/CN108445735A/en
Application granted granted Critical
Publication of CN108445735B publication Critical patent/CN108445735B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G04HOROLOGY
    • G04FTIME-INTERVAL MEASURING
    • G04F10/00Apparatus for measuring unknown time intervals by electric means
    • G04F10/005Time-to-digital converters [TDC]

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measurement Of Unknown Time Intervals (AREA)
  • Pulse Circuits (AREA)

Abstract

A method for correcting a hierarchical TDC (time-to-digital converter) by adopting a delay chain structure relates to the technical field of time-to-digital conversion. The invention aims to solve the problem that in a digital delay chain TDC, the rising edge position relation of an external input signal is uncertain, so that a DFF can generate error output codes. The invention relates to a method for correcting a hierarchical TDC adopting a delay chain structure, which corrects TDC measurement errors caused by the fact that DFF establishment time and retention time are not satisfied by comparing the relative positions of edges of a DFF sampling signal and edges of a sampled signal and a time interval between two signals obtained by delay chain measurement.

Description

Method for correcting hierarchical TDC (time-to-digital converter) by adopting delay chain structure
Technical Field
The invention belongs to the technical field of time-digital conversion, and particularly relates to a correction method of a hierarchical time-digital converter (TDC).
Background
A TDC is a circuit which is currently very widely used, and functions to convert the time interval between two signals into a digital quantity, and its general operation principle is based on a delay chain. Fig. 2 is a basic structure diagram of a typical digital delay chain TDC, which is formed by combining a delay chain formed by connecting N delay cells (buffers) in series and a flip-flop (DFF) for sampling the output of each delay cell. Assuming that each buffer delays the input signal by a time t, the output digital code Q of the TDC is known from the signal waveforms of Start and Stop in fig. 1N-1...Q2Q1Q0Is in the form of 0 … 01 … 1. If the number of low-order outputs "1" is N, the time interval between the rising edges of Start and Stop of the TDC measurement can be represented as Δ ═ N × t.
The sampling waveform of the flip-flop DFF in fig. 2 is as shown in fig. 3, Stop samples the Start signal, and the rising edge of the Stop signal is located on the left side of the rising edge of the Start signal in the left diagram, where the output of the DFF is "0"; the Stop signal rising edge is to the right of the Start signal rising edge in the right graph, where the DFF output is "1". However, in an actual circuit, if the rising edge of the Stop signal is close to the rising edge of the Start signal (whether on the left side or the right side) or even coincides with the rising edge of the Start signal, the output result of the DFF may be erroneous due to the delay of devices in the DFF circuit, noise and other factors. This is a well-known design principle that needs to be satisfied in digital circuits: the DFF can only guarantee the output of correct results if both the sampled and sampled signals meet the requirements of the setup time and hold time of the DFF.
However, as can be seen from the digital delay chain TDC principle shown in fig. 2, the position relationship between the rising edge of the Start signal and the rising edge of the Stop signal, which are external inputs, and the rising edge of the clock CLK is uncertain, and the rising edges may be closely spaced or even overlapped. Therefore, some of the DFFs have wrong output codes, for example, the correct output is 0 … 0111, and the output becomes 0 … 0101 when the DFF corresponding to Q1 has a mistake.
Disclosure of Invention
The invention provides a method for correcting a hierarchical TDC by using a delay chain structure, which aims to solve the problem that a DFF (digital delay chain) generates an error output code due to uncertain rising edge position relation of an external input signal in the digital delay chain TDC.
A method for correcting a hierarchical TDC using a delay chain structure, the method comprising:
when the Start signal Start arrives, the reference clock counter counts the reference clock CLK, and at the same time, the Start signal Start is fed into the delay chain and the time interval X of the Start signal Start and the reference clock CLK is obtained, 0 ≦ X ≦ T, where T represents the time of one cycle of the reference clock CLK,
when the Stop signal Stop comes, the reference clock counter stops counting and obtains the number N of the reference clock cycles between the Start signal Start and the Stop signal Stop, meanwhile, the Stop signal Stop is sent into the delay chain and obtains the time interval Y between the Stop signal Stop and the reference clock CLK, Y is more than or equal to 0 and less than or equal to T,
the correction method comprises the step of correcting the reference clock period number N, and the method comprises the following steps:
the intermediate judgment value Z is set to satisfy 0< Z < T,
the method comprises the following steps: if the rising edge of the Start signal Start is located on the left side of the rising edge of the reference clock CLK and X < Z, then N-1, and then step two is performed;
if the rising edge of the Start signal Start is located on the right side of the rising edge of the reference clock CLK and X > Z, N is equal to N +1, and then step two is performed;
if the rising edge of the Start signal Start is located on the right side of the rising edge of the reference clock CLK and X < Z, the rising edge of the Start signal Start is located on the left side of the rising edge of the reference clock CLK and X > Z, or X ═ Z, then N is equal to N, and then step two is executed;
step two: if the rising edge of the Stop signal Stop is located on the left side of the rising edge of the reference clock CLK and Y < Z, N is N +1, completing the correction of N;
if the rising edge of the Stop signal Stop is located on the right side of the rising edge of the reference clock CLK and Y > Z, N is N-1, and N is corrected;
if the rising edge of the Stop signal Stop is located on the left side of the rising edge of the reference clock CLK and Y > Z, and the rising edge of the Stop signal Stop is located on the right side of the rising edge of the reference clock CLK and Y < Z, or Y ═ Z, N is equal to N, and the correction of N is completed.
The correction method further comprises the correction of the time interval between the Start signal Start and the end signal Stop, and the method comprises the following steps: substituting the corrected N in the second step into the following formula:
Δ=N·T-X+Y
the time interval Δ between the corrected Start signal Start and end signal Stop is obtained.
The optimal value of Z is
Figure BDA0001622411740000021
The most convenient selection is carried out in practical application.
The time interval Δ between the Start signal Start and the end signal Stop is:
the time interval between a Start rising edge and a Stop rising edge, the time interval between a Start falling edge and a Stop falling edge, the time interval between a Start falling edge and a Stop rising edge, or the time interval between a Start rising edge and a Stop falling edge.
The invention provides a method for correcting a hierarchical TDC adopting a delay chain structure. The method corrects TDC measurement errors caused by not meeting DFF setup and hold times by comparing the relative positions of the edges of the DFF sampling signal and the sampled signal and the time interval between the two signals measured by the delay chain. The invention solves the problem that the measurement of the hierarchical TDC output result adopting the delay chain structure is wrong under a specific condition.
Drawings
FIG. 1 is a schematic diagram illustrating a schematic concept of a hierarchical TDC measurement using a delay chain structure according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a basic structure of a digital delay chain TDC in the prior art;
fig. 3 is a sampling waveform diagram of the DFF of fig. 2.
Detailed Description
The first embodiment is as follows: referring to fig. 1, the embodiment, a method for correcting a hierarchical TDC using a delay chain structure according to the embodiment,
when the Start signal Start arrives, the reference clock counter counts the reference clock CLK, and at the same time, the Start signal Start is fed into the delay chain and the time interval X of the Start signal Start and the reference clock CLK is obtained, 0 ≦ X ≦ T, where T represents the time of one cycle of the reference clock CLK,
when the Stop signal Stop comes, the reference clock counter stops counting and obtains the number N of the reference clock cycles between the Start signal Start and the Stop signal Stop, meanwhile, the Stop signal Stop is sent into the delay chain and obtains the time interval Y between the Stop signal Stop and the reference clock CLK, wherein Y is more than or equal to 0 and less than or equal to T.
The reference clock cycle number N is corrected,
if the intermediate judgment value Z satisfies
Figure BDA0001622411740000031
The rising edge of the Start signal Start is located to the right of the rising edge of the reference clock CLK and X > Z, then N +1,
the rising edge of the Stop signal Stop is located to the right of the rising edge of the reference clock CLK and Y > Z, then N-1,
through the correction of the N in the two steps, the value of the N can be finally determined to be unchanged.
Substituting the corrected N into the following formula:
Δ=N·T-X+Y
the time interval Δ between the rising edge of the corrected Start signal Start and the rising edge of the end signal Stop is obtained.

Claims (4)

1. A method for correcting a hierarchical TDC using a delay chain structure, the method comprising:
when the Start signal Start arrives, the reference clock counter counts the reference clock CLK, and at the same time, the Start signal Start is fed into the delay chain and the time interval X of the Start signal Start and the reference clock CLK is obtained, 0 ≦ X ≦ T, where T represents the time of one cycle of the reference clock CLK,
when the Stop signal Stop comes, the reference clock counter stops counting and obtains the number N of the reference clock cycles between the Start signal Start and the Stop signal Stop, meanwhile, the Stop signal Stop is sent into the delay chain and obtains the time interval Y between the Stop signal Stop and the reference clock CLK, Y is more than or equal to 0 and less than or equal to T,
the correction method is characterized by correcting the reference clock period number N, and comprises the following steps:
the intermediate judgment value Z is set to satisfy 0< Z < T,
the method comprises the following steps: if the rising edge of the Start signal Start is located on the left side of the rising edge of the reference clock CLK and X < Z, then N-1, and then step two is performed;
if the rising edge of the Start signal Start is located on the right side of the rising edge of the reference clock CLK and X > Z, N is equal to N +1, and then step two is performed;
if the rising edge of the Start signal Start is located on the right side of the rising edge of the reference clock CLK and X < Z, the rising edge of the Start signal Start is located on the left side of the rising edge of the reference clock CLK and X > Z, or X ═ Z, then N is equal to N, and then step two is executed; step two: if the rising edge of the Stop signal Stop is located on the left side of the rising edge of the reference clock CLK and Y < Z, N is N +1, completing the correction of N;
if the rising edge of the Stop signal Stop is located on the right side of the rising edge of the reference clock CLK and Y > Z, N is N-1, and N is corrected;
if the rising edge of the Stop signal Stop is located on the left side of the rising edge of the reference clock CLK and Y > Z, and the rising edge of the Stop signal Stop is located on the right side of the rising edge of the reference clock CLK and Y < Z, or Y ═ Z, N is equal to N, and the correction of N is completed.
2. The method of claim 1, wherein the method further comprises correcting the time interval between the Start signal Start and the end signal Stop, and the method comprises: substituting the corrected N in the second step into the following formula:
Δ=N·T-X+Y
the time interval Δ between the corrected Start signal Start and end signal Stop is obtained.
3. The method as claimed in claim 1 or 2, wherein the delay chain structure comprises a plurality of delay chain structures,
Figure FDA0001622411730000011
4. the method of claim 2, wherein a time interval Δ between the Start signal Start and the end signal Stop is:
the time interval between a Start rising edge and a Stop rising edge, the time interval between a Start falling edge and a Stop falling edge, the time interval between a Start falling edge and a Stop rising edge, or the time interval between a Start rising edge and a Stop falling edge.
CN201810311310.3A 2018-04-09 2018-04-09 Method for correcting hierarchical TDC (time-to-digital converter) by adopting delay chain structure Active CN108445735B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810311310.3A CN108445735B (en) 2018-04-09 2018-04-09 Method for correcting hierarchical TDC (time-to-digital converter) by adopting delay chain structure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810311310.3A CN108445735B (en) 2018-04-09 2018-04-09 Method for correcting hierarchical TDC (time-to-digital converter) by adopting delay chain structure

Publications (2)

Publication Number Publication Date
CN108445735A CN108445735A (en) 2018-08-24
CN108445735B true CN108445735B (en) 2020-04-07

Family

ID=63199420

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810311310.3A Active CN108445735B (en) 2018-04-09 2018-04-09 Method for correcting hierarchical TDC (time-to-digital converter) by adopting delay chain structure

Country Status (1)

Country Link
CN (1) CN108445735B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109444856B (en) * 2018-08-31 2020-07-31 西安电子科技大学 Integer period measuring circuit applied to high-resolution time-to-digital converter
CN109116717B (en) * 2018-09-28 2019-09-03 东北大学 A kind of time interval measurement method based on multiple repairing weld
CN110045592B (en) * 2019-05-17 2021-02-19 湖北京邦科技有限公司 Time correction method, device, system and computer storage medium
CN114047683B (en) * 2021-11-15 2022-05-24 星汉时空科技(长沙)有限公司 Time interval measuring method and device based on orthogonal sampling interpolation

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034117B (en) * 2012-12-31 2014-07-23 邵礼斌 High-precision time meter
CN205080373U (en) * 2015-08-06 2016-03-09 广西电网有限责任公司电力科学研究院 Accurate time interval measuring circuit based on delay line interpolation method
CN105871371B (en) * 2016-03-25 2018-08-10 东南大学 A kind of three-stage time-to-digital conversion circuit based on phaselocked loop
US9804573B1 (en) * 2016-12-29 2017-10-31 Silicon Laboratories Inc. Use of redundancy in sub-ranging time-to-digital converters to eliminate offset mismatch issues
CN107346976B (en) * 2017-07-13 2020-03-17 电子科技大学 Digital-analog mixed time-to-digital conversion circuit

Also Published As

Publication number Publication date
CN108445735A (en) 2018-08-24

Similar Documents

Publication Publication Date Title
CN108445735B (en) Method for correcting hierarchical TDC (time-to-digital converter) by adopting delay chain structure
CN109143832B (en) High-precision multichannel time-to-digital converter
CN103257569B (en) Time measuring circuit, method and system
CN102495912B (en) Multi-channel high-speed data acquisition system with synchronous correction function
WO2007019288A1 (en) Rail-to-rail delay line for time analog-to-digital converters
US20090225631A1 (en) Time-to-digital converter
CN111433686B (en) Time-to-digital converter
CN113092858B (en) High-precision frequency scale comparison system and comparison method based on time-frequency information measurement
CN107346976B (en) Digital-analog mixed time-to-digital conversion circuit
CN104202040A (en) Detecting circuit and method for bit level
US9098072B1 (en) Traveling pulse wave quantizer
KR101503732B1 (en) Time to digital converter
CN105187053B (en) A kind of metastable state and eliminate circuit for TDC
CN111628775B (en) Comparator maladjustment calibration device and calibration method based on majority voting
CN113917830B (en) Cyclic vernier delay chain circuit, time-to-digital converter and signal selection method
CN109274376B (en) Vernier ring-shaped time-to-digital converter capable of compressing maximum conversion time
CN104702282A (en) Digital calibration method and circuit for multi-stage multi-bit sub circuit in analog-digital converters
CN104539291A (en) Correcting circuit of two-step TDC
CN109143833A (en) A kind of fractional part measuring circuit applied to high resolution time digital quantizer
CN104639165A (en) Full-time-domain error correction circuit of two-step TDC
CN204272085U (en) The correcting circuit of two step TDC
TWI572146B (en) Offset time cancellation method and system applied to time measurement of pulse shrinking
CN112332834B (en) Correction method and device for avoiding metastable state of time-to-digital converter of laser radar
Sun et al. A Novel FPGA-Based Delay-Line Implementation and Interpolation Method Using TDCs
CN109981099B (en) Counter circuit with overflow protection function

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230531

Address after: 264299 No. 2, Wenhua West Road, Weihai City, Shandong Province

Patentee after: Weihai Harvey Asset Management Co.,Ltd.

Patentee after: Wang Chenxu

Address before: 264209 No. 2, Wenhua West Road, Shandong, Weihai

Patentee before: HARBIN INSTITUTE OF TECHNOLOGY (WEIHAI)

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230725

Address after: 264201 Room 201, No. 298-1, Huanhai Road, Sunjiatuan Street, Huancui District, Weihai City, Shandong Province

Patentee after: Shandong Tianju Huineng Microelectronics Co.,Ltd.

Address before: 264299 No. 2, Wenhua West Road, Weihai City, Shandong Province

Patentee before: Weihai Harvey Asset Management Co.,Ltd.

Patentee before: Wang Chenxu