hottub.patents
US 12,782,881 B2#3091420 Most CitedActiveUnited States (USPTO)Utility

Method and apparatus for measuring time

0Forward Citations (#3091420 Global)
0.0/yrCitation Velocity (#3091420 Global)
0.00Citation PageRank (#3091420 Global)
27Prior Art Cited
20Claims (3 Indep. · 17 Dep.)
4Drawings / Sheets

Abstract

A method and apparatus for measuring time, and a programmable controller for a quantum communication device are provided. The method includes: receiving a START signal and a STOP signal; sampling the START signal and the STOP signal by using a same clock to generate a START bit string corresponding to the START signal and a STOP bit string corresponding to the STOP signal; extracting a rising edge of the START signal from the START bit string, and extracting a rising edge of the STOP signal from the STOP bit string; and determining a time interval between the START signal and the STOP signal based on a count of bits between the rising edge of the START signal and the rising edge of the STOP signal and based on a period of the clock.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 27 · Forward citations: 0.

Claims (20 — 3 Independent, 17 Dependent)

  1. Claim 1Independent Claim

    A method for measuring time, the method comprising: receiving a START signal and a STOP signal; sampling the START signal and the STOP signal by using a same clock to generate a START bit string corresponding to the START signal and a STOP bit string corresponding to the STOP signal, wherein a first bit value of respective bit in the bit string is used to indicate a high level in the signal, and a second bit value of the respective bit in the bit string is used to indicate a low level in the signal; extracting a rising edge of the START signal from the START bit string, and extracting a rising edge of the STOP signal from the STOP bit string, wherein the rising edge of the START signal corresponds to a bit that jumps from the second bit value to the first bit value in the START bit string, and the rising edge of the STOP signal corresponds to a bit that jumps from the second bit value to the first bit value in the STOP bit string; and determining a time interval between the START signal and the STOP signal based on a count of bits between the rising edge of the START signal and the rising edge of the STOP signal and based on a period of the clock.

  2. Claim 2Depends on #1

    The method according to claim 1, wherein extracting a rising edge of the START signal from the START bit string, and extracting a rising edge of the STOP signal from the STOP bit string comprises: converting the START bit string from serial data to multiple sets of parallel data, and converting the STOP bit string from serial data to multiple sets of parallel data; processing a set of parallel data, which comprises a plurality of consecutive adjacent bits having first bit values, among the multiple sets of parallel data into a one-hot code, wherein a significant bit of the one-hot code corresponds to the bit that jumps from the second bit value to the first bit value in the bit string; and extracting the significant bit of the one-hot code in the START bit string as the rising edge of the START signal, and extracting the significant bit of the one-hot code in the STOP bit string as the rising edge of the STOP signal.

  3. Claim 3Depends on #2

    The method according to claim 2, wherein determining a time interval between the START signal and the STOP signal based on a count of bits between the rising edge of the START signal and the rising edge of the STOP signal and based on a period of the clock comprises: calculating a rough measurement time interval between the START signal and the STOP signal according to a count of bits in the set or sets of parallel data included between the set of parallel data where the rising edge of the START signal is located and the set of parallel data where the rising edge of the STOP signal is located, and the period of the clock; calculating a first fine measurement time interval for the rising edge of the START signal according to the bit where the rising edge of the START signal is located, and the period of the clock; calculating a second fine measurement time interval for the rising edge of the STOP signal according to the bit where the rising edge of the STOP signal is located, and the period of the clock; and summing the rough measurement time interval, the first fine measurement time interval, and the second fine measurement time interval to obtain the time interval between the START signal and the STOP signal.

  4. Claim 4Depends on #2

    The method according to claim 2, wherein a bit width of the parallel data is one of 8 bits, 16 bits, 32 bits, or 64 bits.

  5. Claim 5Depends on #1

    The method according to claim 1, wherein the first bit value is 1, and the second bit value is 0; or the first bit value is 0, and the second bit value is 1.

  6. Claim 6Independent Claim

    An apparatus for measuring time, the apparatus comprising a processor configured to: receive a START signal and a STOP signal; sample the START signal and the STOP signal by using a same clock to generate a START bit string corresponding to the START signal and a STOP bit string corresponding to the STOP signal, wherein a first bit value of respective bit in the bit string is used to indicate a high level in the signal, and a second bit value of the respective bit in the bit string is used to indicate a low level in the signal; extract a rising edge of the START signal from the START bit string, and extract a rising edge of the STOP signal from the STOP bit string, wherein the rising edge of the START signal corresponds to a bit that jumps from the second bit value to the first bit value in the START bit string, and the rising edge of the STOP signal corresponds to a bit that jumps from the second bit value to the first bit value in the STOP bit string; and determine a time interval between the START signal and the STOP signal based on a count of bits between the rising edge of the START signal and the rising edge of the STOP signal and based on a period of the clock.

  7. Claim 7Depends on #6

    The apparatus according to claim 6, wherein the processor, when being configured to extract a rising edge of the START signal from the START bit string, and extract a rising edge of the STOP signal from the STOP bit string, is configured to: convert the START bit string from serial data to multiple sets of parallel data, and convert the STOP bit string from serial data to multiple sets of parallel data; process a set of parallel data, which comprises a plurality of consecutive adjacent bits having first bit values, among the multiple sets of parallel data into a one-hot code, wherein a significant bit of the one-hot code corresponds to the bit that jumps from the second bit value to the first bit value in the bit string; and extract the significant bit of the one-hot code in the START bit string as the rising edge of the START signal, and extract the significant bit of the one-hot code in the STOP bit string as the rising edge of the STOP signal.

  8. Claim 8Depends on #7

    The apparatus according to claim 7, wherein the processor, when being configured to determine a time interval between the START signal and the STOP signal based on a count of bits between the rising edge of the START signal and the rising edge of the STOP signal and based on a period of the clock, is configured to: calculate a rough measurement time interval between the START signal and the STOP signal according to a count of bits in the set or sets of parallel data included between the set of parallel data where the rising edge of the START signal is located and the set of parallel data where the rising edge of the STOP signal is located, and the period of the clock; calculate a first fine measurement time interval for the rising edge of the START signal according to the bit where the rising edge of the START signal is located, and the period of the clock; calculate a second fine measurement time interval for the rising edge of the STOP signal according to the bit where the rising edge of the STOP signal is located, and the period of the clock; and sum the rough measurement time interval, the first fine measurement time interval, and the second fine measurement time interval to obtain the time interval between the START signal and the STOP signal.

  9. Claim 9Depends on #7

    The apparatus according to claim 7, wherein a bit width of the parallel data is one of 8 bits, 16 bits, 32 bits, or 64 bits.

  10. Claim 10Depends on #6

    The apparatus according to claim 6, wherein the first bit value is 1, and the second bit value is 0; or the first bit value is 0, and the second bit value is 1.

  11. Claim 11Independent Claim

    A programmable controller for a quantum communication device, wherein the programmable controller is configured to perform the following operations: receiving a START signal and a STOP signal; sampling the START signal and the STOP signal by using a same clock to generate a START bit string corresponding to the START signal and a STOP bit string corresponding to the STOP signal, wherein a first bit value of respective bit in the bit string is used to indicate a high level in the signal, and a second bit value of the respective bit in the bit string is used to indicate a low level in the signal; extracting a rising edge of the START signal from the START bit string, and extracting a rising edge of the STOP signal from the STOP bit string, wherein the rising edge of the START signal corresponds to a bit that jumps from the second bit value to the first bit value in the START bit string, and the rising edge of the STOP signal corresponds to a bit that jumps from the second bit value to the first bit value in the STOP bit string; and determining a time interval between the START signal and the STOP signal based on a count of bits between the rising edge of the START signal and the rising edge of the STOP signal and based on a period of the clock.

  12. Claim 12Depends on #1

    The method according to claim 1, wherein an electrical pulse signal triggered by synchronous light is received as the START signal in a quantum communication device, and an electrical pulse signal triggered by signal light is received as the STOP signal in the quantum communication device.

  13. Claim 13Depends on #2

    The method according to claim 2, wherein processing a set of parallel data, which comprises a plurality of consecutive adjacent bits having first bit values, among the multiple sets of parallel data into a one-hot code comprises; maintaining the bit value of the bit, that jumps from the second bit value to the first bit value, in the set of parallel data unchanged, and setting bit values of the other bits in the set of parallel data to the second bit value, so as to obtain the one-hot code.

  14. Claim 14Depends on #1

    The method according to claim 1, wherein determining a time interval between the START signal and the STOP signal based on a count of bits between the rising edge of the START signal and the rising edge of the STOP signal and based on a period of the clock comprises: calculating the time interval between the START signal and the STOP signal by directly counting the count of bits between the rising edge of the START signal and the rising edge of the STOP signal.

  15. Claim 15Depends on #6

    The apparatus according to claim 6, wherein the apparatus is a quantum communication device, and the processor is configured to receive an electrical pulse signal triggered by synchronous light as the START signal, and receive an electrical pulse signal triggered by signal light as the STOP signal.

  16. Claim 16Depends on #7

    The apparatus according to claim 7, wherein the processor, when being configured to process a set of parallel data, which comprises a plurality of consecutive adjacent bits having first bit values, among the multiple sets of parallel data into a one-hot code, is configured to; maintain the bit value of the bit, that jumps from the second bit value to the first bit value, in the set of parallel data unchanged, and set bit values of the other bits in the set of parallel data to the second bit value, so as to obtain the one-hot code.

  17. Claim 17Depends on #6

    The apparatus according to claim 6, wherein the processor, when being configured to determine a time interval between the START signal and the STOP signal based on a count of bits between the rising edge of the START signal and the rising edge of the STOP signal and based on a period of the clock, is configured to: calculate the time interval between the START signal and the STOP signal by directly counting the count of bits between the rising edge of the START signal and the rising edge of the STOP signal.

  18. Claim 18Depends on #11

    The programmable controller according to claim 11, wherein the programmable controller is configured to receive the START signal and the STOP signal through a transceiver arranged in the programmable controller.

  19. Claim 19Depends on #11

    The programmable controller according to claim 11, wherein the programmable controller is configured to sample the START signal and the STOP signal by using the same clock through a serial-to-parallel conversion module SIPO in a transceiver arranged in the programmable controller.

  20. Claim 20Depends on #11

    The programmable controller according to claim 11, wherein the STOP signal comprises a first STOP signal and a second STOP signal, and the STOP bit string corresponding to the STOP signal comprises a first STOP bit string corresponding to the first STOP signal and a second STOP bit string corresponding to the second STOP signal.

Technical Overview & Description

CROSS REFERENCE This application is a National Stage Filing of the PCT International Application No. PCT/CN2022/115684 filed on Aug. 30, 2022, which claims priority to Chinese Application No. 202111204433.5 filed on Oct. 15, 2021 with China National Intellectual Property Administration, the entirety of which is herein incorporated by reference. TECHNICAL FIELD The present disclosure relates to the technical field of time measurement, and in particular, to a method and apparatus for measuring time, and a programmable controller for a quantum communication device. BACKGROUND In the related technology, time of arrival of photons is mainly measured by a Time To Digital Converter (TDC) module or a Field Programmable Gate Array (FPGA)-based TDC module. The TDC module usually achieves the measurement of the time of arrival of photons by using a plurality of delay chains arranged inside the TDC module. However, the measured result may experience drift with the change of the delay chains due to temperature changes, so the TDC module needs to correct the measured result with the temperature changes in real time. The correction of the measured result not only consumes a large number of computing resources (such as FPGA resources and Digital Signal Processing (DSP) resources), but also makes it difficult to meet the high-speed running requirements of a system (such as, but not limited to, a quantum communication system). SUMMARY In order to solve the above problems, embodiments of the present disclosure provide a method and apparatus for measuring time, and a programmable controller for a quantum communication device. According to one aspect of the embodiments of the present disclosure, a method for measuring time is provided. The method includes: receiving a START signal and a STOP signal; sampling the START signal and the STOP signal by using a same clock to generate a START bit string corresponding to the START signal and a STOP bit string corresponding to the STOP signal, w

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (27)

PatentTitleYearCitations