CN102736511B - Time measurement system and time measurement method - Google Patents

Time measurement system and time measurement method Download PDF

Info

Publication number
CN102736511B
CN102736511B CN201110085417.9A CN201110085417A CN102736511B CN 102736511 B CN102736511 B CN 102736511B CN 201110085417 A CN201110085417 A CN 201110085417A CN 102736511 B CN102736511 B CN 102736511B
Authority
CN
China
Prior art keywords
time
signal
delay
level
start 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
CN201110085417.9A
Other languages
Chinese (zh)
Other versions
CN102736511A (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.)
Institute of High Energy Physics of CAS
Original Assignee
Institute of High Energy Physics of CAS
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 Institute of High Energy Physics of CAS filed Critical Institute of High Energy Physics of CAS
Priority to CN201110085417.9A priority Critical patent/CN102736511B/en
Publication of CN102736511A publication Critical patent/CN102736511A/en
Application granted granted Critical
Publication of CN102736511B publication Critical patent/CN102736511B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Measurement Of Unknown Time Intervals (AREA)

Abstract

The invention relates to a time measurement system, which comprises a start signal fine time measurement unit, a timing signal fine time measurement unit, a rough time measurement unit and a time calculation unit, wherein the start signal fine time measurement unit comprises a delay chain, a plurality of registers and a data converter; one end of the delay chain receives a start signal; outputs of delay units receiving the start signal are sequentially changed into second levels; each register reads and stores an output value of the corresponding delay unit at the rising edge of a first clock when the start signal is input; the data converter converts the stored data into time data to acquire start signal fine time; the timing signal fine time measurement unit is used for acquiring timing signal fine time; the working theory of the timing signal fine time measurement unit is similar to that of the start signal fine time measurement unit; the rough time measurement unit is used for measuring rough time under the driving of a field programmable gate array (FPGA) clock signal; and the time calculation unit is used for subtracting the timing signal fine time from a sum of the rough time and the start signal fine time to acquire time to be measured. According to the system, the precision and the instantaneity of time measurement are improved.

Description

时间测量系统及时间测量方法Time measuring system and time measuring method

技术领域 technical field

本申请涉及一种测量系统,尤其涉及一种时间测量系统及方法。The present application relates to a measurement system, in particular to a time measurement system and method.

背景技术 Background technique

高精度时间测量技术在现代科学技术的诸多领域都需要被应用,例如电信通讯、激光测距、卫星定位等,尤其在物理学各领域中的应用更为广泛,诸如原子核物理、高能物理、医学影像物理等领域都离不开高精度时间测量技术。时间测量一般包括时间甄别和时间数字转换(Time-To-DigitalConverter,TDC)两部分。High-precision time measurement technology needs to be applied in many fields of modern science and technology, such as telecommunications, laser ranging, satellite positioning, etc., especially in various fields of physics, such as nuclear physics, high-energy physics, medicine Fields such as image physics are inseparable from high-precision time measurement technology. Time measurement generally includes two parts: time discrimination and time-to-digital conversion (Time-To-Digital Converter, TDC).

目前高精度TDC主要有ASIC(Application Specific IntegratedCircuit,专用集成电路)、专用TDC芯片、FPGA(Field ProgrammableGate Array,现场可编程门阵列)等多种实现方式,由于研发成本和研发周期等方面的原因,使得基于ASIC实现TDC的方案受到很大限制,专用TDC芯片又存在集成度低和使用不方便的问题。At present, high-precision TDC mainly includes ASIC (Application Specific Integrated Circuit, application specific integrated circuit), dedicated TDC chip, FPGA (Field Programmable Gate Array, field programmable gate array) and other implementation methods. Therefore, the scheme of implementing TDC based on ASIC is greatly limited, and the dedicated TDC chip has the problems of low integration and inconvenient use.

利用FPGA进行时间测量是一种比较新的时间测量方法,相较ASIC和专用TDC芯片的实现方式,该方法可降低测量系统的复杂性和成本。在专利申请CN1719353A中阐述了一种利用FPGA实现的TDC器件。该专利申请的主要特点是使用FPGA内部延迟线、多位加法器或者查找表LUT来测量精细时间,利用两个反相时钟驱动的计数器来测量粗时间,并且使用折半查找和流水线技术来实现精细时间编码。但是,该技术还存在以下几方面缺陷,致使难以实现该技术的实际应用。Using FPGA to measure time is a relatively new time measurement method, which can reduce the complexity and cost of the measurement system compared with the implementation of ASIC and dedicated TDC chips. In the patent application CN1719353A, a TDC device realized by FPGA is described. The main feature of this patent application is to use FPGA internal delay line, multi-bit adder or look-up table LUT to measure fine time, use two counters driven by inverse clocks to measure coarse time, and use half lookup and pipeline technology to realize fine time time code. However, this technology also has the following defects, which makes it difficult to realize the practical application of this technology.

1.该专利申请不对时间起点进行测量,由于起始信号通常由外部提供,与TDC时间插值所使用的高速时钟不同源,起始信号的上升沿与时钟前沿之间的相位不确定。因此,不对起始信号进行测量大大降低了现有时间测量技术的实用性。1. This patent application does not measure the starting point of time. Since the starting signal is usually provided externally, which is different from the high-speed clock used in TDC time interpolation, the phase between the rising edge of the starting signal and the leading edge of the clock is uncertain. Therefore, not measuring the start signal greatly reduces the usefulness of existing time measurement techniques.

2.该专利申请采用FPGA内部的进位连线、LUT(Look-Up-Table,查找表)、多位加法器等构建延迟链,所构建的延迟链不够均匀,而延迟链性能不佳将严重影响时间测量的精度。2. This patent application uses the carry connection, LUT (Look-Up-Table, look-up table) and multi-bit adder inside the FPGA to construct the delay chain. The delay chain constructed is not uniform enough, and the poor performance of the delay chain will seriously Affects the accuracy of time measurements.

该专利申请使用折半查找和流水线技术来实现时间编码,需要耗费大量的FPGA逻辑资源,且需要耗费较长的时间才能输出测量结果。This patent application uses binary search and pipeline technology to implement time encoding, which consumes a lot of FPGA logic resources and takes a long time to output measurement results.

发明内容 Contents of the invention

在下文中给出关于本发明的简要概述,以便提供关于本发明的某些方面的基本理解。应当理解,这个概述并不是关于本发明的穷举性概述。它并不是意图确定本发明的关键或重要部分,也不是意图限定本发明的范围。其目的仅仅是以简化的形式给出某些概念,以此作为稍后论述的更详细描述的前序。A brief overview of the invention is given below in order to provide a basic understanding of some aspects of the invention. It should be understood that this summary is not an exhaustive overview of the invention. It is not intended to identify key or critical parts of the invention nor to delineate the scope of the invention. Its purpose is merely to present some concepts in a simplified form as a prelude to the more detailed description that is discussed later.

本发明的一个主要目的在于提供一种实用性强且时间测量精确的时间测量系统和方法。A main object of the present invention is to provide a time measurement system and method with strong practicability and accurate time measurement.

根据本发明的一个方面,一种时间测量系统,用以测量待测时间,包括:According to one aspect of the present invention, a kind of time measurement system, in order to measure the time to be measured, comprises:

起始信号精细时间测量单元,包括由多个第一延迟单元串联而成的第一延迟链、多个第一寄存器以及第一数据转换器,当没有信号输入的时候,各第一延迟单元输出均为第一电平,各第一寄存器与各第一延迟单元对应连接,第一数据转换器连接至各第一寄存器,第一延迟链的一端用于接收起始信号,使接收到起始信号的第一延迟单元的输出依次变为第二电平,各第一寄存器用于在输入起始信号后的参考信号的第一个时钟前沿时读取与其对应连接的第一延迟单元的输出值并对读取的数据进行保存,第一数据转换器用于将各第一寄存器所保存的数据转换为时间数据以获取起始信号精细时间;The start signal fine time measurement unit includes a first delay chain formed by a plurality of first delay units connected in series, a plurality of first registers and a first data converter. When no signal is input, each first delay unit outputs All are at the first level, each first register is connected to each first delay unit correspondingly, the first data converter is connected to each first register, and one end of the first delay chain is used to receive the start signal, so that the start signal is received The output of the first delay unit of the signal changes to the second level in turn, and each first register is used to read the output of the first delay unit correspondingly connected to it when the first clock edge of the reference signal after the start signal is input value and save the read data, the first data converter is used to convert the data saved by each first register into time data to obtain the start signal fine time;

定时信号精细时间测量单元,包括由多个第二延迟单元串联而成的第二延迟链、多个第二寄存器以及第二数据转换器,当没有信号输入的时候,各第二延迟单元输出均为第一电平,各第二寄存器与各第二延迟单元对应连接,第二数据转换器连接至各第二寄存器,第二延迟链的一端用于接收定时信号,使接收到定时信号的第二延迟单元的输出依次变为第二电平,各第二寄存器用于在定时信号输入第二延迟链后的参考信号的第一个时钟前沿时读取与其对应连接的第二延迟单元的输出值并对读取的数据进行保存,第二数据转换器用于将各第二寄存器所保存的数据转换为时间数据以获取定时信号精细时间;The timing signal fine time measurement unit includes a second delay chain formed by a plurality of second delay units connected in series, a plurality of second registers and a second data converter. When there is no signal input, the output of each second delay unit is is the first level, each second register is correspondingly connected to each second delay unit, the second data converter is connected to each second register, and one end of the second delay chain is used to receive a timing signal, so that the first end receiving the timing signal The output of the two delay units changes to the second level in turn, and each second register is used to read the output of the second delay unit connected to it when the timing signal is input to the first clock edge of the reference signal after the second delay chain value and save the read data, and the second data converter is used to convert the data saved by each second register into time data to obtain the fine time of the timing signal;

粗时间测量单元,用于测量粗时间,粗时间为起始信号前沿之后的参考信号的第一个时钟周期到定时信号前沿之后的参考信号的第一个时钟周期之间的时间段;以及a coarse time measurement unit, configured to measure a coarse time, the coarse time being the time period between the first clock cycle of the reference signal after the leading edge of the start signal to the first clock cycle of the reference signal after the leading edge of the timing signal; and

时间计算单元,用于将粗时间和起始信号精细时间之和减去定时信号精细时间以获取待测时间。The time calculation unit is used to subtract the fine time of the timing signal from the sum of the coarse time and the fine time of the starting signal to obtain the time to be measured.

根据本发明的一个方面,一种时间测量方法,用以测量待测时间,包括:According to one aspect of the present invention, a method for measuring time is used to measure the time to be measured, comprising:

由多个第一延迟单元串联而成的第一延迟链的一端接收起始信号,使接收到起始信号的第一延迟单元的输出依次变为第二电平,在起始信号输入第一延迟链后的参考信号的第一个时钟前沿时通过对应连接至第一延迟单元的多个第一寄存器读取各第一延迟单元的输出值并对读取的数据进行保存,将所保存的数据转换为时间数据以得到起始信号精细时间,其中当没有信号输入的时候,各第一延迟单元输出均为第一电平;One end of the first delay chain formed by a plurality of first delay units connected in series receives the start signal, so that the output of the first delay unit that receives the start signal becomes the second level in turn, and the start signal is input to the first When the first clock edge of the reference signal after the delay chain is read through a plurality of first registers correspondingly connected to the first delay unit, the output value of each first delay unit is read and the read data is saved, and the saved The data is converted into time data to obtain the fine time of the start signal, wherein when there is no signal input, the output of each first delay unit is the first level;

由多个第二延迟单元串联而成的第二延迟链的一端接收定时信号,使接收到定时信号的第二延迟单元的输出依次变为第二电平,在定时信号输入第二延迟链后的参考信号的第一个时钟前沿时通过对应连接至第二延迟单元的多个第二寄存器读取各第二延迟单元的输出值并对读取的数据进行保存,将所保存的数据转换为时间数据以得到定时信号精细时间,其中当没有信号输入的时候,各第二延迟单元输出均为第一电平;One end of the second delay chain formed by a plurality of second delay units in series receives the timing signal, so that the output of the second delay unit receiving the timing signal becomes the second level in turn, after the timing signal is input into the second delay chain When the first clock edge of the reference signal is connected to a plurality of second registers corresponding to the second delay unit, the output value of each second delay unit is read and the read data is saved, and the saved data is converted into Time data to obtain the fine time of the timing signal, wherein when there is no signal input, the output of each second delay unit is the first level;

测量粗时间,粗时间为起始信号前沿之后的参考信号的第一个时钟周期到定时信号前沿之后的参考信号的第一个时钟周期之间的时间段;以及measure the coarse time, which is the period between the first clock cycle of the reference signal after the leading edge of the start signal and the first clock cycle of the reference signal after the leading edge of the timing signal; and

将起始信号精细时间与粗时间之和减去定时信号精细时间以获取待测时间。Subtract the fine time of the timing signal from the sum of the fine time of the start signal and the coarse time to obtain the time to be measured.

本发明通过引入起始信号为待测时间的测量提供参考点,并采用内插延迟链对起始信号上升沿与其后的第一个时钟上升沿之间的时间以及定时信号前沿与其后第一个时钟上升沿之间的时间进行精细测量,结合在时钟信号驱动下的粗测量获取精确的待测时间,解决了起始信号与FPGA芯片内部的时钟信号不同源所造成的测量精度不高的问题,同时引入起始信号作为参考点提升了时间测量的实用性。The present invention provides a reference point for the measurement of the time to be measured by introducing a starting signal, and uses an interpolation delay chain to determine the time between the rising edge of the starting signal and the rising edge of the first clock thereafter, as well as the time between the rising edge of the timing signal and the first clock rising edge thereafter. The precise measurement of the time between the rising edges of two clocks, combined with the rough measurement driven by the clock signal to obtain the precise time to be measured, solves the problem of low measurement accuracy caused by the different sources of the start signal and the internal clock signal of the FPGA chip. problems, while introducing the starting signal as a reference point improves the practicability of time measurement.

附图说明 Description of drawings

参照下面结合附图对本发明实施例的说明,会更加容易地理解本发明的以上和其它目的、特点和优点。附图中的部件只是为了示出本发明的原理。在附图中,相同的或类似的技术特征或部件将采用相同或类似的附图标记来表示。The above and other objects, features and advantages of the present invention will be more easily understood with reference to the following description of the embodiments of the present invention in conjunction with the accompanying drawings. The components in the drawings are only to illustrate the principles of the invention. In the drawings, the same or similar technical features or components will be denoted by the same or similar reference numerals.

图1为本发明时间测量系统较佳实施方式的方框图。Fig. 1 is a block diagram of a preferred embodiment of the time measuring system of the present invention.

图2为参考时钟信号、起始信号和定时信号的仿真示意图。FIG. 2 is a schematic diagram of a simulation of a reference clock signal, a start signal and a timing signal.

图3为对延迟链的输出数据进行分段查找时的示意图。FIG. 3 is a schematic diagram of performing segment search on the output data of the delay chain.

图4为本发明时间测量方法较佳实施方式的流程图。Fig. 4 is a flowchart of a preferred embodiment of the time measurement method of the present invention.

具体实施方式 Detailed ways

下面参照附图来说明本发明的实施例。在本发明的一个附图或一种实施方式中描述的元素和特征可以与一个或更多个其它附图或实施方式中示出的元素和特征相结合。应当注意,为了清楚的目的,附图和说明中省略了与本发明无关的、本领域普通技术人员已知的部件和处理的表示和描述。Embodiments of the present invention will be described below with reference to the drawings. Elements and features described in one drawing or one embodiment of the present invention may be combined with elements and features shown in one or more other drawings or embodiments. It should be noted that representation and description of components and processes that are not related to the present invention and known to those of ordinary skill in the art are omitted from the drawings and descriptions for the purpose of clarity.

请参考图1,本发明实施例的时间测量系统用以测量待测时间,其包括粗时间测量单元10、起始信号精细时间测量单元20、定时信号精细时间测量单元30及时间计算单元40。本发明实施例中的时间测量系统可集成在FPGA芯片中。Please refer to FIG. 1 , the time measurement system of the embodiment of the present invention is used to measure the time to be measured, which includes a coarse time measurement unit 10 , a start signal fine time measurement unit 20 , a timing signal fine time measurement unit 30 and a time calculation unit 40 . The time measurement system in the embodiment of the present invention can be integrated in an FPGA chip.

可选地,粗时间测量单元10在FPGA芯片的时钟信号CLOCK的驱动下测量粗时间。可选地,粗时间测量单元10可为FPGA芯片中的时钟计数器。Optionally, the coarse time measurement unit 10 measures the coarse time driven by the clock signal CLOCK of the FPGA chip. Optionally, the coarse time measuring unit 10 may be a clock counter in an FPGA chip.

待测时间T是定时时刻与起始时刻之间的时间差,例如,参考图2,待测时间T为待测的定时信号Tstop与起始信号Tstart之间的时间差。本发明实施例的待测时间T可以通过粗时间Tc、起始信号精细时间Tf1和定时信号精细时间Tf2来计算。The time to be measured T is the time difference between the timing moment and the start moment. For example, referring to FIG. 2 , the time to be measured T is the time difference between the timing signal Tstop and the start signal Tstart to be measured. The time T to be measured in the embodiment of the present invention can be calculated by the coarse time Tc, the fine time Tf1 of the start signal and the fine time Tf2 of the timing signal.

粗时间Tc指通过对参考信号(例如,图1和图2中的CLOCK信号)的时间周期计数而测得的时间。如图2所示,粗时间Tc是粗起始时刻Tc1和粗定时时刻Tc2之间的时间差。粗起始时刻Tc1是指在进行粗时间测量时开始计时的时间,粗定时时刻Tc2是指进行粗时间测量时停止计时的时间。在一个实例中,如图2所示,粗时间Tc是起始信号Tstart前沿之后的参考信号的第一个时钟周期的前沿到定时信号Tstop前沿之后的参考信号的第一个时钟周期的前沿之间的时间段,其中,粗起始时刻Tc1是起始信号Tstart前沿之后的参考信号的第一个时钟周期的前沿。粗定时时刻Tc2是定时信号Tstop前沿之后的参考信号的第一个时钟周期的前沿。The coarse time Tc refers to a time measured by counting time periods of a reference signal (eg, the CLOCK signal in FIGS. 1 and 2 ). As shown in FIG. 2, the rough time Tc is the time difference between the rough start time Tc1 and the rough timing time Tc2. The rough start time Tc1 refers to the time at which time counting is started when performing rough time measurement, and the rough timing time Tc2 refers to the time at which time counting is stopped when performing rough time measurement. In one example, as shown in FIG. 2, the coarse time Tc is between the leading edge of the first clock cycle of the reference signal after the leading edge of the start signal Tstart to the leading edge of the first clock cycle of the reference signal after the leading edge of the timing signal Tstop The time period between, wherein, the rough start time Tc1 is the leading edge of the first clock period of the reference signal after the leading edge of the start signal Tstart. The coarse timing instant Tc2 is the leading edge of the first clock cycle of the reference signal following the leading edge of the timing signal Tstop.

起始信号精细时间Tf1是粗起始时刻Tc1与起始时刻之间的时间差的绝对值,定时信号精细时间Tf2是定时时刻与粗定时时刻Tc2之间的时间差的绝对值。在图2中,起始信号精细时间Tf1是指起始信号Tstart前沿后的参考信号的第一个时钟前沿与起始信号Tstart前沿之间的时间差的绝对值;定时信号精细时间Tf2是指定时信号Tstop前沿与其后的第一个时钟上升沿之间的时间差的绝对值。起始信号精细时间和定时信号精细时间均小于一个时钟周期,因此不能由时钟计数器测得。The start signal fine time Tf1 is the absolute value of the time difference between the coarse start time Tc1 and the start time, and the timing signal fine time Tf2 is the absolute value of the time difference between the timing time and the coarse timing time Tc2. In Figure 2, the fine time Tf1 of the start signal refers to the absolute value of the time difference between the first clock edge of the reference signal after the leading edge of the start signal Tstart and the leading edge of the start signal Tstart; the fine time Tf2 of the timing signal is the specified time The absolute value of the time difference between the leading edge of the signal Tstop and the first clock rising edge thereafter. Both the start signal fine time and the timing signal fine time are less than one clock period and therefore cannot be measured by the clock counter.

于是,本发明实施例的待测时间T可以通过将粗时间Tc加上起始信号精细时间Tf1,然后减去定时信号精细时间Tf2来计算。Therefore, the time to be measured T in the embodiment of the present invention can be calculated by adding the coarse time Tc to the fine time Tf1 of the start signal, and then subtracting the fine time Tf2 of the timing signal.

在一个实例中,参考信号可以采用FPGA内部的时钟信号。In an example, the reference signal may be a clock signal inside the FPGA.

可选地,起始信号精细时间测量单元20可包括由多个第一延迟单元串联而成的第一延迟链、多个第一寄存器以及第一数据转换器。各第一寄存器与各第一延迟单元对应连接形成第一寄存器阵列,第一数据转换器连接至各第一寄存器。可选地,第一延迟单元为FPGA芯片中的延迟单元,即进位单元(如MUXCY)。各第一延迟单元可以通过进位线串联连接。Optionally, the start signal fine time measurement unit 20 may include a first delay chain formed by connecting a plurality of first delay units in series, a plurality of first registers and a first data converter. Each first register is correspondingly connected to each first delay unit to form a first register array, and the first data converter is connected to each first register. Optionally, the first delay unit is a delay unit in the FPGA chip, that is, a carry unit (such as MUXCY). The first delay units may be connected in series through carry lines.

起始信号精细时间测量单元20用于接收起始信号Tstart,该起始信号Tstart可由外部提供,也可由本发明的实施例的时间测量系统内部产生。当没有信号输入的时候,各第一延迟单元输出均为第一电平(例如为低电平),第一延迟链的一端接收起始信号Tstart,使各接收到起始信号Tstart的第一延迟单元的输出依次变为第二电平(例如为高电平)。在粗起始时刻Tc1,也就是,在本实施例的图1中,在起始信号Tstart输入第一延迟链后的CLOCK信号第一个时钟上升沿时,各第一寄存器读取与其对应连接的第一延迟单元的输出值并对读取的数据进行保存。第一数据转换器将各第一寄存器所保存的数据转换为时间数据,即得到起始信号精细时间Tf1。The start signal fine time measurement unit 20 is used to receive the start signal Tstart, which can be provided externally or generated internally by the time measurement system of the embodiment of the present invention. When there is no signal input, the output of each first delay unit is the first level (for example, low level), and one end of the first delay chain receives the start signal Tstart, so that each first delay unit that receives the start signal Tstart The output of the delay unit changes to the second level (for example, high level) in sequence. At the rough start time Tc1, that is, in Figure 1 of this embodiment, when the first clock rising edge of the CLOCK signal after the start signal Tstart is input to the first delay chain, each first register reads its corresponding connection The output value of the first delay unit and save the read data. The first data converter converts the data stored in each first register into time data, that is, obtains the start signal fine time Tf1.

可选地,定时信号精细时间测量单元30也包括由多个第二延迟单元串联而成的第二延迟链、多个第二寄存器以及第二数据转换器,其结构与起始信号精细时间测量单元20的结构类似,各第二寄存器与各第二延迟单元对应连接形成第二寄存器阵列,第二数据转换器连接至各第二寄存器。Optionally, the timing signal fine time measurement unit 30 also includes a second delay chain formed in series by a plurality of second delay units, a plurality of second registers and a second data converter, the structure of which is the same as that of the start signal fine time measurement The structure of the unit 20 is similar, and each second register is correspondingly connected with each second delay unit to form a second register array, and the second data converter is connected to each second register.

定时信号精细时间测量单元30获取定时信号精细时间Tf2和起始信号精细时间测量单元20获取起始信号精细时间Tf1的原理类似,第二延迟链的一端用于接收定时信号Tstop,使接收到定时信号Tstop的第二延迟单元的输出依次变为第二电平。在粗定时时刻Tc2,也就是,在本实施例的图1中,在定时信号输入第二延迟链后的CLOCK信号的第一个时钟上升沿时,各第二寄存器读取与其对应连接的第二延迟单元的输出值并对读取的数据进行保存,第二数据转换器用于将各第二寄存器所保存的数据转换为时间数据以获取定时信号精细时间Tf2。The timing signal fine time measurement unit 30 obtains the timing signal fine time Tf2 and the starting signal fine time measurement unit 20 obtains the principle similar to the start signal fine time Tf1, and one end of the second delay chain is used to receive the timing signal Tstop, so that the timing signal is received The output of the second delay unit of the signal Tstop becomes the second level in turn. At the rough timing time Tc2, that is, in FIG. 1 of this embodiment, when the first clock rising edge of the CLOCK signal after the timing signal is input into the second delay chain, each second register reads the correspondingly connected first clock edge. The output value of the second delay unit is used to store the read data, and the second data converter is used to convert the data stored in each second register into time data to obtain the fine time Tf2 of the timing signal.

可选地,本发明的实施例中,各第一寄存器分别对应不同的时间数据,各第二寄存器也分别对应不同的时间数据。第一、第二数据转换器查找第一、第二寄存器阵列所存储的第二电平数据,以查找起始信号Tstart或定时信号Tstop在对应的第一或第二延迟链中传输的终点,并通过编码输出与该终点相对应的时间数据,便可获得起始信号精细时间Tf1或定时信号精细时间Tf2。Optionally, in this embodiment of the present invention, each first register corresponds to different time data, and each second register also corresponds to different time data. The first and second data converters search the second-level data stored in the first and second register arrays to find the end point of the transmission of the start signal Tstart or the timing signal Tstop in the corresponding first or second delay chain, And by encoding and outputting the time data corresponding to the end point, the fine time Tf1 of the start signal or the fine time Tf2 of the timing signal can be obtained.

可选地,本发明的实施例中,利用分段查找法查找第一、第二寄存器阵列所存储的第二电平数据。以图3所示为例进行说明,分段查找的方法如下:Optionally, in this embodiment of the present invention, the second-level data stored in the first and second register arrays is searched for using a segmented search method. Taking Figure 3 as an example for illustration, the segmented search method is as follows:

步骤1:将第一或第二寄存器阵列的输出从最高位到最低位依次分为多个组,如图3中的组a、b、c、d,其中最高组a的最高位a6为延迟链的尾部,最低组d的最低位d1为延迟链的首部,首先判断最高组a的最低位a1,若最高组a的最低位a1为第二电平,说明信号已传输至此处,则从最高组a的最高位a6依次往下查找起始信号或定时信号传输的终点,即从最高组a的最高位a6开始往下查找第一个第二电平的位置。Step 1: Divide the output of the first or second register array into multiple groups sequentially from the highest bit to the lowest bit, such as groups a, b, c, and d in Figure 3, where the highest bit a6 of the highest group a is the delay At the end of the chain, the lowest bit d1 of the lowest group d is the head of the delay chain, first judge the lowest bit a1 of the highest group a, if the lowest bit a1 of the highest group a is the second level, it means that the signal has been transmitted here, then from The highest bit a6 of the highest group a searches downwards in turn for the end of the transmission of the start signal or timing signal, that is, starts from the highest bit a6 of the highest group a and searches for the position of the first second level.

步骤2:若最高组a的最低位a1为第一电平,说明信号尚未传输至此处,则判断次高组b的最低位b1,若次高组b的最低位b1为第二电平,则从次高组b的最高位b6开始往下查找第一个第二电平的位置。Step 2: If the lowest bit a1 of the highest group a is the first level, it means that the signal has not been transmitted here, then judge the lowest bit b1 of the second highest group b, if the lowest bit b1 of the second highest group b is the second level, Then search for the position of the first second level from the highest bit b6 of the second highest group b.

步骤3:以此类推,直至查找到第一个第二电平的位置,以找到起始信号或定时信号在对应的第一或第二延迟链中传输的终点,使得第一或第二数据转换器获得起始信号Tstart或定时信号Tstop在对应的第一或第二延迟链中传输的终点所对应的时间数据,即得到起始信号精细时间Tf1或定时信号精细时间Tf2。Step 3: By analogy, until the position of the first second level is found, to find the end point of the start signal or timing signal transmitted in the corresponding first or second delay chain, so that the first or second data The converter obtains the time data corresponding to the end of transmission of the start signal Tstart or the timing signal Tstop in the corresponding first or second delay chain, that is, obtains the fine time Tf1 of the start signal or the fine time Tf2 of the timing signal.

时间计算单元40根据粗时间测量单元10所测量的粗时间Tc、起始信号精细时间测量单元20所测量的起始信号精细时间Tf1以及定时信号精细时间测量单元30所测量的定时信号精细时间Tf2计算待测时间T。本发明的实施例中,时间计算单元40将起始信号精细时间Tf1与粗时间Tc之和减去定时信号精细时间Tf2以获取待测时间T。The time calculating unit 40 is based on the coarse time Tc measured by the coarse time measuring unit 10, the start signal fine time Tf1 measured by the start signal fine time measuring unit 20, and the timing signal fine time Tf2 measured by the timing signal fine time measuring unit 30 Calculate the waiting time T. In the embodiment of the present invention, the time calculation unit 40 subtracts the fine time Tf2 of the timing signal from the sum of the fine time Tf1 of the start signal and the coarse time Tc to obtain the time T to be measured.

请参考图4,本发明时间测量方法的较佳实施方式包括以下步骤:Please refer to Fig. 4, the preferred embodiment of time measuring method of the present invention comprises the following steps:

步骤S1:第一延迟链的一端接收起始信号Tstart,使接收到起始信号Tstart的延迟单元的输出依次变为第二电平,各第一寄存器在起始信号Tstart输入第一延迟链后的参考信号的第一个时钟前沿时读取与其对应连接的第一延迟单元的输出值并对读取的数据进行保存,数据转换器将各寄存器所保存的数据转换为时间数据,即得到起始信号精细时间Tf1。起始信号精细时间Tf1为起始信号Tstart上升沿与其后的参考信号的第一个时钟上升沿之间的时间。Step S1: one end of the first delay chain receives the start signal Tstart, so that the output of the delay unit receiving the start signal Tstart becomes the second level in turn, and each first register is input to the first delay chain after the start signal Tstart When the first clock edge of the reference signal is read, the output value of the first delay unit connected to it is read and the read data is saved, and the data converter converts the data saved in each register into time data, that is, the starting value is obtained Start signal fine time Tf1. The start signal fine time Tf1 is the time between the rising edge of the start signal Tstart and the first clock rising edge of the subsequent reference signal.

步骤S2:第二延迟链的一端接收定时信号Tstop,使接收到定时信号Tstop的第二延迟单元的输出依次变为第二电平,各第二寄存器在定时信号Tstop输入第二延迟链后的参考信号的第一个时钟前沿时读取与其对应连接的第二延迟单元的输出值并对读取的数据进行保存,数据转换器将各第二寄存器所保存的数据转换为时间数据,即得到定时信号精细时间Tf2。定时信号精细时间Tf2为定时信号Tstop前沿与其后的参考信号的第一个时钟上升沿之间的时间。Step S2: one end of the second delay chain receives the timing signal Tstop, so that the output of the second delay unit receiving the timing signal Tstop becomes the second level in turn, and each second register is input to the second delay chain after the timing signal Tstop When the first clock edge of the reference signal is read, the output value of the second delay unit correspondingly connected to it is read and the read data is stored, and the data converter converts the data stored in each second register into time data, that is, Timing signal fine time Tf2. The timing signal fine time Tf2 is the time between the leading edge of the timing signal Tstop and the first clock rising edge of the subsequent reference signal.

步骤S3:粗时间测量单元10测量粗时间。粗时间为起始信号Tstart前沿之后的参考信号的第一个时钟周期到定时信号Tstop前沿之后的参考信号第一个时钟周期之间的时间段。可选地,参考信号可以是在FPGA芯片的时钟信号CLOCK。Step S3: The rough time measurement unit 10 measures a rough time. The coarse time is a time period between the first clock cycle of the reference signal after the leading edge of the start signal Tstart and the first clock cycle of the reference signal after the leading edge of the timing signal Tstop. Optionally, the reference signal may be the clock signal CLOCK on the FPGA chip.

步骤S4:时间计算单元40根据步骤S3中所获取的粗时间Tc、步骤S1中获取的起始信号精细时间Tf1以及步骤S2中获取的定时信号精细时间Tf2计算待测时间T。本步骤中,时间计算单元40可将起始信号精细时间Tf1与粗时间Tc之和减去定时信号精细时间Tf2以获取待测时间T。Step S4: The time calculation unit 40 calculates the time to be measured T according to the coarse time Tc obtained in step S3, the start signal fine time Tf1 obtained in step S1, and the timing signal fine time Tf2 obtained in step S2. In this step, the time calculation unit 40 may subtract the fine time Tf2 of the timing signal from the sum of the fine time Tf1 of the start signal and the coarse time Tc to obtain the time T to be measured.

可选地,在步骤S2和S3中,利用分段查找法查找第一、第二寄存器阵列所存储的第二电平数据,以查找起始信号Tstart或定时信号Tstop在对应的第一或第二延迟链中传输的终点,并通过编码输出与该终点相对应的时间数据,便可获取起始信号精细时间Tf1或定时信号精细时间Tf2。分段查找法在上述描述中已说明,在此不再赘述。Optionally, in steps S2 and S3, the second-level data stored in the first and second register arrays is searched for using a segmentation search method, so as to search for start signal Tstart or timing signal Tstop at the corresponding first or second level data. The end point of the transmission in the second delay chain, and by encoding and outputting the time data corresponding to the end point, the fine time Tf1 of the start signal or the fine time Tf2 of the timing signal can be obtained. The segmentation search method has been explained in the above description, and will not be repeated here.

本发明的实施例中,通过引入起始信号为定时时刻的测量提供参考点,并采用内插延迟链对起始信号前沿与其后的第一个时钟前沿之间的时间以及定时信号前沿与其后第一个时钟前沿之间的时间进行精细测量,结合在时钟信号驱动下的粗测量获取精确的待测时间,解决了起始信号与FPGA芯片内部的时钟信号不同源所造成的测量精度不高的问题,同时引入起始信号作为参考点提升了时间测量的实用性。In the embodiment of the present invention, a reference point is provided for the measurement of the timing moment by introducing a start signal, and an interpolation delay chain is used to measure the time between the front edge of the start signal and the first clock edge thereafter and the time between the front edge of the timing signal and the subsequent clock edge. The time between the leading edge of the first clock is finely measured, combined with the rough measurement driven by the clock signal to obtain the accurate time to be measured, which solves the low measurement accuracy caused by the different sources of the start signal and the internal clock signal of the FPGA chip At the same time, the introduction of the starting signal as a reference point improves the practicability of time measurement.

本发明的实施例采用FPGA芯片内部进位单元构建时间延迟链,相较采用加法器、LUT等构建的延迟链,具有延迟更为均匀的优点,提升了时间测量的精确性和可靠性。The embodiment of the present invention adopts the internal carry unit of the FPGA chip to construct the time delay chain, which has the advantage of more uniform delay compared with the delay chain constructed by the adder, LUT, etc., and improves the accuracy and reliability of time measurement.

本发明的实施例将待测定时信号接入延迟链,参考时钟信号接入寄存器阵列,仅通过一个时钟计数器即可实现粗时间测量,结构简单。In the embodiment of the present invention, the timing signal to be measured is connected to the delay chain, and the reference clock signal is connected to the register array, and only one clock counter can realize the coarse time measurement, and the structure is simple.

本发明的实施例采用分段查找法读取延迟链中各延迟单元的输出状态,将对延迟链的串行组合的查找转变为多个串行分段的并行查找,可在极短时间内得到查找的结果,经实验证明,分段查找可在一个时钟周期内得出查找的结果,大大减少了FPGA逻辑资源的使用量,并且减少了时间数据的获取时间。Embodiments of the present invention use the segmented search method to read the output states of each delay unit in the delay chain, and convert the search of the serial combination of the delay chain into a parallel search of multiple serial segments, which can be performed in a very short time The result of the search is obtained. It is proved by experiments that the segmentation search can obtain the search result within one clock cycle, which greatly reduces the usage of FPGA logic resources and reduces the acquisition time of time data.

在本发明的设备和方法中,显然,各部件或各步骤是可以分解、组合和/或分解后重新组合的。这些分解和/或重新组合应视为本发明的等效方案。还需要指出的是,执行上述系列处理的步骤可以自然地按照说明的顺序按时间顺序执行,但是并不需要一定按照时间顺序执行。某些步骤可以并行或彼此独立地执行。同时,在上面对本发明具体实施例的描述中,针对一种实施方式描述和/或示出的特征可以以相同或类似的方式在一个或更多个其它实施方式中使用,与其它实施方式中的特征相组合,或替代其它实施方式中的特征。In the device and method of the present invention, obviously, each component or each step can be decomposed, combined and/or recombined after decomposing. These decompositions and/or recombinations should be considered equivalents of the present invention. It should also be pointed out that the steps for executing the above series of processes can naturally be executed in chronological order according to the illustrated order, but it does not need to be executed in chronological order. Certain steps may be performed in parallel or independently of each other. Meanwhile, in the above descriptions of specific embodiments of the present invention, features described and/or shown for one embodiment can be used in one or more other embodiments in the same or similar manner, and combination of features, or replace features in other embodiments.

Claims (6)

1.一种时间测量系统,用以测量待测时间,包括:1. A time measuring system for measuring the time to be measured, comprising: 起始信号精细时间测量单元,包括由多个第一延迟单元串联而成的第一延迟链、多个第一寄存器以及第一数据转换器,当没有信号输入的时候,各第一延迟单元输出均为第一电平,各第一寄存器与各第一延迟单元对应连接,第一数据转换器连接至各第一寄存器,第一延迟链的一端用于接收起始信号,使接收到所述起始信号的第一延迟单元的输出依次变为第二电平,各第一寄存器用于在输入起始信号后的参考信号的第一个时钟前沿时读取与其对应连接的第一延迟单元的输出值并对读取的数据进行保存,第一数据转换器用于将各第一寄存器所保存的数据转换为时间数据以获取起始信号精细时间;The start signal fine time measurement unit includes a first delay chain formed by a plurality of first delay units connected in series, a plurality of first registers and a first data converter. When no signal is input, each first delay unit outputs are all at the first level, each first register is correspondingly connected to each first delay unit, the first data converter is connected to each first register, and one end of the first delay chain is used to receive a start signal, so that the received The output of the first delay unit of the start signal changes to the second level in turn, and each first register is used to read the correspondingly connected first delay unit when the first clock edge of the reference signal after the start signal is input and save the read data, the first data converter is used to convert the data saved by each first register into time data to obtain the fine time of the start signal; 定时信号精细时间测量单元,包括由多个第二延迟单元串联而成的第二延迟链、多个第二寄存器以及第二数据转换器,当没有信号输入的时候,各第二延迟单元输出均为第一电平,各第二寄存器与各第二延迟单元对应连接,第二数据转换器连接至各第二寄存器,第二延迟链的一端用于接收定时信号,使接收到所述定时信号的第二延迟单元的输出依次变为第二电平,各第二寄存器用于在定时信号输入第二延迟链后的参考信号的第一个时钟前沿时读取与其对应连接的第二延迟单元的输出值并对读取的数据进行保存,第二数据转换器用于将各第二寄存器所保存的数据转换为时间数据以获取定时信号精细时间;The timing signal fine time measurement unit includes a second delay chain formed by a plurality of second delay units connected in series, a plurality of second registers and a second data converter. When there is no signal input, the output of each second delay unit is is the first level, each second register is correspondingly connected to each second delay unit, the second data converter is connected to each second register, and one end of the second delay chain is used to receive a timing signal, so that when the timing signal is received The output of the second delay unit changes to the second level in turn, and each second register is used to read the second delay unit correspondingly connected to it when the timing signal is input to the first clock edge of the reference signal after the second delay chain The output value and the read data are stored, and the second data converter is used to convert the data stored in each second register into time data to obtain the fine time of the timing signal; 粗时间测量单元,用于测量粗时间,所述粗时间为所述起始信号前沿之后的参考信号的第一个时钟周期到所述定时信号前沿之后的参考信号的第一个时钟周期之间的时间段;以及A coarse time measurement unit, configured to measure a coarse time, the coarse time is between the first clock cycle of the reference signal after the leading edge of the start signal and the first clock cycle of the reference signal after the leading edge of the timing signal period of time; and 时间计算单元,用于将所述粗时间和起始信号精细时间之和减去定时信号精细时间以获取所述待测时间;a time calculation unit, configured to subtract the fine time of the timing signal from the sum of the coarse time and the fine time of the start signal to obtain the time to be measured; 各第一寄存器分别对应不同的时间数据,各第二寄存器也分别对应不同的时间数据,所述起始信号精细时间测量单元或定时信号精细时间测量单元还具体用于:Each first register corresponds to different time data respectively, and each second register also corresponds to different time data respectively, and the fine time measurement unit for the start signal or the fine time measurement unit for the timing signal is also specifically used for: 将各第一或第二寄存器的输出从最高位到最低位依次分为多个组,其中最高组的最高位为对应的第一或第二延迟链的尾部,最低组的最低位为对应的第一或第二延迟链的首部;The output of each first or second register is sequentially divided into multiple groups from the highest bit to the lowest bit, wherein the highest bit of the highest group is the tail of the corresponding first or second delay chain, and the lowest bit of the lowest group is the corresponding the header of the first or second delay chain; 判断最高组的最低位的电平状态,若最高组的最低位为第二电平,则从最高组的最高位开始往下查找第一个第二电平的位置;Judging the level state of the lowest bit of the highest group, if the lowest bit of the highest group is the second level, start from the highest bit of the highest group to find the position of the first second level; 若最高组的最低位为第一电平,则判断次高组的最低位的电平状态,若次高组的最低位为第二电平,则从次高组的最高位开始往下查找第一个第二电平的位置;以及If the lowest bit of the highest group is the first level, then judge the level state of the lowest bit of the second highest group, if the lowest bit of the second highest group is the second level, start searching from the highest bit of the second highest group the location of the first second level; and 以此类推,直至查找到第一个第二电平的位置,以找到起始信号或定时信号在对应的第一或第二延迟链中传输的终点,以获得起始信号或定时信号在对应的第一或第二延迟链中传输的终点所对应的时间数据,从而获得所述起始信号精细时间或定时信号精细时间。By analogy, until the position of the first second level is found, to find the end point of the start signal or timing signal transmitted in the corresponding first or second delay chain, to obtain the start signal or timing signal at the corresponding The time data corresponding to the end point transmitted in the first or second delay chain, so as to obtain the fine time of the start signal or the fine time of the timing signal. 2.如权利要求1所述的时间测量系统,其特征在于,所述粗时间测量单元为现场可编程门阵列芯片中的时钟计数器。2. The time measurement system according to claim 1, wherein the coarse time measurement unit is a clock counter in a field programmable gate array chip. 3.如权利要求1所述的时间测量系统,其特征在于,各第一延迟单元、第二延迟单元均为现场可编程门阵列芯片中的进位单元,各第一延迟单元通过进位线串联连接,各第二延迟单元通过进位线串联连接。3. time measurement system as claimed in claim 1, is characterized in that, each first delay unit, the second delay unit are carry units in the field programmable gate array chip, and each first delay unit is connected in series by carry line , each second delay unit is connected in series through a carry line. 4.一种时间测量方法,用以测量待测时间,包括:4. A time measurement method for measuring the time to be tested, comprising: 由多个第一延迟单元串联而成的第一延迟链的一端接收起始信号,使接收到起始信号的第一延迟单元的输出依次变为第二电平,在起始信号输入第一延迟链后的参考信号的第一个时钟前沿时通过对应连接至第一延迟单元的多个第一寄存器读取各第一延迟单元的输出值并对读取的数据进行保存,将所保存的数据转换为时间数据以得到起始信号精细时间,其中当没有信号输入的时候,各第一延迟单元输出均为第一电平;One end of the first delay chain formed by a plurality of first delay units connected in series receives the start signal, so that the output of the first delay unit that receives the start signal becomes the second level in turn, and the start signal is input to the first When the first clock edge of the reference signal after the delay chain is read through a plurality of first registers correspondingly connected to the first delay unit, the output value of each first delay unit is read and the read data is saved, and the saved The data is converted into time data to obtain the fine time of the start signal, wherein when there is no signal input, the output of each first delay unit is the first level; 由多个第二延迟单元串联而成的第二延迟链的一端接收定时信号,使接收到定时信号的第二延迟单元的输出依次变为第二电平,在定时信号输入第二延迟链后的参考信号的第一个时钟前沿时通过对应连接至第二延迟单元的多个第二寄存器读取各第二延迟单元的输出值并对读取的数据进行保存,将所保存的数据转换为时间数据以得到定时信号精细时间,其中当没有信号输入的时候,各第二延迟单元输出均为第一电平;One end of the second delay chain formed by a plurality of second delay units in series receives the timing signal, so that the output of the second delay unit receiving the timing signal becomes the second level in turn, after the timing signal is input into the second delay chain When the first clock edge of the reference signal is connected to a plurality of second registers corresponding to the second delay unit, the output value of each second delay unit is read and the read data is saved, and the saved data is converted into Time data to obtain the fine time of the timing signal, wherein when there is no signal input, the output of each second delay unit is the first level; 测量粗时间,所述粗时间为所述起始信号前沿之后的参考信号的第一个时钟周期到所述定时信号前沿之后的参考信号的第一个时钟周期之间的时间段;以及measuring a coarse time, the coarse time being the time period between the first clock cycle of the reference signal after the leading edge of the start signal to the first clock cycle of the reference signal after the leading edge of the timing signal; and 将所述起始信号精细时间与粗时间之和减去所述定时信号精细时间以获取所述待测时间;subtracting the fine time of the timing signal from the sum of the fine time of the starting signal and the coarse time to obtain the time to be measured; 各第一寄存器分别对应不同的时间数据,各第二寄存器也分别对应不同的时间数据,所述测量起始信号精细时间或定时信号精细时间的步骤分别包括:Each first register corresponds to different time data respectively, and each second register also corresponds to different time data respectively, and the steps of measuring the fine time of the starting signal or the fine time of the timing signal respectively include: 将各第一或第二寄存器的输出从最高位到最低位依次分为多个组,其中最高组的最高位为对应的第一或第二延迟链的尾部,最低组的最低位为对应的第一或第二延迟链的首部;The output of each first or second register is sequentially divided into multiple groups from the highest bit to the lowest bit, wherein the highest bit of the highest group is the tail of the corresponding first or second delay chain, and the lowest bit of the lowest group is the corresponding the header of the first or second delay chain; 判断最高组的最低位的电平状态,若最高组的最低位为第二电平,则从最高组的最高位开始往下查找第一个第二电平的位置;Judging the level state of the lowest bit of the highest group, if the lowest bit of the highest group is the second level, start from the highest bit of the highest group to find the position of the first second level; 若最高组的最低位为第一电平,则判断次高组的最低位的电平状态,若次高组的最低位为第二电平,则从次高组的最高位开始往下查找第一个第二电平的位置;以及If the lowest bit of the highest group is the first level, then judge the level state of the lowest bit of the second highest group, if the lowest bit of the second highest group is the second level, start searching from the highest bit of the second highest group the location of the first second level; and 以此类推,直至查找到第一个第二电平的位置,以找到起始信号或定时信号在对应的第一或第二延迟链中传输的终点,以获得起始信号或定时信号在对应的第一或第二延迟链中传输的终点所对应的时间数据,从而获得所述起始信号精细时间或定时信号精细时间。By analogy, until the position of the first second level is found, to find the end point of the start signal or timing signal transmitted in the corresponding first or second delay chain, to obtain the start signal or timing signal at the corresponding The time data corresponding to the end point transmitted in the first or second delay chain, so as to obtain the fine time of the start signal or the fine time of the timing signal. 5.如权利要求4所述的时间测量方法,其特征在于,所述测量粗时间的步骤包括通过现场可编程门阵列芯片中的时钟计数器测量所述粗时间。5. The time measurement method according to claim 4, wherein the step of measuring the coarse time comprises measuring the coarse time by a clock counter in a field programmable gate array chip. 6.如权利要求4所述的时间测量方法,其特征在于,各第一延迟单元、第二延迟单元均为现场可编程门阵列芯片中的进位单元,各第一延迟单元通过进位线串联连接,各第二延迟单元通过进位线串联连接。6. time measuring method as claimed in claim 4, it is characterized in that, each first delay unit, the second delay unit are carry units in the field programmable gate array chip, each first delay unit is connected in series by carry line , each second delay unit is connected in series through a carry line.
CN201110085417.9A 2011-04-06 2011-04-06 Time measurement system and time measurement method Active CN102736511B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110085417.9A CN102736511B (en) 2011-04-06 2011-04-06 Time measurement system and time measurement method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110085417.9A CN102736511B (en) 2011-04-06 2011-04-06 Time measurement system and time measurement method

Publications (2)

Publication Number Publication Date
CN102736511A CN102736511A (en) 2012-10-17
CN102736511B true CN102736511B (en) 2014-08-20

Family

ID=46992189

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110085417.9A Active CN102736511B (en) 2011-04-06 2011-04-06 Time measurement system and time measurement method

Country Status (1)

Country Link
CN (1) CN102736511B (en)

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103472712B (en) * 2013-09-26 2016-01-27 中国科学技术大学 A kind of high precision high integration time-to-digit converter based on FPGA and implementation method
CN103558753B (en) * 2013-10-30 2016-07-06 福建星网锐捷网络有限公司 A kind of high-resolution clock detection method and device
US9432009B2 (en) * 2013-11-15 2016-08-30 Arm Limited Circuit delay monitoring apparatus and method
KR101565098B1 (en) 2014-04-30 2015-11-02 한국항공우주연구원 Apparatus for input time measurement of input signal
CN104035320B (en) * 2014-06-16 2017-11-03 沈阳东软医疗系统有限公司 A kind of system and method for realizing time interval measurement
CN104597748B (en) * 2015-02-12 2017-05-03 中国科学技术大学 FPGA (field programmable gate array)-based time-digital converter
DE102016222136A1 (en) 2016-11-11 2018-05-17 Robert Bosch Gmbh Time-to-digital conversion device, LiDAR system and device
CN106773613B (en) * 2016-12-19 2019-03-22 武汉中派科技有限责任公司 Time-to-digit converter and Method Of Time Measurement
CN109143310B (en) * 2017-06-27 2020-07-28 中国科学院高能物理研究所 Timing circuit, readout circuit, scintillation detector and timing method
CN109444856B (en) * 2018-08-31 2020-07-31 西安电子科技大学 An Integer Period Measurement Circuit Applied to High Resolution Time-to-Digital Converter
CN109116717B (en) * 2018-09-28 2019-09-03 东北大学 A Time Interval Measurement Method Based on Multiple Sampling
CN109286463B (en) * 2018-12-05 2020-12-04 北京中创为南京量子通信技术有限公司 High-precision time measurement method based on FPGA
CN109656123B (en) * 2018-12-24 2020-08-25 成都天奥电子股份有限公司 High-precision time difference measuring and generating method based on mathematical combination operation
CN109947868A (en) * 2019-03-22 2019-06-28 晶晨半导体(上海)股份有限公司 A kind of signal display method of storage system
CN110442012A (en) * 2019-07-22 2019-11-12 桂林电子科技大学 A kind of precision time interval measurement method and system based on FPGA
CN112764342B (en) * 2019-11-01 2022-02-18 北京一径科技有限公司 Time measuring device and method
CN111142357B (en) * 2019-12-30 2021-04-23 中国科学技术大学 Multi-edge position coding method for time-to-digital converter delay chain interpolation
CN111693785B (en) * 2020-05-14 2021-05-07 湖南毂梁微电子有限公司 Digital pulse signal width measuring circuit and measuring method
CN112506031B (en) * 2020-11-30 2021-09-21 中国计量科学研究院 High-precision time interval measuring system for laser interference fringe signals
CN112486008B (en) * 2020-12-11 2021-12-07 上海交通大学 Resolution-adjustable time measurement statistical system and method based on TDC
CN113219816B (en) * 2021-05-07 2022-05-17 中国科学技术大学 Timing measurement method and time digital converter
CN113835333B (en) * 2021-09-29 2022-08-12 武汉市聚芯微电子有限责任公司 Time-to-digital conversion device and time-to-digital conversion method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2736821Y (en) * 2004-05-18 2005-10-26 西安电子科技大学 Programmable logic device based short time interval meter
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
CN101520640A (en) * 2008-11-08 2009-09-02 中国工程物理研究院流体物理研究所 Time interval measuring instrument based on FPGA
US20090303091A1 (en) * 2006-02-17 2009-12-10 Verigy (Singapore) Pte. Ltd. Time-to-Digital Conversion With Calibration Pulse Injection
CN101976036A (en) * 2010-07-30 2011-02-16 西安电子科技大学 Short interval measurement method based on special programmable input and output delay unit

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60201279A (en) * 1984-03-26 1985-10-11 Nec Corp Time interval measuring device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2736821Y (en) * 2004-05-18 2005-10-26 西安电子科技大学 Programmable logic device based short time interval meter
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
US20090303091A1 (en) * 2006-02-17 2009-12-10 Verigy (Singapore) Pte. Ltd. Time-to-Digital Conversion With Calibration Pulse Injection
CN101520640A (en) * 2008-11-08 2009-09-02 中国工程物理研究院流体物理研究所 Time interval measuring instrument based on FPGA
CN101976036A (en) * 2010-07-30 2011-02-16 西安电子科技大学 Short interval measurement method based on special programmable input and output delay unit

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
冯志辉 等.用于激光测距的高精度时间数字转换电路.《光学 精密工程》.2010,第18卷(第12期),2665-2671.
用于激光测距的高精度时间数字转换电路;冯志辉 等;《光学 精密工程》;20101231;第18卷(第12期);2665-2671 *

Also Published As

Publication number Publication date
CN102736511A (en) 2012-10-17

Similar Documents

Publication Publication Date Title
CN102736511B (en) Time measurement system and time measurement method
WO2016127357A1 (en) Fpga-based time-to-digital converter
CN106772185B (en) Signal interval or period detection method and device for oscilloscope
CN107819456B (en) High-precision delay generator based on FPGA carry chain
CN102565673B (en) Highly-reliable pulse counting test system based on FPGA (Field Programmable Gate Array)
CN105068405B (en) Single channel signal pulsewidth high-precision measuring method and device that FPGA is realized
CN104121956B (en) Time difference measuring method of time difference type ultrasonic flow meter
CN104535918A (en) Cross clock domain synchronizer internal constant testing circuit and method
JP5666813B2 (en) Time width measuring device
CN103105514B (en) A kind of oscillograph with digital meter frequency function
CN102880071A (en) Data acquisition system with high time stamp accuracy
CN110703583A (en) Multi-channel high-precision wide-range time-to-digital converter based on SOC (system on chip)
CN111766771A (en) A time interval measurement method and system based on voltage-controlled crystal oscillator taming
KR101503732B1 (en) Time to digital converter
CN101556325B (en) Method for quickly verifying electric energy error
CN207123716U (en) A kind of pulse signal time difference measuring device
CN101866165B (en) Method of Echo Time-of-Flight Measurement Based on Field Programmable Gate Array
WO2023061071A1 (en) Method and apparatus for measuring time
CN116360235A (en) A SerDes-based TDC Realization Device
CN109143833B (en) A kind of fractional part measuring circuit applied to high resolution time digital quantizer
CN111538227A (en) High-precision time testing method, system and storage medium
Tancock et al. Temperature characterisation of the DSP delay line
CN203352562U (en) A high-precision digital phase discriminator for a satellite time-offering frequency-calibrating system
CN116430114A (en) High-cost-performance high-precision frequency detection method and system
CN113934132B (en) A high-precision time synchronization system and synchronization method based on Beidou clock signal

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