Method and system for time-to-digital conversion

By determining the temperature coefficient in the time-digital converter and correcting it, the problem of inaccurate TDC measurement accuracy under temperature changes is solved, and a high-precision and low-cost temperature compensation effect is achieved.

CN114637183BActive Publication Date: 2024-11-12NINGBO SUNNY AUTOMOTIVE OPTECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011483528.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-16
Publication Date
2024-11-12
Estimated Expiration
2040-12-16

AI Technical Summary

Technical Problem

Existing time digital converters (TDCs) have inaccurate measurement accuracy when temperature changes, and require a lot of storage space and complex mathematical processing for calibration, which cannot be effectively corrected in continuous work.

Method used

By sending calibration signals under at least three temperature conditions, obtaining time data and reference time, using a temperature sensor to determine the temperature coefficient, fitting out the temperature coefficient formula to correct the time data, ensuring measurement accuracy, and writing the temperature coefficient into a static random storage Get the memory for easy use.

Benefits of technology

It achieves strong temperature compensation performance, more accurate measurement time, simple and fast calculation, does not affect the normal operation of TDC, and has low energy consumption and cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114637183B_ABST
    Figure CN114637183B_ABST
Patent Text Reader

Abstract

The present application provides a method for time-to-digital conversion. The method includes: sending a calibration signal to a time-to-digital converter under at least three temperature conditions; obtaining a reference time of the calibration signal; obtaining the time length of a delay unit output by the time-to-digital converter under each of the temperature conditions; obtaining the calibration temperature of the time-to-digital converter corresponding to each temperature condition through a temperature sensor; determining the temperature coefficient of the time-to-digital converter based on the time length of the delay unit under the at least three temperature conditions, the calibration temperature and the reference time. Obtaining the temperature of the time-to-digital converter when receiving a signal to be measured; obtaining time data corresponding to the signal to be measured through the time-to-digital converter; determining the temperature coefficient corresponding to the time-to-digital converter; and determining the corrected time corresponding to the signal to be measured based on the time data, the temperature and the temperature coefficient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of circuit technology, and more specifically, to a method for determining a temperature coefficient of a time-to-digital converter, a method for correcting a time-to-digital conversion system, a method for time-to-digital conversion, a system for time-to-digital conversion, and a laser radar. Background Art

[0002] Time to Digital Converter (TDC) is used to convert time interval information into digital signals, so as to realize the measurement of time interval by circuit. Time interval measurement, especially precise time interval measurement, is required in the fields of navigation, laser radar ranging, ultrasonic ranging, space technology, remote sensing imaging, communication, etc.

[0003] Field Programmable Gate Array (FPGA) devices are a type of semi-customized circuit in application-specific integrated circuits. FPGA devices integrate a large number of resources that can achieve specified connections and have specified functions under program control. For example, there are fast carry chain resources in FPGA devices that can be used to accelerate addition, multiplication, and shift operations. These fast carry chains can be used as delay units and implement TDC functions in an interpolation manner. The time resolution of the TDC can reach an accuracy of tens of ps.

[0004] However, there are still some shortcomings when using FPGA to implement TDC functions, such as the following two aspects:

[0005] On the one hand, since the functions of FPGA are implemented by hardware, specifically, its internal resources are implemented by semiconductor technology, the results measured using FPGA are easily affected by temperature and become inaccurate.

[0006] In order to reduce the measurement error caused by temperature, the commonly used method is to include a loop oscillator module in the designed module. The loop oscillator module is used to generate a pulse signal with a certain time interval to calibrate the length of time converted by the TDC after the temperature changes. This method has some problems, such as: the amount of data required is relatively large, which takes up a large storage space; the data needs to be processed more complexly, thus taking up more design resources; in addition, each time calibration is performed, the TDC needs to stop timing and enter calibration mode, and the calibration process takes a certain amount of time. For occasions where the TDC needs to work continuously, such calibration is unacceptable.

[0007] On the other hand, the length of the carry chain inside the FPGA varies, which results in time delays ranging from tens of picoseconds to hundreds of picoseconds. This makes the time scale obtained after FPGA encoding not uniform, and there is differential nonlinearity (DNL). The industry needs a TDC that can correct differential nonlinearity. Summary of the invention

[0008] The present application provides a method for determining a temperature coefficient of a time-to-digital converter, comprising: sending a calibration signal to the time-to-digital converter under at least three temperature conditions; obtaining a reference time of the calibration signal; obtaining time data output by the time-to-digital converter under each temperature condition, wherein the time data includes a time length of each delay unit to be calibrated; obtaining a calibration temperature of the time-to-digital converter corresponding to each temperature condition through a temperature sensor; and determining the temperature coefficient of the time-to-digital converter based on the time data, the calibration temperature and the reference time under at least three temperature conditions.

[0009] In one embodiment, determining the temperature coefficient of the time-to-digital converter includes fitting the formula Δt b -a2K b 2 +a1K b +a0, a0, a1, and a2; where a0 is the zero-order temperature coefficient, a1 is the first-order temperature coefficient, a2 is the second-order temperature coefficient, Δt b is the time length t of each delay unit to be calibrated in the corresponding time data b The calibration correction value between the time length t at the corresponding reference time, K b is the calibration temperature; wherein the zero-order temperature coefficient, the first-order temperature coefficient and the second-order temperature coefficient constitute the temperature coefficient of the time-to-digital converter.

[0010] In one embodiment, determining the temperature coefficient of the time-to-digital converter further comprises: based on the time data t under another temperature condition b1 And calibration temperature K b1 , obtain the calibration correction time t corresponding to the calibration signal under another temperature condition xb , where t xb =t b1 +(a2K b1 2 +a1K b1 +a0); verify the reference time t1 under another temperature condition and the calibration correction time t corresponding to the calibration signal under another temperature condition xb Is the deviation between Δt qualified? If not, refit the formula Δt b =a2K b2 +a1K b +a0.

[0011] In one embodiment, the method further includes: writing the temperature coefficient into a static random access memory.

[0012] Another aspect of the present application also provides a method for time-to-digital conversion, the method comprising: obtaining the temperature of the time-to-digital converter when receiving the signal to be measured; obtaining time data corresponding to the signal to be measured through the time-to-digital converter; determining the temperature coefficient corresponding to the time-to-digital converter; and determining the corrected time corresponding to the signal to be measured based on the time data, temperature and temperature coefficient.

[0013] In one embodiment, the method further comprises: writing the temperature coefficient into a static random access memory; wherein determining the temperature coefficient of the time-to-digital converter comprises: calling the temperature coefficient of the time-to-digital converter from the static random access memory.

[0014] In one embodiment, the time data includes: the time length of each delay unit.

[0015] In one embodiment, determining a temperature coefficient corresponding to a time-to-digital converter includes: the aforementioned method for determining a temperature coefficient of a time-to-digital converter.

[0016] The present application also provides a system for time-to-digital conversion, which includes: a time-to-digital converter, which is used to generate time data corresponding to a signal to be measured; a temperature sensor, which is configured to detect the temperature of the time-to-digital converter; a memory, which stores executable instructions and a temperature coefficient of the time-to-digital converter; and one or more processors, which communicate with the memory to execute the executable instructions to implement the aforementioned method.

[0017] In one embodiment, one or more processors include: a logic unit in an FPGA and a SOC processor; the logic unit is configured to communicate with a memory to execute executable instructions to implement the following operations: obtaining the temperature of a time-to-digital converter when receiving a signal to be measured; obtaining time data corresponding to the signal to be measured through the time-to-digital converter; determining a temperature coefficient corresponding to the time-to-digital converter; and determining a corrected time corresponding to the signal to be measured based on the time data, the temperature and the temperature coefficient; the SOC processor is configured to process the corrected time for transmission to an external device.

[0018] The method for determining the temperature coefficient of the time-to-digital converter provided by the present application is helpful to obtain a time-to-digital converter with temperature compensation performance. The time-to-digital conversion method provided by the embodiment of the present application makes the measured time more accurate based on the time of the signal measured by temperature compensation. The calculation of the compensation process is simple and fast, and does not affect the normal operation of the time-to-digital converter. In addition, the time-to-digital conversion system has low energy consumption and low cost of use. The manufacturing cost is also relatively low.

[0019] A method for correcting a time-to-digital conversion system comprises the following steps: calibrating a first delay chain of a first time-to-digital converter, the first time-to-digital converter being implemented based on a part of a constrained carry chain inside an FPGA; calibrating a second delay chain of a second time-to-digital converter, the second time-to-digital converter being implemented based on another part of a constrained carry chain inside the FPGA; adjusting a starting point of one of the first delay chain and the second delay chain so that on a time axis, two ends of at least one delay unit of the first delay chain are located in different delay units of the second delay chain; writing the adjusted first delay chain into a first delay unit lookup table to form a first comparison chain; and writing the adjusted second delay chain into a second delay unit lookup table to form a second comparison chain.

[0020] In one embodiment, the step of calibrating the first delay chain includes: sending a calibration signal to a first time-to-digital converter; and obtaining a reference time of the calibration signal.

[0021] In one embodiment, the step of calibrating the first delay chain includes: obtaining first time data output by a first time-to-digital converter, wherein the first time data includes a time length of each delay unit in the first delay chain.

[0022] In one embodiment, the data stored in the first delay unit lookup table includes: the time represented by each delay unit in the first comparison chain relative to the starting point of the first comparison chain; and the time length of each delay unit in the first comparison chain.

[0023] In one embodiment, the first delay chain includes multiple long delay cells, and the length of the long delay cell is greater than the average length of the delay cells in the first delay chain; wherein the two ends of at least one delay cell of the first delay chain are located in two delay cells of the second delay chain, including: the two ends of more than half of the multiple long delay cells are located in two non-adjacent delay cells of the second delay chain.

[0024] In one embodiment, a first constrained routing line is included between the signal input terminal and the starting point of the first time-to-digital converter, and a second constrained routing line is included between the signal input terminal and the starting point of the second time-to-digital converter, wherein the time delay of the first routing line and the second routing line may be the same.

[0025] The present application provides a method for time-to-digital conversion in another aspect, comprising: obtaining a first candidate time, the first candidate time being equal to a first time output by a first time-to-digital converter when receiving a signal to be measured, the first time being a time represented by a first delay unit in a first delay chain of the first time-to-digital converter corresponding to the signal to be measured; obtaining a second candidate time, the second candidate time being equal to a second time output by a second time-to-digital converter when receiving the signal to be measured, the second time being a time represented by a second delay unit in a second delay chain of the second time-to-digital converter corresponding to the signal to be measured, wherein on the time axis, two ends of at least one delay unit of the first delay chain are located in different delay units of the second delay chain; and selecting the smaller one of the first candidate time and the second candidate time.

[0026] In one embodiment, both ends of at least one delay unit of the first delay chain are located in two non-adjacent delay units of the second delay chain; when the second delay unit corresponding to the signal to be measured is located between two non-adjacent delay units, the selection step includes: determining the time length of the first delay unit; determining the time length of the second delay unit; determining the minimum value between the time length of the first delay unit and the time length of the second delay unit; selecting one of the first selected time and the second selected time whose corresponding time length is equal to the minimum value.

[0027] In one embodiment, determining the time length of the first delay unit includes: determining the time length of the first delay unit through a first delay unit lookup table; and determining the time length of the second delay unit includes: determining the time length of the second delay unit through a second delay unit lookup table; wherein the data stored in the first delay unit lookup table include: the time represented by each delay unit in the first comparison chain relative to the starting point of the first comparison chain, and the time length of each delay unit in the first comparison chain; all delay units in the first comparison chain correspond one-to-one to all first delay units in the first delay chain; the data stored in the second delay unit lookup table include: the time represented by each delay unit in the second comparison chain relative to the starting point of the second comparison chain, and the time length of each delay unit in the second comparison chain; all delay units in the second comparison chain correspond one-to-one to all second delay units in the second delay chain.

[0028] In one embodiment, obtaining the first candidate time includes: obtaining the first candidate time based on the first time through a first delay unit lookup table; obtaining the second candidate time includes: obtaining the second candidate time based on the second time through a second delay unit lookup table.

[0029] In one embodiment, it also includes: the aforementioned method for correcting the time-to-digital conversion system.

[0030] In one embodiment, the first time-to-digital converter includes a plurality of carry chains constrainedly cascaded in an FPGA; and the second time-to-digital converter includes another plurality of carry chains constrainedly cascaded in an FPGA.

[0031] The present application also provides a system for time-to-digital conversion, comprising: a first time-to-digital converter, configured to output a first moment when receiving a signal to be tested, the first moment being a moment represented by a first delay unit in a first delay chain of the first time-to-digital converter corresponding to the signal to be tested; a second time-to-digital converter, configured to output a second moment when receiving the signal to be tested, the second moment being a moment represented by a second delay unit in a second delay chain of the second time-to-digital converter corresponding to the signal to be tested, wherein, on a time axis, at least one delay unit of one of the first delay chain and the second delay chain is arranged across at least two delay units of the other; a memory storing executable instructions; and one or more processors communicating with the memory to execute the executable instructions to implement the aforementioned method.

[0032] In one embodiment, the first time-to-digital converter includes a plurality of carry chains constrainedly cascaded in an FPGA; and the second time-to-digital converter includes another plurality of carry chains constrainedly cascaded in an FPAG.

[0033] In one embodiment, it also includes: a first delay unit lookup table, which is configured to output a first candidate moment based on a first moment, and the data stored in the first delay unit lookup table include: the moment represented by each delay unit in the first comparison chain relative to the starting point of the first comparison chain, and the time length of each delay unit in the first comparison chain; all delay units in the first comparison chain correspond one-to-one with all first delay units in the first delay chain; and a second delay unit lookup table, which is configured to output a second candidate moment based on a second moment, and the data stored in the second delay unit lookup table include: the moment represented by each delay unit in the second comparison chain relative to the starting point of the second comparison chain, and the time length of each delay unit in the second comparison chain; all delay units in the second comparison chain correspond one-to-one with all second delay units in the second delay chain; wherein, one or more processors communicate with the memory to execute executable instructions to execute: obtaining a first candidate moment based on the first moment through the first delay unit lookup table; and obtaining a second candidate moment based on the second moment through the second delay unit lookup table.

[0034] In one embodiment, it also includes: at least one temperature sensor configured to detect the temperature of the first time-to-digital converter and the temperature of the second time-to-digital converter; wherein the memory also stores the temperature coefficient of the first time-to-digital converter and the temperature coefficient of the second time-to-digital converter; and one or more processors communicate with the memory to execute executable instructions to perform: obtaining the temperature of the time-to-digital converter corresponding to the selected moment when receiving the signal to be measured; obtaining the time length of each delay unit generated by the time-to-digital converter corresponding to the selected moment before receiving the signal to be measured; determining the temperature coefficient of the time-to-digital converter corresponding to the selected moment; and correcting the selected moment based on the time length, temperature and temperature coefficient of each delay unit.

[0035] In one embodiment, it also includes: a first routing line configured to electrically connect the first time-to-digital converter and the signal input terminal, and the first routing line is constrained; a second routing line configured to electrically connect the second time-to-digital converter and the signal input terminal, and the second routing line is constrained, and the second routing line and the first routing line may have the same delay.

[0036] In one embodiment, one or more processors include: a data selection unit, which is composed of a logic unit in the FPGA, and the data selection unit implements the aforementioned method; a SOC processor in the FPGA, which is communicatively connected to the data selection unit and is configured to process data output by the data selection unit for transmission to an external system.

[0037] The present application also provides a laser radar including the aforementioned time-to-digital conversion system.

[0038] The present application provides a method for correcting a time-to-digital conversion system, which can correct the differential nonlinear function of two coupled digital converters, and is helpful to obtain a time-to-digital conversion system with better differential nonlinear performance. The time-to-digital conversion method provided by the embodiment of the present application, based on the differential nonlinear compensation method, enables a delay unit to span at least two delay units of another delay chain, that is, through parallel comparison, the length of the delay unit in one delay chain is subdivided by the delay unit of another delay chain. Then, the intervals of the measured moments are more detailed and uniform. The time-to-digital conversion system provided by the present application has high measurement accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

[0040] Figure 1 A schematic flow chart showing a method for determining a temperature coefficient of a time-to-digital converter according to the present application;

[0041] Figure 2 shows a schematic structural diagram of a system for time-to-digital conversion according to the present application;

[0042] Figure 3 A schematic flow chart of a method for time-to-digital conversion according to the present application is shown;

[0043] Figure 4 shows a schematic structural diagram of a system for time-to-digital conversion according to the present application;

[0044] Figure 5 A schematic flow chart of a method for correcting a time-to-digital conversion system according to the present application is shown;

[0045] Figure 6 A schematic diagram showing an arrangement of delay units in a time-to-digital conversion system according to an embodiment of the present application is shown;

[0046] Figure 7 A schematic flow chart of a method for time-to-digital conversion according to the present application is shown;

[0047] Figure 8 A schematic flow chart showing the step of selecting a candidate time according to the present application; and

[0048] Fig. 9 A schematic structural diagram of another system for time-to-digital conversion according to the present application is shown. DETAILED DESCRIPTION

[0049] In order to better understand the present application, various aspects of the present application will be described in more detail with reference to the accompanying drawings. It should be understood that these detailed descriptions are only descriptions of exemplary embodiments of the present application, and do not limit the scope of the present application in any way. It should also be noted that, for ease of description, only the parts related to the relevant invention are shown in the accompanying drawings.

[0050] It should be noted that in this specification, the expressions first, second, third, etc. are only used to distinguish one feature from another feature, and do not represent any limitation on the feature. Therefore, without departing from the teaching of the present application, the first time-to-digital converter discussed below may also be referred to as the second time-to-digital converter. And vice versa.

[0051] As used herein, the terms "substantially," "approximately," and similar terms are used as terms of approximation, not degree, and are intended to account for the inherent variations in measurements or calculations that would be recognized by those of ordinary skill in the art.

[0052] It should also be understood that the terms "comprises", "including", "having", "includes" and / or "comprising", when used in this specification, indicate the presence of the stated features, elements and / or components, but do not exclude the presence or addition of one or more other features, elements, components and / or combinations thereof. In addition, when expressions such as "at least one of..." appear after a list of listed features, they modify the entire listed features rather than modifying the individual elements in the list. In addition, when describing embodiments of the present application, "may" is used to mean "one or more embodiments of the present application". And, the term "exemplary" is intended to refer to an example or illustration.

[0053] Unless otherwise specified, all words (including engineering terms and scientific and technological terms) used in this article have the same meaning as those commonly understood by ordinary technicians in the field to which this application belongs. It should also be understood that, unless clearly stated in this application, words defined in common dictionaries should be interpreted as having the same meaning as their meaning in the context of the relevant technology, and should not be interpreted in an idealized or overly formal sense.

[0054] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. In addition, unless explicitly limited or contradictory to the context, the specific steps included in the method described in the present application are not necessarily limited to the order described, but can be performed in any order or in parallel. The present application will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.

[0055] refer to Figure 1 The embodiment of the present application provides a method 1000 for determining a temperature coefficient of a time-to-digital converter, comprising the following steps:

[0056] S1010, sending a calibration signal to a time-to-digital converter under a temperature condition, wherein the calibration signal includes a large number of pulses with calibrated time.

[0057] S1040, obtaining a reference time of the calibration signal. The reference time of the calibration signal can be determined based on an external device, such as a low temperature drift crystal oscillator clock.

[0058] S1020, obtaining time data output by the time digital converter under the temperature condition. Specifically, the time digital converter has a delay chain when working, and the delay chain includes a series of delay units connected end to end. The time data includes the time length of each delay unit to be calibrated.

[0059] When the time-to-digital converter is working, the arrival pulse will output a corresponding arrival position code value. The difference between the moments represented by two adjacent code values ​​converted into specific time data is also the time length between the two code values, which is considered to be a delay unit of the code value. Therefore, based on the frequency of the code value, the number of calibrated delay units contained in the time data and the time length of each delay unit, i.e., the delay time, can also be determined.

[0060] S1030, obtaining a calibration temperature of a time-to-digital converter corresponding to each temperature condition through a temperature sensor.

[0061] Generally speaking, the temperature condition for implementing the method is controlled by an external device, such as controlling the temperature in the insulation space by a heat exchanger, so that the time digital converter in the insulation space is at different temperature levels. However, the working temperature of the time digital converter and the set temperature condition may be different, so it is better to directly measure the temperature of the time digital converter rather than calling the set temperature condition.

[0062] S1050, executing S1010, S1020, S1030 and S1040 under at least three temperature conditions. The calibration times can be determined based on the use temperature and effect of the time-to-digital converter. For example, calibrate 9 times within 0°C to 80°C, specifically, every 10°C is a temperature condition.

[0063] S1060, determining a temperature coefficient of a time-to-digital converter based on time data under at least three temperature conditions, a calibration temperature, and a reference time.

[0064] Further, the step of determining the temperature coefficient of the time-to-digital converter comprises:

[0065] Use the formula:

[0066] Δt b =a2K b 2 +a1K b +a0 (1)

[0067] The data obtained in steps S1020, S1030 and S1040 are fitted to further fit a0, a1 and a2 in formula (1).

[0068] Where a0 is the zero-order temperature coefficient, a1 is the first-order temperature coefficient, a2 is the second-order temperature coefficient, and Δt b is the time length t of the calibration delay unit at each time data b The calibration correction value between the time length t at the corresponding reference time, K bis the calibration temperature. Among them, the zero-order temperature coefficient, the first-order temperature coefficient and the second-order temperature coefficient constitute the temperature coefficient of the time-to-digital converter.

[0069] When there are only data under three temperature conditions, formula (1) can be directly calculated. Usually, the time-to-digital converter is calibrated under more than three temperature conditions, and then the calibrated data curve can be fitted using, for example, the least square method.

[0070] For example, the time-to-digital converter includes two hundred triggers, and two hundred delay units can be calibrated. The corresponding calibration time under the first temperature condition is 39ns, the corresponding calibration time under the second temperature condition is 40ns, and the calibration time under the third temperature is 41ns. The second temperature condition can be used as a reference condition to mark the time-to-digital converter. That is, the time length of 40ns is converted into two hundred delay units, that is, two hundred coding values. The delay unit length corresponding to each coding value is proportionally marked based on the total length of 40ns and the frequency of each coding value during calibration. At the same time, the calibration correction value that should be represented by a coding value under other temperature conditions is obtained.

[0071] Exemplarily, any temperature condition can be used as a reference to mark the scales of the two hundred delay units. Under this temperature condition, the time data correction value output by the marked time-to-digital converter is zero.

[0072] For example, the end point of the 100th delay unit of the time-to-digital converter is marked as 20.1ns. When the value of the reference time t1 is 20ns, the time data corresponding to the time-to-digital converter under the first temperature condition includes 90 delay units, and the time represented by the time data is 18.2ns. Then, under the first temperature, the 90th delay unit should be revised to 100, or the correction value of the time represented by the end point of the 90th delay unit is +1.9ns, so that although the time data output by the time-to-digital converter includes 90 delay units, the time length of 20.1ns can still be accurately obtained.

[0073] Further, determining the temperature coefficient of the time-to-digital converter further includes:

[0074] Based on the time data t under another temperature condition b1 And calibration temperature K b1 , obtain the calibration correction time t corresponding to the calibration signal under the other condition xb ,in,

[0075] t xb =t b1 +(a2K b1 2 +a1Kb1 +a0);

[0076] Verify the reference time t1 under another temperature condition and the calibration correction time t corresponding to the calibration signal under the other condition xb Is the deviation between Δt qualified? If not, refit the formula Δt b =a2K b 2 +a1K b +a0. The confidence of the calibrated formula is high. The precision of the refitted formula is high.

[0077] For example, nine sets of data are obtained under nine temperature conditions, and eight sets of data are curve fitted to determine a0, a1 and a2. Then, the ninth set of data is calculated using formula (1) to obtain the calibration correction time t of the ninth set of data: xb , and calculate t xb The deviation from the reference time t1 of this set of data.

[0078] For example, if the value of the reference time t1 is 20ns, it is predicted that the corresponding time data under a certain temperature condition includes 100 delay units, and the actual output time data includes 99-101 delay units. It can be considered that t xb The deviation from t1 is acceptable.

[0079] The temperature coefficient of the time-to-digital converter determined in the embodiment of the present application is more adaptable and the time after temperature compensation is more accurate.

[0080] Furthermore, the difference between two deviations corresponding to two adjacent reference moments is the deviation of the delay unit at the previous reference moment.

[0081] Exemplarily, the method 3000 may be a part of a method of manufacturing a system for time-to-digital conversion.

[0082] refer to Figure 2 The present application provides a system 100 for time-to-digital conversion, which can be implemented based on a programmable logic device such as an FPGA. The system 100 stores the aforementioned temperature coefficient before leaving the factory. The system 100 for time-to-digital conversion can be used in various electronic devices such as a laser radar to time a time period, a machine cycle, etc.

[0083] The system 100 includes a time-to-digital converter 111 , a temperature sensor 113 , a memory, and one or more processors.

[0084] The time digital converter 111 may include a cascaded carry chain, the starting point of which may be communicatively connected to the signal input terminal via a wiring. The signal output by the time digital converter 111 during operation may be characterized as a delay chain, which may reflect a time interval. Further, the time digital converter 111 may generate time data corresponding to the signal to be measured after receiving the signal to be measured.

[0085] The temperature sensor 113 is configured to detect the temperature of the time-to-digital converter 111 and output the detected temperature to one or more processors.

[0086] The memory may include a random access memory (RAM) inside the FPGA and a non-volatile memory outside the FPGA. The memory outside the FPGA may be a flash memory or an electrically erasable programmable read only memory (EEPROM). The memory outside the FPGA may be used to store executable instructions and the temperature coefficient of the time digital converter 111. After the FPGA is powered on, the RAM is also used to store executable instructions and the temperature coefficient of the time digital converter 111. Exemplarily, the RAM may include a (Static Random-Access Memory, SRAM) 102 and a temperature coefficient lookup table 115, wherein the SRAM 102 is used to store executable instructions, and the temperature coefficient lookup table 115 can be used to store the temperature coefficient of the time digital converter 111.

[0087] One or more processors are used to communicate with the memory to execute executable instructions. The one or more processors may specifically include: a logic unit in an FPGA and a SOC (System on Chip) processor 101 .

[0088] The logic unit is configured to communicate with the memory to execute the executable instructions to implement the following Figure 3 The operations shown are:

[0089] S2010, obtaining the temperature of the time-to-digital converter 111 when receiving the signal to be measured.

[0090] S2020, obtaining time data corresponding to the signal to be measured through a time-to-digital converter.

[0091] S2030, determining a temperature coefficient corresponding to the time-to-digital converter.

[0092] S2040, determining a corrected time corresponding to the signal to be measured based on the time data, the temperature and the temperature coefficient.

[0093] The SOC processor 101 may be configured to process the correction time for transmission to an external device.

[0094] Specifically, the logic unit may include a correction processing unit 112 and a temperature acquisition unit 114. The temperature acquisition unit 114 is used to obtain the temperature of the time digital converter 111 when receiving the signal to be measured, and can transmit it to the correction processing unit 112 through the bus 103. The correction processing unit 112 is used to receive time data, temperature and temperature coefficient, and output the corrected time to the SOC processor 101. Exemplarily, the correction processing unit 112 may be designed with an interface to be connected to the SOC processor 101.

[0095] The time-to-digital conversion method adopted by the system 100 is simple in operation, fast in speed, and has a high precision in the result obtained. The conversion does not affect the normal working state of the TDC, is adaptable to different working environments, and has a low operating cost.

[0096] When the system 100 is constructed based on FPGA, the bus 103 and one or more processors, RAM, time-to-digital converter 111, input / output (I / O) interface 104, input unit 105 and driver 108 connected to the bus can be integrated into the FPGA.

[0097] Although Figure 2 A system 100 for time-to-digital conversion having various components is shown, but it should be understood that it is not required to implement or have all the components shown. More or fewer components may be implemented or have instead. For example, a portion of the carry chain in the FPGA is used to form the time-to-digital converter 111, while the remaining carry chain 110 may also be used to form other time-to-digital converters.

[0098] The present application provides a method 2000 for time-to-digital conversion, which can be implemented using the system 100 for time-to-digital conversion. Figure 3 The method 2000 includes the aforementioned steps S2010 to S2040, wherein the writing order of the three steps S2010 to S2040 is not equal to the implementation order of the three steps.

[0099] The method 2000 for time-to-digital conversion provided by the present application requires a small amount of data, thereby occupying a small storage space, and performs relatively simple mathematical processing on the data, thereby occupying less design resources.

[0100] For example, S2030, determining the temperature coefficient of the time digital converter may include: calling the temperature coefficient of the time digital converter from the static random access memory. Exemplarily, before calling, it may also include: writing the temperature coefficient into the static random access memory. In this way, the TDC can continue to work during each calibration. The time consumption caused by entering the calibration mode during the working process is avoided. When the method is repeatedly executed multiple times, the method of calling the temperature coefficient has a smaller amount of calculation.

[0101] The present application also provides a system 500 for time-to-digital conversion. Figure 4 The system 500 may include: a first time-to-digital converter 510, a second time-to-digital converter 513, a memory, and at least one processor.

[0102] In an exemplary embodiment, the system 500 can be implemented based on FPGA. There are a lot of logic resources and wiring resources inside the FPGA, and the path through which the signal flows can be selected using FPGA development software. However, the same design source code, whether VHDL or Verilog HDL, will produce different results when synthesized using different synthesis tools.

[0103] Exemplarily, the method for manufacturing the system 500 based on FPGA may include: implementing a first time-to-digital converter 510 based on a part of the constrained carry chain inside the FPGA. Implementing a second time-to-digital converter 513 based on another part of the constrained carry chain inside the FPGA. The constrained carry chain is locked by program logic, and a module can be specified at a certain position of the FPGA through logic locking, thereby controlling the starting position of the delay chain. Logic locking can ensure that the locked module is not changed in the next synthesis.

[0104] Exemplarily, the method for manufacturing the system 500 further includes: constraining a first routing line between a signal input terminal and a starting point of the first time-to-digital converter 510; and constraining a second routing line between a signal input terminal and a starting point of the second time-to-digital converter 513. After the routing path in the FPGA is fixed, the delay of the routing line can be guaranteed to be fixed. By constraining the first routing line and the second routing line, the delay of the signal to be tested reaching the first time-to-digital converter 510 and reaching the second time-to-digital converter 513 is fixed.

[0105] The two TDCs can be calibrated simultaneously using the internal signal of the FPGA as the calibration signal to obtain the delay chains of the two TDCs. Specifically, the calibration signal may include a large number of random pulses. The time-to-digital converter outputs a coding value for each pulse, and the delay chain can be obtained according to the density of the coding value. For example, the number of delay units starting from the starting point in the delay chain and the length of each delay unit can be obtained.

[0106] refer to Figure 5 and Figure 6 The method for manufacturing the system 500 further includes: a method S3000 for calibrating a time-to-digital conversion system, S3000 including the steps of:

[0107] S3010 , calibrate a first delay chain of the first time-to-digital converter 510 .

[0108] S3020 , calibrate the second delay chain of the second time-to-digital converter 513 .

[0109] S3030, adjusting the starting point of one of the first delay chain and the second delay chain so that on the time axis, both ends of at least one delay unit of the first delay chain are located in two delay units of the second delay chain. The time length of each delay unit can be regarded as a half-open and half-closed interval. For example, when the time length of a delay unit is 9ps and its end time is 19ps, the interval it covers is (10ps, 19ps], that is, the arriving signals are all output as 19ps. The two ends of the delay unit of the first delay chain fall in two different intervals of the second delay chain.

[0110] S3040 , writing the adjusted first delay chain into the first delay unit lookup table 511 to form a first comparison chain 3100 .

[0111] S3050 , writing the adjusted second delay chain into the second delay unit lookup table 514 to form a second comparison chain 3200 .

[0112] In step S3030, due to the difference of actual carry chains in FPGA, the structures of delay chains along the time axis vary greatly. Therefore, it is desirable that as many delay units as possible in a delay chain span across at least two delay units of another delay chain, that is, it is desirable that the length of the delay unit is subdivided into at least two sections by another delay chain on the time axis.

[0113] Exemplarily, the first delay chain includes a long delay unit, the length of which is greater than the average length of the delay units in the first delay chain. On the time axis, at least half of the long delay units in the first delay chain span at least two delay units in the second delay chain.

[0114] refer to Figure 6 , Figure 6The right side of the figure is the positive direction of the time axis. It can be considered that the starting point of the first delay chain is reset, and the first comparison chain 6100 formed is the same as the corresponding section of the first delay chain. It can also be considered that the starting point of the second delay chain is reset to form the second comparison chain 6200. The first comparison chain 6100 and the second comparison chain 6200 are aligned in time to form a delay unit arrangement. It should be noted that the first comparison chain 6100 and the second comparison chain 6200 are used to represent the time data on the time axis, and the data stored in the lookup table has a mapping relationship with the comparison chain rather than the illustrated graphics.

[0115] Specifically, the data stored in the first delay unit lookup table include: the time represented by each delay unit in the first comparison chain relative to the starting point of the first comparison chain, and the time length of each delay unit in the first comparison chain; all delay units in the first comparison chain correspond to all first delay units in the first delay chain. The second delay unit lookup table is similar.

[0116] The fourth delay unit 6220 from the starting point 6201 of the second comparison chain 6200 is a long delay unit, which spans the third delay unit 6110, the fourth delay unit 6120 to the eighth delay unit of the first comparison chain 6100, that is, it is subdivided into six sections by the first comparison chain 6100. Similarly, the first comparison chain 6100 also has long delay units subdivided by the second comparison chain 6200.

[0117] Exemplarily, the starting point 6201 of the second comparison chain 6200 corresponds to a starting time, for example, 100ns. The delay length values ​​of the first delay unit 6210 and the second delay unit of the second comparison chain 6200 from the starting point are both 0.1ns. The range of the first delay unit 6210 of the second comparison chain 6200 is (100ns, 100.1ns], and the reading is 100.1ns. It can be seen that the time corresponding to the third delay unit of the second comparison chain 6200 is 100.3ns. At the same time, the time of the starting point of the first comparison chain 6100 is 100ns, and the time of its third delay unit 6110 is the time of its end point 6102, that is, 100.4ns.

[0118] The starting point change of the delay chain of the two TDCs is achieved by locking the logic resources and wiring of the FPGA. After starting work, the trigger pulse signal in the signal can reach the two TDCs at the same time, and the time difference between the two TDCs can be obtained during calibration, thereby eliminating it. The delay unit triggered by the pulse signal can have different positions in the delay chain. For example, at 100.435ns, the two TDCs received the pulse signal at the same time. The carry chain corresponding to the fourth delay unit 6220 in the second time digital converter 513 is triggered, and the carry chain corresponding to the fourth delay unit 6120 in the first time digital converter 510 is triggered.

[0119] It can be understood that in S6030, without adjusting the starting points of the first delay chain and the second delay chain, it is also possible to make at least one delay unit of the first delay chain cross over at least two delay units of the second delay chain on the time axis.

[0120] In steps S3040 and S3050, the adjusted delay chain is written into a look-up table (LUT) to form a delay unit look-up table. The data in the delay unit look-up table is the time data corresponding to the delay unit of the delay chain. It is faster to call data using the delay unit look-up table, saving computing resources. However, it is still possible to get an adjustment value after running S3030 through the processor, and use the adjustment value to adjust the calculation for each delay unit.

[0121] In the system 500 for time-to-digital conversion obtained by the method of implementing the system based on FPGA:

[0122] The first time-to-digital converter 510 is used to output a first time when receiving the signal to be tested, where the first time is a time represented by a first delay unit in a first delay chain of the first time-to-digital converter 510 corresponding to the signal to be tested;

[0123] The second time-to-digital converter 513 is used to output a second moment when receiving the signal to be tested, and the second moment is a moment represented by a second delay unit corresponding to the signal to be tested in the second delay chain of the second time-to-digital converter 513, wherein on the time axis, two ends of at least one delay unit of the first delay chain are located in two different delay units of the second delay chain. Exemplarily, they can be located in two non-adjacent delay units of the second delay chain, so that the long delay unit is arranged across multiple delay units.

[0124] One or more processors are in communication with the memory and are configured to execute executable instructions stored in the memory. When the executable instructions are executed by the one or more processors, the one or more processors can implement the method for time-to-digital conversion.

[0125] refer to Figure 7 , an embodiment of the present application provides a method 4000 for time-to-digital conversion. The method 4000 can be implemented by a system 500 for time-to-digital conversion provided by the present application.

[0126] The method 4000 comprises the following steps:

[0127] S4010, obtaining a first candidate time. The first candidate time is obtained based on a first time output by the first time-to-digital converter when receiving the signal to be measured, for example, the first candidate time is equal to the first time. The first time is a time represented by a first delay unit corresponding to the signal to be measured in a first delay chain of the first time-to-digital converter.

[0128] S4020, obtaining a second candidate time. The second candidate time is obtained based on a second time output by the second time-to-digital converter when receiving the signal to be measured, for example, the first candidate time is equal to the second candidate time. The second time is a time represented by a second delay unit corresponding to the signal to be measured in a second delay chain of the second time-to-digital converter. In the time axis, two ends of at least one delay unit of the first delay chain are located in two different delay units of the second delay chain.

[0129] S4030: Select the smaller one between the first candidate time and the second candidate time.

[0130] The method 4000 selects the moment obtained after comparing two TDCs, which improves the measurement accuracy compared to one TDC.

[0131] Furthermore, the selected moment can be a moment represented by a longer delay unit or a moment represented by a shorter delay unit. When the time length of a delay unit is longer, it can be subdivided by multiple delay units of another delay chain, that is, its two ends are located in two non-adjacent delay units of another delay chain. The signal to be measured may fall between these two non-adjacent delay units.

[0132] refer to Figure 8 The step S4030 of selecting the time to be selected includes:

[0133] S4031, determine the time length of the first delay unit.

[0134] S4032, determine the time length of the second delay unit.

[0135] S4033, determine the minimum value between the time length of the first delay unit and the time length of the second delay unit. If the time length of the first delay unit and the time length of the second delay unit are equal, either one can be used as the minimum value, for example, the time length of the first delay unit is used as the minimum value.

[0136] S4034, selecting the one of the first candidate time and the second candidate time whose corresponding time length is equal to the minimum value. For example, when the values ​​of the corresponding time lengths of the two are equal, the first candidate time is selected.

[0137] The method 4000 utilizes a differential nonlinear compensation method to make the time intervals measured by the system for time-to-digital conversion more detailed and uniform. The moments obtained after comparing two TDCs improve the measurement accuracy compared to one TDC. When the method 4000 measures a large number of moments for a large number of pulses, the overall accuracy of these moments is also relatively high.

[0138] In the method 4000, steps S4010 and S4020 are performed in no particular order. Steps S4031 to S4032 are performed in no particular order.

[0139] In some embodiments, determining the time length value of the first delay unit in S4031 includes: determining the time length of the first delay unit through a first delay unit lookup table, wherein the data stored in the first delay unit lookup table includes: the time represented by each delay unit in the first comparison chain relative to the starting point of the first comparison chain, and the time length of each delay unit in the first comparison chain. Since all delay units in the first comparison chain correspond one-to-one to all first delay units in the first delay chain, the length can be quickly called.

[0140] S4040 determines the time length of the second delay unit, including: determining the time length of the second delay unit through a second delay unit lookup table, the second delay unit lookup table stores a second comparison chain, and the second delay unit lookup table functions with reference to the first delay unit lookup table.

[0141] In a further embodiment, step S4010, i.e. obtaining the first candidate moment, includes: obtaining the first candidate moment based on the first moment through a first delay unit lookup table. The first moment is represented by the first delay chain. The moment actually obtained is based on the starting moment of the first delay chain plus the time length of all the delay units passed (that is, many time periods). Exemplarily, the starting moment of the first delay chain is not adjusted, and the first candidate moment is equal to the first moment. Exemplarily, the starting point of the first delay chain is adjusted, and the first candidate moment is the moment represented by the first comparison chain. Of course, the moment represented by the first comparison chain is obtained based on the first moment.

[0142] Obtaining the second candidate time includes: obtaining the second candidate time based on the second time by looking up a table with a second delay unit.

[0143] For example Figure 6 At 100.435ns, the two TDCs simultaneously receive the pulse signal. In the first time-to-digital converter 510, the carry chain corresponding to the fourth delay unit 6120 of the first comparison chain 6100 is triggered. The first delay unit lookup table 511 outputs 100.5ns as the first candidate time based on the first time output by the first time-to-digital converter.

[0144] The carry chain of the fourth delay unit 6220 corresponding to the second comparison chain 6200 in the second time-to-digital converter 513 is triggered, and the second delay unit lookup table outputs the second candidate time 101.1 ns based on the second time output by the second time-to-digital converter 513 .

[0145] On the one hand, a smaller first candidate time 100.5ns is selected.

[0146] On the other hand, the time length of the third delay unit 6120 of the first comparison chain 6100 is 0.1ns, and the time length of the fourth delay unit 6220 of the second comparison chain 6200 is 0.8ns. It can be seen that the time length of the corresponding delay unit in the first comparison chain 6100 is shorter.

[0147] Select the first candidate time 100.5ns, which can be used for subsequent operations or output.

[0148] In an exemplary embodiment, the method 4000 may include the aforementioned method 3000 for calibrating a time-to-digital conversion system. Specifically, the method 3000 may be executed first, and then the data obtained by using the method 3000 may be called in steps S4031 and S4032.

[0149] In an exemplary embodiment, the deviation caused by the TDC operating at different temperatures can be further corrected. The method 4000 also includes: obtaining the temperature of the time-to-digital converter corresponding to the selected moment when receiving the signal to be measured; obtaining the number of delay units generated by the time-to-digital converter corresponding to the selected moment before receiving the signal to be measured; determining the temperature coefficient of the time-to-digital converter corresponding to the selected moment; and correcting the selected moment based on the number, temperature, and temperature coefficient.

[0150] For example, if the first candidate moment is selected, the first candidate moment is corrected based on the time data output by the first time-to-digital converter, the measured temperature and the temperature coefficient. For example, under certain temperature conditions, the pulse at the time of 102ns is output as 100ns by the first time-to-digital converter, and the first candidate moment is also 100ns. The correction value at this temperature is calculated to be 1.8ns. The corrected first candidate moment is 101.8ns, which is used for subsequent processing.

[0151] exist Figure 4 Based on reference Figure 8 , showing a hardware structure diagram of a system 500 having a calibration time-to-digital conversion system function and / or a time-to-digital conversion function.

[0152] The system 500 includes: a first time-to-digital converter 510 , a second time-to-digital converter 513 , a storage, and one or more processors, and illustratively, also includes a first temperature sensor 518 and a second temperature sensor 520 .

[0153] The first time-to-digital converter 510 and the second time-to-digital converter 513 can be designed to be close in actual settings, and the first temperature sensor 518 can be configured to simultaneously detect the temperature of the first time-to-digital converter 510 and the temperature of the second time-to-digital converter 513. Exemplarily, the first temperature sensor 518 is configured to detect the temperature of the first time-to-digital converter 510. The second temperature sensor 520 is configured to detect the temperature of the second time-to-digital converter 513. The memory also stores the temperature coefficient of the first time-to-digital converter 510 and the temperature coefficient of the second time-to-digital converter 513.

[0154] The memory may include a random access memory (RAM) inside the FPGA and a non-volatile memory outside the FPGA. The memory outside the FPGA may be a flash memory or an electrically erasable programmable read only memory (EEPROM). The memory outside the FPGA may be used to store executable instructions and temperature coefficients of the first time-to-digital converter 510 and the second time-to-digital converter 513. After the FPGA is powered on, the RAM is also used to store executable instructions and temperature coefficients.

[0155] For example, the RAM may include a Static Random-Access Memory (SRAM) 502, a temperature coefficient lookup table 516, a first delay unit lookup table 511, and a second delay unit lookup table 514. The SRAM 102 is used to store executable instructions, and the temperature coefficient lookup table 115 may be used to store temperature coefficients.

[0156] For example, the one or more processors may include: a logic unit in an FPGA and a SOC processor 501. The logic unit is configured to communicate with the memory to execute executable instructions to implement the following. Figure 7 or Figure 8 The SOC processor 101 may be configured to process the corrected time for transmission to an external device.

[0157] Specifically, the logic unit may include a data selection unit 512, a correction processing unit 517, a first temperature acquisition unit 519, and a second temperature acquisition unit 521. The first temperature acquisition unit 519 is used to obtain the temperature of the first time-to-digital converter 510 when receiving the signal to be measured, and can be transmitted to the correction processing unit 517 through the bus 503. The second temperature acquisition unit 521 is similar. The correction processing unit 112 is used to receive the time data, temperature and temperature coefficient output from the temperature coefficient lookup table 516 corresponding to the moment selected by the data selection unit 512, and output the corrected moment to the SOC processor 501.

[0158] The system 500 for time-to-digital conversion provided by the present application may include but is not limited to mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., fixed terminals such as digital TVs, desktop computers, etc., and special detection equipment such as machine vision systems. The time-to-digital conversion method adopted by the system 500 has high computational accuracy and high speed, and the obtained results can better eliminate DNL.

[0159] When the system 500 is constructed based on FPGA, the FPGA may integrate the bus 103 and one or more processors connected to the bus, RAM, TDC, sensors, and input / output (I / O) interface 504. Further, the system 500 may also include an output unit 506, a storage unit 507, a communication device 515, a drive 508 connected to a removable medium 509, and the like.

[0160] Although Fig. 9 The system 500 for time-to-digital conversion is shown with various components, but it should be understood that it is not required to implement or have all of the components shown. More or fewer components may alternatively be implemented or have.

[0161] Exemplarily, the first time-to-digital converter 510 includes a plurality of carry chains that are constrainedly cascaded in a field programmable logic gate array; the second time-to-digital converter 513 includes another plurality of carry chains that are constrainedly cascaded in a field programmable logic gate array.

[0162] Exemplarily, the first delay unit lookup table 511 is configured to output a first candidate time based on a first time, and the first delay unit lookup table 511 stores a first comparison chain, and the structure of the first comparison chain is the same as the structure of the first delay chain. The second delay unit lookup table 514 is configured to output a second candidate time based on a second time, and the second delay unit lookup table stores a second comparison chain, and the structure of the second comparison chain is the same as the structure of the second delay chain; wherein one or more processors communicate with the memory to execute executable instructions to implement the steps shown in method 4000.

[0163] Exemplarily, the system 500 further includes: a constrained first routing line and a second routing line. The first routing line is configured to electrically connect the first time-to-digital converter 510 and the input unit 505. The second routing line is configured to electrically connect the second time-to-digital converter 513 and the input unit 505. The second routing line and the first routing line may have the same delay. In particular, the SOC processor 501 may also transmit signals to the first routing line and the second routing line through the bus 503.

[0164] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of protection involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the technical concept. For example, the above features are replaced with (but not limited to) technical features with similar functions in the present application.

Claims

1. A method for determining the temperature coefficient of a time-to-digital converter, characterized in that include: Sending a calibration signal to a time-to-digital converter under at least three temperature conditions, wherein the calibration signal includes a large number of pulses with calibrated time; Obtaining a reference time of the calibration signal, wherein the reference time is determined based on a clock of an external device; Obtaining time data output by the time-to-digital converter under each of the temperature conditions, wherein the time-to-digital converter has a delay chain when in operation, the delay chain comprising a series of delay units connected end to end, and the time data comprises the time length of each delay unit to be calibrated; Obtaining the calibration temperature of the time-to-digital converter corresponding to each temperature condition through a temperature sensor; and determining a temperature coefficient of the time-to-digital converter based on the time data under the at least three temperature conditions, the calibration temperature and the reference time; Wherein, determining the temperature coefficient of the time-to-digital converter comprises: Fitting formula Δt b =a2K b 2 +a1K b +a0, a0, a1, and a2; where a0 is the zero-order temperature coefficient, a1 is the first-order temperature coefficient, a2 is the second-order temperature coefficient, Δt b is the time length t of each delay unit to be calibrated when corresponding to the time data b and the calibration correction value between the time length t corresponding to the reference time, K b is the calibration temperature; The zero-order temperature coefficient, the first-order temperature coefficient and the second-order temperature coefficient constitute the temperature coefficient of the time-to-digital converter.

2. The method according to claim 1, wherein: Determining a temperature coefficient of the time-to-digital converter further includes: Based on the time data t under another temperature condition b1 And calibration temperature K b1 , obtain the calibration correction time t corresponding to the calibration signal under the other temperature condition xb , where t xb =t b1 +(a2K b1 2 +a1K b1 +a0); Verify the reference time t1 under the other temperature condition and the calibration correction time t corresponding to the calibration signal under the other temperature condition xb Whether the deviation between them is qualified; If not, refit the formula Δt b =a2K b 2 +a1K b +a0.

3. The method according to claim 1, wherein: Also includes: The temperature coefficient is written into a static random access memory.

4. A method for time-to-digital conversion, characterized in that include: obtaining the temperature of the time-to-digital converter when receiving the signal to be measured; Obtaining time data corresponding to the signal to be measured through the time-to-digital converter; Determining a temperature coefficient corresponding to the time-to-digital converter, wherein determining the temperature coefficient corresponding to the time-to-digital converter comprises: the method of any one of claims 1 to 3; as well as A corrected time corresponding to the signal to be measured is determined based on the time data, the temperature and the temperature coefficient.

5. The method according to claim 4, wherein: The method further comprises: Writing the temperature coefficient into a static random access memory; Wherein, determining a temperature coefficient corresponding to the time-to-digital converter comprises: The temperature coefficient of the time-to-digital converter is recalled from the static random access memory.

6. A system for time-to-digital conversion, characterized in that include: A time-to-digital converter, the time-to-digital converter is used to generate time data corresponding to the signal to be measured; a temperature sensor configured to detect a temperature of the time-to-digital converter; A memory storing executable instructions and a temperature coefficient of the time-to-digital converter; as well as One or more processors, in communication with the memory, to execute the executable instructions to implement the method according to claim 4 or 5.

7. The system according to claim 6, wherein: The one or more processors include: a logic unit in an FPGA and a SOC processor; The logic unit is configured to communicate with the memory to execute the executable instructions to implement the following operations: obtaining the temperature of the time-to-digital converter when receiving the signal to be measured; Obtaining time data corresponding to the signal to be measured through the time-to-digital converter; Determining a temperature coefficient corresponding to the time-to-digital converter, wherein determining the temperature coefficient corresponding to the time-to-digital converter comprises: the method of any one of claims 1 to 3; and Determining a corrected time corresponding to the signal to be measured based on the time data, the temperature and the temperature coefficient; The SOC processor is configured to process the corrected time for transmission to an external device.

8. A method for calibrating a time-to-digital conversion system, characterized in that: Includes steps: Calibrate a first delay chain of a first time-to-digital converter, wherein the first time-to-digital converter is implemented based on a portion of a constrained carry chain within the FPGA; Calibrate a second delay chain of a second time-to-digital converter, wherein the second time-to-digital converter is implemented based on another part of the constrained carry chain within the FPGA; Adjusting a starting point of one of the first delay chain and the second delay chain so that on a time axis, two ends of at least one delay unit of the first delay chain are located in different delay units of the second delay chain; Writing the adjusted first delay chain into the first delay unit lookup table to form a first comparison chain; The adjusted second delay chain is written into the second delay unit lookup table to form a second comparison chain.

9. The method according to claim 8, wherein: The step of calibrating the first delay chain of the first time-to-digital converter comprises: First time data output by the first time-to-digital converter is obtained, where the first time data includes a time length of each delay unit in the first delay chain.

10. The method according to claim 8, wherein: The data stored in the first delay unit lookup table includes: The time represented by each delay unit in the first comparison chain relative to the starting point of the first comparison chain; and The first comparison chain comprises a time length of each delay unit.

11. The method according to claim 8, wherein: The first delay chain includes a plurality of long delay units, and the time length of the long delay unit is greater than the average time length of the delay units in the first delay chain; Wherein, the two ends of at least one delay unit of the first delay chain are located in two delay units of the second delay chain, including: Two ends of more than half of the plurality of long delay cells are located in two non-adjacent delay cells of the second delay chain.

12. A method for time-to-digital conversion, characterized in that include: Obtaining a first candidate time, where the first candidate time is equal to a first time output by the first time-to-digital converter when receiving the signal to be measured, and the first time is a time represented by a first delay unit in a first delay chain of the first time-to-digital converter corresponding to the signal to be measured; Obtaining a second candidate time, where the second candidate time is equal to a second time output by the second time-to-digital converter when receiving the signal to be measured, and the second time is a time represented by a second delay unit in a second delay chain of the second time-to-digital converter corresponding to the signal to be measured, wherein on the time axis, two ends of at least one delay unit of the first delay chain are located in different delay units of the second delay chain; Select the smaller one between the first candidate time and the second candidate time.

13. The method according to claim 12, wherein: Two ends of at least one delay unit of the first delay chain are located in two non-adjacent delay units of the second delay chain; When the second delay unit corresponding to the signal to be tested is located between the two non-adjacent delay units, selecting the smaller one of the first candidate time and the second candidate time includes: determining a time length of the first delay unit; determining a time length of the second delay unit; Determine a minimum value between a time length of the first delay unit and a time length of the second delay unit; Select one of the first candidate time and the second candidate time, the corresponding time length of which is equal to the minimum value.

14. The method according to claim 13, wherein: The determining the time length of the first delay unit comprises: determining the time length of the first delay unit by looking up a first delay unit table; and Determining the time length of the second delay unit comprises: determining the time length of the second delay unit by looking up a second delay unit table; The data stored in the first delay unit lookup table include: the time represented by each delay unit in the first comparison chain relative to the starting point of the first comparison chain, and the time length of each delay unit in the first comparison chain; all delay units in the first comparison chain correspond to all first delay units in the first delay chain one by one; The data stored in the second delay unit lookup table include: the time represented by each delay unit in the second comparison chain relative to the starting point of the second comparison chain, and the time length of each delay unit in the second comparison chain; all delay units in the second comparison chain correspond one-to-one to all second delay units in the second delay chain.

15. The method according to claim 14, wherein: The obtaining of the first candidate time comprises: obtaining the first candidate time based on the first time by looking up the table of the first delay unit; The obtaining of the second candidate time includes: obtaining the second candidate time based on the second time by looking up a table of the second delay unit.

16. The method according to claim 15, wherein: Also includes: A method for calibrating a time-to-digital conversion system as claimed in any one of claims 8 to 11.

17. The method according to claim 12, wherein: The first time-to-digital converter includes a plurality of carry chains constrainedly cascaded in an FPGA; The second time-to-digital converter includes a further plurality of carry chains constrainedly cascaded in the FPGA.

18. A system for time-to-digital conversion, characterized in that: include: A first time-to-digital converter is configured to output a first time when receiving a signal to be measured, wherein the first time is a time represented by a first delay unit in a first delay chain of the first time-to-digital converter corresponding to the signal to be measured; a second time-to-digital converter configured to output a second time when receiving a signal to be measured, wherein the second time is a time represented by a second delay unit in a second delay chain of the second time-to-digital converter corresponding to the signal to be measured, wherein on a time axis, at least one delay unit of one of the first delay chain and the second delay chain is arranged across at least two delay units of the other; a memory storing executable instructions; and One or more processors, in communication with the memory, to execute the executable instructions to implement the method according to any one of claims 12 to 17.

19. The system of claim 18, wherein: The first time-to-digital converter includes a plurality of carry chains constrainedly cascaded in an FPGA; The second time-to-digital converter includes a further plurality of carry chains constrainedly cascaded in the FPGA.

20. The system of claim 18, wherein: Also includes: a first delay unit lookup table configured to output a first candidate time based on the first time, wherein the data stored in the first delay unit lookup table include: a time represented by each delay unit in the first comparison chain relative to a starting point of the first comparison chain, and a time length of each delay unit in the first comparison chain; all delay units in the first comparison chain correspond one-to-one to all first delay units in the first delay chain; and a second delay unit lookup table, configured to output a second candidate time based on the second time, wherein the data stored in the second delay unit lookup table include: a time represented by each delay unit in the second comparison chain relative to a starting point of the second comparison chain, and a time length of each delay unit in the second comparison chain; all delay units in the second comparison chain correspond one-to-one to all second delay units in the second delay chain; wherein the one or more processors communicate with the memory to execute the executable instructions to perform: Obtaining the first candidate time based on the first time by looking up the table of the first delay unit; and The second candidate time based on the second time is obtained by looking up the table of the second delay unit.

21. The system of claim 18, wherein: Also includes: at least one temperature sensor configured to detect a temperature of the first time-to-digital converter and to detect a temperature of the second time-to-digital converter; wherein the memory further stores a temperature coefficient of the first time-to-digital converter and a temperature coefficient of the second time-to-digital converter; and The one or more processors are in communication with the memory to execute the executable instructions to perform: Obtaining a temperature of a time-to-digital converter corresponding to a selected moment when receiving the signal to be measured, wherein the selected moment is determined based on selecting a smaller one of the first candidate moment and the second candidate moment; Obtaining the time length of each delay unit generated by the time-to-digital converter corresponding to the selected moment before receiving the signal to be measured; Determining a temperature coefficient of a time-to-digital converter corresponding to the selected moment, wherein determining the temperature coefficient of the time-to-digital converter corresponding to the selected moment comprises: the method according to any one of claims 1 to 3; and The selected time is corrected based on the time length of each delay unit, the temperature and the temperature coefficient.

22. The system of claim 18, wherein: The one or more processors include: A data selection unit, composed of a logic unit in an FPGA, wherein the data selection unit implements the method according to any one of claims 12 to 17; The SOC processor in the FPGA is communicatively connected with the data selection unit and is configured to process the data output by the data selection unit for transmission to an external system.

23. A laser radar, characterized in that: include: A time-to-digital conversion system as claimed in any one of claims 6, 7, 18 to 22.