Span time measuring device and span time measuring system

By using the device control module, counting timing sequence generation module, extremely fast delay counting module and multi-level clock counting module in the span time measurement device, combined with counting signals of different frequencies and resolutions, the measurement principle in the existing technology is not conducive to verification. problem, achieving accurate span time measurement.

CN118689084APending Publication Date: 2024-09-24北京汇川力行科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410935922.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

The measurement principles and methods of existing fly time or span time measurement devices are not conducive to technical implementation and system verification.

Method used

A span time measurement device is used, including a device control module, a counting sequence generation module, an extremely fast delay counting module and a level 1 to level N clock counting module. The span time is determined through the electrical connection and signal processing of these modules. Each level of clock counting module and ultra-fast delay counting module have different counting clock frequencies and resolutions to ensure measurement accuracy.

Benefits of technology

It achieves more accurate span time measurement and simplifies the technology implementation and system verification process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118689084A
    Figure CN118689084A
Patent Text Reader

Abstract

The invention discloses a span time measuring device and a span time measuring system, and belongs to the field of time measurement. Comprising a device control module, a counting time sequence generation module, a top-speed delay counting module and 1-N-level clock counting modules, wherein N is greater than or equal to 1; the counting time sequence generation module, each clock counting unit in the first-stage to N-stage clock counting modules and each delay counting unit in the top-speed delay counting module are electrically connected to the device control module; each clock counting unit in the 1-level to N-level clock counting modules and each delay counting unit in the top-speed delay counting module are electrically connected to the counting time sequence generation module; the counting clock frequencies and the counting resolutions of any two stages of clock counting modules in the first stage to the N stage of clock counting modules are different, and the counting clock frequency and the counting resolution of each stage of clock counting module are both smaller than the counting equivalent clock frequency and the counting resolution of the top-speed delay counting module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of time measurement, and specifically relates to a span time measurement device and a span time measurement system. Background Art

[0002] With the development of science and technology, the flight time of ultrasound and laser flying in space can be measured by measuring devices, and the pulse span time of pulse signals can also be measured. Among them, the ultrasonic wave can be emitted by an ultrasonic pulse generator, propagated in the medium, and then received by an ultrasonic pulse receiver, and then the received ultrasonic wave is transmitted to a time measuring device, and the time measurement device measures the time it takes for the ultrasonic wave to propagate in the medium, thereby determining the span time. However, in the related art, the measurement principles and methods of the flight time or span time measurement device are not conducive to technical implementation and system verification. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a span time measurement device and a span time measurement system, at least to solve the problem that the measurement principle and method of the flight time or span time measurement device are not conducive to technical implementation and system verification.

[0004] In a first aspect, an embodiment of the present application provides a span time measurement device, the span time measurement device comprising: a device control module, a counting sequence generation module, an extreme delay counting module, and a 1-level to N-level clock counting module, N≥1, and each level of clock counting module has at least one clock counting unit of the level clock, and the extreme delay counting module has at least one delay counting unit;

[0005] The counting timing generation module, each clock counting unit in the 1st to Nth level clock counting modules, and each delay counting unit in the extremely fast delay counting module are all electrically connected to the device control module; each clock counting unit in the 1st to Nth level clock counting modules, and each delay counting unit in the extremely fast delay counting module are all electrically connected to the counting timing generation module; the counting clock frequency and counting resolution of any two levels of clock counting modules in the 1st to Nth level clock counting modules are different, and the counting clock frequency and counting resolution of each level of clock counting modules are both less than the counting equivalent clock frequency and counting resolution of the extremely fast delay counting module;

[0006] The counting timing generation module is used to receive the signal to be measured, the clock signal and the control signal to generate and send different corresponding measured signals to each level of clock counting module and the extremely fast delay counting module. The clock counting module at each level is used to detect the corresponding measured signal to obtain the count value of the clock counting module of the span time of the corresponding measured signal, and the extremely fast delay counting module is used to detect the corresponding measured signal to obtain the count value of the extremely fast delay counting module of the span time of the corresponding measured signal; the device control module is used to obtain the count value of the clock counting module and the count value of the extremely fast delay counting module to determine the span time, or the device control module transmits the count value of the clock counting module and the count value of the extremely fast delay counting module to the central operation module, and the central operation module determines the span time.

[0007] Optionally, N is equal to 2, and the level 1 to level N clock counting modules include a level 1 clock counting module and a level 2 clock counting module;

[0008] The primary clock counting module and the secondary clock counting module are both electrically connected to the device control module, and the primary clock counting module and the secondary clock counting module are both electrically connected to the counting timing generation module; the counting clock frequency and counting resolution of the primary clock counting module are less than the counting clock frequency and counting resolution of the secondary clock counting module, and the counting clock frequency and counting resolution of the secondary clock counting module are less than the counting equivalent clock frequency and counting resolution of the extreme delay counting module;

[0009] The counting timing generation module is used to receive the signal to be measured, the clock signal and the control signal, to generate and send a first signal to the primary clock counting module, to generate and send two second signals to the secondary clock counting module, and to generate and send four third signals to the extreme delay counting module, wherein the first signal, the second signal and the third signal are different from each other;

[0010] The primary clock counting module is used to detect the first signal to obtain the count value of the primary clock counting module, the secondary clock counting module is used to detect the second signal to obtain the count value of the secondary clock counting module, and the extreme delay counting module is used to detect the third signal to obtain the count value of the extreme delay counting module;

[0011] The device control module is used to obtain the count value of the first-level clock counting module, the count value of the second-level clock counting module and the count value of the extreme delay counting module to determine the span time, or the device control module passes the count value of the first-level clock counting module, the count value of the second-level clock counting module and the count value of the extreme delay counting module to the central computing module, and the central computing module determines the span time.

[0012] Optionally, the secondary clock counting module includes a first high-speed clock counting unit and a second high-speed clock counting unit, and the extreme-speed delay counting module includes a first delay counting unit, a second delay counting unit, a third delay counting unit and a fourth delay counting unit;

[0013] The first high-speed clock counting unit is used to detect the first second signal to obtain a high-speed counting head time count value, the second high-speed clock counting unit is used to detect the second second signal to obtain a high-speed counting tail time count value, the first delay counting unit is used to detect the first third signal to obtain a first extremely fast counting head time count value, the second delay counting unit is used to detect the second third signal to obtain a second extremely fast counting head time count value, the third delay counting unit is used to detect the third third signal to obtain a first extremely fast counting tail time count value, and the fourth delay counting unit is used to detect the fourth third signal to obtain a second extremely fast counting tail time count value;

[0014] Among them, the high-speed counting head time count value and the high-speed counting tail time count value form the counting value of the corresponding secondary clock counting module, and the first extremely fast counting head time count value, the second extremely fast counting head time count value, the first extremely fast counting tail time count value and the second extremely fast counting tail time count value form the counting value of the corresponding extremely fast delay counting module.

[0015] Optionally, the secondary clock counting module includes a third high-speed clock counting unit, and the extreme-speed delay counting module includes a first delay counting unit, a second delay counting unit, a third delay counting unit and a fourth delay counting unit;

[0016] The third high-speed clock counting unit is used to detect the first second signal and the second second signal to obtain a high-speed counting head time count value and a high-speed counting tail time count value, the first delay counting unit is used to detect the first third signal to obtain a first extremely fast counting head time count value, the second delay counting unit is used to detect the second third signal to obtain a second extremely fast counting head time count value, the third delay counting unit is used to detect the third third signal to obtain a first extremely fast counting tail time count value, and the fourth delay counting unit is used to detect the fourth third signal to obtain a second extremely fast counting tail time count value;

[0017] Among them, the high-speed counting head time count value and the high-speed counting tail time count value form the counting value of the corresponding secondary clock counting module, and the first extremely fast counting head time count value, the second extremely fast counting head time count value, the first extremely fast counting tail time count value and the second extremely fast counting tail time count value form the counting value of the corresponding extremely fast delay counting module.

[0018] Optionally, the device control module is used to obtain the count value of the primary clock counting module, the high-speed counting head time count value, the high-speed counting tail time count value, the first extremely fast counting head time count value, the second extremely fast counting head time count value, the first extremely fast counting tail time count value and the second extremely fast counting tail time count value, and determine the primary clock counting time according to the count value of the primary clock counting module, determine the high-speed counting head time according to the high-speed counting head time count value, determine the high-speed counting tail time according to the high-speed counting tail time count value, and determine the high-speed counting head time according to the first extremely fast counting head time count value. According to the count value of the first extreme speed counting head time, the second extreme speed counting head time is determined according to the count value of the second extreme speed counting head time, the first extreme speed counting tail time is determined according to the count value of the first extreme speed counting tail time, the second extreme speed counting tail time is determined according to the count value of the second extreme speed counting tail time, and the span time is determined according to the primary clock counting time, the high speed counting head time, the high speed counting tail time, the first extreme speed counting head time, the second extreme speed counting head time, the first extreme speed counting tail time and the second extreme speed counting tail time;

[0019] Alternatively, the device control module is used to obtain the count value of the first-level clock counting module, the high-speed counting head time count value, the high-speed counting tail time count value, the first extremely fast counting head time count value, the second extremely fast counting head time count value, the first extremely fast counting tail time count value and the second extremely fast counting tail time count value, and transmit the count value of the first-level clock counting module, the high-speed counting head time count value, the high-speed counting tail time count value, the first extremely fast counting head time count value, the second extremely fast counting head time count value, the first extremely fast counting tail time count value and the second extremely fast counting tail time count value to the central computing module, and the central computing module determines the span time according to the count value of the first-level clock counting module, the high-speed counting head time count value, the high-speed counting tail time count value, the first extremely fast counting head time count value, the second extremely fast counting head time count value, the first extremely fast counting tail time count value and the second extremely fast counting tail time count value.

[0020] Optionally, the device control module or the central computing module is used to add the first extremely fast counting head time to the high-speed counting head time, and subtract the second extremely fast counting head time to obtain a first time to be calculated; add the first extremely fast counting tail time to the high-speed counting tail time, and subtract the second extremely fast counting tail time to obtain a second time to be calculated; add the first time to be calculated to the first-level clock counting time, and subtract the second time to be calculated to obtain the span time.

[0021] Optionally, the device control module or the central operation module is used to multiply the count value of the primary clock counting module by the count clock cycle of the primary clock counting module to obtain the primary clock counting time; multiply the high-speed counting head time count value by the count clock cycle of the secondary clock counting module to obtain the high-speed counting head time; multiply the high-speed counting tail time count value by the count clock cycle of the secondary clock counting module to obtain the high-speed counting tail time; multiply the first extreme-speed counting head time count value by the inherent time of the delay unit of the delay counting unit in the extreme-speed delay counting module The first extreme speed counting head time is obtained by multiplying the delay by the delay unit of the delay counting unit in the extreme speed delay counting module; the second extreme speed counting head time count value is multiplied by the inherent delay of the delay unit of the delay counting unit in the extreme speed delay counting module to obtain the second extreme speed counting head time; the first extreme speed counting tail time count value is multiplied by the inherent delay of the delay unit of the delay counting unit in the extreme speed delay counting module to obtain the first extreme speed counting tail time; the second extreme speed counting tail time count value is multiplied by the inherent delay of the delay unit of the delay counting unit in the extreme speed delay counting module to obtain the second extreme speed counting tail time.

[0022] Optionally, N is equal to 1, and the 1st to Nth level clock counting modules include a single-level clock counting module;

[0023] The single-stage clock counting module is electrically connected to the device control module, and the single-stage clock counting module is electrically connected to the counting timing generation module; the counting clock frequency and counting resolution of the single-stage clock counting module are less than the counting equivalent clock frequency and counting resolution of the extreme delay counting module;

[0024] The counting timing generation module is used to receive the signal to be measured, the clock signal and the control signal to generate and send a single-stage clock test signal to the single-stage clock counting module, and to generate and send two delay counting test signals to the extreme delay counting module, wherein the single-stage clock test signal and the delay counting test signal are different from each other;

[0025] The single-stage clock counting module is used to detect the single-stage clock test signal to obtain the count value of the single-stage clock counting module, and the extreme-speed delay counting module is used to detect the delay count test signal to obtain the count value of the extreme-speed delay counting module;

[0026] The device control module is used to obtain the count value of the single-stage clock counting module and the count value of the extreme delay counting module to determine the span time, or the device control module transmits the count value of the single-stage clock counting module and the count value of the extreme delay counting module to the central operation module, and the central operation module determines the span time.

[0027] Optionally, the extreme-speed delay counting module includes a fifth delay counting unit and a sixth delay counting unit;

[0028] The fifth delay counting unit is used to detect the first delay counting test signal to obtain the extreme speed counting head time count value, and the sixth delay counting unit is used to detect the second delay counting test signal to obtain the extreme speed counting tail time count value;

[0029] Among them, the extremely fast counting head time count value and the extremely fast counting tail time count value form the count value of the corresponding extremely fast delay counting module.

[0030] Optionally, the device control module is used to obtain the count value of the single-stage clock counting module, the extreme speed counting head time count value and the extreme speed counting tail time count value, and determine the single-stage clock counting module count time according to the count value of the single-stage clock counting module, determine the extreme speed counting head time according to the extreme speed counting head time count value, determine the extreme speed counting tail time according to the extreme speed counting tail time count value, and determine the span time according to the single-stage clock counting module count time, the extreme speed counting head time and the extreme speed counting tail time;

[0031] Alternatively, the device control module is used to obtain the count value of the single-stage clock counting module, the extreme speed counting head time count value and the extreme speed counting tail time count value, and pass the count value of the single-stage clock counting module, the extreme speed counting head time count value and the extreme speed counting tail time count value to the central computing module, and the central computing module determines the span time according to the count value of the single-stage clock counting module, the extreme speed counting head time count value and the extreme speed counting tail time count value.

[0032] Optionally, the device control module or the central operation module is used to add the extreme-speed counting head time to the counting time of the single-stage clock counting module, and subtract the extreme-speed counting tail time to obtain the span time.

[0033] Optionally, the device control module or the central computing module is used to multiply the count value of the single-stage clock counting module by the counting clock period of the single-stage clock counting module to obtain the counting time of the single-stage clock counting module; multiply the count value of the extreme-speed counting head time by the inherent delay of the delay unit of the delay counting unit in the extreme-speed delay counting module to obtain the extreme-speed counting head time; multiply the count value of the extreme-speed counting tail time by the inherent delay of the delay unit of the delay counting unit in the extreme-speed delay counting module to obtain the extreme-speed counting tail time.

[0034] Optionally, the delay counting unit block includes: a plurality of buffers, a data acquisition unit and a data processing unit;

[0035] A plurality of the buffers are sequentially connected in series to form an extremely fast delay chain, each of the buffers forms a delay unit, and a data acquisition unit is electrically connected to the output terminal taps of each of the delay units, the data acquisition unit is electrically connected to the data processing unit, and the data processing unit is electrically connected to the device control module;

[0036] Among them, the data acquisition unit is used to collect the state value of the output end of each delay unit in the ultra-fast delay chain, and the data processing unit is used to obtain the count value of the delay counting unit according to the state value of the output end of each delay unit, and the count value of at least one delay counting unit forms the count value of the ultra-fast delay counting module.

[0037] Optionally, the delay counting unit includes: a plurality of inverters, a data acquisition unit and a data processing unit;

[0038] A plurality of the inverters are sequentially connected in series to form an extremely fast delay chain, each of the inverters forms a delay unit, and a data acquisition unit is electrically connected to the output taps of each of the delay units, the data acquisition unit is electrically connected to the data processing unit, and the data processing unit is electrically connected to the device control module;

[0039] Among them, the data acquisition unit is used to collect the state value of the output end of each delay unit in the ultra-fast delay chain, and the data processing unit is used to obtain the count value of the delay counting unit according to the state value of the output end of each delay unit, and the count value of at least one delay counting unit forms the count value of the ultra-fast delay counting module.

[0040] Optionally, the delay counting unit includes: a plurality of carry circuit units, a data acquisition unit and a data processing unit;

[0041] A plurality of the carry circuit units are sequentially connected in series to form an extremely fast delay chain, each of the carry circuit units forms a delay unit, and a data acquisition unit is electrically connected to the output terminal taps of each of the delay units, the data acquisition unit is electrically connected to the data processing unit, and the data processing unit is electrically connected to the device control module;

[0042] Among them, the data acquisition unit is used to collect the state value of the output end of each delay unit in the ultra-fast delay chain, and the data processing unit is used to obtain the count value of the delay counting unit according to the state value of the output end of each delay unit, and the count value of at least one delay counting unit forms the count value of the ultra-fast delay counting module.

[0043] Optionally, the delay counting unit comprises: a plurality of target units, a data acquisition unit and a data processing unit, wherein the target unit is: one of an AND gate, a NAND gate, an OR gate and a NOR gate;

[0044] A plurality of the target units are sequentially connected in series to form an extremely fast delay chain, each of the target units forms a delay unit, and a data acquisition unit is electrically connected to the output terminal taps of each of the delay units, the data acquisition unit is electrically connected to the data processing unit, and the data processing unit is electrically connected to the device control module;

[0045] Among them, the data acquisition unit is used to collect the state value of the output end of each delay unit in the ultra-fast delay chain, and the data processing unit is used to obtain the count value of the delay counting unit according to the state value of the output end of each delay unit, and the count value of at least one delay counting unit forms the count value of the ultra-fast delay counting module.

[0046] Optionally, the span time measurement device further comprises: a counting data cache module, the counting data cache module comprising 1st to Mth level counting data cache units, M≥1;

[0047] The level 1 to level N clock counting modules and the extreme-speed delay counting modules are all electrically connected to the counting data cache module, and the counting data cache module is electrically connected to the device control module. The level 1 to level N clock counting modules are used to send the counting values ​​of the level 1 to level N clock counting modules to the counting data cache module, and the extreme-speed delay counting module is used to send the counting value of the extreme-speed delay counting module to the counting data cache module. The device control module or the central computing module is used to obtain the counting values ​​of the level 1 to level N clock counting modules and the counting value of the extreme-speed delay counting module from the counting data cache module.

[0048] In a second aspect, an embodiment of the present application provides a span time measurement system, the span time measurement system comprising a clock generation module, a signal source selection module, a comprehensive control module, a bus interface module, and the span time measurement device described in any one of the first aspects above;

[0049] The clock multiplication module is electrically connected to the low-frequency clock source and the clock generation module, and the clock multiplication module is used to multiply the low-speed clock signal generated by the low-frequency clock source to a clock signal with the highest frequency required by the span time measurement device, and send the clock signal with the highest frequency to the clock generation module, so that the clock generation module generates clock signals of various frequencies required by the span time measurement device; the integrated control module is electrically connected to the clock multiplication module, and the integrated control module is used to control the working configuration, operation or termination of the clock multiplication module;

[0050] The clock generating module is electrically connected to each level of the clock counting modules in the 1st to Nth level clock counting modules and the counting timing generating module respectively, and the clock generating module is used to generate and send corresponding clock signals to each level of the clock counting modules in the 1st to Nth level clock counting modules and the counting timing generating module, and is used to drive each module to operate;

[0051] The information source selection module is electrically connected to the counting timing generation module. Under the control of the integrated control module, the information source selection module selects a signal from a corresponding source and sends it to the counting timing generation module.

[0052] The bus interface module is electrically connected to the integrated control module, and the bus interface module is electrically connected to the device control module, the bus interface module is used to connect to the central operation module, the central operation module is used to obtain the span time from the device control module, or obtain the count value of each stage clock counting module and the count value of the extreme delay counting module from the device control module, and determine the span time based on the count value of each stage clock counting module and the clock cycle of each stage clock counting module, as well as the count value of the extreme delay counting module and the inherent delay of the delay unit of the delay counting unit in the extreme delay counting module;

[0053] The integrated control module is electrically connected to the clock generation module, and the integrated control module is used to control the working configuration, operation or suspension of the clock generation module;

[0054] The integrated control module is electrically connected to the information source selection module, and the integrated control module is used to control the working configuration, operation or termination of the information source selection module.

[0055] Optionally, the span time measurement system also includes an interrupt control module, the integrated control module is electrically connected to the interrupt control module, and under the control of the integrated control module, the interrupt control module converts the interrupt signal generated by the device control module into an interrupt signal of a unified format, and sends the interrupt signal of the unified format to the central operation module.

[0056] Optionally, the span time measurement system further includes a central operation module, and the central operation module is electrically connected to the bus interface module or the interrupt control module.

[0057] In the embodiment of the present application, each level of clock counting module and the extremely fast delay counting module are electrically connected to the counting timing generation module, and the counting timing generation module is electrically connected to the device control module. Therefore, once the counting timing generation module receives the signal to be measured, the clock signal and the control signal, the counting timing generation module can generate and send different corresponding test signals to each level of clock counting module and the extremely fast delay counting module, so that each level of clock counting module can detect the corresponding test signal to obtain the count value of the clock counting module of the span time of the corresponding test signal, and the extremely fast delay counting module can detect the corresponding test signal to obtain the count value of the extremely fast delay counting module of the span time of the corresponding test signal. Since each level of clock counting module is electrically connected to the device control module and the extremely fast delay counting module is electrically connected to the device control module, the count value of each level of clock counting module and the count value of the extremely fast delay counting module can be transmitted to the device control module, so that the device control module can obtain the count value of each level of clock counting module and the count value of the extremely fast delay counting module, and the device control module can determine the span time based on the count value of each level of clock counting module and the count value of the extremely fast delay counting module, or the device control module sends the count value of each level of clock counting module and the count value of the extremely fast delay counting module to the central computing module, so that the central computing module determines the span time. In addition, the counting clock frequencies of any two levels of clock counting units in the level 1 to level N clock counting modules are different, and the counting clock frequency and counting resolution of each level of clock counting modules in the level 1 to level N clock counting modules are both less than the counting equivalent clock frequency and counting resolution of the extremely fast delay counting module, so that the counting values ​​of each level of clock counting modules acquired by the device control module are different, and the counting value of the extremely fast delay counting module is different from the counting value of each level of clock counting module, so that the determined span time is more accurate. That is, in the embodiment of the present application, by setting the extremely fast delay counting module and the level 1 to level N clock counting module, the corresponding counting values ​​are determined by the extremely fast delay counting module and the level 1 to level N clock counting module respectively, and then the device control module or the central operation module can accurately determine the span time based on the extremely fast delay counting module and the level 1 to level N clock counting module respectively. That is, in the embodiment of the present application, the span time can be determined more accurately, and the measurement principle and method are convenient for technical implementation and system verification. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] Figure 1 A schematic diagram showing a span time measurement device provided in an embodiment of the present application;

[0059] Figure 2 A schematic diagram showing that a 1-level to N-level clock counting module provided in an embodiment of the present application includes two-level clock counting modules;

[0060] Figure 3 A schematic diagram showing that a 1-level to N-level clock counting module provided in an embodiment of the present application includes two-level clock counting modules, and a secondary clock counting module in the two-level clock counting module includes a clock counting unit;

[0061] Figure 4 A schematic diagram showing a span time measurement device when a 1-level to N-level clock counting module provided in an embodiment of the present application includes two-level clock counting units;

[0062] Figure 5 A schematic diagram showing a 1-stage to N-stage clock counting module provided in an embodiment of the present application, including a single-stage clock counting module;

[0063] Figure 6 A schematic diagram showing a span time measurement device measuring a span time when a 1-level to N-level clock counting module provided in an embodiment of the present application includes a single-level clock counting module;

[0064] Figure 7 A schematic diagram showing an extremely fast delay counting unit composed of a buffer provided in an embodiment of the present application;

[0065] Figure 8 A schematic diagram showing an extremely fast delay counting unit composed of an inverter provided in an embodiment of the present application;

[0066] Fig. 9 A schematic diagram showing an extremely fast delay counting unit composed of a carry circuit unit provided in an embodiment of the present application;

[0067] Fig.10 A schematic diagram showing an extremely fast delay counting unit composed of an AND gate provided in an embodiment of the present application;

[0068] Fig.11 A schematic diagram showing an extremely fast delay counting unit composed of NAND gates provided in an embodiment of the present application;

[0069] Fig.12 A schematic diagram showing an extremely fast delay counting unit composed of an OR gate provided in an embodiment of the present application;

[0070] Fig.13 A schematic diagram showing an extremely fast delay counting unit composed of a NOR gate provided in an embodiment of the present application;

[0071] Fig.14 A waveform diagram showing the principle of a buffer-based extremely fast delay counting unit provided in an embodiment of the present application when measuring a high-level pulse;

[0072] Fig.15A waveform diagram showing the principle of an inverter-based fast delay counting unit measuring a high-level pulse provided in an embodiment of the present application;

[0073] Fig.16 A schematic diagram showing a span time measurement system provided in an embodiment of the present application.

[0074] Reference numerals:

[0075] 001: buffer; 002: data acquisition unit; 003: data processing unit; 004: inverter; 005: carry circuit unit; 006: AND gate; 007: NAND gate; 008: OR gate; 009: NOR gate; 10: device control module; 20: counting timing generation module; 30: 1st to Nth level clock counting module; 31: first level clock counting module; 32: second level clock counting module; 33: single level clock counting module; 311: low speed clock counting unit; 321: first high speed clock counting unit; 322: second high speed clock counting unit; 323 : The third high-speed clock counting unit; 40: The extremely fast delay counting module; 401: The first delay counting unit; 402: The second delay counting unit; 403: The third delay counting unit; 404: The fourth delay counting unit; 405: The fifth delay counting unit; 406: The sixth delay counting unit; 50: The counting data cache module; 1000: The clock generation module; 2000: The signal source selection module; 3000: The integrated control module; 4000: The bus interface module; 5000: The interrupt control module; 6000: The central operation module; 7000: The clock multiplication module. DETAILED DESCRIPTION

[0076] The term "first" or "second" in the specification and claims of this application may include one or more of the features explicitly or implicitly. In the description of this application, unless otherwise specified, "plurality" means two or more. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / " generally means that the objects connected before and after are in an "or" relationship.

[0077] In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.

[0078] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0079] like Figures 1 to 15 As shown, the span time measurement device includes: a device control module 10, a counting timing generation module 20, an extremely fast delay counting module 40 and a level 1 to N level clock counting module 30, N≥1, and each level of clock counting module has at least one clock counting unit of the clock of that level, and the extremely fast delay counting module 40 has at least one delay counting unit.

[0080] The counting timing generation module 20, each clock counting unit in the 1st to Nth level clock counting module 30, and each delay counting unit in the extremely fast delay counting module 40 are all electrically connected to the device control module 10; each clock counting unit in the 1st to Nth level clock counting module 30, and each delay counting unit in the extremely fast delay counting module 40 are all electrically connected to the counting timing generation module 20; the counting clock frequency and counting resolution of any two levels of clock counting modules in the 1st to Nth level clock counting module 30 are different, and the counting clock frequency and counting resolution of each level of clock counting module are less than the counting equivalent clock frequency and counting resolution of the extremely fast delay counting module 40; the counting timing generation module 20 is used to receive the measured signal, the clock signal and the control The control signal is used to generate and send different corresponding test signals to each level of clock counting module and the extremely fast delay counting module 40. Each level of clock counting module is used to detect the corresponding test signal to obtain the count value of the clock counting module of the span time of the corresponding test signal, and the extremely fast delay counting module 40 is used to detect the corresponding test signal to obtain the count value of the extremely fast delay counting module 40 of the span time of the corresponding test signal; the device control module 10 is used to obtain the count value of the clock counting module and the count value of the extremely fast delay counting module 40 to determine the span time, or the device control module 10 passes the count value of the clock counting module and the count value of the extremely fast delay counting module 40 to the central operation module 6000, and the central operation module 6000 determines the span time.

[0081] In the embodiment of the present application, each level of clock counting module and the extremely fast delay counting module 40 are electrically connected to the counting timing generating module 20, and the counting timing generating module 20 is electrically connected to the device control module 10. Therefore, once the counting timing generating module 20 receives the signal to be measured, the clock signal and the control signal, the counting timing generating module 20 can generate and send different corresponding measured signals to each level of clock counting module and the extremely fast delay counting module 40, so that each level of clock counting module can detect the corresponding measured signal to obtain the counting value of the clock counting module of the span time of the corresponding measured signal, and the extremely fast delay counting module 40 can detect the corresponding measured signal to obtain the counting value of the extremely fast delay counting module 40 of the span time of the corresponding measured signal. Since each level of clock counting module is electrically connected to the device control module 10, and the extreme delay counting module 40 is electrically connected to the device control module 10, the count value of each level of clock counting module and the count value of the extreme delay counting module 40 can be transmitted to the device control module 10, so that the device control module 10 can obtain the count value of each level of clock counting module and the count value of the extreme delay counting module 40, and the device control module 10 can determine the span time based on the count value of each level of clock counting module and the count value of the extreme delay counting module 40, or the device control module 10 sends the count value of each level of clock counting module and the count value of the extreme delay counting module 40 to the central computing module 6000, and the central computing module 6000 determines the span time. In addition, the counting clock frequencies of any two levels of clock counting modules in the level 1 to level N clock counting modules are different, while the counting clock frequencies of each clock counting unit in the same level of clock counting modules are the same, and the counting clock frequency and counting resolution of each level of clock counting modules in the level 1 to level N clock counting modules 30 are both smaller than the counting equivalent clock frequency and counting resolution of the extreme delay counting module 40, so that the counting value and counting accuracy of each level of clock counting modules acquired by the device control module 10 are different, and the counting value of the extreme delay counting module 40 is different from the counting value and counting accuracy of each level of clock counting modules, so that the determined span time is more accurate. That is, in the embodiment of the present application, by setting up an extremely fast delay counting module 40 and a level 1 to N clock counting module, the corresponding counting values ​​are determined respectively by the extremely fast delay counting module 40 and the level 1 to N clock counting module 30, and then the device control module 10 or the central operation module 6000 can respectively determine the counting span time of the corresponding measured signal of the corresponding counting module based on the counting value and counting resolution of the extremely fast delay counting module 40 and the level 1 to N clock counting module 30, and determine the span time of the original measured signal accordingly, that is, in the embodiment of the present application, the span time can be determined more accurately, and the measurement principle and method are convenient for technical implementation and system verification.

[0082] It should be noted that in the embodiment of the present application, N can be equal to 1, in which case it is equivalent to setting only one level of clock counting module, and when N is greater than 1, it is equivalent to setting multiple levels of clock counting modules. The embodiment of the present application does not limit the specific value of N. For example, when N is equal to 2, it is equivalent to setting two levels of clock counting modules, and for another example, when N is equal to 3, it is equivalent to setting three levels of clock counting modules.

[0083] In addition, in the embodiment of the present application, the device control module 10 may have a computing function, so that the device control module 10 can determine the span time. Of course, the device control module 10 may not have a computing function or may not perform span time computing. In this case, in actual applications, the device control module 10 may be electrically connected to the central computing module 6000, and the device control module 10 sends the acquired data to the central computing module 6000, and the span time is determined by the central computing module 6000. The central computing module 6000 may include but is not limited to a host computer, a central processing unit, etc.

[0084] In addition, in the embodiment of the present application, the counting clock frequency and counting resolution of the M-level clock counting module in the 1-level to N-level clock counting modules 30 are less than the counting clock frequency and counting resolution of the M+1-level clock counting module, that is, the counting clock frequency of the M-level clock counting module is less than the counting clock frequency of the M+1-level clock counting module, so that the counting resolution of the M-level clock counting module is less than the counting resolution of the M+1-level clock counting module. Wherein, M is less than N. In addition, the counting clock frequency of each level of clock counting module is less than the counting equivalent clock frequency of the extremely fast delay counting module 40, and the counting resolution of each level of clock counting module is less than the counting resolution of the extremely fast delay counting module 40.

[0085] In addition, in the embodiments of the present application, N can take different values, so that the number of stages of the clock counting unit will be different, and the following examples are used for illustration:

[0086] Method (1): N is equal to 2, and the level 1 to level N clock counting modules 30 may include a level 1 clock counting module 31 and a level 2 clock counting module 32; the level 1 clock counting module 31 and the level 2 clock counting module 32 are both electrically connected to the device control module 10, and the level 1 clock counting module 31 and the level 2 clock counting module 32 are both electrically connected to the counting timing generation module 20; the counting clock frequency and counting resolution of the level 1 clock counting module 31 are less than the counting clock frequency and counting resolution of the level 2 clock counting module 32, and the counting clock frequency and counting resolution of the level 2 clock counting module 32 are less than the counting equivalent clock frequency and counting resolution of the extreme delay counting module 40; the counting timing generation module 20 is used to receive a signal to be measured, a clock signal and a control signal, so as to generate and send a first signal to the level 1 clock counting module 31, generate and send two second signals to the level 2 clock counting module 32, and generate The first clock counting module 31 is used to detect the first signal to obtain the count value of the first clock counting module 31, the second clock counting module 32 is used to detect the second signal to obtain the count value of the second clock counting module 32, and the extremely fast delay counting module 40 is used to detect the third signal to obtain the count value of the extremely fast delay counting module 40; the device control module 10 is used to obtain the count value of the first clock counting module 31, the count value of the second clock counting module 32 and the count value of the extremely fast delay counting module 40 to determine the span time, or the device control module 10 passes the count value of the first clock counting module 31, the count value of the second clock counting module 32 and the count value of the extremely fast delay counting module 40 to the central operation module 6000, and the central operation module 6000 determines the span time.

[0087] Through such a setting, the counting clock frequency of the first-level clock counting module 31 and the counting clock frequency of the second-level clock counting module 32 are different from the counting equivalent clock frequency of the extreme delay counting module 40. Therefore, the counting resolutions of the first-level clock counting module 31, the second-level clock counting module 32 and the extreme delay counting module 40 are different, so that the span time determined by the device control module 10 or the central operation module 6000 is more accurate.

[0088] Among them, the counting clock frequency of the primary clock counting module 31 is less than the counting clock frequency of the secondary clock counting module 32, so the counting resolution of the primary clock counting module 31 is less than the counting resolution of the secondary clock counting module 32. The counting clock frequency of the secondary clock counting module 32 is less than the counting equivalent clock frequency of the extremely fast delay counting module 40, so the counting resolution of the secondary clock counting module 32 is less than the counting resolution of the extremely fast delay counting module 40.

[0089] In addition, the secondary clock counting module 32 can detect two second signals to obtain the count value of the secondary clock counting module 32 , and the extreme delay counting module 40 can detect four third signals to obtain the count value of the extreme delay counting module 40 .

[0090] It should be noted that, when N is equal to 2, the primary clock counting module 31 may include a low-speed clock counting unit 311, and the secondary clock counting module 32 may include a high-speed clock counting unit. In addition, in the embodiment of the present application, when N is equal to 3, at this time, the 1-level N-level clock counting module 30 may include a primary clock counting module 31, a secondary clock counting module 32 and a tertiary clock counting module, the primary clock counting module 31 may include a low-speed clock counting unit, the secondary clock counting module 32 may include a medium-speed clock counting unit, and the tertiary clock counting module may include a high-speed clock counting unit.

[0091] In addition, in the embodiment of the present application, the secondary clock counting module 32 can be formed by different numbers of counting units, so that the types of the secondary clock counting module 32 will be different, and the following types are specifically described as examples:

[0092] Type (a): such as Figure 2 As shown, the secondary clock counting module 32 may include a first high-speed clock counting unit 321 and a second high-speed clock counting unit 322, and the extremely fast delay counting module 40 may include a first delay counting unit 401, a second delay counting unit 402, a third delay counting unit 403 and a fourth delay counting unit 404; the first high-speed clock counting unit 321 is used to detect the first second signal to obtain a high-speed counting head time count value, the second high-speed clock counting unit 322 is used to detect the second second signal to obtain a high-speed counting tail time count value, the first delay counting unit 401 is used to detect the first third signal to obtain a first extremely fast counting head time count value, and the second delay counting unit 403 is used to detect the second third signal to obtain a first extremely fast counting head time count value. The counting unit 402 is used to detect the second third signal to obtain the second extremely fast counting head time count value, the third delay counting unit 403 is used to detect the third third signal to obtain the first extremely fast counting tail time count value, and the fourth delay counting unit 404 is used to detect the fourth third signal to obtain the second extremely fast counting tail time count value; wherein, the high-speed counting head time count value and the high-speed counting tail time count value form the counting value of the corresponding secondary clock counting module 32, and the first extremely fast counting head time count value, the second extremely fast counting head time count value, the first extremely fast counting tail time count value and the second extremely fast counting tail time count value form the counting value of the corresponding extremely fast delay counting module 40.

[0093] Among them, the secondary clock counting module 32 includes a first high-speed clock counting unit 321 and a second high-speed clock counting unit 322, which is equivalent to the secondary clock counting module 32 including two high-speed clock counting units, so that the two high-speed clock counting units can respectively detect the two second signals to obtain a high-speed counting head time count value and a high-speed counting tail time count value. That is, the two clock counting units included in the secondary clock counting module 32 obtain two time count values, which are a high-speed counting head time count value and a high-speed counting tail time count value. In addition, by making the secondary clock counting module 32 include two high-speed clock counting units, the control logic of the secondary clock counting module 32 can be made simpler.

[0094] The extreme-speed delay counting module 40 includes a first delay counting unit 401, a second delay counting unit 402, a third delay counting unit 403 and a fourth delay counting unit 404, which is equivalent to having four extreme-speed delay counting units. The four extreme-speed delay counting units can respectively detect four third signals to obtain a first extreme-speed counting head time count value, a second extreme-speed counting head time count value, a first extreme-speed counting tail time count value and a second extreme-speed counting tail time count value.

[0095] Type (b): e.g. Figure 3 As shown, the secondary clock counting module 32 may include a third high-speed clock counting unit 323, and the extremely fast delay counting module 40 includes a first delay counting unit 401, a second delay counting unit 402, a third delay counting unit 403 and a fourth delay counting unit 404; the third high-speed clock counting unit 323 is used to detect the first second signal and the second second signal to obtain a high-speed counting head time count value and a high-speed counting tail time count value, the first delay counting unit 401 is used to detect the first third signal to obtain a first extremely fast counting head time count value, and the second delay counting unit 402 is used to detect the second third signal A second extremely fast counting head time count value is obtained, the third delay counting unit 403 is used to detect the third third signal to obtain the first extremely fast counting tail time count value, and the fourth delay counting unit 404 is used to detect the fourth third signal to obtain the second extremely fast counting tail time count value; wherein, the high-speed counting head time count value and the high-speed counting tail time count value form the count value of the corresponding secondary clock counting module 32, and the first extremely fast counting head time count value, the second extremely fast counting head time count value, the first extremely fast counting tail time count value and the second extremely fast counting tail time count value form the count value of the corresponding extremely fast delay counting module 40.

[0096] Among them, the secondary clock counting module 32 includes a third high-speed clock counting unit 323, which is equivalent to the secondary clock counting module 32 including a high-speed clock counting unit, so that the two second signals can be detected by a high-speed clock counting unit respectively to obtain a high-speed counting head time count value and a high-speed counting tail time count value. That is, by setting the secondary clock counting module 32 to include a high-speed clock counting unit, a high-speed counting head time count value and a high-speed counting tail time count value can also be obtained, thereby reducing the number of high-speed clock counting units.

[0097] In addition, in the embodiment of the present application, whether it is a low-speed clock counting unit, a medium-speed clock counting unit or a high-speed clock counting unit, they are all counters driven by clock signals. Among them, the low-speed clock counting unit can greatly reduce the circuit power consumption required for counting, and the clock source of the low-speed clock counting unit can be a high-precision crystal oscillator, for example, a 4MHz crystal oscillator with a 20ppm, so that the counting accuracy of the low-speed clock counting unit is high and the deviation is small. In addition, the clock frequency range of the low-speed clock counting unit can be 4MHz to 20MHz.

[0098] When N is equal to 3, at this time, the level 1 to level N clock counting modules have a medium-speed clock counting unit, and the clock frequency range of the medium-speed clock counting unit can be 20MHz to 100MHz. When the level 1 to level N clock counting modules have a high-speed clock counting unit, the clock frequency range of the high-speed clock counting unit can be 200MHz to 500MHz. In addition, in the embodiment of the present application, the extreme-speed delay counting module 40 itself does not have a real clock, but can be equivalent to the counting equivalent clock frequency of the extreme-speed delay counting module 40, and the counting equivalent clock frequency of the extreme-speed delay counting module 40 can be greater than or equal to 10GHz.

[0099] The present application does not impose strict limitations on the clock frequency of each level of clock counting modules and the counting equivalent clock frequency of the extreme delay counting module, which can be specifically determined by technicians in this technical field based on the specific implementation of the device and the specific implementation process.

[0100] In addition, in the embodiment of the present application, the device control module 10 is used to obtain the count value of the first-level clock counting module 31, the high-speed counting head time count value, the high-speed counting tail time count value, the first extreme speed counting head time count value, the second extreme speed counting head time count value, the first extreme speed counting tail time count value and the second extreme speed counting tail time count value, and determine the first-level clock counting time according to the count value of the first-level clock counting module 31, determine the high-speed counting head time according to the high-speed counting head time count value, and determine the high-speed counting tail time according to the high-speed counting tail time count value. , according to the count value of the first extremely fast counting head time, determine the first extremely fast counting head time, according to the count value of the second extremely fast counting head time, determine the second extremely fast counting head time, according to the count value of the first extremely fast counting tail time, determine the first extremely fast counting tail time, according to the count value of the second extremely fast counting tail time, determine the second extremely fast counting tail time, and determine the span time according to the primary clock counting time, the high-speed counting head time, the high-speed counting tail time, the first extremely fast counting head time, the second extremely fast counting head time, the first extremely fast counting tail time and the second extremely fast counting tail time. That is, the device control module 10 can determine the corresponding counting time according to the count value of the primary clock counting module 31, the count value of the secondary clock counting module 32 and the count value of the extremely fast delay counting module 40, so that the span time can be determined more accurately.

[0101] Alternatively, the device control module 10 is used to obtain the count value of the first-level clock counting module 31, the high-speed counting head time count value, the high-speed counting tail time count value, the first extremely fast counting head time count value, the second extremely fast counting head time count value, the first extremely fast counting tail time count value and the second extremely fast counting tail time count value, and transmit the count value of the first-level clock counting module 31, the high-speed counting head time count value, the high-speed counting tail time count value, the first extremely fast counting head time count value, the second extremely fast counting head time count value, the first extremely fast counting tail time count value and the second extremely fast counting tail time count value to the central computing module 6000, and the central computing module 6000 determines the span time according to the count value of the first-level clock counting module 31, the high-speed counting head time count value, the high-speed counting tail time count value, the first extremely fast counting head time count value, the second extremely fast counting head time count value, the first extremely fast counting tail time count value and the second extremely fast counting tail time count value. That is, the central operation module 6000 can determine the corresponding counting time according to the counting value of the primary clock counting module 31, the counting value of the secondary clock counting module 32 and the counting value of the extreme delay counting module 40, so as to determine the span time more accurately.

[0102] Among them, after the central operation module 6000 obtains the count value of the primary clock counting module, the high-speed counting head time count value, the high-speed counting tail time count value, the first extreme speed counting head time count value, the second extreme speed counting head time count value, the first extreme speed counting tail time count value and the second extreme speed counting tail time count value, the central operation module 6000 can determine the primary clock counting time according to the count value of the primary clock counting module, determine the high-speed counting head time according to the high-speed counting head time count value, and determine the high-speed counting tail time according to the high-speed counting tail time count value. , determine the first extreme speed counting head time according to the count value of the first extreme speed counting head time, determine the second extreme speed counting head time according to the count value of the second extreme speed counting head time, determine the first extreme speed counting tail time according to the count value of the first extreme speed counting tail time, determine the second extreme speed counting tail time according to the count value of the second extreme speed counting tail time, and determine the span time according to the primary clock counting time, the high-speed counting head time, the high-speed counting tail time, the first extreme speed counting head time, the second extreme speed counting head time, the first extreme speed counting tail time and the second extreme speed counting tail time.

[0103] In addition, if Figure 4 As shown, in an embodiment of the present application, the device control module 10 or the central computing module 6000 is used to add the first extremely fast counting head time to the high-speed counting head time, and subtract the second extremely fast counting head time to obtain the first time to be calculated; add the first extremely fast counting tail time to the high-speed counting tail time, and subtract the second extremely fast counting tail time to obtain the second time to be calculated; add the first time to be calculated to the first-level clock counting time, and subtract the second time to be calculated to obtain the span time.

[0104] Among them, Figure 4 As shown, in Figure 4In the figure, PULSE represents the signal to be measured, which is a pulse signal; TM_EN represents an enable signal; CLK_SS represents the counting clock of the primary clock counting module 31, that is, the low-speed counting clock of the low-speed clock counting unit, and CLK_HS represents the counting clock of the secondary clock counting module 32, that is, the high-speed counting clock of the high-speed clock counting unit; CNT_US_HEAD1 represents the first extremely fast counting head time count value measured by the first delay counting unit 401, and TS_US_HEAD1 represents the first extremely fast counting head time measured by the first delay counting unit 401; CNT_HS_HEAD represents the high-speed counting head time count value measured by the first high-speed clock counting unit 321, and TS_HS_HEAD represents the high-speed counting head time measured by the first high-speed clock counting unit 321; CNT_US_HEAD2 represents the second extremely fast counting head time count value measured by the second delay counting unit 402, and TS_US_HEAD2 represents the second extremely fast counting head time count value measured by the second delay counting unit 402. The second extreme speed counting head time measured by the first-level clock counting module 402; CNT_SS_BODY_TAIL represents the count value of the first-level clock counting time measured by the first-level clock counting module 31, and TS_SS_BODY_TAIL represents the first-level clock counting time measured by the first-level clock counting module 31; CNT_US_TAIL1 represents the count value of the first extreme speed counting tail time measured by the third delay counting unit 403, and TS_US_TAIL1 represents the first extreme speed counting tail time measured by the third delay counting unit 403; CNT_HS_TAIL represents the count value of the high-speed counting tail time measured by the second high-speed clock counting unit 322, and TS_HS_TAIL represents the high-speed counting tail time measured by the second high-speed clock counting unit 322; CNT_US_TAIL2 represents the count value of the second extreme speed counting tail time measured by the fourth delay counting unit 404, and TS_US_TAIL2 represents the second extreme speed counting tail time measured by the fourth delay counting unit 404. The primary clock counting module 31 includes a low-speed clock counting unit, that is, CNT_SS_BODY_TAIL represents the count value of the low-speed clock counting time measured by the low-speed clock counting unit, and TS_SS_BODY_TAIL represents the low-speed clock counting time measured by the low-speed clock counting unit.

[0105] In addition, in some embodiments, the device control module 10 or the central operation module 6000 is used to multiply the count value of the primary clock counting module 31 by the count clock cycle of the primary clock counting module 31 to obtain the primary clock counting time; multiply the high-speed counting head time count value by the count clock cycle of the secondary clock counting module 32 to obtain the high-speed counting head time; multiply the high-speed counting tail time count value by the count clock cycle of the secondary clock counting module 32 to obtain the high-speed counting tail time; multiply the first extreme-speed counting head time count value by the delay counting unit in the extreme-speed delay counting module 40 The first extreme speed counting head time is obtained by multiplying the inherent delay of the delay unit of the delay counting unit in the extreme speed delay counting module 40; the second extreme speed counting head time count value is multiplied by the inherent delay of the delay unit of the delay counting unit in the extreme speed delay counting module 40 to obtain the second extreme speed delay counting head time; the first extreme speed counting tail time count value is multiplied by the inherent delay of the delay unit of the delay counting unit in the extreme speed delay counting module 40 to obtain the first extreme speed counting tail time; the second extreme speed counting tail time count value is multiplied by the inherent delay of the delay unit of the delay counting unit in the extreme speed delay counting module 40 to obtain the second extreme speed counting tail time.

[0106] For example, as shown in the following formula:

[0107] TS_HS_HEAD = (CNT_HS_HEAD) * PERIOD_CLK_HS (1)

[0108] TS_US_HEAD1= (CNT_US_HEAD1) * US_CELL_DLY (2)

[0109] TS_US_HEAD2= (CNT_US_HEAD2) * US_CELL_DLY (3)

[0110] TS_HS_TAIL= (CNT_HS_TAIL) * PERIOD_CLK_HS (4)

[0111] TS_US_TAIL1 = (CNT_US_TAIL1) * US_CELL_DLY (5)

[0112] TS_US_TAIL2 = (CNT_US_TAIL2) * US_CELL_DLY (6)

[0113] TS_SS_BODY_TAIL=(CNT_SS_BODY_TAIL)*PERIOD_CLK_SS(7)

[0114] Wherein, PERIOD_CLK_SS in the above formula (7) represents the counting clock period of the primary clock counting module 31.

[0115] Wherein, PERIOD_CLK_HS in the above formulas (1) and (4) represents the counting clock period of the secondary clock counting module 32 , and specifically can be the counting clock period of the first high-speed clock counting unit 321 or the counting clock period of the second high-speed clock counting unit 322 .

[0116] Among them, US_CELL_DLY in the above formulas (2), (3), (5) and (6) represents the inherent delay of the delay unit of the delay counting unit in the extreme delay counting module 40, wherein the inherent delay of the delay unit of the delay counting unit in the extreme delay counting module 40 can be: the inherent delay of the delay unit of the first delay counting unit 401, the inherent delay of the delay unit of the second delay counting unit 402, the inherent delay of the delay unit of the third delay counting unit 403, the inherent delay of the delay unit of the fourth delay counting unit 404, any one of these four.

[0117] Method (2): Figure 5 As shown, N is equal to 1, and the 1-level to N-level clock counting module 30 includes a single-level clock counting module 33; the single-level clock counting module 33 is electrically connected to the device control module 10, and the single-level clock counting module 33 is electrically connected to the counting timing generation module 20; the counting clock frequency and counting resolution of the single-level clock counting module 33 are less than the counting equivalent clock frequency and counting resolution of the extremely fast delay counting module 40; the counting timing generation module 20 is used to receive the signal to be measured, the clock signal and the control signal to generate and send a single-level clock test signal to the single-level clock counting module 33, generate and send two delay count test signals to the extremely fast delay counting module 40, and the single-level The clock test signal and the delay count test signal are different from each other; the single-stage clock count module 33 is used to detect the single-stage clock test signal to obtain the count value of the single-stage clock count module 33, and the extremely fast delay count module 40 is used to detect the delay count test signal to obtain the count value of the extremely fast delay count module 40; the device control module 10 is used to obtain the count value of the single-stage clock count module 33 and the count value of the extremely fast delay count module 40 to determine the span time, or the device control module 10 transmits the count value of the single-stage clock count module 33 and the count value of the extremely fast delay count module 40 to the central operation module 6000, and the central operation module 6000 determines the span time. Through such a setting, it is equivalent to setting only one clock counting unit, and the span time can be determined by the count value of one clock counting module and the count value of the extremely fast delay count module 40, thereby saving the number of clock counting units and reducing costs.

[0118] It should be noted that the single-stage clock counting module 33 can include a high-speed clock counting unit, that is, only one high-speed clock counting unit is set, and the span time can be determined based on the counting value of the high-speed clock counting unit and the counting value of the extreme delay counting module 40, thereby reducing the circuit cost.

[0119] In addition, in an embodiment of the present application, the extreme-speed delay counting module 40 includes a fifth delay counting unit 405 and a sixth delay counting unit 406; the fifth delay counting unit 405 is used to detect the first delay counting test signal to obtain an extreme-speed counting head time count value, and the sixth delay counting unit 406 is used to detect the second delay counting test signal to obtain an extreme-speed counting tail time count value; wherein, the extreme-speed counting head time count value and the extreme-speed counting tail time count value form the counting value of the corresponding extreme-speed delay counting module 40.

[0120] Among them, the extremely fast delay counting module 40 includes a fifth delay counting unit 405 and a sixth delay counting unit 406, which is equivalent to the extremely fast delay counting module 40 including two delay counting units, so that the two delay counting units can respectively detect the two delay counting test signals to obtain the extremely fast counting head time count value and the extremely fast counting tail time count value. That is, by setting the extremely fast delay counting module 40 to include two delay counting units, the extremely fast counting head time count value and the extremely fast counting tail time count value can also be obtained, and the span time is finally determined, so that the number of delay counting units can be reduced, thereby reducing the cost.

[0121] In addition, in some embodiments, the device control module 10 is used to obtain the count value of the single-stage clock counting module 33, the extreme counting head time count value, and the extreme counting tail time count value, and determine the count time of the single-stage clock counting module 33 according to the count value of the single-stage clock counting module 33, determine the extreme counting head time according to the extreme counting head time count value, determine the extreme counting tail time according to the extreme counting tail time count value, and determine the span time according to the count time, extreme counting head time, and extreme counting tail time of the single-stage clock counting module 33. That is, the device control module 10 can determine the corresponding count time according to the count value of a high-speed clock counting module and the count values ​​of two delay counting units, so that the span time can be determined more accurately.

[0122] Alternatively, the device control module 10 is used to obtain the count value of the single-stage clock counting module 33, the count value of the top speed counting head time, and the count value of the top speed counting tail time, and transmit the count value of the single-stage clock counting module 33, the count value of the top speed counting head time, and the count value of the top speed counting tail time to the central operation module 6000, and the central operation module 6000 determines the span time according to the count value of the single-stage clock counting module 33, the count value of the top speed counting head time, and the count value of the top speed counting tail time. That is, the central operation module 6000 can determine the corresponding counting time according to the count value of a high-speed clock counting module and the count values ​​of two delay counting units, so that the span time can be determined more accurately.

[0123] Among them, the central operation module 6000 can obtain the counting value of the single-stage clock counting module 33, the extreme speed counting head time counting value and the extreme speed counting tail time counting value, and determine the counting time of the single-stage clock counting module 33 according to the counting value of the single-stage clock counting module 33, determine the extreme speed counting head time according to the extreme speed counting head time counting value, determine the extreme speed counting tail time according to the extreme speed counting tail time counting value, and determine the span time according to the counting time, extreme speed counting head time and extreme speed counting tail time of the single-stage clock counting module 33.

[0124] In addition, in some embodiments, the device control module 10 or the central operation module 6000 is used to add the extreme speed counting head time to the counting time of the single-stage clock counting module 33, and subtract the extreme speed counting tail time to obtain the span time.

[0125] Among them, Figure 6 As shown, in Figure 6 In the figure, PULSE represents the signal to be measured, which is a pulse signal; TM_EN represents an enable signal; CNT_HS_BODY_TAIL represents the count value of the single-stage clock counting module 33 measured by the single-stage clock counting module 33, and TS_HS_BODY_TAIL represents the single-stage clock counting time measured by the single-stage clock counting module 33; CNT_US_HEAD3 represents the extreme speed counting head time count value measured by the fifth delay counting unit 405, and TS_US_HEAD3 represents the extreme speed counting head time measured by the fifth delay counting unit 405; CNT_US_TAIL3 represents the extreme speed counting tail time count value measured by the sixth delay counting unit 406, and TS_US_TAIL3 represents the extreme speed counting tail time measured by the sixth delay counting unit 406. Therefore, it can be determined that TS_PULSE=TS_US_HEAD3+TS_HS_BODY_TAIL-TS_US_TAIL3, wherein TS_PULSE represents the span time of the span event transmitted by the PULSE signal.

[0126] In addition, in some embodiments, the device control module 10 or the central computing module 6000 is used to multiply the count value of the single-stage clock counting module 33 by the count clock period of the single-stage clock counting module 33 to obtain the count time of the single-stage clock counting module 33; multiply the count value of the extreme counting head time by the inherent delay of the delay unit of the delay counting unit in the extreme delay counting module 40 to obtain the extreme counting head time; multiply the count value of the extreme counting tail time by the inherent delay of the delay unit of the delay counting unit in the extreme delay counting module 40 to obtain the extreme counting tail time.

[0127] For example, as shown in the following formula:

[0128] TS_HS_BODY_TAIL=(CNT_HS_BODY_TAIL)*PERIOD_CLK_HS(a)

[0129] TS_US_HEAD3 = (CNT_US_HEAD3) * US_CELL_DLY (b)

[0130] TS_US_TAIL3 = (CNT_US_TAIL3 ) * US_CELL_DLY (c)

[0131] Wherein, in the above formula (a), TS_HS_BODY_TAIL represents the counting time measured by the single-stage clock counting module 33, CNT_HS_BODY_TAIL represents the counting value of the single-stage clock counting module 33 measured by the single-stage clock counting module 33, and PERIOD_CLK_HS represents the counting clock period of the single-stage clock counting module 33. In the above formula (b), TS_US_HEAD3 represents the extremely fast counting head time, CNT_US_HEAD3 represents the counting value of the extremely fast counting head time measured by the fifth delay counting unit 405; US_CELL_DLY represents the inherent delay of the delay unit of the delay counting unit in the extremely fast delay counting module 40, wherein the inherent delay of the delay unit of the delay counting unit in the extremely fast delay counting module 40 can be: the inherent delay of the delay unit of the fifth delay counting unit 405, the inherent delay of the delay unit of the sixth delay counting unit 406, or any one of the two. In the above formula (c), TS_US_TAIL3 represents the extreme speed counting tail time, and CNT_US_TAIL3 represents the count value of the extreme speed counting tail time measured by the sixth delay counting unit 406.

[0132] In addition, in the embodiment of the present application, the form of the extremely fast delay counting module 40 can be different, and the following are specifically described as examples:

[0133] Form (1), such as Figure 7 As shown, the delay counting unit may include: multiple buffers 001, a data acquisition unit 002 and a data processing unit 003; multiple buffers 001 are connected in series in sequence to form an ultra-fast delay chain, each buffer 001 forms a delay unit, and the data acquisition unit 002 is electrically connected to the output taps of each delay unit, the data acquisition unit 002 is electrically connected to the data processing unit 003, and the data processing unit 003 is electrically connected to the device control module 10; wherein the data acquisition unit 002 is used to collect the state value of the output end of each delay unit in the ultra-fast delay chain, the data processing unit 003 is used to obtain the count value of the delay counting unit according to the state value of the output end of each delay unit, and the count value of at least one delay counting unit forms the count value of the ultra-fast delay counting module 40.

[0134] Among them, in an embodiment of the present application, when the extreme speed delay counting module 40 includes a first delay counting unit 401, a second delay counting unit 402, a third delay counting unit 403, a fourth delay counting unit 404, a fifth delay counting unit 405, and a sixth delay counting unit 406, the first delay counting unit 401, the second delay counting unit 402, the third delay counting unit 403, the fourth delay counting unit 404, the fifth delay counting unit 405, and the sixth delay counting unit 406 may all include multiple buffers 001, a data acquisition unit 002, and a data processing unit 003. At this time, the counting value of the extreme speed delay counting module 40 can be any one of the first extreme speed counting head time count value, the second extreme speed counting head time count value, the first extreme speed counting tail time count value, the extreme speed counting head time count value, and the extreme speed counting tail time count value.

[0135] Among them, combined Fig.14 The principle that the extremely fast delay counting module 40 includes a plurality of buffers 001 is described below:

[0136] like Fig.14 As shown, the signal START is used as the measured object and the measurement trigger signal. It is assumed that the rising edge or high level of the signal START is used as the start signal of the measurement of the ultra-fast delay counting module 40, that is, the initial state of the signal START is a low level, and the inherent delay of the delay unit in the delay counting unit is used as the interval to periodically and continuously capture and sample DLY[1]~DLY[A], then the sampling value of each capture time point can be obtained, that is, the data acquisition unit 002 periodically and continuously collects the state value of the output end of each delay unit in the ultra-fast delay chain. When the high-level pulse span time of the signal START is less than or equal to the total circuit delay value of DLY[1]~DLY[A], as shown in FIG. Fig.14As shown, the periodic sampling value with the inherent delay of the delay unit in the delay counting unit as the period is unique, so it can be decoded according to the sampling values ​​of DLY[1]~DLY[A], and then the count value of the delay counting unit at each counting capture time point can be obtained.

[0137] Among them, when A is an even number, its counting decoding table is shown in the following table:

[0138]

[0139]

[0140] Wherein, E is a positive integer.

[0141] It should be noted that A can also be an odd number. In this case, the decoding table must be adjusted accordingly. This application takes A as an even number as an example to illustrate the technical principles of the present invention. Whether A is an odd number or an even number is not limited in the embodiments of this application.

[0142] Form (2), such as Figure 8 As shown, the delay counting unit may include: multiple inverters 004, a data acquisition unit 002 and a data processing unit 003; multiple inverters 004 are connected in series in sequence to form an extremely fast delay chain, each inverter 004 forms a delay unit, and the data acquisition unit 002 is electrically connected to the output taps of each delay unit respectively, the data acquisition unit 002 is electrically connected to the data processing unit 003, and the data processing unit 003 is electrically connected to the device control module 10; wherein, the data acquisition unit 002 is used to collect the state value of the output end of each delay unit in the extremely fast delay chain, and the data processing unit 003 is used to obtain the count value of the delay counting unit according to the state value of the output end of each delay unit, and the count value of at least one delay counting unit forms the count value of the extremely fast delay counting module 40.

[0143] Among them, in an embodiment of the present application, when the extreme speed delay counting module 40 includes a first delay counting unit 401, a second delay counting unit 402, a third delay counting unit 403, a fourth delay counting unit 404, a fifth delay counting unit 405, and a sixth delay counting unit 406, the first delay counting unit 401, the second delay counting unit 402, the third delay counting unit 403, the fourth delay counting unit 404, the fifth delay counting unit 405, and the sixth delay counting unit 406 may all include multiple inverters 004, a data acquisition unit 002, and a data processing unit 003. At this time, the counting value of the extreme speed delay counting module 40 can be any one of the first extreme speed counting head time count value, the second extreme speed counting head time count value, the first extreme speed counting tail time count value, the extreme speed counting head time count value, and the extreme speed counting tail time count value.

[0144] Among them, combined Fig.15 The principle that the extremely fast delay counting module 40 includes a plurality of inverters 004 is described below:

[0145] like Fig.15 As shown, the signal START is used as the measured object and the measurement trigger signal. It is assumed that the rising edge or high level of the signal START is used as the start signal of the measurement of the ultra-fast delay counting module 40, that is, the initial state of the signal START is a low level, and the inherent delay of the delay unit in the delay counting unit is used as the interval to periodically and continuously capture and sample DLY[1]~DLY[A], then the sampling value of each capture time point can be obtained, that is, the data acquisition unit 002 periodically and continuously collects the state value of the output end of each delay unit in the ultra-fast delay chain. When the high-level pulse span time of the signal START is less than or equal to the total circuit delay value of DLY[1]~DLY[A], as shown in FIG. Fig.15 As shown, the periodic sampling value with the inherent delay of the delay unit in the delay counting unit as the period is unique, so it can be decoded according to the sampling values ​​of DLY[1]~DLY[A], and then the count value of the delay counting unit at each counting capture time point can be obtained.

[0146] Among them, when A is an even number, its counting decoding table is shown in the following table:

[0147]

[0148]

[0149] Wherein, E is a positive integer.

[0150] It should be noted that A can also be an odd number. In this case, the decoding table must be adjusted accordingly. This application takes A as an even number as an example to illustrate the technical principles of the present invention. Whether A is an odd number or an even number is not limited in the embodiments of this application.

[0151] Form (3), such as Fig. 9As shown, the delay counting unit may include: multiple carry circuit units 005, a data acquisition unit 002 and a data processing unit 003; multiple carry circuit units 005 are connected in series in sequence to form an extremely fast delay chain, each carry circuit unit 005 forms a delay unit, and the data acquisition unit 002 is electrically connected to the output taps of each delay unit, the data acquisition unit 002 is electrically connected to the data processing unit 003, and the data processing unit 003 is electrically connected to the device control module 10; wherein the data acquisition unit 002 is used to collect the state value of the output end of each delay unit in the extremely fast delay chain, the data processing unit 003 is used to obtain the count value of the delay counting unit according to the state value of the output end of each delay unit, and the count value of at least one delay counting unit forms the count value of the extremely fast delay counting module 40.

[0152] Among them, in an embodiment of the present application, when the extreme speed delay counting module 40 includes a first delay counting unit 401, a second delay counting unit 402, a third delay counting unit 403, a fourth delay counting unit 404, a fifth delay counting unit 405, and a sixth delay counting unit 406, the first delay counting unit 401, the second delay counting unit 402, the third delay counting unit 403, the fourth delay counting unit 404, the fifth delay counting unit 405, and the sixth delay counting unit 406 may all include multiple carry circuit units 005, a data acquisition unit 002, and a data processing unit 003. At this time, the counting value of the extreme speed delay counting module 40 can be any one of the first extreme speed counting head time counting value, the second extreme speed counting head time counting value, the first extreme speed counting tail time counting value, the extreme speed counting head time counting value, and the extreme speed counting tail time counting value.

[0153] Among them, the carry circuit unit 005 is an internal logic commonly preset in many types of FPGA chips, and its position is fixed, and it is easy to be configured as a carry chain, which can be used as an ultra-fast delay chain of the delay counting unit. Therefore, in the embodiment of the present application, the ultra-fast delay counting module 40 based on the carry circuit unit 005 can be used to use the FPGA chip to equivalently verify the chip circuit design of the delay counting unit based on the buffer 001 or the inverter 004 and the ultra-fast delay counting module 40, thereby reducing the risk of tape-out and significantly saving tape-out costs. Moreover, mainstream FPGA chips are usually processed by more advanced wafer processes, such as 28nm CMOS process. The inherent delay of the internal preset carry circuit unit 005 is very short, which can reach about 80ns, which is on the same order of magnitude as the inherent delay of the buffer 001 under the 130nm CMOS process. Therefore, based on the present application, for many span time measurement devices with low power consumption requirements, FPGA chips can be used to implement measurement devices based on their built-in carry circuit unit 005, without the need to develop dedicated chips, thereby significantly shortening product time to market and saving R&D costs.

[0154] Form (4), such as Figures 10 to 13 As shown, the delay counting unit may include: multiple target units, a data acquisition unit 002 and a data processing unit 003, the target unit is: one of the four gates: AND gate 006, NAND gate 007, OR gate 008 and NOR gate 009; multiple target units are connected in series in sequence to form an ultra-fast delay chain, each target unit forms a delay unit, and the data acquisition unit 002 is electrically connected to the output taps of each delay unit respectively, the data acquisition unit 002 is electrically connected to the data processing unit 003, and the data processing unit 003 is electrically connected to the device control module 10; wherein the data acquisition unit 002 is used to collect the state value of the output end of each delay unit in the ultra-fast delay chain, the data processing unit 003 is used to obtain the count value of the delay counting unit according to the state value of the output end of each delay unit, and the count value of at least one delay counting unit forms the count value of the ultra-fast delay counting module 40.

[0155] Among them, in an embodiment of the present application, when the extreme speed delay counting module 40 includes a first delay counting unit 401, a second delay counting unit 402, a third delay counting unit 403, a fourth delay counting unit 404, a fifth delay counting unit 405, and a sixth delay counting unit 406, the first delay counting unit 401, the second delay counting unit 402, the third delay counting unit 403, the fourth delay counting unit 404, the fifth delay counting unit 405, and the sixth delay counting unit 406 may all include multiple target units, a data acquisition unit 002, and a data processing unit 003. At this time, the counting value of the extreme speed delay counting module 40 can be any one of the first extreme speed counting head time counting value, the second extreme speed counting head time counting value, the first extreme speed counting tail time counting value, the extreme speed counting head time counting value, and the extreme speed counting tail time counting value.

[0156] In addition, in some embodiments, Figure 1 As shown, the span time measurement device may further include: a counting data cache module 50, the counting data cache module 50 includes a 1-M level counting data cache unit 501, M≥1; the 1-N level clock counting modules 30 and the extreme delay counting module 40 are electrically connected to the counting data cache module 50, and the counting data cache module 50 is electrically connected to the device control module 10, the 1-N level clock counting modules 30 are used to send the counting values ​​of the 1-N level clock counting modules 30 to the counting data cache module 50, the extreme delay counting module 40 is used to send the counting value of the extreme delay counting module 40 to the counting data cache module 50, and the device control module 10 or the central computing module 6000 is used to obtain the counting values ​​of the 1-N level clock counting modules 30 and the counting value of the extreme delay counting module 40 from the counting data cache module 50.

[0157] By setting up the counting data cache module 50, the counting data cache module 50 can cache the counting values ​​of the level 1 to level N clock counting modules 30 and the counting values ​​of the extreme delay counting module 40, so that the device control module 10 or the central operation module 6000 can obtain the counting values ​​of the level 1 to level N clock counting modules 30 and the counting values ​​of the extreme delay counting module 40 from the counting data cache module 50 when needed, thereby facilitating the central operation module 6000 or the device control module 10 to determine the span time.

[0158] It should be noted that the counting data cache module 50 may include 1 to M level counting data cache units 501, so that after the 1 to N level clock counting modules 30 and the extremely fast delay counting module 40 are electrically connected to the counting data cache module 50, each level of the counting data cache units in the 1 to M level counting data cache units 501 can cache the counting values ​​of the 1 to N level clock counting modules 30 and the extremely fast delay counting module 40, so that the counting values ​​of the 1 to N level clock counting modules 30 and the extremely fast delay counting module 40 can be further related to the counting values ​​of the 1 to N level clock counting modules 30 and the extremely fast delay counting module 40, such as performing difference calculations of adjacent data and consistency checks of the differences. Among them, in the embodiment of the present application, when M is equal to 3, the counting data cache module 50 may include 1 to 3 level counting data cache units, and of course, M can also be other values, for example, M is equal to 2, and for another example, M is equal to 5. In this regard, the embodiment of the present application is not limited here.

[0159] In the embodiment of the present application, each level of clock counting module and the extremely fast delay counting module 40 are electrically connected to the counting timing generating module 20, and the counting timing generating module 20 is electrically connected to the device control module 10. Therefore, once the counting timing generating module 20 receives the signal to be measured, the clock signal and the control signal, the counting timing generating module 20 can generate and send different corresponding measured signals to each level of clock counting module and the extremely fast delay counting module 40, so that each level of clock counting module can detect the corresponding measured signal to obtain the counting value of the clock counting module of the span time of the corresponding measured signal, and the extremely fast delay counting module 40 can detect the corresponding measured signal to obtain the counting value of the extremely fast delay counting module 40 of the span time of the corresponding measured signal. Since each level of clock counting module is electrically connected to the device control module 10, and the extreme speed delay counting module 40 is electrically connected to the device control module 10, the count value of each level of clock counting module and the count value of the extreme speed delay counting module 40 can be transmitted to the device control module 10, so that the device control module 10 can obtain the count value of each level of clock counting module and the count value of the extreme speed delay counting module 40, and the device control module 10 can determine the span time based on the count value of each level of clock counting module and the count value of the extreme speed delay counting module 40, or the device control module 10 sends the count value of each level of clock counting module and the count value of the extreme speed delay counting module 40 to the central computing module 6000, so that the central computing module 6000 determines the span time. In addition, the counting clock frequencies of any two levels of clock counting units in the level 1 to level N clock counting modules 30 are different, and the counting clock frequency and counting resolution of each level of clock counting modules in the level 1 to level N clock counting modules 30 are both smaller than the counting equivalent clock frequency and counting resolution of the extreme delay counting module 40. Therefore, the counting precision of the counting values ​​of each level of clock counting modules acquired by the device control module 10 is different, and the counting precision of the counting value of the extreme delay counting module 40 is different from that of the counting value of each level of clock counting modules, so that the determined span time is more accurate. That is, in the embodiment of the present application, by setting up an extremely fast delay counting module 40 and a level 1 to N clock counting module 30, the corresponding counting values ​​are measured by the extremely fast delay counting module 40 and the level 1 to N clock counting module 30 respectively, and then the device control module 10 or the central operation module 6000 can determine the corresponding counting time based on the counting value of the extremely fast delay counting module 40 and the counting value of the level 1 to N clock counting module 30 respectively, and then accurately determine the span time, that is, in the embodiment of the present application, the span time can be determined more accurately, and the measurement principle and method are convenient for the technical implementation and system verification of the device.

[0160] The present application embodiment provides a span time measurement system, such as Fig.16As shown, the span time measurement system includes a clock multiplication module 7000, a clock generation module 1000, a signal source selection module 2000, an integrated device control module 3000, a bus interface module 4000 and a span time measurement device in any of the above embodiments;

[0161] The clock multiplication module 7000 is electrically connected to the low-frequency clock source and the clock generation module 1000. The clock multiplication module 7000 is used to multiply the low-speed clock signal generated by the low-frequency clock source to a clock signal of the highest frequency required by the span time measurement device, and send the clock signal of the highest frequency to the clock generation module 1000, so that the clock generation module 1000 generates clock signals of various frequencies required by the span time measurement device; the integrated control module 3000 is electrically connected to the clock multiplication module 7000, and the integrated control module 3000 is used to control the working configuration, operation or termination of the clock multiplication module 7000. The clock generation module 1000 is electrically connected to each level of the clock counting module 30 of the 1st to Nth level clock counting module, and the counting timing generation module 20, respectively. The clock generation module 1000 is used to generate and send corresponding clock signals to each level of the clock counting module 30 of the 1st to Nth level clock counting module and the counting timing generation module 20, and is used to drive each module to operate.

[0162] The information source selection module 2000 is electrically connected to the counting timing generation module 20 . Under the control of the integrated control module 3000 , the information source selection module 2000 selects a signal from a corresponding source and sends the signal to the counting timing generation module 20 .

[0163] The bus interface module 4000 is electrically connected to the integrated device control module 3000, and the bus interface module 4000 is electrically connected to the device control module 3000. The bus interface module 4000 is used to connect to the central operation module 6000. The central operation module 6000 is used to obtain the span time from the device control module 10, or obtain the count value of each stage clock counting module and the count value of the extreme delay counting module 40 from the device control module 10, and determine the span time based on the count value of each stage clock counting module and the count clock cycle of each stage clock counting module, as well as the count value of the extreme delay counting module 40 and the inherent delay of the delay unit of the delay counting unit in the extreme delay counting module 40;

[0164] The integrated device control module 3000 is electrically connected to the clock generating module 1000, and the integrated device control module 3000 is used to control the working configuration, operation or termination of the clock generating module 1000; the integrated control module 3000 is electrically connected to the information source selection module 2000, and the integrated control module 3000 is used to control the working configuration, operation or termination of the information source selection module 2000.

[0165] like Figure 1 , Figure 4 and Fig.16 As shown, the signal source selection module 2000 is used to receive the signal to be measured, and the signal to be measured can be a pulse type signal, such as a pulse signal PULSE, and the rising edge and falling edge of the pulse signal PULSE are used to transmit the start event and the end event of the span event, that is, the rising edge transmits the start event, and the falling edge transmits the end event; or the falling edge and the rising edge of the pulse signal PULSE are used to transmit the start event and the end event of the span event, that is, the falling edge transmits the start event, and the rising edge transmits the end event; Of course, in the embodiment of the present application, the signal to be measured can also be two independent event type signals, such as event signals START and STOP, and the two independent event signals START and STOP are used to transmit the start event and the end event of the span event respectively. For the convenience of expression in this application, the signal to be measured is described as a pulse signal PULSE. The embodiment of the present application does not limit the type of the signal to be measured.

[0166] In addition, the signal source selection module 2000 can select the signal source and forward the corresponding signal to the counting timing generation module 20. The counting timing generation module 20 generates and sends the corresponding measured signal to each clock counting unit of the 1st to Nth level clock counting module 30 and each delay counting unit of the extreme delay module 40. In addition, the clock generation module 1000 can send a clock signal to each level of the clock counting module in the 1st to Nth level clock counting module 30 and the counting timing generation module 20, and drive the operation of each level of the clock counting module in the 1st to Nth level clock counting module 30 and the counting timing generation module 20.

[0167] In addition, in practical applications, the central operation module 6000 can be connected to the bus interface module 4000, so that the central operation module 6000 can be connected to the span time measurement device more conveniently.

[0168] It should be noted that the device control module 10 obtains the count values ​​of the level 1 to level N clock counting modules 30 and the count value of the extreme delay counting module 40, and determines the span time based on the count values ​​of the level 1 to level N clock counting modules 30 and the clock cycle of each level clock counting module, as well as the count value of the extreme delay counting module 40 and the inherent delay in the extreme delay counting module 40; the device control module 10 can also send the count values ​​of the level 1 to level N clock counting modules 30 and the count value of the extreme delay counting module 40 to the central computing module 6000, and the central computing module 6000 determines the span time based on the count values ​​of the level 1 to level N clock counting modules 30 and the clock cycle of the level 1 to level N clock counting modules, as well as the count value of the extreme delay counting module 40 and the inherent delay of the delay unit of the delay counting unit in the extreme delay counting module 40.

[0169] In addition, the central operation module 6000 determines the span time based on the count value of each level of clock counting module and the clock cycle of each level of clock counting module, the count value of the extreme delay counting module 40 and the inherent delay of the delay unit of the delay counting unit in the extreme delay counting module 40. The method for determining the span time by the central operation module 6000 in the above embodiment can be referred to, and will not be repeated here.

[0170] In addition, in some embodiments, the span time measurement system may further include an interrupt control module 5000, which is electrically connected to the device control module 10, the integrated control module 3000 is electrically connected to the interrupt control module 5000, and the device control module 10 is electrically connected to the interrupt control module 5000. Under the control of the integrated control module 3000, the interrupt control module 5000 converts the interrupt signal generated by the device control module 10 into an interrupt signal in a unified format, and sends the interrupt signal in a unified format to the central operation module.

[0171] In addition, in some embodiments, Fig.16 As shown, the span time measurement system may further include a central operation module 6000, and the central operation module 6000 is electrically connected to the bus interface module 4000 or the interrupt control module 5000. The central operation module 6000 may be a central processing unit, and of course, the central operation module 6000 may also be other types, for example, the central operation module 6000 is a host computer. This is not limited in the embodiments of the present application.

[0172] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0173] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present application, and that the scope of the present application is defined by the claims and their equivalents.

Claims

1. A span time measurement device, characterized in that: The span time measurement device comprises: a device control module, a counting sequence generation module, an extremely fast delay counting module and a 1-level to N-level clock counting module, N≥1, and each level of clock counting module has at least one clock counting unit of the clock of that level, and the extremely fast delay counting module has at least one delay counting unit; The counting timing generation module, each clock counting unit in the 1st to Nth level clock counting modules, and each delay counting unit in the extremely fast delay counting module are all electrically connected to the device control module; each clock counting unit in the 1st to Nth level clock counting modules, and each delay counting unit in the extremely fast delay counting module are all electrically connected to the counting timing generation module; the counting clock frequency and counting resolution of any two levels of clock counting modules in the 1st to Nth level clock counting modules are different, and the counting clock frequency and counting resolution of each level of clock counting modules are both less than the counting equivalent clock frequency and counting resolution of the extremely fast delay counting module; The counting timing generation module is used to receive the signal to be measured, the clock signal and the control signal to generate and send different corresponding measured signals to each level of clock counting module and the extremely fast delay counting module. The clock counting module at each level is used to detect the corresponding measured signal to obtain the count value of the clock counting module at that level of the span time of the corresponding measured signal. The extremely fast delay counting module is used to detect the corresponding measured signal to obtain the count value of the extremely fast delay counting module of the span time of the corresponding measured signal; the device control module is used to obtain the count value of the clock counting module and the count value of the extremely fast delay counting module to determine the span time, or the device control module transmits the count value of the clock counting module and the count value of the extremely fast delay counting module to the central operation module, and the central operation module determines the span time.

2. The span time measuring device according to claim 1, characterized in that: N is equal to 2, and the level 1 to level N clock counting modules include a level 1 clock counting module and a level 2 clock counting module; The primary clock counting module and the secondary clock counting module are both electrically connected to the device control module, and the primary clock counting module and the secondary clock counting module are both electrically connected to the counting timing generation module; the counting clock frequency and counting resolution of the primary clock counting module are less than the counting clock frequency and counting resolution of the secondary clock counting module, and the counting clock frequency and counting resolution of the secondary clock counting module are less than the counting equivalent clock frequency and counting resolution of the extreme delay counting module; The counting timing generation module is used to receive the signal to be measured, the clock signal and the control signal, to generate and send a first signal to the primary clock counting module, to generate and send two second signals to the secondary clock counting module, and to generate and send four third signals to the extreme delay counting module, wherein the first signal, the second signal and the third signal are different from each other; The primary clock counting module is used to detect the first signal to obtain the count value of the primary clock counting module, the secondary clock counting module is used to detect the second signal to obtain the count value of the secondary clock counting module, and the extreme delay counting module is used to detect the third signal to obtain the count value of the extreme delay counting module; The device control module is used to obtain the count value of the first-level clock counting module, the count value of the second-level clock counting module and the count value of the extreme delay counting module to determine the span time, or the device control module passes the count value of the first-level clock counting module, the count value of the second-level clock counting module and the count value of the extreme delay counting module to the central computing module, and the central computing module determines the span time.

3. The span time measuring device according to claim 2, characterized in that: The secondary clock counting module includes a first high-speed clock counting unit and a second high-speed clock counting unit, and the extreme-speed delay counting module includes a first delay counting unit, a second delay counting unit, a third delay counting unit and a fourth delay counting unit; The first high-speed clock counting unit is used to detect the first second signal to obtain a high-speed counting head time count value, the second high-speed clock counting unit is used to detect the second second signal to obtain a high-speed counting tail time count value, the first delay counting unit is used to detect the first third signal to obtain a first extremely fast counting head time count value, the second delay counting unit is used to detect the second third signal to obtain a second extremely fast counting head time count value, the third delay counting unit is used to detect the third third signal to obtain a first extremely fast counting tail time count value, and the fourth delay counting unit is used to detect the fourth third signal to obtain a second extremely fast counting tail time count value; Among them, the high-speed counting head time count value and the high-speed counting tail time count value form the counting value of the corresponding secondary clock counting module, and the first extremely fast counting head time count value, the second extremely fast counting head time count value, the first extremely fast counting tail time count value and the second extremely fast counting tail time count value form the counting value of the corresponding extremely fast delay counting module.

4. The span time measuring device according to claim 2, characterized in that: The secondary clock counting module includes a third high-speed clock counting unit, and the extreme-speed delay counting module includes a first delay counting unit, a second delay counting unit, a third delay counting unit and a fourth delay counting unit; The third high-speed clock counting unit is used to detect the first second signal and the second second signal to obtain a high-speed counting head time count value and a high-speed counting tail time count value, the first delay counting unit is used to detect the first third signal to obtain a first extremely fast counting head time count value, the second delay counting unit is used to detect the second third signal to obtain a second extremely fast counting head time count value, the third delay counting unit is used to detect the third third signal to obtain a first extremely fast counting tail time count value, and the fourth delay counting unit is used to detect the fourth third signal to obtain a second extremely fast counting tail time count value; Among them, the high-speed counting head time count value and the high-speed counting tail time count value form the counting value of the corresponding secondary clock counting module, and the first extremely fast counting head time count value, the second extremely fast counting head time count value, the first extremely fast counting tail time count value and the second extremely fast counting tail time count value form the counting value of the corresponding extremely fast delay counting module.

5. The span time measuring device according to claim 3 or 4, characterized in that: The device control module is used to obtain the count value of the primary clock counting module, the high-speed counting head time count value, the high-speed counting tail time count value, the first extremely fast counting head time count value, the second extremely fast counting head time count value, the first extremely fast counting tail time count value and the second extremely fast counting tail time count value, and determine the primary clock counting time according to the count value of the primary clock counting module, determine the high-speed counting head time according to the high-speed counting head time count value, determine the high-speed counting tail time according to the high-speed counting tail time count value, and determine the first extremely fast counting head time count value according to the first extremely fast counting head time count value , determine the first extreme speed counting head time, determine the second extreme speed counting head time according to the second extreme speed counting head time count value, determine the first extreme speed counting tail time according to the first extreme speed counting tail time count value, determine the second extreme speed counting tail time according to the second extreme speed counting tail time count value, and determine the span time according to the primary clock counting time, the high speed counting head time, the high speed counting tail time, the first extreme speed counting head time, the second extreme speed counting head time, the first extreme speed counting tail time and the second extreme speed counting tail time; Alternatively, the device control module is used to obtain the count value of the first-level clock counting module, the high-speed counting head time count value, the high-speed counting tail time count value, the first extremely fast counting head time count value, the second extremely fast counting head time count value, the first extremely fast counting tail time count value and the second extremely fast counting tail time count value, and transmit the count value of the first-level clock counting module, the high-speed counting head time count value, the high-speed counting tail time count value, the first extremely fast counting head time count value, the second extremely fast counting head time count value, the first extremely fast counting tail time count value and the second extremely fast counting tail time count value to the central computing module, and the central computing module determines the span time according to the count value of the first-level clock counting module, the high-speed counting head time count value, the high-speed counting tail time count value, the first extremely fast counting head time count value, the second extremely fast counting head time count value, the first extremely fast counting tail time count value and the second extremely fast counting tail time count value.

6. The span time measuring device according to claim 5, characterized in that: The device control module or the central operation module is used to add the first extremely fast counting head time to the high-speed counting head time, and subtract the second extremely fast counting head time to obtain a first time to be calculated; add the first extremely fast counting tail time to the high-speed counting tail time, and subtract the second extremely fast counting tail time to obtain a second time to be calculated; add the first time to be calculated to the first-level clock counting time, and subtract the second time to be calculated to obtain the span time.

7. The span time measuring device according to claim 5, characterized in that: The device control module or the central operation module is used to multiply the count value of the primary clock counting module by the count clock cycle of the primary clock counting module to obtain the primary clock counting time; multiply the high-speed counting head time count value by the count clock cycle of the secondary clock counting module to obtain the high-speed counting head time; multiply the high-speed counting tail time count value by the count clock cycle of the secondary clock counting module to obtain the high-speed counting tail time; multiply the first extreme-speed counting head time count value by the inherent delay of the delay unit of the delay counting unit in the extreme-speed delay counting module Multiply the first extremely fast counting head time by the count value of the second extremely fast counting head time and the inherent delay of the delay unit of the delay counting unit in the extremely fast delay counting module to obtain the second extremely fast counting head time; multiply the first extremely fast counting tail time count value by the inherent delay of the delay unit of the delay counting unit in the extremely fast delay counting module to obtain the first extremely fast counting tail time; multiply the second extremely fast counting tail time count value by the inherent delay of the delay unit of the delay counting unit in the extremely fast delay counting module to obtain the second extremely fast counting tail time.

8. The span time measuring device according to claim 1, characterized in that: N is equal to 1, and the 1st to Nth level clock counting modules include a single-level clock counting module; The single-stage clock counting module is electrically connected to the device control module, and the single-stage clock counting module is electrically connected to the counting timing generation module; the counting clock frequency and counting resolution of the single-stage clock counting module are less than the counting equivalent clock frequency and counting resolution of the extreme delay counting module; The counting timing generation module is used to receive the signal to be measured, the clock signal and the control signal to generate and send a single-stage clock test signal to the single-stage clock counting module, and to generate and send two delay counting test signals to the extreme delay counting module, wherein the single-stage clock test signal and the delay counting test signal are different from each other; The single-stage clock counting module is used to detect the single-stage clock test signal to obtain the count value of the single-stage clock counting module, and the extreme-speed delay counting module is used to detect the delay count test signal to obtain the count value of the extreme-speed delay counting module; The device control module is used to obtain the count value of the single-stage clock counting module and the count value of the extreme delay counting module to determine the span time, or the device control module transmits the count value of the single-stage clock counting module and the count value of the extreme delay counting module to the central operation module, and the central operation module determines the span time.

9. The span time measuring device according to claim 8, characterized in that: The extreme-speed delay counting module includes a fifth delay counting unit and a sixth delay counting unit; The fifth delay counting unit is used to detect the first delay counting test signal to obtain the extreme speed counting head time count value, and the sixth delay counting unit is used to detect the second delay counting test signal to obtain the extreme speed counting tail time count value; Among them, the extremely fast counting head time count value and the extremely fast counting tail time count value form the count value of the corresponding extremely fast delay counting module.

10. The span time measuring device according to claim 9, characterized in that: The device control module is used to obtain the count value of the single-stage clock counting module, the extreme speed counting head time count value and the extreme speed counting tail time count value, and determine the single-stage clock counting module count time according to the count value of the single-stage clock counting module, determine the extreme speed counting head time according to the extreme speed counting head time count value, determine the extreme speed counting tail time according to the extreme speed counting tail time count value, and determine the span time according to the single-stage clock counting module count time, the extreme speed counting head time and the extreme speed counting tail time; Alternatively, the device control module is used to obtain the count value of the single-stage clock counting module, the extreme speed counting head time count value and the extreme speed counting tail time count value, and pass the count value of the single-stage clock counting module, the extreme speed counting head time count value and the extreme speed counting tail time count value to the central computing module, and the central computing module determines the span time according to the count value of the single-stage clock counting module, the extreme speed counting head time count value and the extreme speed counting tail time count value.

11. The span time measuring device according to claim 10, characterized in that: The device control module or the central operation module is used to add the extreme-speed counting head time to the counting time of the single-stage clock counting module, and subtract the extreme-speed counting tail time to obtain the span time.

12. The span time measuring device according to claim 10, characterized in that: The device control module or the central computing module is used to multiply the count value of the single-stage clock counting module with the counting clock period of the single-stage clock counting module to obtain the counting time of the single-stage clock counting module; multiply the count value of the extreme-speed counting head time with the inherent delay of the delay unit of the delay counting unit in the extreme-speed delay counting module to obtain the extreme-speed counting head time; multiply the count value of the extreme-speed counting tail time with the inherent delay of the delay unit of the delay counting unit in the extreme-speed delay counting module to obtain the extreme-speed counting tail time.

13. The span time measuring device according to claim 1, characterized in that: The delay counting unit block includes: a plurality of buffers, a data acquisition unit and a data processing unit; A plurality of the buffers are sequentially connected in series to form an extremely fast delay chain, each of the buffers forms a delay unit, and a data acquisition unit is electrically connected to the output terminal taps of each of the delay units, the data acquisition unit is electrically connected to the data processing unit, and the data processing unit is electrically connected to the device control module; Among them, the data acquisition unit is used to collect the state value of the output end of each delay unit in the ultra-fast delay chain, and the data processing unit is used to obtain the count value of the delay counting unit according to the state value of the output end of each delay unit, and the count value of at least one delay counting unit forms the count value of the ultra-fast delay counting module.

14. The span time measuring device according to claim 1, characterized in that: The delay counting unit includes: a plurality of inverters, a data acquisition unit and a data processing unit; A plurality of the inverters are sequentially connected in series to form an extremely fast delay chain, each of the inverters forms a delay unit, and a data acquisition unit is electrically connected to the output taps of each of the delay units, the data acquisition unit is electrically connected to the data processing unit, and the data processing unit is electrically connected to the device control module; Among them, the data acquisition unit is used to collect the state value of the output end of each delay unit in the ultra-fast delay chain, and the data processing unit is used to obtain the count value of the delay counting unit according to the state value of the output end of each delay unit, and the count value of at least one delay counting unit forms the count value of the ultra-fast delay counting module.

15. The span time measuring device according to claim 1, characterized in that: The delay counting unit comprises: a plurality of carry circuit units, a data acquisition unit and a data processing unit; A plurality of the carry circuit units are sequentially connected in series to form an extremely fast delay chain, each of the carry circuit units forms a delay unit, and a data acquisition unit is electrically connected to the output terminal taps of each of the delay units, the data acquisition unit is electrically connected to the data processing unit, and the data processing unit is electrically connected to the device control module; Among them, the data acquisition unit is used to collect the state value of the output end of each delay unit in the ultra-fast delay chain, and the data processing unit is used to obtain the count value of the delay counting unit according to the state value of the output end of each delay unit, and the count value of at least one delay counting unit forms the count value of the ultra-fast delay counting module.

16. The span time measuring device according to claim 1, characterized in that: The delay counting unit includes: a plurality of target units, a data acquisition unit and a data processing unit, wherein the target unit is one of the following four: an AND gate, a NAND gate, an OR gate and a NOR gate; A plurality of the target units are sequentially connected in series to form an extremely fast delay chain, each of the target units forms a delay unit, and a data acquisition unit is electrically connected to the output terminal taps of each of the delay units, the data acquisition unit is electrically connected to the data processing unit, and the data processing unit is electrically connected to the device control module; Among them, the data acquisition unit is used to collect the state value of the output end of each delay unit in the ultra-fast delay chain, and the data processing unit is used to obtain the count value of the delay counting unit according to the state value of the output end of each delay unit, and the count value of at least one delay counting unit forms the count value of the ultra-fast delay counting module.

17. The span time measuring device according to claim 1, characterized in that: The span time measurement device further includes: a counting data cache module, the counting data cache module including 1-level to M-level counting data cache units, M≥1; The level 1 to level N clock counting modules and the extreme-speed delay counting modules are all electrically connected to the counting data cache module, and the counting data cache module is electrically connected to the device control module. The level 1 to level N clock counting modules are used to send the counting values ​​of the level 1 to level N clock counting modules to the counting data cache module, and the extreme-speed delay counting module is used to send the counting value of the extreme-speed delay counting module to the counting data cache module. The device control module or the central computing module is used to obtain the counting values ​​of the level 1 to level N clock counting modules and the counting value of the extreme-speed delay counting module from the counting data cache module.

18. A span time measurement system, characterized in that: The span time measurement system comprises a clock frequency multiplication module, a clock generation module, a signal source selection module, an integrated control module, a bus interface module and a span time measurement device according to any one of claims 1 to 17; The clock multiplication module is electrically connected to the low-frequency clock source and the clock generation module, and the clock multiplication module is used to multiply the low-speed clock signal generated by the low-frequency clock source to a clock signal with the highest frequency required by the span time measurement device, and send the clock signal with the highest frequency to the clock generation module, so that the clock generation module generates clock signals of various frequencies required by the span time measurement device; the integrated control module is electrically connected to the clock multiplication module, and the integrated control module is used to control the working configuration, operation or termination of the clock multiplication module; The clock generating module is electrically connected to each level of the clock counting modules in the 1st to Nth level clock counting modules and the counting timing generating module respectively, and the clock generating module is used to generate and send corresponding clock signals to each level of the clock counting modules in the 1st to Nth level clock counting modules and the counting timing generating module, and is used to drive each module to operate; The information source selection module is electrically connected to the counting timing generation module. Under the control of the integrated control module, the information source selection module selects a signal from a corresponding source and sends it to the counting timing generation module. The bus interface module is electrically connected to the integrated control module, and the bus interface module is electrically connected to the device control module, the bus interface module is used to connect to the central operation module, the central operation module is used to obtain the span time from the device control module, or obtain the count value of each stage clock counting module and the count value of the extreme delay counting module from the device control module, and determine the span time based on the count value of each stage clock counting module and the clock cycle of each stage clock counting module, as well as the count value of the extreme delay counting module and the inherent delay of the delay unit of the delay counting unit in the extreme delay counting module; The integrated control module is electrically connected to the clock generation module, and the integrated control module is used to control the working configuration, operation or suspension of the clock generation module; The integrated control module is electrically connected to the information source selection module, and the integrated control module is used to control the working configuration, operation or termination of the information source selection module.

19. The span time measurement system according to claim 18, characterized in that: The span time measurement system also includes an interrupt control module, the integrated control module is electrically connected to the interrupt control module, and under the control of the integrated control module, the interrupt control module converts the interrupt signal generated by the device control module into an interrupt signal of a unified format, and sends the interrupt signal of the unified format to the central operation module.

20. The span time measurement system according to claim 19, characterized in that: The span time measurement system further comprises a central operation module, and the central operation module is electrically connected to the bus interface module or the interrupt control module.