CN101515155B - Time-to-digital conversion circuit and related method thereof - Google Patents

Time-to-digital conversion circuit and related method thereof Download PDF

Info

Publication number
CN101515155B
CN101515155B CN2008100807848A CN200810080784A CN101515155B CN 101515155 B CN101515155 B CN 101515155B CN 2008100807848 A CN2008100807848 A CN 2008100807848A CN 200810080784 A CN200810080784 A CN 200810080784A CN 101515155 B CN101515155 B CN 101515155B
Authority
CN
China
Prior art keywords
delay
count value
signal
generate
output signal
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
CN2008100807848A
Other languages
Chinese (zh)
Other versions
CN101515155A (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.)
Realtek Semiconductor Corp
Original Assignee
Realtek Semiconductor Corp
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 Realtek Semiconductor Corp filed Critical Realtek Semiconductor Corp
Priority to CN2008100807848A priority Critical patent/CN101515155B/en
Publication of CN101515155A publication Critical patent/CN101515155A/en
Application granted granted Critical
Publication of CN101515155B publication Critical patent/CN101515155B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measurement Of Unknown Time Intervals (AREA)

Abstract

A time-to-digital conversion circuit, comprising: a first delay circuit having a first delay stage for delaying a first input signal to generate a first output signal; a second delay circuit having a second delay stage for delaying a second input signal to generate a second output signal; a first counter for counting the first output signal to generate a first count value; the second counter is used for counting the second output signal to generate a second counting value; and a comparator for comparing the first count value with the second count value to generate a comparison result signal; the first delay stage has a larger delay amount than the second delay stage, the first counter starts counting earlier than the second counter, and the comparator outputs a comparison result signal when the second count value falls within a predetermined range including the first count value.

Description

Time-to-digital conversion circuit and correlation technique thereof
Technical field
The invention relates to time-to-digital conversion circuit, be particularly to use delay circuit to produce the time-to-digital conversion circuit of cyclic delay signal.
Background technology
Generally speaking, time-to-digital conversion circuit (Time to Digital Converting, TDC) be delay degree, convert the retardation of actual delay-level to, just the delay degree of signal is represented with the delay-level of exact number with delay degree with signal in order to measuring-signal.The old practice is, respectively first signal and secondary signal are sent into first delay circuit and second delay circuit, wherein than secondary signal (being generally known reference signal) early but the retardation of the delay-level of first delay circuit is bigger than the retardation of the delay-level of second delay circuit time of sending into of first signal (being generally measured signal).Therefore, secondary signal can slowly catch up with first signal.And when secondary signal catch up with first signal, just can calculate the two signals delay-level quantity of process respectively, and calculate the difference total amount of two delay-level groups, just can calculate the delay degree of first signal.The common practice is, calculates the poor (t of the less delay-level tf of the bigger delay-level ts of retardation and retardation earlier with other mechanism s-t f), again with the delay situation of measured signal with N (t s-t f) expression.Since the structure and the mode of operation of this type time-to-digital conversion circuit, and how to calculate known to those skilled in the art knowing, so do not repeat them here.
Yet such practice often must use the delay circuit of whole piece, so circuit can have bigger area.
Summary of the invention
Therefore, a purpose of the present invention is for providing a kind of time-to-digital conversion circuit and correlation technique thereof, and it changes delay circuit originally into the cyclic delay circuit, to save circuit area.
Embodiments of the invention have disclosed a kind of time-to-digital conversion circuit, comprise: first delay circuit has at least one first delay-level, in order to postpone first input signal to produce first output signal; Second delay circuit has at least one second delay-level, in order to postpone second input signal to produce second output signal; First counter couples this first delay circuit, in order to count this first output signal to produce first count value; Second counter couples this second delay circuit, in order to count this second output signal to produce second count value; And comparer, couple this first counter and this second counter, in order to relatively this first count value and this second count value to produce compare result signal; Wherein this first delay-level has bigger retardation than this second delay-level, and this first counter early begins counting than this second counter, and when this second count value fell within the preset range that comprises this first count value, this comparer was exported this compare result signal.
Embodiments of the invention also disclose a kind of time figure conversion method, comprise: use at least one first delay-level to postpone first input signal to produce first output signal; Use at least one second delay-level to postpone second input signal to produce second output signal; Count this first output signal to produce first count value; Count this second output signal to produce second count value; And relatively this first count value and this second count value to produce compare result signal; Wherein this first delay-level has bigger retardation than this second delay-level, and this first count value early begins to be counted than this second count value, and when this second count value falls within the preset range that comprises this first count value, export this compare result signal.
Description of drawings
Fig. 1 has illustrated the time-to-digital conversion circuit according to the first embodiment of the present invention.
Fig. 2 has illustrated time-to-digital conversion circuit according to a second embodiment of the present invention.
[main element label declaration]
100,200 time-to-digital conversion circuits
101 first delay circuits
103 second delay circuits
105 first counters
107 second counters
109 comparers
111 AND doors
113 OR doors
115,117,119 first delay-level
121 AND doors
123 OR doors
125,127,129 second delay-level
201 control circuits
Embodiment
In the middle of instructions and above-mentioned claim, used some vocabulary to censure specific element.Those skilled in the art should understand, and hardware manufacturer may be called same element with different nouns.This instructions and above-mentioned claim are not used as distinguishing the mode of element with the difference of title, but the criterion that is used as distinguishing with the difference of element on function.Be open term mentioned " comprising " in the middle of instructions and the above-mentioned request item in the whole text, so should be construed to " comprise but be not limited to ".In addition, " coupling " speech is to comprise any indirect means that are electrically connected that directly reach at this.Therefore, be coupled to second device, then represent this first device can directly be electrically connected in this second device, or be electrically connected to this second device indirectly by other device or connection means if describe first device in the literary composition.
Fig. 1 has illustrated the time-to-digital conversion circuit 100 according to the first embodiment of the present invention.As shown in Figure 1, time-to-digital conversion circuit 100 comprises first delay circuit 101, second delay circuit 103, first counter 105, second counter 107 and comparer 109.First delay circuit 101 has at least one first delay-level 115,117,119, in order to postpone the first input signal In 1To produce the first output signal Out 1 Second delay circuit 103 has at least one second delay-level 125,127,129, in order to postpone the second input signal In 2(being known reference signal in this example) is to produce the second output signal Out 2Comparer 109 couples first counter 105 and second counter 107, in order to compare the first count value CV 1With the second count value CV 2To produce compare result signal CR.
Wherein first delay-level, 115,117,119 to the second delay-level 125,127,129 have bigger retardation, and first counter 105 early begins counting that is the first input signal In than second counter 107 1Than the second input signal In 2Early be transfused to.In this embodiment, as the first count value CV 1With the second count value CV 2When equating, promptly can be considered the second input signal In 2Caught up with the first input signal In 1, comparer 109 can output compare result signal CR then.In one embodiment, comparer 109 can be external to predetermining circuit and compare result signal CR and uses as the trigger pip of predetermining circuit.Yet, as the first count value CV 1With the second count value CV 2Be not equal, and its gap is when only being small gap, also can ignores this gap and the second input signal In 2Be considered as catching up with the first input signal In 1, such variation also belongs to scope of the present invention.That is, as the second count value CV 2Fall within and comprise the first count value CV 1Preset range in the time, with the second input signal In 2Be considered as catching up with the first input signal In 1And comparer 109 output compare result signal CR.
In addition, first delay circuit 101 in this embodiment also comprises AND door 111 and OR door 113.Wherein AND door 111 receives reset signal RES, in order to the first output signal Out that resets 1, and OR door 113 is coupled to AND door 111, in order to the output and the first input signal In according to AND door 111 1Output signal to first delay-level 115,117,119.Second delay circuit 103 also has AND door 121, OR door 123, second delay-level 125,127,129, and its structure is also identical with first delay circuit 101.Because first delay circuit 101 shown in Figure 1 and the detail operations mode of second delay circuit 103 are well known to those skilled in the art, so do not repeat them here.It is noted that first delay circuit 101 shown in Figure 1 and the structure of second delay circuit 103 are only in order to give an example the also applicable the present invention of the delay circuit of other structure.
According to the above embodiments, owing to be by the first count value CV 1With the second count value CV 2Judge the first input signal In 1Whether catch up with the second input signal In 2, and the first count value CV 1With the second count value CV 2Each count value is all represented more than one delay-level, therefore can save the area of delay circuit.For instance, if the first input signal In 1With the second input signal In 2Gap be n (t s-t f), then the delay circuit in known technology just needs n delay-level at least.But the cyclic delay circuit of time-to-digital conversion circuit is if having K delay-level according to an embodiment of the invention, and then each count value is just represented K (t s-t r), therefore just can
Figure DEST_PATH_GSB00000116482200021
The delay circuit of times area is calculated identical gap.
Fig. 2 has illustrated time-to-digital conversion circuit 200 according to a second embodiment of the present invention.The element of embodiment shown in Figure 2 is similar with the framework of embodiment shown in Figure 1, and difference has been more than second embodiment shown in Figure 2 what delay-level control circuit 201 will produce output signal with to control first delay circuit 101 and second delay circuit 103.Therefore, the first output signal Out 1With the second output signal Out 2Can only corresponding first delay circuit 101 and second delay circuit 103 in the part delay-level, so can make the application of time-to-digital conversion circuit provided by the present invention more extensive.And, not necessarily will have control circuit 201 will produce output signal with what delay-level to select first delay circuit 101 and second delay circuit 103, those skilled in the art are when using other machine-processed control circuit 201 to select first delay circuit 101 and second delay circuit 103 to produce output signal with what delay-level.
Disclose according to an embodiment of the invention and also can obtain corresponding time figure conversion method, can be summarized as follows: use at least one first delay-level to postpone first input signal to produce first output signal; Use at least one second delay-level to postpone second input signal to produce second output signal; Count first output signal to produce first count value.Count second output signal to produce second count value; Relatively first count value and second count value are to produce compare result signal.
Other technical characterictic of the method can push away easily by above-listed description, so do not repeat them here.
The above only is embodiments of the invention, and all equalizations of being done according to claim scope of the present invention change and modify, and all should belong to covering scope of the present invention.

Claims (10)

1.一种时间数字转换电路,包含:1. A time-to-digital conversion circuit comprising: 第一延迟电路,具有至少一第一延迟级,用以延迟第一输入信号以产生第一输出信号;The first delay circuit has at least one first delay stage, which is used to delay the first input signal to generate the first output signal; 第二延迟电路,具有至少一第二延迟级,用以延迟第二输入信号以产生第二输出信号;The second delay circuit has at least one second delay stage, which is used to delay the second input signal to generate the second output signal; 第一计数器,耦接该第一延迟电路,用以计数该第一输出信号以产生第一计数值;a first counter, coupled to the first delay circuit, for counting the first output signal to generate a first count value; 第二计数器,耦接该第二延迟电路,用以计数该第二输出信号以产生第二计数值;以及a second counter, coupled to the second delay circuit, for counting the second output signal to generate a second count value; and 比较器,耦接该第一计数器与该第二计数器,用以比较该第一计数值与该第二计数值以产生比较结果信号;a comparator, coupled to the first counter and the second counter, for comparing the first count value and the second count value to generate a comparison result signal; 其中该第一延迟级比该第二延迟级具有较大的延迟量,且该第一计数器较该第二计数器较早开始计数,而当该第二计数值落于包含该第一计数值的预定范围内时,该比较器输出该比较结果信号。Wherein the first delay stage has a larger delay amount than the second delay stage, and the first counter starts counting earlier than the second counter, and when the second count value falls below the value containing the first count value When within the predetermined range, the comparator outputs the comparison result signal. 2.根据权利要求1所述的时间数字转换电路,其中该比较器是于该第二计数值等于该第一计数值时输出该比较结果信号。2. The time-to-digital conversion circuit according to claim 1, wherein the comparator outputs the comparison result signal when the second count value is equal to the first count value. 3.根据权利要求1所述的时间数字转换电路,其中该比较器耦接至预定电路,且该比较结果信号是作为该预定电路的触发信号使用。3. The time-to-digital conversion circuit according to claim 1, wherein the comparator is coupled to a predetermined circuit, and the comparison result signal is used as a trigger signal of the predetermined circuit. 4.根据权利要求1所述的时间数字转换电路,其中该第一延迟电路具有多个第一延迟级,且该第一输出信号是对应至该些第一延迟级中的一部分。4. The time-to-digital conversion circuit according to claim 1, wherein the first delay circuit has a plurality of first delay stages, and the first output signal corresponds to a part of the first delay stages. 5.根据权利要求1所述的时间数字转换电路,其中该第二延迟电路具有多个第二延迟级,且该第二输出信号是对应至该些第二延迟级中的一部分。5. The time-to-digital conversion circuit according to claim 1, wherein the second delay circuit has a plurality of second delay stages, and the second output signal corresponds to a part of the second delay stages. 6.一种时间数字转换方法,包含:6. A time digital conversion method, comprising: 使用至少一第一延迟级延迟第一输入信号以产生第一输出信号;delaying the first input signal using at least one first delay stage to generate a first output signal; 使用至少一第二延迟级延迟第二输入信号以产生第二输出信号;delaying the second input signal using at least one second delay stage to generate a second output signal; 计数该第一输出信号以产生第一计数值;counting the first output signal to generate a first count value; 计数该第二输出信号以产生第二计数值;以及counting the second output signal to generate a second count value; and 比较该第一计数值与该第二计数值以产生比较结果信号;comparing the first count value with the second count value to generate a comparison result signal; 其中该第一延迟级比该第二延迟级具有较大的延迟量,且该第一计数值较该第二计数值较早开始被计数,而当该第二计数值落于包含该第一计数值的预定范围内时,输出该比较结果信号。Wherein the first delay stage has a larger delay amount than the second delay stage, and the first count value starts to be counted earlier than the second count value, and when the second count value falls within the range including the first When the count value is within a predetermined range, the comparison result signal is output. 7.根据权利要求6所述的时间数字转换方法,其中该比较该第一计数值与该第二计数值以产生比较结果信号的步骤是于该第二计数值实质上等于该第一计数值时输出该比较结果信号。7. The time-to-digital conversion method according to claim 6, wherein the step of comparing the first count value with the second count value to generate a comparison result signal is when the second count value is substantially equal to the first count value output the comparison result signal. 8.根据权利要求6所述的时间数字转换方法,其中该比较结果信号是作为预定电路的触发信号使用。8. The time-to-digital conversion method according to claim 6, wherein the comparison result signal is used as a trigger signal of a predetermined circuit. 9.根据权利要求6所述的时间数字转换方法,其中该使用至少一第一延迟级延迟第一输入信号以产生第一输出信号的步骤是使用多个第一延迟级,且该第一输出信号是对应至该些第一延迟级中的一部分。9. The time-to-digital conversion method according to claim 6, wherein the step of using at least one first delay stage to delay the first input signal to generate the first output signal is to use a plurality of first delay stages, and the first output The signals correspond to some of the first delay stages. 10.根据权利要求6所述的时间数字转换方法,其中该使用至少一第二延迟级延迟第二输入信号以产生第二输出信号的该步骤是使用多个第二延迟级,且该第二输出信号是对应至该些第二延迟级中的一部分。10. The time-to-digital conversion method according to claim 6, wherein the step of using at least one second delay stage to delay the second input signal to generate the second output signal is to use a plurality of second delay stages, and the second The output signal corresponds to a part of the second delay stages.
CN2008100807848A 2008-02-18 2008-02-18 Time-to-digital conversion circuit and related method thereof Active CN101515155B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100807848A CN101515155B (en) 2008-02-18 2008-02-18 Time-to-digital conversion circuit and related method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100807848A CN101515155B (en) 2008-02-18 2008-02-18 Time-to-digital conversion circuit and related method thereof

Publications (2)

Publication Number Publication Date
CN101515155A CN101515155A (en) 2009-08-26
CN101515155B true CN101515155B (en) 2010-10-13

Family

ID=41039633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100807848A Active CN101515155B (en) 2008-02-18 2008-02-18 Time-to-digital conversion circuit and related method thereof

Country Status (1)

Country Link
CN (1) CN101515155B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355267B (en) * 2011-05-30 2013-09-18 山东寿光科迪电子有限公司 Cursor delay chain based time-digital conversion method and circuit thereof
JP5920564B2 (en) * 2011-12-05 2016-05-18 セイコーエプソン株式会社 Timer device and electronic device
US8957712B2 (en) * 2013-03-15 2015-02-17 Qualcomm Incorporated Mixed signal TDC with embedded T2V ADC
CN103257569B (en) * 2013-05-23 2015-10-21 龙芯中科技术有限公司 Time measuring circuit, method and system
CN104199276B (en) * 2014-09-23 2017-01-11 李亚锋 FPGA-based (field programmable gate array based) signal time difference measurement method and FPGA-based time-to-digital converter
DE102016222136A1 (en) 2016-11-11 2018-05-17 Robert Bosch Gmbh Time-to-digital conversion device, LiDAR system and device
CN107193205B (en) * 2017-05-24 2019-05-14 哈尔滨工业大学 A kind of time memory circuit for pipeline-type time-to-digit converter

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0113935A2 (en) * 1982-12-22 1984-07-25 Philips Electronics Uk Limited Timer circuit
US4879700A (en) * 1987-05-04 1989-11-07 Ball Corporation Method and apparatus for determining the time between two signals
EP0357822A1 (en) * 1988-09-08 1990-03-14 Helmut K. Pinsch GmbH & Co. Method and apparatus for measuring the time difference between pulses
US4942561A (en) * 1988-06-29 1990-07-17 Kabushikikaisha Topcon Delay time measuring device
CN1696845A (en) * 2005-05-13 2005-11-16 清华大学 Method and device for measuring time interval by two-stage cascaded delay line method
CN1719353A (en) * 2005-06-21 2006-01-11 中国科学技术大学 FPGA-Based Time-to-Digital Converter and Its Conversion Method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0113935A2 (en) * 1982-12-22 1984-07-25 Philips Electronics Uk Limited Timer circuit
US4879700A (en) * 1987-05-04 1989-11-07 Ball Corporation Method and apparatus for determining the time between two signals
US4942561A (en) * 1988-06-29 1990-07-17 Kabushikikaisha Topcon Delay time measuring device
EP0357822A1 (en) * 1988-09-08 1990-03-14 Helmut K. Pinsch GmbH & Co. Method and apparatus for measuring the time difference between pulses
CN1696845A (en) * 2005-05-13 2005-11-16 清华大学 Method and device for measuring time interval by two-stage cascaded delay line method
CN1719353A (en) * 2005-06-21 2006-01-11 中国科学技术大学 FPGA-Based Time-to-Digital Converter and Its Conversion Method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JP 昭64-490( A),全文.
JP特开平10-90325(A) 1998.04.10

Also Published As

Publication number Publication date
CN101515155A (en) 2009-08-26

Similar Documents

Publication Publication Date Title
CN101515155B (en) Time-to-digital conversion circuit and related method thereof
CN100593776C (en) Periodic task reliability control method based on watchdog and timer
TWI477946B (en) Calibration device and related method for phase difference between data and clock
CN101379698B (en) System and method for improving stability of feedback and/or feedforward subsystems in digital amplifiers
CN106253883A (en) Device and method for measuring jitter built in chip
JP5571688B2 (en) Method for determining the frequency or period of a signal
US9755620B1 (en) Device for detecting and correcting timing error and method for designing typical-case timing using the same
WO2014032610A1 (en) Error recovery circuit facing cpu assembly line
TW202026655A (en) Circuit operation speed detection circuit
US20210203313A1 (en) Clock multiplier
US9047184B2 (en) Processing error detection within pipeline circuitry
CN202435363U (en) Shutdown time-delay circuit for operation system of electronic equipment
CN108932007A (en) Method for acquiring time stamp and computer device
CN105187053B (en) A kind of metastable state and eliminate circuit for TDC
CN104811166B (en) A kind of square-wave signal zero passage filtering method and device
CN110224692B (en) High-linearity delay chain
CN208673325U (en) Signal rate discrimination circuit
US7616721B2 (en) Apparatus and method for checking network synchronization clock signal in communication system
CN107219750B (en) Real-time Noise Correction Method of Delay Line for Improving Atomic Clock Stability
CN101101309A (en) A Phase Frequency Discriminator
US7173493B1 (en) Range controller circuit and method
CN204758686U (en) Offset -type voltage detector
CN107291066B (en) A shift type digital calibration system
CN115129296A (en) True random number generator and true random number generation method
TW202026793A (en) Measuring circuit for quantizing variations in circuit operation speed

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant